Bug 414303

Summary: JDT Debug and Ant tests DNF on all platforms
Product: [Eclipse Project] JDT Reporter: Dani Megert <daniel_megert>
Component: DebugAssignee: Michael Rennie <Michael_Rennie>
Status: RESOLVED FIXED QA Contact:
Severity: major    
Priority: P3 CC: david_williams, pwebster
Version: 4.4Keywords: test
Target Milestone: 4.4 M1   
Hardware: All   
OS: All   
Whiteboard:

Description Dani Megert CLA 2013-08-02 08:45:31 EDT
N20130801-2000.

JDT Debug and Ant tests DNF on all platforms.
Comment 1 Dani Megert CLA 2013-08-02 08:48:30 EDT
They DNF because they reach the time out. Take a look at [1] to see what was on the screen when the time out was hit. See also the console log [2] for more details when the time out was reached (e.g. stack traces).

[1] http://download.eclipse.org/eclipse/downloads/drops4/N20130801-2000/testresults/win32.win32.x86_7.0/timeoutScreens/?d

[2] http://download.eclipse.org/eclipse/downloads/drops4/N20130801-2000/testresults/consolelogs/win7consolelog.txt
Comment 2 Dani Megert CLA 2013-08-06 05:26:04 EDT
The Ant tests DNFed again in I20130805-2000 on Linux.
Comment 3 Michael Rennie CLA 2013-08-06 13:19:30 EDT
I haven't been able to reproduce any of these failures locally, but the fix for bug 414516 might help, as I noticed in the Windows logs there were a tonne of entries about the connection being reset
Comment 4 Michael Rennie CLA 2013-08-06 13:44:34 EDT
The windows console log also had this entry:

java.lang.Exception: Thread-188
     [java] 	at org.eclipse.ui.console.IOConsoleOutputStream.close(IOConsoleOutputStream.java:167)
     [java] 	at org.eclipse.ui.console.IOConsole.dispose(IOConsole.java:273)
     [java] 	at org.eclipse.debug.internal.ui.views.console.ProcessConsole.dispose(ProcessConsole.java:354)
     [java] 	at org.eclipse.ui.console.AbstractConsole.destroy(AbstractConsole.java:289)

which might mean it is blocked while trying to close the console / stream. I did make a change here in bug 352626 to add some more sync'ing to try and eliminate some of those spurious "stream closed" entries in the console.

Remove the sync'ing with: http://git.eclipse.org/c/platform/eclipse.platform.debug.git/commit/?id=58f247e9a0bac266421e37fbd777fff89b8da182

lets see if that was the cause.
Comment 5 Dani Megert CLA 2013-08-07 05:24:13 EDT
The tests passed on Linux and Mac. The Windows machine has a general problem in the latest build (see 414551).
Comment 6 Dani Megert CLA 2013-08-07 05:48:50 EDT
(In reply to comment #5)
> The Windows machine has a general problem in the latest build (see 414551).

This was a temporary issue: the Windows tests are also green!
Comment 7 Michael Rennie CLA 2013-08-07 12:34:48 EDT
I am going to mark this fixed for M1.