See https://builds.apache.org/job/ZooKeeper_branch35_jdk7/1008/
################################################################################### ########################## LAST 60 LINES OF THE CONSOLE ########################### [...truncated 59.18 MB...] [junit] 2017-06-18 17:49:22,832 [myid:127.0.0.1:30196] - WARN [main-SendThread(127.0.0.1:30196):ClientCnxn$SendThread@1235] - Session 0x10435c110a30000 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:744) [junit] at org.apache.zookeeper.ClientCnxnSocketNIO.doTransport(ClientCnxnSocketNIO.java:357) [junit] at org.apache.zookeeper.ClientCnxn$SendThread.run(ClientCnxn.java:1214) [junit] 2017-06-18 17:49:22,913 [myid:] - INFO [SessionTracker:SessionTrackerImpl@158] - SessionTrackerImpl exited loop! [junit] 2017-06-18 17:49:22,970 [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-06-18 17:49:22,971 [myid:127.0.0.1:30199] - WARN [main-SendThread(127.0.0.1:30199):ClientCnxn$SendThread@1235] - Session 0x20435c110f10000 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:744) [junit] at org.apache.zookeeper.ClientCnxnSocketNIO.doTransport(ClientCnxnSocketNIO.java:357) [junit] at org.apache.zookeeper.ClientCnxn$SendThread.run(ClientCnxn.java:1214) [junit] 2017-06-18 17:49:23,101 [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-06-18 17:49:23,102 [myid:127.0.0.1:30073] - WARN [main-SendThread(127.0.0.1:30073):ClientCnxn$SendThread@1235] - Session 0x10435bde9580000 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:744) [junit] at org.apache.zookeeper.ClientCnxnSocketNIO.doTransport(ClientCnxnSocketNIO.java:357) [junit] at org.apache.zookeeper.ClientCnxn$SendThread.run(ClientCnxn.java:1214) [junit] 2017-06-18 17:49:23,618 [myid:] - INFO [ProcessThread(sid:0 cport:30319)::PrepRequestProcessor@613] - Processed session termination for sessionid: 0x10435c447af0000 [junit] 2017-06-18 17:49:23,621 [myid:] - INFO [SyncThread:0:MBeanRegistry@128] - Unregister MBean [org.apache.ZooKeeperService:name0=StandaloneServer_port30319,name1=Connections,name2=127.0.0.1,name3=0x10435c447af0000] [junit] 2017-06-18 17:49:23,621 [myid:] - INFO [main:ZooKeeper@1331] - Session: 0x10435c447af0000 closed [junit] 2017-06-18 17:49:23,621 [myid:] - INFO [main-EventThread:ClientCnxn$EventThread@513] - EventThread shut down for session: 0x10435c447af0000 [junit] 2017-06-18 17:49:23,622 [myid:] - INFO [main:JUnit4ZKTestRunner$LoggedInvokeMethod@82] - Memory used 157943 [junit] 2017-06-18 17:49:23,622 [myid:] - INFO [main:JUnit4ZKTestRunner$LoggedInvokeMethod@87] - Number of threads 859 [junit] 2017-06-18 17:49:23,622 [myid:] - INFO [main:JUnit4ZKTestRunner$LoggedInvokeMethod@102] - FINISHED TEST METHOD testWatcherAutoResetWithLocal [junit] 2017-06-18 17:49:23,622 [myid:] - INFO [main:ClientBase@586] - tearDown starting [junit] 2017-06-18 17:49:23,623 [myid:] - INFO [main:ClientBase@556] - STOPPING server [junit] 2017-06-18 17:49:23,623 [myid:] - INFO [main:NettyServerCnxnFactory@464] - shutdown called 0.0.0.0/0.0.0.0:30319 [junit] 2017-06-18 17:49:23,625 [myid:] - INFO [main:ZooKeeperServer@541] - shutting down [junit] 2017-06-18 17:49:23,625 [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] 2017-06-18 17:49:23,625 [myid:] - INFO [main:SessionTrackerImpl@232] - Shutting down [junit] 2017-06-18 17:49:23,625 [myid:] - INFO [main:PrepRequestProcessor@1010] - Shutting down [junit] 2017-06-18 17:49:23,625 [myid:] - INFO [main:SyncRequestProcessor@191] - Shutting down [junit] 2017-06-18 17:49:23,625 [myid:] - INFO [ProcessThread(sid:0 cport:30319)::PrepRequestProcessor@156] - PrepRequestProcessor exited loop! [junit] 2017-06-18 17:49:23,626 [myid:] - INFO [SyncThread:0:SyncRequestProcessor@169] - SyncRequestProcessor exited! [junit] 2017-06-18 17:49:23,626 [myid:] - INFO [main:FinalRequestProcessor@481] - shutdown of request processor complete [junit] 2017-06-18 17:49:23,626 [myid:] - INFO [main:MBeanRegistry@128] - Unregister MBean [org.apache.ZooKeeperService:name0=StandaloneServer_port30319,name1=InMemoryDataTree] [junit] 2017-06-18 17:49:23,627 [myid:] - INFO [main:MBeanRegistry@128] - Unregister MBean [org.apache.ZooKeeperService:name0=StandaloneServer_port30319] [junit] 2017-06-18 17:49:23,627 [myid:] - INFO [main:FourLetterWordMain@85] - connecting to 127.0.0.1 30319 [junit] 2017-06-18 17:49:23,628 [myid:] - INFO [main:JMXEnv@146] - ensureOnly:[] [junit] 2017-06-18 17:49:23,633 [myid:] - INFO [main:ClientBase@611] - fdcount after test is: 2536 at start it was 2536 [junit] 2017-06-18 17:49:23,633 [myid:] - INFO [main:ZKTestCase$1@68] - SUCCEEDED testWatcherAutoResetWithLocal [junit] 2017-06-18 17:49:23,634 [myid:] - INFO [main:ZKTestCase$1@63] - FINISHED testWatcherAutoResetWithLocal [junit] Tests run: 103, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 424.197 sec, Thread: 8, Class: org.apache.zookeeper.test.NioNettySuiteTest fail.build.on.test.failure: BUILD FAILED /home/jenkins/jenkins-slave/workspace/ZooKeeper_branch35_jdk7/build.xml:1219: The following error occurred while executing this line: /home/jenkins/jenkins-slave/workspace/ZooKeeper_branch35_jdk7/build.xml:1223: 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.Zab1_0Test.testNormalRun Error Message: expected:<1> but was:<0> Stack Trace: junit.framework.AssertionFailedError: expected:<1> but was:<0> at org.apache.zookeeper.server.quorum.Zab1_0Test$6.converseWithLeader(Zab1_0Test.java:938) at org.apache.zookeeper.server.quorum.Zab1_0Test.testLeaderConversation(Zab1_0Test.java:397) at org.apache.zookeeper.server.quorum.Zab1_0Test.testNormalRun(Zab1_0Test.java:905) at org.apache.zookeeper.JUnit4ZKTestRunner$LoggedInvokeMethod.evaluate(JUnit4ZKTestRunner.java:79)