Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.

Bug 294321

Summary: Transient test failure where Ant debugger does not suspend
Product: [Eclipse Project] Platform Reporter: Michael Rennie <Michael_Rennie>
Component: AntAssignee: Platform-Ant-Inbox <platform-ant-inbox>
Status: CLOSED DUPLICATE QA Contact:
Severity: normal    
Priority: P3 CC: satyam.kandula
Version: 3.5   
Target Milestone: ---   
Hardware: PC   
OS: Linux   
Whiteboard:

Description Michael Rennie CLA 2009-11-05 09:13:01 EST
We have a failing test on the build that does not fail locally:

AntUITests-testDeferredBreakpointsSepVM	

Failure	Program did not suspend, launch terminated.

junit.framework.AssertionFailedError: Program did not suspend, launch terminated.
at org.eclipse.ant.tests.ui.debug.AbstractAntDebugTest.launchAndWait(AbstractAntDebugTest.java:173)
at org.eclipse.ant.tests.ui.debug.AbstractAntDebugTest.launchToBreakpoint(AbstractAntDebugTest.java:273)
at org.eclipse.ant.tests.ui.debug.AbstractAntDebugTest.launchToBreakpoint(AbstractAntDebugTest.java:245)
at org.eclipse.ant.tests.ui.debug.BreakpointTests.deferredBreakpoints(BreakpointTests.java:52)
at org.eclipse.ant.tests.ui.debug.BreakpointTests.testDeferredBreakpointsSepVM(BreakpointTests.java:41)
at org.eclipse.ant.tests.ui.AbstractAntUIBuildTest.access$0(AbstractAntUIBuildTest.java:1)
at org.eclipse.ant.tests.ui.AbstractAntUIBuildTest$1.run(AbstractAntUIBuildTest.java:44)
at java.lang.Thread.run(Thread.java:595)

Likely a transient test failure to do with the tests - as we have seen these kinds of failures in the debug test suite as well and the code is the same.
Comment 1 Michael Rennie CLA 2010-10-13 10:29:26 EDT
Failed again in I20101012-0800, but again also does not fail locally.
Comment 2 Satyam Kandula CLA 2011-12-09 04:01:54 EST
Failed again in I20111208-1305
Comment 3 Michael Rennie CLA 2011-12-09 09:36:10 EST
(In reply to comment #2)
> Failed again in I20111208-1305

One of these days we should add the notion of a TestAgainException (like we did in Debug), so we can automatically re-run transient failures...
Comment 4 Michael Rennie CLA 2011-12-14 10:49:40 EST
(In reply to comment #3)
> (In reply to comment #2)
> > Failed again in I20111208-1305
> 
> One of these days we should add the notion of a TestAgainException (like we did
> in Debug), so we can automatically re-run transient failures...

Failed again in M20111212-1000
Comment 5 Michael Rennie CLA 2013-11-12 13:01:57 EST
mrking as a dupe of bug 369837, ever since we extended the TestAgainException use to the debug tests they have not failed again

*** This bug has been marked as a duplicate of bug 369837 ***