See https://builds.apache.org/job/ZooKeeper-trunk-jdk8/1222/
################################################################################### ########################## LAST 60 LINES OF THE CONSOLE ########################### [...truncated 64.41 MB...] [junit] java.net.ConnectException: Connection refused [junit] at sun.nio.ch.SocketChannelImpl.checkConnect(Native Method) [junit] at sun.nio.ch.SocketChannelImpl.finishConnect(SocketChannelImpl.java:717) [junit] at org.apache.zookeeper.ClientCnxnSocketNIO.doTransport(ClientCnxnSocketNIO.java:357) [junit] at org.apache.zookeeper.ClientCnxn$SendThread.run(ClientCnxn.java:1214) [junit] 2017-10-01 11:54:37,913 [myid:] - INFO [SessionTracker:SessionTrackerImpl@158] - SessionTrackerImpl exited loop! [junit] 2017-10-01 11:54:38,118 [myid:] - INFO [ProcessThread(sid:0 cport:30319)::PrepRequestProcessor@614] - Processed session termination for sessionid: 0x106513b39320000 [junit] 2017-10-01 11:54:38,120 [myid:] - INFO [SyncThread:0:MBeanRegistry@128] - Unregister MBean [org.apache.ZooKeeperService:name0=StandaloneServer_port30319,name1=Connections,name2=127.0.0.1,name3=0x106513b39320000] [junit] 2017-10-01 11:54:38,120 [myid:] - INFO [main:ZooKeeper@1332] - Session: 0x106513b39320000 closed [junit] 2017-10-01 11:54:38,121 [myid:] - INFO [main-EventThread:ClientCnxn$EventThread@513] - EventThread shut down for session: 0x106513b39320000 [junit] 2017-10-01 11:54:38,121 [myid:] - INFO [main:JUnit4ZKTestRunner$LoggedInvokeMethod@82] - Memory used 159188 [junit] 2017-10-01 11:54:38,121 [myid:] - INFO [main:JUnit4ZKTestRunner$LoggedInvokeMethod@87] - Number of threads 863 [junit] 2017-10-01 11:54:38,121 [myid:] - INFO [main:JUnit4ZKTestRunner$LoggedInvokeMethod@102] - FINISHED TEST METHOD testWatcherAutoResetWithLocal [junit] 2017-10-01 11:54:38,121 [myid:] - INFO [main:ClientBase@601] - tearDown starting [junit] 2017-10-01 11:54:38,121 [myid:] - INFO [main:ClientBase@571] - STOPPING server [junit] 2017-10-01 11:54:38,122 [myid:] - INFO [main:NettyServerCnxnFactory@464] - shutdown called 0.0.0.0/0.0.0.0:30319 [junit] 2017-10-01 11:54:38,123 [myid:] - INFO [main:ZooKeeperServer@545] - shutting down [junit] 2017-10-01 11:54:38,124 [myid:] - ERROR [main:ZooKeeperServer@509] - ZKShutdownHandler is not registered, so ZooKeeper server won't take any action on ERROR or SHUTDOWN server state changes [junit] 2017-10-01 11:54:38,124 [myid:] - INFO [main:SessionTrackerImpl@232] - Shutting down [junit] 2017-10-01 11:54:38,124 [myid:] - INFO [main:PrepRequestProcessor@1010] - Shutting down [junit] 2017-10-01 11:54:38,124 [myid:] - INFO [main:SyncRequestProcessor@191] - Shutting down [junit] 2017-10-01 11:54:38,124 [myid:] - INFO [SyncThread:0:SyncRequestProcessor@169] - SyncRequestProcessor exited! [junit] 2017-10-01 11:54:38,124 [myid:] - INFO [ProcessThread(sid:0 cport:30319)::PrepRequestProcessor@155] - PrepRequestProcessor exited loop! [junit] 2017-10-01 11:54:38,124 [myid:] - INFO [main:FinalRequestProcessor@481] - shutdown of request processor complete [junit] 2017-10-01 11:54:38,125 [myid:] - INFO [main:MBeanRegistry@128] - Unregister MBean [org.apache.ZooKeeperService:name0=StandaloneServer_port30319,name1=InMemoryDataTree] [junit] 2017-10-01 11:54:38,125 [myid:] - INFO [main:MBeanRegistry@128] - Unregister MBean [org.apache.ZooKeeperService:name0=StandaloneServer_port30319] [junit] 2017-10-01 11:54:38,125 [myid:] - INFO [main:FourLetterWordMain@87] - connecting to 127.0.0.1 30319 [junit] 2017-10-01 11:54:38,126 [myid:] - INFO [main:JMXEnv@146] - ensureOnly:[] [junit] 2017-10-01 11:54:38,130 [myid:] - INFO [main:ClientBase@626] - fdcount after test is: 2564 at start it was 2564 [junit] 2017-10-01 11:54:38,130 [myid:] - INFO [main:ZKTestCase$1@68] - SUCCEEDED testWatcherAutoResetWithLocal [junit] 2017-10-01 11:54:38,130 [myid:] - INFO [main:ZKTestCase$1@63] - FINISHED testWatcherAutoResetWithLocal [junit] Tests run: 105, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 392.478 sec, Thread: 8, Class: org.apache.zookeeper.test.NioNettySuiteTest [junit] 2017-10-01 11:54:38,356 [myid:127.0.0.1:30073] - INFO [main-SendThread(127.0.0.1:30073):ClientCnxn$SendThread@1113] - Opening socket connection to server 127.0.0.1/127.0.0.1:30073. Will not attempt to authenticate using SASL (unknown error) [junit] 2017-10-01 11:54:38,357 [myid:127.0.0.1:30073] - WARN [main-SendThread(127.0.0.1:30073):ClientCnxn$SendThread@1235] - Session 0x106513555060000 for server 127.0.0.1/127.0.0.1:30073, unexpected error, closing socket connection and attempting reconnect [junit] java.net.ConnectException: Connection refused [junit] at sun.nio.ch.SocketChannelImpl.checkConnect(Native Method) [junit] at sun.nio.ch.SocketChannelImpl.finishConnect(SocketChannelImpl.java:717) [junit] at org.apache.zookeeper.ClientCnxnSocketNIO.doTransport(ClientCnxnSocketNIO.java:357) [junit] at org.apache.zookeeper.ClientCnxn$SendThread.run(ClientCnxn.java:1214) [junit] 2017-10-01 11:54:38,374 [myid:127.0.0.1:30199] - INFO [main-SendThread(127.0.0.1:30199):ClientCnxn$SendThread@1113] - Opening socket connection to server 127.0.0.1/127.0.0.1:30199. Will not attempt to authenticate using SASL (unknown error) [junit] 2017-10-01 11:54:38,374 [myid:127.0.0.1:30199] - WARN [main-SendThread(127.0.0.1:30199):ClientCnxn$SendThread@1235] - Session 0x206513829f00000 for server 127.0.0.1/127.0.0.1:30199, unexpected error, closing socket connection and attempting reconnect [junit] java.net.ConnectException: Connection refused [junit] at sun.nio.ch.SocketChannelImpl.checkConnect(Native Method) [junit] at sun.nio.ch.SocketChannelImpl.finishConnect(SocketChannelImpl.java:717) [junit] at org.apache.zookeeper.ClientCnxnSocketNIO.doTransport(ClientCnxnSocketNIO.java:357) [junit] at org.apache.zookeeper.ClientCnxn$SendThread.run(ClientCnxn.java:1214) fail.build.on.test.failure: BUILD FAILED /home/jenkins/jenkins-slave/workspace/ZooKeeper-trunk-jdk8/build.xml:1258: The following error occurred while executing this line: /home/jenkins/jenkins-slave/workspace/ZooKeeper-trunk-jdk8/build.xml:1262: Tests failed! Total time: 10 minutes 34 seconds Build step 'Invoke Ant' marked build as failure [WARNINGS] Skipping publisher since build result is FAILURE Recording test results Email was triggered for: Failure - Any Sending email for trigger: Failure - Any ################################################################################### ############################## FAILED TESTS (if any) ############################## 1 tests failed. FAILED: org.apache.zookeeper.test.WatchEventWhenAutoResetTest.testNodeDataChanged Error Message: expected:<NodeDataChanged> but was:<NodeDeleted> Stack Trace: junit.framework.AssertionFailedError: expected:<NodeDataChanged> but was:<NodeDeleted> at org.apache.zookeeper.test.WatchEventWhenAutoResetTest$EventsWatcher.assertEvent(WatchEventWhenAutoResetTest.java:67) at org.apache.zookeeper.test.WatchEventWhenAutoResetTest.testNodeDataChanged(WatchEventWhenAutoResetTest.java:126) at org.apache.zookeeper.JUnit4ZKTestRunner$LoggedInvokeMethod.evaluate(JUnit4ZKTestRunner.java:79)