See https://builds.apache.org/job/ZooKeeper_branch35_jdk8/317/
################################################################################### ########################## LAST 60 LINES OF THE CONSOLE ########################### [...truncated 475146 lines...] [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] 2016-11-29 12:11:45,976 [myid:127.0.0.1:11349] - INFO [main-SendThread(127.0.0.1:11349):ClientCnxn$SendThread@1113] - Opening socket connection to server 127.0.0.1/127.0.0.1:11349. Will not attempt to authenticate using SASL (unknown error) [junit] 2016-11-29 12:11:45,977 [myid:127.0.0.1:11349] - WARN [main-SendThread(127.0.0.1:11349):ClientCnxn$SendThread@1235] - Session 0x301f5cdf9b00000 for server 127.0.0.1/127.0.0.1:11349, 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] 2016-11-29 12:11:46,055 [myid:127.0.0.1:11222] - INFO [main-SendThread(127.0.0.1:11222):ClientCnxn$SendThread@1113] - Opening socket connection to server 127.0.0.1/127.0.0.1:11222. Will not attempt to authenticate using SASL (unknown error) [junit] 2016-11-29 12:11:46,055 [myid:127.0.0.1:11222] - WARN [main-SendThread(127.0.0.1:11222):ClientCnxn$SendThread@1235] - Session 0x101f5ca3b880000 for server 127.0.0.1/127.0.0.1:11222, 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] 2016-11-29 12:11:46,231 [myid:] - INFO [ProcessThread(sid:0 cport:11466)::PrepRequestProcessor@656] - Processed session termination for sessionid: 0x101f5d10d4e0000 [junit] 2016-11-29 12:11:46,232 [myid:] - INFO [main:ZooKeeper@1311] - Session: 0x101f5d10d4e0000 closed [junit] 2016-11-29 12:11:46,233 [myid:] - INFO [main-EventThread:ClientCnxn$EventThread@513] - EventThread shut down for session: 0x101f5d10d4e0000 [junit] 2016-11-29 12:11:46,233 [myid:] - INFO [main:JUnit4ZKTestRunner$LoggedInvokeMethod@82] - Memory used 63450 [junit] 2016-11-29 12:11:46,233 [myid:] - INFO [main:JUnit4ZKTestRunner$LoggedInvokeMethod@87] - Number of threads 467 [junit] 2016-11-29 12:11:46,233 [myid:] - INFO [main:JUnit4ZKTestRunner$LoggedInvokeMethod@102] - FINISHED TEST METHOD testWatcherAutoResetWithLocal [junit] 2016-11-29 12:11:46,233 [myid:] - INFO [SyncThread:0:MBeanRegistry@128] - Unregister MBean [org.apache.ZooKeeperService:name0=StandaloneServer_port11466,name1=Connections,name2=127.0.0.1,name3=0x101f5d10d4e0000] [junit] 2016-11-29 12:11:46,233 [myid:] - INFO [main:ClientBase@543] - tearDown starting [junit] 2016-11-29 12:11:46,233 [myid:] - INFO [main:ClientBase@513] - STOPPING server [junit] 2016-11-29 12:11:46,233 [myid:] - INFO [main:NettyServerCnxnFactory@464] - shutdown called 0.0.0.0/0.0.0.0:11466 [junit] 2016-11-29 12:11:46,235 [myid:] - INFO [main:ZooKeeperServer@533] - shutting down [junit] 2016-11-29 12:11:46,235 [myid:] - ERROR [main:ZooKeeperServer@505] - ZKShutdownHandler is not registered, so ZooKeeper server won't take any action on ERROR or SHUTDOWN server state changes [junit] 2016-11-29 12:11:46,235 [myid:] - INFO [main:SessionTrackerImpl@232] - Shutting down [junit] 2016-11-29 12:11:46,235 [myid:] - INFO [main:PrepRequestProcessor@974] - Shutting down [junit] 2016-11-29 12:11:46,235 [myid:] - INFO [main:SyncRequestProcessor@191] - Shutting down [junit] 2016-11-29 12:11:46,235 [myid:] - INFO [ProcessThread(sid:0 cport:11466)::PrepRequestProcessor@154] - PrepRequestProcessor exited loop! [junit] 2016-11-29 12:11:46,235 [myid:] - INFO [SyncThread:0:SyncRequestProcessor@169] - SyncRequestProcessor exited! [junit] 2016-11-29 12:11:46,235 [myid:] - INFO [main:FinalRequestProcessor@479] - shutdown of request processor complete [junit] 2016-11-29 12:11:46,236 [myid:] - INFO [main:MBeanRegistry@128] - Unregister MBean [org.apache.ZooKeeperService:name0=StandaloneServer_port11466,name1=InMemoryDataTree] [junit] 2016-11-29 12:11:46,236 [myid:] - INFO [main:MBeanRegistry@128] - Unregister MBean [org.apache.ZooKeeperService:name0=StandaloneServer_port11466] [junit] 2016-11-29 12:11:46,236 [myid:] - INFO [main:FourLetterWordMain@85] - connecting to 127.0.0.1 11466 [junit] 2016-11-29 12:11:46,236 [myid:] - INFO [main:JMXEnv@146] - ensureOnly:[] [junit] 2016-11-29 12:11:46,240 [myid:] - INFO [main:ClientBase@568] - fdcount after test is: 1383 at start it was 1383 [junit] 2016-11-29 12:11:46,240 [myid:] - INFO [main:ZKTestCase$1@65] - SUCCEEDED testWatcherAutoResetWithLocal [junit] 2016-11-29 12:11:46,240 [myid:] - INFO [main:ZKTestCase$1@60] - FINISHED testWatcherAutoResetWithLocal [junit] Tests run: 101, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 454.416 sec, Thread: 1, Class: org.apache.zookeeper.test.NioNettySuiteTest [junit] 2016-11-29 12:11:46,259 [myid:127.0.0.1:11346] - INFO [main-SendThread(127.0.0.1:11346):ClientCnxn$SendThread@1113] - Opening socket connection to server 127.0.0.1/127.0.0.1:11346. Will not attempt to authenticate using SASL (unknown error) [junit] 2016-11-29 12:11:46,259 [myid:127.0.0.1:11346] - WARN [main-SendThread(127.0.0.1:11346):ClientCnxn$SendThread@1235] - Session 0x201f5cdf9a50000 for server 127.0.0.1/127.0.0.1:11346, 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) BUILD FAILED /home/jenkins/jenkins-slave/workspace/ZooKeeper_branch35_jdk8/build.xml:1208: Tests failed! Total time: 11 minutes 6 seconds Build step 'Invoke Ant' marked build as 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)