That proves wait returning early wasn't the problem.
----- Original message -----
> See <https://builds.apache.org/job/river-qa-refactor-win/34/changes>
>
> Changes:
>
> [peter_firmstone] After considerable testing using a multi threaded
> Executor and Runnable tasks to CAS an AtomicLong to generate 100% cpu
> load, no data races were found, it is suspected that Object.wait is
> subject to spurious wake-up's on some platforms when they are not
> contained within a loop that checks the present condition and this is
> causing the test failures:
>
> ------------------------------------------
> [...truncated 15724 lines...]
> [java]
> [java] -----------------------------------------
> [java]
> com/sun/jini/test/spec/javaspace/conformance/snapshot/SnapshotTransactionTakeIfExistsTest.td
> [java] Test Passed: OK [java]
> [java] -----------------------------------------
> [java]
> com/sun/jini/test/spec/javaspace/conformance/snapshot/SnapshotTransactionTakeIfExistsWaitTest.td
> [java] Test Passed: OK [java]
> [java] -----------------------------------------
> [java]
> com/sun/jini/test/spec/javaspace/conformance/snapshot/SnapshotTransactionTakeNO_WAITTest.td
> [java] Test Passed: OK [java]
> [java] -----------------------------------------
> [java]
> com/sun/jini/test/spec/javaspace/conformance/snapshot/SnapshotTransactionTakeReadTest.td
> [java] Test Passed: OK [java]
> [java] -----------------------------------------
> [java]
> com/sun/jini/test/spec/javaspace/conformance/snapshot/SnapshotTransactionTakeTest.td
> [java] Test Passed: OK [java]
> [java] -----------------------------------------
> [java]
> com/sun/jini/test/spec/javaspace/conformance/snapshot/SnapshotTransactionTakeWaitTest.td
> [java] Test Passed: OK [java]
> [java] -----------------------------------------
> [java]
> com/sun/jini/test/spec/javaspace/conformance/snapshot/SnapshotTransactionWriteLeaseANYTest.td
> [java] Test Passed: OK [java]
> [java] -----------------------------------------
> [java]
> com/sun/jini/test/spec/javaspace/conformance/snapshot/SnapshotTransactionWriteLeaseFOREVERTest.td
> [java] Test Passed: OK [java]
> [java] -----------------------------------------
> [java]
> com/sun/jini/test/spec/javaspace/conformance/snapshot/SnapshotTransactionWriteNegativeLeaseTest.td
> [java] Test Passed: OK [java]
> [java] -----------------------------------------
> [java]
> com/sun/jini/test/spec/javaspace/conformance/snapshot/SnapshotTransactionWriteTakeIfExistsNotifyTest.td
> [java] Test Passed: OK [java]
> [java] -----------------------------------------
> [java]
> com/sun/jini/test/spec/javaspace/conformance/snapshot/SnapshotTransactionWriteTakeIfExistsTest.td
> [java] Test Passed: OK [java]
> [java] -----------------------------------------
> [java]
> com/sun/jini/test/spec/javaspace/conformance/snapshot/SnapshotTransactionWriteTakeNotifyTest.td
> [java] Test Passed: OK [java]
> [java] -----------------------------------------
> [java]
> com/sun/jini/test/spec/javaspace/conformance/snapshot/SnapshotTransactionWriteTakeTest.td
> [java] Test Passed: OK [java]
> [java] -----------------------------------------
> [java]
> com/sun/jini/test/spec/javaspace/conformance/snapshot/SnapshotTransactionWriteTest.td
> [java] Test Passed: OK [java]
> [java] -----------------------------------------
> [java]
> com/sun/jini/test/spec/javaspace/conformance/snapshot/SnapshotWriteLeaseANYTest.td
> [java] Test Passed: OK [java]
> [java] -----------------------------------------
> [java]
> com/sun/jini/test/spec/javaspace/conformance/snapshot/SnapshotWriteLeaseFOREVERTest.td
> [java] Test Passed: OK [java]
> [java] -----------------------------------------
> [java]
> com/sun/jini/test/spec/javaspace/conformance/snapshot/SnapshotWriteNegativeLeaseTest.td
> [java] Test Passed: OK [java]
> [java] -----------------------------------------
> [java]
> com/sun/jini/test/spec/javaspace/conformance/snapshot/SnapshotWriteTest.td
> [java] Test Passed: OK [java]
> [java] -----------------------------------------
> [java] com/sun/jini/test/impl/mahalo/AdminIFShutdownTest.td
> [java] Test Passed: OK
> [java]
> [java] -----------------------------------------
> [java] com/sun/jini/test/impl/mahalo/AdminIFTest.td
> [java] Test Passed: OK
> [java]
> [java] -----------------------------------------
> [java] com/sun/jini/test/impl/mahalo/LeaseExpireCancelTest.td
> [java] Test Passed: OK
> [java]
> [java] -----------------------------------------
> [java] com/sun/jini/test/impl/mahalo/LeaseExpireRenewTest.td
> [java] Test Passed: OK
> [java]
> [java] -----------------------------------------
> [java] com/sun/jini/test/impl/mahalo/LeaseMapTest.td
> [java] Test Passed: OK
> [java]
> [java] -----------------------------------------
> [java] com/sun/jini/test/impl/mahalo/LeaseTest.td
> [java] Test Passed: OK
> [java]
> [java] -----------------------------------------
> [java] com/sun/jini/test/impl/mahalo/MahaloCreateShutdownTest.td
> [java] Test Passed: OK
> [java]
> [java] -----------------------------------------
> [java] com/sun/jini/test/impl/mahalo/MahaloIFTest.td
> [java] Test Passed: OK
> [java]
> [java] -----------------------------------------
> [java] com/sun/jini/test/impl/mahalo/MahaloImplReadyStateTest.td
> [java] Test Skipped: verifiers are:
> com.sun.jini.test.impl.mercury.ActivatableMercuryVerifier
> com.sun.jini.qa.harness.SkipConfigTestVerifier [java]
> ----------------------------------------- [java]
> com/sun/jini/test/impl/mahalo/NestableServerTransactionCreatedToStringTest.td
> [java] Test Passed: OK [java] [java]
> ----------------------------------------- [java]
> com/sun/jini/test/impl/mahalo/NestableTransactionCreatedToStringTest.td
> [java] Test Passed: OK [java]
> [java] -----------------------------------------
> [java]
> com/sun/jini/test/impl/mahalo/PrepareAndCommitExceptionTest.td
> [java] Test Passed: OK [java]
> [java] -----------------------------------------
> [java]
> com/sun/jini/test/impl/mahalo/PrepareAndCommitExceptionTest2.td
> [java] Test Passed: OK [java]
> [java] -----------------------------------------
> [java]
> com/sun/jini/test/impl/mahalo/PrepareAndCommitExceptionTest3.td
> [java] Test Passed: OK [java]
> [java] -----------------------------------------
> [java]
> com/sun/jini/test/impl/mahalo/PrepareAndCommitExceptionTest4.td
> [java] Test Passed: OK [java]
> [java] -----------------------------------------
> [java]
> com/sun/jini/test/impl/mahalo/PrepareAndCommitExceptionTest5.td
> [java] Test Passed: OK [java]
> [java] -----------------------------------------
> [java] com/sun/jini/test/impl/mahalo/RandomStressTest.td
> [java] Test Passed: OK
> [java]
> [java] -----------------------------------------
> [java]
> com/sun/jini/test/impl/mahalo/ServerTransactionEqualityTest.td
> [java] Test Passed: OK [java]
> [java] -----------------------------------------
> [java]
> com/sun/jini/test/impl/mahalo/ServerTransactionToStringTest.td
> [java] Test Passed: OK [java]
> [java] -----------------------------------------
> [java]
> com/sun/jini/test/impl/mahalo/TransactionCreatedToStringTest.td
> [java] Test Passed: OK [java]
> [java] -----------------------------------------
> [java]
> com/sun/jini/test/impl/mahalo/TransactionManagerCreatedToStringTest.td
> [java] Test Passed: OK [java]
> [java] -----------------------------------------
> [java]
> com/sun/jini/test/impl/mahalo/TxnMgrImplNullActivationConfigEntries.td
> [java] Test Skipped: verifiers are:
> com.sun.jini.test.impl.mahalo.ActivatableMahaloVerifier [java]
> ----------------------------------------- [java]
> com/sun/jini/test/impl/mahalo/TxnMgrImplNullConfigEntries.td [java]
> Test Passed: OK [java] [java]
> ----------------------------------------- [java]
> com/sun/jini/test/impl/mahalo/TxnMgrImplNullRecoveredLocators.td
> [java] Test Skipped: verifiers are:
> com.sun.jini.test.impl.mahalo.ActivatableMahaloVerifier [java]
> ----------------------------------------- [java]
> com/sun/jini/test/impl/mahalo/TxnMgrProxyEqualityTest.td [java] Test
> Passed: OK [java] [java]
> ----------------------------------------- [java]
> com/sun/jini/test/spec/txnmanager/AsynchAbortOnCommitTest.td [java]
> Test Passed: OK [java]
> [java] -----------------------------------------
> [java] com/sun/jini/test/spec/txnmanager/AsynchAbortOnPrepareTest.td
> [java] Test Passed: OK
> [java]
> [java] -----------------------------------------
> [java] com/sun/jini/test/spec/txnmanager/CommitExpiredTest.td
> [java] Test Passed: OK
> [java]
> [java] -----------------------------------------
> [java] com/sun/jini/test/spec/txnmanager/CommitTimeoutTest.td
> [java] Test Passed: OK
> [java]
> [java] -----------------------------------------
> [java] com/sun/jini/test/spec/txnmanager/GetStateTest.td
> [java] Test Passed: OK
> [java]
> [java] -----------------------------------------
> [java] com/sun/jini/test/spec/txnmanager/JoinIdempotentTest.td
> [java] Test Passed: OK
> [java]
> [java] -----------------------------------------
> [java] com/sun/jini/test/spec/txnmanager/JoinWhileActiveTest.td
> [java] Test Passed: OK
> [java]
> [java] -----------------------------------------
> [java] com/sun/jini/test/spec/txnmanager/ManyParticipantsTest.td
> [java] Test Passed: OK
> [java]
> [java] -----------------------------------------
> [java] com/sun/jini/test/spec/txnmanager/PrepareTimeoutTest.td
> [java] Test Passed: OK
> [java]
> [java] -----------------------------------------
> [java] com/sun/jini/test/spec/txnmanager/RollBackErrorTest.td
> [java] Test Passed: OK
> [java]
> [java] -----------------------------------------
> [java] com/sun/jini/test/spec/txnmanager/RollForwardErrorTest.td
> [java] Test Passed: OK
> [java]
> [java] -----------------------------------------
> [java] com/sun/jini/test/spec/txnmanager/TwoPhaseTest.td
> [java] Test Passed: OK
> [java]
> [java] -----------------------------------------
> [java]
> [java] # of tests started = 1406
> [java] # of tests completed = 1406
> [java] # of tests skipped = 52
> [java] # of tests passed = 1401
> [java] # of tests failed = 5
> [java]
> [java] -----------------------------------------
> [java]
> [java] Date finished:
> [java] Tue Dec 24 05:54:02 GMT 2013
> [java] Time elapsed:
> [java] 63675 seconds
> [java]
> [java] Java Result: 1
>
> collect-result:
> [copy] Copying 1 file to
> <https://builds.apache.org/job/river-qa-refactor-win/ws/trunk\qa\result>
> [copy] Copying 1 file to
> <https://builds.apache.org/job/river-qa-refactor-win/ws/trunk\qa\result>
> [zip] Building zip:
> <https://builds.apache.org/job/river-qa-refactor-win/ws/trunk\qa\result\qaresults-amd64-Windows>
> Server 2008-1.7.0.zip
>
> BUILD FAILED
> <https://builds.apache.org/job/river-qa-refactor-win/ws/trunk\build.xml>:2104:
> The following error occurred while executing this line:
> <https://builds.apache.org/job/river-qa-refactor-win/ws/trunk\qa\build.xml>:406:
> The following error occurred while executing this line:
> <https://builds.apache.org/job/river-qa-refactor-win/ws/trunk\qa\build.xml>:380:
> condition satisfied
>
> Total time: 1067 minutes 26 seconds
> Process leaked file descriptors. See
> http://wiki.jenkins-ci.org/display/JENKINS/Spawning+processes+from+build
> for more information Build step 'Invoke Ant' marked build as failure
> Archiving artifacts