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

Bug 369837

Summary: 'Program did not terminate' test failures
Product: [Eclipse Project] Platform Reporter: Michael Rennie <Michael_Rennie>
Component: AntAssignee: Michael Rennie <Michael_Rennie>
Status: VERIFIED FIXED QA Contact:
Severity: normal    
Priority: P3 CC: daniel_megert
Version: 3.8   
Target Milestone: 4.3 M2   
Hardware: PC   
OS: Windows 7   
Whiteboard:

Description Michael Rennie CLA 2012-01-26 11:55:45 EST
From the I20120125-1800 build (but I have seen it fail before):

testEnableDisableBreakpointSepVM	Failure	Program did not terminate.
junit.framework.AssertionFailedError: Program did not terminate.
at org.eclipse.ant.tests.ui.debug.AbstractAntDebugTest.resumeAndExit(AbstractAntDebugTest.java:465)
at org.eclipse.ant.tests.ui.debug.BreakpointTests.enableDisableBreapoint(BreakpointTests.java:125)
at org.eclipse.ant.tests.ui.debug.BreakpointTests.testEnableDisableBreakpointSepVM(BreakpointTests.java:104)
at org.eclipse.ant.tests.ui.debug.AbstractAntDebugTest.runBare(AbstractAntDebugTest.java:777)
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:680)

We should extend the TestAgainException support to these kinds of failures as well - i.e. anywhere we use a DebugEventWaiter we should try to test again for suspendee failures. It also might be good to look at fixing bug 214368 as well.
Comment 1 Michael Rennie CLA 2012-01-26 12:00:43 EST
Satyam, can you have a look?
Comment 2 Pradeep Balachandran CLA 2012-06-22 05:33:12 EDT
This test is passing in
Eclipse SDK
Version: 4.2.0
Build id: I20120531-1500

Shall we close this bug?
Comment 3 Michael Rennie CLA 2012-09-12 12:45:15 EDT
*** Bug 357811 has been marked as a duplicate of this bug. ***
Comment 4 Michael Rennie CLA 2012-09-12 15:24:23 EDT
pushed fix to:http://git.eclipse.org/c/platform/eclipse.platform.git/commit/?id=5f5eabf56c1b1fb7c92cfc5cbfbe92b8e95525ef

that extends support for the TestAgainException to the resume* and terminate* tests.
Comment 5 Michael Rennie CLA 2013-05-23 15:27:31 EDT
Marking verified, there have been no intermittent test failures like these for quite some time.
Comment 6 Michael Rennie CLA 2013-11-12 13:01:57 EST
*** Bug 294321 has been marked as a duplicate of this bug. ***