See https://builds.apache.org/job/ZooKeeper-trunk-jdk8/1083/
################################################################################### ########################## LAST 60 LINES OF THE CONSOLE ########################### [...truncated 62.08 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-06-10 11:56:16,913 [myid:] - INFO [SessionTracker:SessionTrackerImpl@158] - SessionTrackerImpl exited loop! [junit] 2017-06-10 11:56:17,141 [myid:] - INFO [ProcessThread(sid:0 cport:30319)::PrepRequestProcessor@617] - Processed session termination for sessionid: 0x1040b4e202e0000 [junit] 2017-06-10 11:56:17,144 [myid:] - INFO [SyncThread:0:MBeanRegistry@128] - Unregister MBean [org.apache.ZooKeeperService:name0=StandaloneServer_port30319,name1=Connections,name2=127.0.0.1,name3=0x1040b4e202e0000] [junit] 2017-06-10 11:56:17,144 [myid:] - INFO [main-EventThread:ClientCnxn$EventThread@513] - EventThread shut down for session: 0x1040b4e202e0000 [junit] 2017-06-10 11:56:17,144 [myid:] - INFO [main:ZooKeeper@1329] - Session: 0x1040b4e202e0000 closed [junit] 2017-06-10 11:56:17,145 [myid:] - INFO [main:JUnit4ZKTestRunner$LoggedInvokeMethod@82] - Memory used 161936 [junit] 2017-06-10 11:56:17,145 [myid:] - INFO [main:JUnit4ZKTestRunner$LoggedInvokeMethod@87] - Number of threads 859 [junit] 2017-06-10 11:56:17,145 [myid:] - INFO [main:JUnit4ZKTestRunner$LoggedInvokeMethod@102] - FINISHED TEST METHOD testWatcherAutoResetWithLocal [junit] 2017-06-10 11:56:17,145 [myid:] - INFO [main:ClientBase@601] - tearDown starting [junit] 2017-06-10 11:56:17,145 [myid:] - INFO [main:ClientBase@571] - STOPPING server [junit] 2017-06-10 11:56:17,145 [myid:] - INFO [main:NettyServerCnxnFactory@464] - shutdown called 0.0.0.0/0.0.0.0:30319 [junit] 2017-06-10 11:56:17,147 [myid:] - INFO [main:ZooKeeperServer@542] - shutting down [junit] 2017-06-10 11:56:17,147 [myid:] - ERROR [main:ZooKeeperServer@506] - ZKShutdownHandler is not registered, so ZooKeeper server won't take any action on ERROR or SHUTDOWN server state changes [junit] 2017-06-10 11:56:17,147 [myid:] - INFO [main:SessionTrackerImpl@232] - Shutting down [junit] 2017-06-10 11:56:17,147 [myid:] - INFO [main:PrepRequestProcessor@1014] - Shutting down [junit] 2017-06-10 11:56:17,147 [myid:] - INFO [main:SyncRequestProcessor@191] - Shutting down [junit] 2017-06-10 11:56:17,148 [myid:] - INFO [ProcessThread(sid:0 cport:30319)::PrepRequestProcessor@157] - PrepRequestProcessor exited loop! [junit] 2017-06-10 11:56:17,148 [myid:] - INFO [SyncThread:0:SyncRequestProcessor@169] - SyncRequestProcessor exited! [junit] 2017-06-10 11:56:17,148 [myid:] - INFO [main:FinalRequestProcessor@481] - shutdown of request processor complete [junit] 2017-06-10 11:56:17,148 [myid:] - INFO [main:MBeanRegistry@128] - Unregister MBean [org.apache.ZooKeeperService:name0=StandaloneServer_port30319,name1=InMemoryDataTree] [junit] 2017-06-10 11:56:17,148 [myid:] - INFO [main:MBeanRegistry@128] - Unregister MBean [org.apache.ZooKeeperService:name0=StandaloneServer_port30319] [junit] 2017-06-10 11:56:17,148 [myid:] - INFO [main:FourLetterWordMain@85] - connecting to 127.0.0.1 30319 [junit] 2017-06-10 11:56:17,149 [myid:] - INFO [main:JMXEnv@146] - ensureOnly:[] [junit] 2017-06-10 11:56:17,153 [myid:] - INFO [main:ClientBase@626] - fdcount after test is: 2547 at start it was 2547 [junit] 2017-06-10 11:56:17,153 [myid:] - INFO [main:ZKTestCase$1@68] - SUCCEEDED testWatcherAutoResetWithLocal [junit] 2017-06-10 11:56:17,154 [myid:] - INFO [main:ZKTestCase$1@63] - FINISHED testWatcherAutoResetWithLocal [junit] Tests run: 103, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 474.56 sec, Thread: 8, Class: org.apache.zookeeper.test.NioNettySuiteTest [junit] 2017-06-10 11:56:17,295 [myid:127.0.0.1:30196] - INFO [main-SendThread(127.0.0.1:30196):ClientCnxn$SendThread@1113] - Opening socket connection to server 127.0.0.1/127.0.0.1:30196. Will not attempt to authenticate using SASL (unknown error) [junit] 2017-06-10 11:56:17,295 [myid:127.0.0.1:30196] - WARN [main-SendThread(127.0.0.1:30196):ClientCnxn$SendThread@1235] - Session 0x1040b4ad8e40000 for server 127.0.0.1/127.0.0.1:30196, 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-06-10 11:56:17,439 [myid:127.0.0.1:30202] - INFO [main-SendThread(127.0.0.1:30202):ClientCnxn$SendThread@1113] - Opening socket connection to server 127.0.0.1/127.0.0.1:30202. Will not attempt to authenticate using SASL (unknown error) [junit] 2017-06-10 11:56:17,440 [myid:127.0.0.1:30202] - WARN [main-SendThread(127.0.0.1:30202):ClientCnxn$SendThread@1235] - Session 0x3040b4ad8ed0000 for server 127.0.0.1/127.0.0.1:30202, 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:1219: The following error occurred while executing this line: /home/jenkins/jenkins-slave/workspace/ZooKeeper-trunk-jdk8/build.xml:1223: Tests failed! Total time: 12 minutes 9 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.server.quorum.ReconfigDuringLeaderSyncTest.testDuringLeaderSync Error Message: zoo.cfg.dynamic.next is not deleted. Stack Trace: junit.framework.AssertionFailedError: zoo.cfg.dynamic.next is not deleted. at org.apache.zookeeper.server.quorum.ReconfigDuringLeaderSyncTest.testDuringLeaderSync(ReconfigDuringLeaderSyncTest.java:165) at org.apache.zookeeper.JUnit4ZKTestRunner$LoggedInvokeMethod.evaluate(JUnit4ZKTestRunner.java:79)