Q7

Recognize OOM errors and restart AUT

Details

  • Type: Improvement Improvement
  • Status: Open Open
  • Priority: Major Major
  • Resolution: Unresolved
  • Affects Version/s: None
  • Fix Version/s: 1.3.x
  • Component/s: Runtime
  • Labels:
    None
  • Test Mode:
    Manual

Description

Q7 should recognize Out Of Memory errors in AUT and restart it before the next test.
All subsequent tests will most probably fail if previous caused OOM, so its meaningless to run them on the same AUT process.

We can't run thousands tests from RCP without that.

Exception
Failed to apply context: Java heap space
  at sun.reflect.GeneratedConstructorAccessor22.newInstance(Unknown Source)
  at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(Unknown Source)
  at java.lang.reflect.Constructor.newInstance(Unknown Source)
  at org.eclipse.emf.ecore.impl.EFactoryImpl.createFromString(EFactoryImpl.java:415)
  at org.eclipse.ecl.core.impl.CoreFactoryImpl.createThrowableFromString(CoreFactoryImpl.java:600)
  at org.eclipse.ecl.core.impl.CoreFactoryImpl.createFromString(CoreFactoryImpl.java:153)
  at org.eclipse.ecl.core.util.ECLBinaryResourceImpl$EObjectInputStream.loadFeatureValue(ECLBinaryResourceImpl.java:1274)
  at org.eclipse.ecl.core.util.ECLBinaryResourceImpl$EObjectInputStream.loadEObject(ECLBinaryResourceImpl.java:1225)
  at org.eclipse.ecl.core.util.ECLBinaryResourceImpl$EObjectInputStream.loadFeatureValue(ECLBinaryResourceImpl.java:1247)
  at org.eclipse.ecl.core.util.ECLBinaryResourceImpl$EObjectInputStream.loadEObject(ECLBinaryResourceImpl.java:1225)
  at org.eclipse.ecl.core.util.ECLBinaryResourceImpl$EObjectInputStream.loadFeatureValue(ECLBinaryResourceImpl.java:1247)
  at org.eclipse.ecl.core.util.ECLBinaryResourceImpl$EObjectInputStream.loadEObject(ECLBinaryResourceImpl.java:1225)
  at org.eclipse.ecl.core.util.ECLBinaryResourceImpl$EObjectInputStream.loadResource(ECLBinaryResourceImpl.java:1007)
  at org.eclipse.ecl.core.util.ECLBinaryResourceImpl.doLoad(ECLBinaryResourceImpl.java:118)
  at org.eclipse.emf.ecore.resource.impl.ResourceImpl.load(ResourceImpl.java:1511)
  at org.eclipse.ecl.internal.core.EMFStreamPipe.take(EMFStreamPipe.java:106)
  at org.eclipse.ecl.client.tcp.EclTcpSession.writeOutput(EclTcpSession.java:199)
  at org.eclipse.ecl.client.tcp.EclTcpSession.access$6(EclTcpSession.java:196)
  at org.eclipse.ecl.client.tcp.EclTcpSession$1.run(EclTcpSession.java:96)
  at java.lang.Thread.run(Unknown Source)

Activity

Hide
komaz added a comment - 03/Feb/14 6:13 PM

Vasili, may I assign this issue to you?

Show
komaz added a comment - 03/Feb/14 6:13 PM Vasili, may I assign this issue to you?

People

Vote (0)
Watch (0)

Dates

  • Created:
    03/Feb/14 5:44 PM
    Updated:
    31/Mar/14 8:09 AM