Community
Participate
Working Groups
I20081029-0100 has some more of the transient ConsoleLineTracker test failures. The failure is not reproducible locally. We should disable the offending tests in the build until we can figure out the reason for the failure(s).
the failure(s) in question (for I20081029-0100) are: ConsoleLineTrackerTests#testSimpleLineCounter -> Failure Wrong number of lines output expected:<11> but was:<13> ConsoleLineTrackerTests#testIntConcatenation -> Failure Wrong number of lines output expected:<2> but was:<4>
Created attachment 116435 [details] patch removes the offending tests until we can figure out why they non-deterministically fail
Re-openin to address the failure. I found that when the tests fail on Java 6 there are in fact two extra lines output to the console: ERROR: JDWP Unable to get JNI 1.2 environment, jvm->GetEnv() return code = -2 JDWP exit error AGENT_ERROR_NO_JNI_ENV(183): [../../../src/share/back/util.c:820] See associated bug at Sun: http://bugs.sun.com/bugdatabase/view_bug.do?bug_id=6476706 The workaround appears to be to put a System.exit(0) in the test program.
oops, must click "Reopen"
Created attachment 116538 [details] patch Patch fixes tests program with "System.exit(0)" and adds logging to the tests in case they fail (we'll see the failed output in the console logs).
Fixed.
Please verify, Mike.
Also applied in 3.4.2 stream to avoid transient failures there.
verified
*** Bug 224619 has been marked as a duplicate of this bug. ***