See <https://builds.apache.org/job/river-qa-refactoring/81/changes>

Changes:

[peter_firmstone] Fixed construction and race conditions for the following:

LookupDiscoveryManager
LookupDiscovery
LookupLocatorDiscovery

Threads are no longer created during construction, their implementations have 
been moved into a package private abstract superclass to enable all final 
fields to be frozen before threads are started.
Threads are started from constructors of stateless child classes after super 
class constructors return.

This modification is backward compatible, no new API has been created and 
existing API remains functionally the same.  This only fixes concurrency, 
synchronization and safe publication issues.

[peter_firmstone] Add meaningful messages to PreferredClassLoader logging 
output.

ServiceDiscoveryManager concurrency updates; utilises java.util.concurrent, 
final and volatile fields, safe publication and prevention of this reference 
escaping to other threads during construction.  A new Terminator thread allows 
cache termination to be handed off to allow blocking lookup methods to return 
closer to their waitDur period, without requiring them to perform Remote method 
call performed during cache termination.

------------------------------------------
[...truncated 18192 lines...]
     [java] -----------------------------------------
     [java] com/sun/jini/test/impl/mahalo/AdminIFTest.td
     [java] Test Failed: Test Failed: com.sun.jini.qa.harness.TestException: 
Exception has been caught in specifyServices: Problem creating service for 
net.jini.core.transaction.server.TransactionManager; nested exception is: 
     [java]     RemoteException occurred in server thread; nested exception is: 
     [java]     java.rmi.RemoteException: Create failed; nested exception is: 
     [java]     java.lang.ClassNotFoundException: 
com.sun.jini.mahalo.TxnMgrProxy$ConstrainableTxnMgrProxy
     [java] 
     [java] -----------------------------------------
     [java] com/sun/jini/test/impl/mahalo/LeaseExpireCancelTest.td
     [java] Test Failed: Test Failed: com.sun.jini.qa.harness.TestException: 
Exception has been caught in specifyServices: Problem creating service for 
net.jini.core.transaction.server.TransactionManager; nested exception is: 
     [java]     RemoteException occurred in server thread; nested exception is: 
     [java]     java.rmi.RemoteException: Create failed; nested exception is: 
     [java]     java.lang.ClassNotFoundException: 
com.sun.jini.mahalo.TxnMgrProxy$ConstrainableTxnMgrProxy
     [java] 
     [java] -----------------------------------------
     [java] com/sun/jini/test/impl/mahalo/LeaseExpireRenewTest.td
     [java] Test Failed: Test Failed: com.sun.jini.qa.harness.TestException: 
Exception has been caught in specifyServices: Problem creating service for 
net.jini.core.transaction.server.TransactionManager; nested exception is: 
     [java]     RemoteException occurred in server thread; nested exception is: 
     [java]     java.rmi.RemoteException: Create failed; nested exception is: 
     [java]     java.lang.ClassNotFoundException: 
com.sun.jini.mahalo.TxnMgrProxy$ConstrainableTxnMgrProxy
     [java] 
     [java] -----------------------------------------
     [java] com/sun/jini/test/impl/mahalo/LeaseMapTest.td
     [java] Test Failed: Test Failed: com.sun.jini.qa.harness.TestException: 
Exception has been caught in specifyServices: Problem creating service for 
net.jini.core.transaction.server.TransactionManager; nested exception is: 
     [java]     RemoteException occurred in server thread; nested exception is: 
     [java]     java.rmi.RemoteException: Create failed; nested exception is: 
     [java]     java.lang.ClassNotFoundException: 
com.sun.jini.mahalo.TxnMgrProxy$ConstrainableTxnMgrProxy
     [java] 
     [java] -----------------------------------------
     [java] com/sun/jini/test/impl/mahalo/LeaseTest.td
     [java] Test Failed: Test Failed: com.sun.jini.qa.harness.TestException: 
Exception has been caught in specifyServices: Problem creating service for 
net.jini.core.transaction.server.TransactionManager; nested exception is: 
     [java]     RemoteException occurred in server thread; nested exception is: 
     [java]     java.rmi.RemoteException: Create failed; nested exception is: 
     [java]     java.lang.ClassNotFoundException: 
com.sun.jini.mahalo.TxnMgrProxy$ConstrainableTxnMgrProxy
     [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 Failed: Test Failed: com.sun.jini.qa.harness.TestException: 
Exception has been caught in specifyServices: Problem creating service for 
net.jini.core.transaction.server.TransactionManager; nested exception is: 
     [java]     RemoteException occurred in server thread; nested exception is: 
     [java]     java.rmi.RemoteException: Create failed; nested exception is: 
     [java]     java.lang.ClassNotFoundException: 
com.sun.jini.mahalo.TxnMgrProxy$ConstrainableTxnMgrProxy
     [java] 
     [java] -----------------------------------------
     [java] com/sun/jini/test/impl/mahalo/PrepareAndCommitExceptionTest2.td
     [java] Test Failed: Test Failed: com.sun.jini.qa.harness.TestException: 
Exception has been caught in specifyServices: Problem creating service for 
net.jini.core.transaction.server.TransactionManager; nested exception is: 
     [java]     RemoteException occurred in server thread; nested exception is: 
     [java]     java.rmi.RemoteException: Create failed; nested exception is: 
     [java]     java.lang.ClassNotFoundException: 
com.sun.jini.mahalo.TxnMgrProxy$ConstrainableTxnMgrProxy
     [java] 
     [java] -----------------------------------------
     [java] com/sun/jini/test/impl/mahalo/PrepareAndCommitExceptionTest3.td
     [java] Test Failed: Test Failed: com.sun.jini.qa.harness.TestException: 
Exception has been caught in specifyServices: Problem creating service for 
net.jini.core.transaction.server.TransactionManager; nested exception is: 
     [java]     RemoteException occurred in server thread; nested exception is: 
     [java]     java.rmi.RemoteException: Create failed; nested exception is: 
     [java]     java.lang.ClassNotFoundException: 
com.sun.jini.mahalo.TxnMgrProxy$ConstrainableTxnMgrProxy
     [java] 
     [java] -----------------------------------------
     [java] com/sun/jini/test/impl/mahalo/PrepareAndCommitExceptionTest4.td
     [java] Test Failed: Test Failed: com.sun.jini.qa.harness.TestException: 
Exception has been caught in specifyServices: Problem creating service for 
net.jini.core.transaction.server.TransactionManager; nested exception is: 
     [java]     RemoteException occurred in server thread; nested exception is: 
     [java]     java.rmi.RemoteException: Create failed; nested exception is: 
     [java]     java.lang.ClassNotFoundException: 
com.sun.jini.mahalo.TxnMgrProxy$ConstrainableTxnMgrProxy
     [java] 
     [java] -----------------------------------------
     [java] com/sun/jini/test/impl/mahalo/PrepareAndCommitExceptionTest5.td
     [java] Test Failed: Test Failed: com.sun.jini.qa.harness.TestException: 
Exception has been caught in specifyServices: Problem creating service for 
net.jini.core.transaction.server.TransactionManager; nested exception is: 
     [java]     RemoteException occurred in server thread; nested exception is: 
     [java]     java.rmi.RemoteException: Create failed; nested exception is: 
     [java]     java.lang.ClassNotFoundException: 
com.sun.jini.mahalo.TxnMgrProxy$ConstrainableTxnMgrProxy
     [java] 
     [java] -----------------------------------------
     [java] com/sun/jini/test/impl/mahalo/RandomStressTest.td
     [java] Test Failed: Test Failed: com.sun.jini.qa.harness.TestException: 
Exception has been caught in specifyServices: Problem creating service for 
net.jini.core.transaction.server.TransactionManager; nested exception is: 
     [java]     RemoteException occurred in server thread; nested exception is: 
     [java]     java.rmi.RemoteException: Create failed; nested exception is: 
     [java]     java.lang.ClassNotFoundException: 
com.sun.jini.mahalo.TxnMgrProxy$ConstrainableTxnMgrProxy
     [java] 
     [java] -----------------------------------------
     [java] com/sun/jini/test/impl/mahalo/ServerTransactionEqualityTest.td
     [java] Test Failed: Test Failed: com.sun.jini.qa.harness.TestException: 
Exception has been caught in specifyServices: Problem creating service for 
net.jini.core.transaction.server.TransactionManager; nested exception is: 
     [java]     RemoteException occurred in server thread; nested exception is: 
     [java]     java.rmi.RemoteException: Create failed; nested exception is: 
     [java]     java.lang.ClassNotFoundException: 
com.sun.jini.mahalo.TxnMgrProxy$ConstrainableTxnMgrProxy
     [java] 
     [java] -----------------------------------------
     [java] com/sun/jini/test/impl/mahalo/ServerTransactionToStringTest.td
     [java] Test Failed: Test Failed: com.sun.jini.qa.harness.TestException: 
Exception has been caught in specifyServices: Problem creating service for 
net.jini.core.transaction.server.TransactionManager; nested exception is: 
     [java]     RemoteException occurred in server thread; nested exception is: 
     [java]     java.rmi.RemoteException: Create failed; nested exception is: 
     [java]     java.lang.ClassNotFoundException: 
com.sun.jini.mahalo.TxnMgrProxy$ConstrainableTxnMgrProxy
     [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 Failed: Test Failed: com.sun.jini.qa.harness.TestException: 
Exception has been caught in specifyServices: Problem creating service for 
net.jini.core.transaction.server.TransactionManager; nested exception is: 
     [java]     RemoteException occurred in server thread; nested exception is: 
     [java]     java.rmi.RemoteException: Create failed; nested exception is: 
     [java]     java.lang.ClassNotFoundException: 
com.sun.jini.mahalo.TxnMgrProxy$ConstrainableTxnMgrProxy
     [java] 
     [java] -----------------------------------------
     [java] com/sun/jini/test/spec/txnmanager/AsynchAbortOnCommitTest.td
     [java] Test Failed: Test Failed: com.sun.jini.qa.harness.TestException: 
Exception has been caught in specifyServices: Problem creating service for 
net.jini.core.transaction.server.TransactionManager; nested exception is: 
     [java]     RemoteException occurred in server thread; nested exception is: 
     [java]     java.rmi.RemoteException: Create failed; nested exception is: 
     [java]     java.lang.ClassNotFoundException: 
com.sun.jini.mahalo.TxnMgrProxy$ConstrainableTxnMgrProxy
     [java] 
     [java] -----------------------------------------
     [java] com/sun/jini/test/spec/txnmanager/AsynchAbortOnPrepareTest.td
     [java] Test Failed: Test Failed: com.sun.jini.qa.harness.TestException: 
Exception has been caught in specifyServices: Problem creating service for 
net.jini.core.transaction.server.TransactionManager; nested exception is: 
     [java]     RemoteException occurred in server thread; nested exception is: 
     [java]     java.rmi.RemoteException: Create failed; nested exception is: 
     [java]     java.lang.ClassNotFoundException: 
com.sun.jini.mahalo.TxnMgrProxy$ConstrainableTxnMgrProxy
     [java] 
     [java] -----------------------------------------
     [java] com/sun/jini/test/spec/txnmanager/CommitExpiredTest.td
     [java] Test Failed: Test Failed: com.sun.jini.qa.harness.TestException: 
Exception has been caught in specifyServices: Problem creating service for 
net.jini.core.transaction.server.TransactionManager; nested exception is: 
     [java]     RemoteException occurred in server thread; nested exception is: 
     [java]     java.rmi.RemoteException: Create failed; nested exception is: 
     [java]     java.lang.ClassNotFoundException: 
com.sun.jini.mahalo.TxnMgrProxy$ConstrainableTxnMgrProxy
     [java] 
     [java] -----------------------------------------
     [java] com/sun/jini/test/spec/txnmanager/CommitTimeoutTest.td
     [java] Test Failed: Test Failed: com.sun.jini.qa.harness.TestException: 
Exception has been caught in specifyServices: Problem creating service for 
net.jini.core.transaction.server.TransactionManager; nested exception is: 
     [java]     RemoteException occurred in server thread; nested exception is: 
     [java]     java.rmi.RemoteException: Create failed; nested exception is: 
     [java]     java.lang.ClassNotFoundException: 
com.sun.jini.mahalo.TxnMgrProxy$ConstrainableTxnMgrProxy
     [java] 
     [java] -----------------------------------------
     [java] com/sun/jini/test/spec/txnmanager/GetStateTest.td
     [java] Test Failed: Test Failed: com.sun.jini.qa.harness.TestException: 
Exception has been caught in specifyServices: Problem creating service for 
net.jini.core.transaction.server.TransactionManager; nested exception is: 
     [java]     RemoteException occurred in server thread; nested exception is: 
     [java]     java.rmi.RemoteException: Create failed; nested exception is: 
     [java]     java.lang.ClassNotFoundException: 
com.sun.jini.mahalo.TxnMgrProxy$ConstrainableTxnMgrProxy
     [java] 
     [java] -----------------------------------------
     [java] com/sun/jini/test/spec/txnmanager/JoinIdempotentTest.td
     [java] Test Failed: Test Failed: com.sun.jini.qa.harness.TestException: 
Exception has been caught in specifyServices: Problem creating service for 
net.jini.core.transaction.server.TransactionManager; nested exception is: 
     [java]     RemoteException occurred in server thread; nested exception is: 
     [java]     java.rmi.RemoteException: Create failed; nested exception is: 
     [java]     java.lang.ClassNotFoundException: 
com.sun.jini.mahalo.TxnMgrProxy$ConstrainableTxnMgrProxy
     [java] 
     [java] -----------------------------------------
     [java] com/sun/jini/test/spec/txnmanager/JoinWhileActiveTest.td
     [java] Test Failed: Test Failed: com.sun.jini.qa.harness.TestException: 
Exception has been caught in specifyServices: Problem creating service for 
net.jini.core.transaction.server.TransactionManager; nested exception is: 
     [java]     RemoteException occurred in server thread; nested exception is: 
     [java]     java.rmi.RemoteException: Create failed; nested exception is: 
     [java]     java.lang.ClassNotFoundException: 
com.sun.jini.mahalo.TxnMgrProxy$ConstrainableTxnMgrProxy
     [java] 
     [java] -----------------------------------------
     [java] com/sun/jini/test/spec/txnmanager/ManyParticipantsTest.td
     [java] Test Failed: Test Failed: com.sun.jini.qa.harness.TestException: 
Exception has been caught in specifyServices: Problem creating service for 
net.jini.core.transaction.server.TransactionManager; nested exception is: 
     [java]     RemoteException occurred in server thread; nested exception is: 
     [java]     java.rmi.RemoteException: Create failed; nested exception is: 
     [java]     java.lang.ClassNotFoundException: 
com.sun.jini.mahalo.TxnMgrProxy$ConstrainableTxnMgrProxy
     [java] 
     [java] -----------------------------------------
     [java] com/sun/jini/test/spec/txnmanager/PrepareTimeoutTest.td
     [java] Test Failed: Test Failed: com.sun.jini.qa.harness.TestException: 
Exception has been caught in specifyServices: Problem creating service for 
net.jini.core.transaction.server.TransactionManager; nested exception is: 
     [java]     RemoteException occurred in server thread; nested exception is: 
     [java]     java.rmi.RemoteException: Create failed; nested exception is: 
     [java]     java.lang.ClassNotFoundException: 
com.sun.jini.mahalo.TxnMgrProxy$ConstrainableTxnMgrProxy
     [java] 
     [java] -----------------------------------------
     [java] com/sun/jini/test/spec/txnmanager/RollBackErrorTest.td
     [java] Test Failed: Test Failed: com.sun.jini.qa.harness.TestException: 
Exception has been caught in specifyServices: Problem creating service for 
net.jini.core.transaction.server.TransactionManager; nested exception is: 
     [java]     RemoteException occurred in server thread; nested exception is: 
     [java]     java.rmi.RemoteException: Create failed; nested exception is: 
     [java]     java.lang.ClassNotFoundException: 
com.sun.jini.mahalo.TxnMgrProxy$ConstrainableTxnMgrProxy
     [java] 
     [java] -----------------------------------------
     [java] com/sun/jini/test/spec/txnmanager/RollForwardErrorTest.td
     [java] Test Failed: Test Failed: com.sun.jini.qa.harness.TestException: 
Exception has been caught in specifyServices: Problem creating service for 
net.jini.core.transaction.server.TransactionManager; nested exception is: 
     [java]     RemoteException occurred in server thread; nested exception is: 
     [java]     java.rmi.RemoteException: Create failed; nested exception is: 
     [java]     java.lang.ClassNotFoundException: 
com.sun.jini.mahalo.TxnMgrProxy$ConstrainableTxnMgrProxy
     [java] 
     [java] -----------------------------------------
     [java] com/sun/jini/test/spec/txnmanager/TwoPhaseTest.td
     [java] Test Failed: Test Failed: com.sun.jini.qa.harness.TestException: 
Exception has been caught in specifyServices: Problem creating service for 
net.jini.core.transaction.server.TransactionManager; nested exception is: 
     [java]     RemoteException occurred in server thread; nested exception is: 
     [java]     java.rmi.RemoteException: Create failed; nested exception is: 
     [java]     java.lang.ClassNotFoundException: 
com.sun.jini.mahalo.TxnMgrProxy$ConstrainableTxnMgrProxy
     [java] 
     [java] -----------------------------------------
     [java] 
     [java] # of tests started   = 1405
     [java] # of tests completed = 1405
     [java] # of tests skipped   = 53
     [java] # of tests passed    = 601
     [java] # of tests failed    = 804
     [java] 
     [java] -----------------------------------------
     [java] 
     [java]    Date finished:
     [java]       Wed May 08 19:26:10 UTC 2013
     [java]    Time elapsed:
     [java]       15374 seconds
     [java] 
     [java] Java Result: 1

collect-result:
     [copy] Copying 1 file to 
/x1/jenkins/jenkins-slave/workspace/river-qa-refactoring/trunk/qa/result
     [copy] Copying 1 file to 
/x1/jenkins/jenkins-slave/workspace/river-qa-refactoring/trunk/qa/result
      [zip] Building zip: 
/x1/jenkins/jenkins-slave/workspace/river-qa-refactoring/trunk/qa/result/qaresults-i386-Linux-1.6.0_45.zip

BUILD FAILED
/x1/jenkins/jenkins-slave/workspace/river-qa-refactoring/trunk/build.xml:2098: 
The following error occurred while executing this line:
/x1/jenkins/jenkins-slave/workspace/river-qa-refactoring/trunk/qa/build.xml:406:
 The following error occurred while executing this line:
/x1/jenkins/jenkins-slave/workspace/river-qa-refactoring/trunk/qa/build.xml:380:
 condition satisfied

Total time: 260 minutes 1 second
Build step 'Invoke Ant' marked build as failure
Archiving artifacts

Reply via email to