See <https://builds.apache.org/job/Curator/931/changes>
Changes: [randgalt] when unregistering a service remove it from the internal map first and then delete (guaranteed) the node [randgalt] set watched instances to true to check that as well [randgalt] Concurrent registrations/unregistrations and connection issues can cause inconsistent state. Change to a model whereby 'unregistering' an instance doesn't remove it from management but changes the state. Instance will still be managed for a period of time and clean after a reasonable period [randgalt] CLEAN_THRESHOLD_MS can't be static due to testing [randgalt] sync on holder for safety during multi-step operations [randgalt] moved holder into separate class so that it's easier to reason about and lock [randgalt] removed some unneeded APIs [randgalt] cleanup/refactoring [randgalt] Use sync instead of locks. It's simpler and clearer [randgalt] vast simplication. Holder isn't needed. This is better [randgalt] some reformatting ------------------------------------------ [...truncated 295 lines...] [INFO] [INFO] --- maven-bundle-plugin:2.3.7:manifest (bundle-manifest) @ curator-recipes --- [INFO] [INFO] --- maven-resources-plugin:2.6:testResources (default-testResources) @ curator-recipes --- [INFO] Using 'UTF-8' encoding to copy filtered resources. [INFO] Copying 1 resource [INFO] Copying 3 resources [INFO] [INFO] --- maven-compiler-plugin:3.1:testCompile (default-testCompile) @ curator-recipes --- [INFO] Changes detected - recompiling the module! [INFO] Compiling 47 source files to <https://builds.apache.org/job/Curator/ws/curator-recipes/target/test-classes> [WARNING] Note: Some input files use or override a deprecated API. [WARNING] Note: Recompile with -Xlint:deprecation for details. [INFO] [INFO] --- maven-surefire-plugin:2.17:test (default-test) @ curator-recipes --- [INFO] Surefire report directory: <https://builds.apache.org/job/Curator/ws/curator-recipes/target/surefire-reports> ------------------------------------------------------- T E S T S ------------------------------------------------------- ------------------------------------------------------- T E S T S ------------------------------------------------------- Running org.apache.curator.framework.recipes.leader.TestLeaderSelectorParticipants Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 3.991 sec - in org.apache.curator.framework.recipes.leader.TestLeaderSelectorParticipants Running org.apache.curator.framework.recipes.leader.TestLeaderSelectorEdges Tests run: 3, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 45.925 sec - in org.apache.curator.framework.recipes.leader.TestLeaderSelectorEdges Running org.apache.curator.framework.recipes.leader.TestLeaderSelectorCluster Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 15.183 sec - in org.apache.curator.framework.recipes.leader.TestLeaderSelectorCluster Running org.apache.curator.framework.recipes.leader.TestLeaderLatchCluster Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 16.487 sec - in org.apache.curator.framework.recipes.leader.TestLeaderLatchCluster Running org.apache.curator.framework.recipes.leader.TestLeaderSelector Tests run: 10, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 158.705 sec - in org.apache.curator.framework.recipes.leader.TestLeaderSelector Running org.apache.curator.framework.recipes.leader.TestLeaderLatch Tests run: 13, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 137.914 sec - in org.apache.curator.framework.recipes.leader.TestLeaderLatch Running org.apache.curator.framework.recipes.leader.TestLeaderSelectorWithExecutor Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 6.755 sec - in org.apache.curator.framework.recipes.leader.TestLeaderSelectorWithExecutor Running org.apache.curator.framework.recipes.cache.TestPathChildrenCacheInCluster Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 3.264 sec - in org.apache.curator.framework.recipes.cache.TestPathChildrenCacheInCluster Running org.apache.curator.framework.recipes.cache.TestTreeCache Tests run: 21, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 149.58 sec - in org.apache.curator.framework.recipes.cache.TestTreeCache Running org.apache.curator.framework.recipes.cache.TestNodeCache Tests run: 4, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 13.091 sec - in org.apache.curator.framework.recipes.cache.TestNodeCache Running org.apache.curator.framework.recipes.cache.TestTreeCacheRandomTree Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 18.458 sec - in org.apache.curator.framework.recipes.cache.TestTreeCacheRandomTree Running org.apache.curator.framework.recipes.cache.TestPathChildrenCache Tests run: 18, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 39.794 sec - in org.apache.curator.framework.recipes.cache.TestPathChildrenCache Running org.apache.curator.framework.recipes.barriers.TestDistributedDoubleBarrier Tests run: 3, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 5.955 sec - in org.apache.curator.framework.recipes.barriers.TestDistributedDoubleBarrier Running org.apache.curator.framework.recipes.barriers.TestDistributedBarrier Tests run: 4, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 11.404 sec - in org.apache.curator.framework.recipes.barriers.TestDistributedBarrier Running org.apache.curator.framework.recipes.shared.TestSharedCount Tests run: 4, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 16.782 sec - in org.apache.curator.framework.recipes.shared.TestSharedCount Running org.apache.curator.framework.recipes.queue.TestDistributedDelayQueue Tests run: 4, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 14.946 sec - in org.apache.curator.framework.recipes.queue.TestDistributedDelayQueue Running org.apache.curator.framework.recipes.queue.TestDistributedPriorityQueue Tests run: 4, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 20.432 sec - in org.apache.curator.framework.recipes.queue.TestDistributedPriorityQueue Running org.apache.curator.framework.recipes.queue.TestQueueSharder Tests run: 3, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 135.307 sec - in org.apache.curator.framework.recipes.queue.TestQueueSharder Running org.apache.curator.framework.recipes.queue.TestDistributedQueue Tests run: 11, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 230.776 sec - in org.apache.curator.framework.recipes.queue.TestDistributedQueue Running org.apache.curator.framework.recipes.queue.TestSimpleDistributedQueue Tests run: 13, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 29.733 sec - in org.apache.curator.framework.recipes.queue.TestSimpleDistributedQueue Running org.apache.curator.framework.recipes.queue.TestDistributedIdQueue Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 5.107 sec - in org.apache.curator.framework.recipes.queue.TestDistributedIdQueue Running org.apache.curator.framework.recipes.queue.TestQueueItem Tests run: 0, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.243 sec - in org.apache.curator.framework.recipes.queue.TestQueueItem Running org.apache.curator.framework.recipes.queue.TestBoundedDistributedQueue Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 55.164 sec - in org.apache.curator.framework.recipes.queue.TestBoundedDistributedQueue Running org.apache.curator.framework.recipes.atomic.TestCachedAtomicCounter Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 3.855 sec - in org.apache.curator.framework.recipes.atomic.TestCachedAtomicCounter Running org.apache.curator.framework.recipes.atomic.TestDistributedAtomicLong Tests run: 6, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 9.666 sec - in org.apache.curator.framework.recipes.atomic.TestDistributedAtomicLong Running org.apache.curator.framework.recipes.locks.TestChildReaper Killed Running org.apache.curator.framework.recipes.locks.TestLockCleanlinessWithFaults Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 2.814 sec - in org.apache.curator.framework.recipes.locks.TestLockCleanlinessWithFaults Running org.apache.curator.framework.recipes.locks.TestInterProcessMultiMutex Tests run: 9, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 39.595 sec - in org.apache.curator.framework.recipes.locks.TestInterProcessMultiMutex Running org.apache.curator.framework.recipes.locks.TestInterProcessSemaphore Tests run: 10, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 496.04 sec - in org.apache.curator.framework.recipes.locks.TestInterProcessSemaphore Running org.apache.curator.framework.recipes.locks.TestLockACLs Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 2.856 sec - in org.apache.curator.framework.recipes.locks.TestLockACLs Running org.apache.curator.framework.recipes.locks.TestInterProcessMutexBase Tests run: 0, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.274 sec - in org.apache.curator.framework.recipes.locks.TestInterProcessMutexBase Running org.apache.curator.framework.recipes.locks.TestInterProcessSemaphoreCluster Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 473.308 sec - in org.apache.curator.framework.recipes.locks.TestInterProcessSemaphoreCluster Running org.apache.curator.framework.recipes.locks.TestInterProcessSemaphoreMutex Tests run: 5, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 38.399 sec - in org.apache.curator.framework.recipes.locks.TestInterProcessSemaphoreMutex Running org.apache.curator.framework.recipes.locks.TestInterProcessMutex Tests run: 9, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 40.305 sec - in org.apache.curator.framework.recipes.locks.TestInterProcessMutex Running org.apache.curator.framework.recipes.locks.TestReaper Tests run: 16, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 204.813 sec - in org.apache.curator.framework.recipes.locks.TestReaper Running org.apache.curator.framework.recipes.locks.TestInterProcessReadWriteLock Tests run: 6, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 21.095 sec - in org.apache.curator.framework.recipes.locks.TestInterProcessReadWriteLock Running org.apache.curator.framework.recipes.nodes.TestPersistentEphemeralNodeListener Tests run: 2, Failures: 2, Errors: 0, Skipped: 0, Time elapsed: 453.051 sec <<< FAILURE! - in org.apache.curator.framework.recipes.nodes.TestPersistentEphemeralNodeListener testListenersReconnectedIsOK(org.apache.curator.framework.recipes.nodes.TestPersistentEphemeralNodeListener) Time elapsed: 222.652 sec <<< FAILURE! java.lang.AssertionError: expected [true] but found [false] at org.testng.Assert.fail(Assert.java:94) at org.testng.Assert.failNotEquals(Assert.java:494) at org.testng.Assert.assertTrue(Assert.java:42) at org.testng.Assert.assertTrue(Assert.java:52) at org.apache.curator.framework.recipes.nodes.TestPersistentEphemeralNodeListener.testListenersReconnectedIsOK(TestPersistentEphemeralNodeListener.java:82) testListenersReconnectedIsOK(org.apache.curator.framework.recipes.nodes.TestPersistentEphemeralNodeListener) Time elapsed: 222.74 sec <<< FAILURE! java.lang.AssertionError: expected [true] but found [false] at org.testng.Assert.fail(Assert.java:94) at org.testng.Assert.failNotEquals(Assert.java:494) at org.testng.Assert.assertTrue(Assert.java:42) at org.testng.Assert.assertTrue(Assert.java:52) at org.apache.curator.framework.recipes.nodes.TestPersistentEphemeralNodeListener.testListenersReconnectedIsOK(TestPersistentEphemeralNodeListener.java:82) Running org.apache.curator.framework.recipes.nodes.TestPersistentEphemeralNode Tests run: 19, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 79.786 sec - in org.apache.curator.framework.recipes.nodes.TestPersistentEphemeralNode Running org.apache.curator.framework.client.TestBackgroundStates Tests run: 3, Failures: 2, Errors: 0, Skipped: 0, Time elapsed: 551.948 sec <<< FAILURE! - in org.apache.curator.framework.client.TestBackgroundStates testListenersReconnectedIsOK(org.apache.curator.framework.client.TestBackgroundStates) Time elapsed: 223.051 sec <<< FAILURE! java.lang.AssertionError: expected [true] but found [false] at org.testng.Assert.fail(Assert.java:94) at org.testng.Assert.failNotEquals(Assert.java:494) at org.testng.Assert.assertTrue(Assert.java:42) at org.testng.Assert.assertTrue(Assert.java:52) at org.apache.curator.framework.client.TestBackgroundStates.testListenersReconnectedIsOK(TestBackgroundStates.java:86) testListenersReconnectedIsOK(org.apache.curator.framework.client.TestBackgroundStates) Time elapsed: 222.226 sec <<< FAILURE! java.lang.AssertionError: expected [true] but found [false] at org.testng.Assert.fail(Assert.java:94) at org.testng.Assert.failNotEquals(Assert.java:494) at org.testng.Assert.assertTrue(Assert.java:42) at org.testng.Assert.assertTrue(Assert.java:52) at org.apache.curator.framework.client.TestBackgroundStates.testListenersReconnectedIsOK(TestBackgroundStates.java:86) Running org.apache.curator.framework.client.TestResetConnectionWithBackgroundFailure Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 209.402 sec - in org.apache.curator.framework.client.TestResetConnectionWithBackgroundFailure Results : Failed tests: TestPersistentEphemeralNodeListener.testListenersReconnectedIsOK:82 expected [true] but found [false] TestPersistentEphemeralNodeListener.testListenersReconnectedIsOK:82 expected [true] but found [false] TestBackgroundStates.testListenersReconnectedIsOK:86 expected [true] but found [false] TestBackgroundStates.testListenersReconnectedIsOK:86 expected [true] but found [false] Tests run: 220, Failures: 4, Errors: 0, Skipped: 0 [JENKINS] Recording test results [INFO] ------------------------------------------------------------------------ [INFO] Reactor Summary: [INFO] [INFO] Apache Curator .................................... SUCCESS [4.786s] [INFO] Curator Testing ................................... SUCCESS [3.328s] [INFO] Curator Client .................................... SUCCESS [48.056s] [INFO] Curator Framework ................................. SUCCESS [15:27.714s] [INFO] Curator Recipes ................................... FAILURE [1:04:20.238s] [INFO] Curator Service Discovery ......................... SKIPPED [INFO] Curator Examples .................................. SKIPPED [INFO] Curator Service Discovery Server .................. SKIPPED [INFO] Curator RPC Proxy ................................. SKIPPED [INFO] ------------------------------------------------------------------------ [INFO] BUILD FAILURE [INFO] ------------------------------------------------------------------------ [INFO] Total time: 1:20:47.157s [INFO] Finished at: Tue Apr 28 00:21:16 UTC 2015 [INFO] Final Memory: 29M/775M [INFO] ------------------------------------------------------------------------ Waiting for Jenkins to finish collecting data[ERROR] Failed to execute goal org.apache.maven.plugins:maven-surefire-plugin:2.17:test (default-test) on project curator-recipes: ExecutionException: java.lang.RuntimeException: The forked VM terminated without properly saying goodbye. VM crash or System.exit called? [ERROR] Command was /bin/sh -c cd <https://builds.apache.org/job/Curator/ws/curator-recipes> && /home/jenkins/tools/java/jdk1.6.0_45-32/jre/bin/java -jar <https://builds.apache.org/job/Curator/ws/curator-recipes/target/surefire/surefirebooter4689640981054379137.jar> <https://builds.apache.org/job/Curator/ws/curator-recipes/target/surefire/surefire4212870003063191732tmp> <https://builds.apache.org/job/Curator/ws/curator-recipes/target/surefire/surefire_474210982292505989371tmp> [ERROR] -> [Help 1] [ERROR] [ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch. [ERROR] Re-run Maven using the -X switch to enable full debug logging. [ERROR] [ERROR] For more information about the errors and possible solutions, please read the following articles: [ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/MojoFailureException [ERROR] [ERROR] After correcting the problems, you can resume the build with the command [ERROR] mvn <goals> -rf :curator-recipes [JENKINS] Archiving <https://builds.apache.org/job/Curator/ws/curator-x-rpc/pom.xml> to org.apache.curator/curator-x-rpc/2.7.2-SNAPSHOT/curator-x-rpc-2.7.2-SNAPSHOT.pom Sending artifact delta relative to Curator » Curator RPC Proxy #929 Archived 1 artifacts Archive block size is 32768 Received 0 blocks and 6656 bytes Compression is 0.0% Took 1.1 sec [JENKINS] Archiving <https://builds.apache.org/job/Curator/ws/curator-client/pom.xml> to org.apache.curator/curator-client/2.7.2-SNAPSHOT/curator-client-2.7.2-SNAPSHOT.pom [JENKINS] Archiving <https://builds.apache.org/job/Curator/ws/curator-client/target/curator-client-2.7.2-SNAPSHOT.jar> to org.apache.curator/curator-client/2.7.2-SNAPSHOT/curator-client-2.7.2-SNAPSHOT.jar Sending artifact delta relative to Curator » Curator Client #930 Archived 2 artifacts Archive block size is 32768 Received 0 blocks and 72130 bytes Compression is 0.0% Took 0.13 sec [JENKINS] Archiving <https://builds.apache.org/job/Curator/ws/curator-framework/pom.xml> to org.apache.curator/curator-framework/2.7.2-SNAPSHOT/curator-framework-2.7.2-SNAPSHOT.pom [JENKINS] Archiving <https://builds.apache.org/job/Curator/ws/curator-framework/target/curator-framework-2.7.2-SNAPSHOT.jar> to org.apache.curator/curator-framework/2.7.2-SNAPSHOT/curator-framework-2.7.2-SNAPSHOT.jar Sending artifact delta relative to Curator » Curator Framework #930 Archived 2 artifacts Archive block size is 32768 Received 0 blocks and 189615 bytes Compression is 0.0% Took 0.17 sec [JENKINS] Archiving <https://builds.apache.org/job/Curator/ws/curator-x-discovery-server/pom.xml> to org.apache.curator/curator-x-discovery-server/2.7.2-SNAPSHOT/curator-x-discovery-server-2.7.2-SNAPSHOT.pom Sending artifact delta relative to Curator » Curator Service Discovery Server #929 Archived 1 artifacts Archive block size is 32768 Received 0 blocks and 4047 bytes Compression is 0.0% Took 79 ms [JENKINS] Archiving <https://builds.apache.org/job/Curator/ws/curator-examples/pom.xml> to org.apache.curator/curator-examples/2.7.2-SNAPSHOT/curator-examples-2.7.2-SNAPSHOT.pom Sending artifact delta relative to Curator » Curator Examples #929 Archived 1 artifacts Archive block size is 32768 Received 0 blocks and 2055 bytes Compression is 0.0% Took 64 ms [JENKINS] Archiving <https://builds.apache.org/job/Curator/ws/curator-test/pom.xml> to org.apache.curator/curator-test/2.7.2-SNAPSHOT/curator-test-2.7.2-SNAPSHOT.pom [JENKINS] Archiving <https://builds.apache.org/job/Curator/ws/curator-test/target/curator-test-2.7.2-SNAPSHOT.jar> to org.apache.curator/curator-test/2.7.2-SNAPSHOT/curator-test-2.7.2-SNAPSHOT.jar Sending artifact delta relative to Curator » Curator Testing #930 Archived 2 artifacts Archive block size is 32768 Received 0 blocks and 42260 bytes Compression is 0.0% Took 82 ms [JENKINS] Archiving <https://builds.apache.org/job/Curator/ws/curator-recipes/pom.xml> to org.apache.curator/curator-recipes/2.7.2-SNAPSHOT/curator-recipes-2.7.2-SNAPSHOT.pom Sending artifact delta relative to Curator » Curator Recipes #929 Archived 1 artifacts Archive block size is 32768 Received 0 blocks and 2480 bytes Compression is 0.0% Took 0.17 sec [JENKINS] Archiving <https://builds.apache.org/job/Curator/ws/pom.xml> to org.apache.curator/apache-curator/2.7.2-SNAPSHOT/apache-curator-2.7.2-SNAPSHOT.pom [JENKINS] Archiving <https://builds.apache.org/job/Curator/ws/target/apache-curator-2.7.2-SNAPSHOT-site.xml> to org.apache.curator/apache-curator/2.7.2-SNAPSHOT/apache-curator-2.7.2-SNAPSHOT-site.xml Sending artifact delta relative to Curator » Apache Curator #930 Archived 2 artifacts Archive block size is 32768 Received 1 blocks and 2440 bytes Compression is 93.1% Took 40 ms [JENKINS] Archiving <https://builds.apache.org/job/Curator/ws/curator-x-discovery/pom.xml> to org.apache.curator/curator-x-discovery/2.7.2-SNAPSHOT/curator-x-discovery-2.7.2-SNAPSHOT.pom Sending artifact delta relative to Curator » Curator Service Discovery #929 Archived 1 artifacts Archive block size is 32768 Received 0 blocks and 2738 bytes Compression is 0.0% Took 68 ms Sending e-mails to: [email protected] channel stopped
