See https://builds.apache.org/job/ZooKeeper_branch35_jdk7/1169/
################################################################################### ########################## LAST 60 LINES OF THE CONSOLE ########################### [...truncated 68.98 MB...] [junit] 2017-10-29 08:50:13,216 [myid:127.0.0.1:13915] - WARN [main-SendThread(127.0.0.1:13915):ClientCnxn$SendThread@1235] - Session 0x102e55527fe0000 for server 127.0.0.1/127.0.0.1:13915, 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-10-29 08:50:13,516 [myid:127.0.0.1:13964] - INFO [main-SendThread(127.0.0.1:13964):ClientCnxn$SendThread@1113] - Opening socket connection to server 127.0.0.1/127.0.0.1:13964. Will not attempt to authenticate using SASL (unknown error) [junit] 2017-10-29 08:50:13,517 [myid:127.0.0.1:13964] - WARN [main-SendThread(127.0.0.1:13964):ClientCnxn$SendThread@1235] - Session 0x102e5558e200001 for server 127.0.0.1/127.0.0.1:13964, 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-10-29 08:50:13,552 [myid:127.0.0.1:14041] - INFO [main-SendThread(127.0.0.1:14041):ClientCnxn$SendThread@1113] - Opening socket connection to server 127.0.0.1/127.0.0.1:14041. Will not attempt to authenticate using SASL (unknown error) [junit] 2017-10-29 08:50:13,552 [myid:127.0.0.1:14041] - WARN [main-SendThread(127.0.0.1:14041):ClientCnxn$SendThread@1235] - Session 0x202e55846930000 for server 127.0.0.1/127.0.0.1:14041, 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-10-29 08:50:13,725 [myid:] - INFO [ProcessThread(sid:0 cport:14161)::PrepRequestProcessor@611] - Processed session termination for sessionid: 0x102e55b9c910000 [junit] 2017-10-29 08:50:13,729 [myid:] - INFO [main:ZooKeeper@1334] - Session: 0x102e55b9c910000 closed [junit] 2017-10-29 08:50:13,729 [myid:] - INFO [main-EventThread:ClientCnxn$EventThread@513] - EventThread shut down for session: 0x102e55b9c910000 [junit] 2017-10-29 08:50:13,729 [myid:] - INFO [main:JUnit4ZKTestRunner$LoggedInvokeMethod@82] - Memory used 94304 [junit] 2017-10-29 08:50:13,729 [myid:] - INFO [main:JUnit4ZKTestRunner$LoggedInvokeMethod@87] - Number of threads 863 [junit] 2017-10-29 08:50:13,730 [myid:] - INFO [New I/O worker #3453:MBeanRegistry@128] - Unregister MBean [org.apache.ZooKeeperService:name0=StandaloneServer_port14161,name1=Connections,name2=127.0.0.1,name3=0x102e55b9c910000] [junit] 2017-10-29 08:50:13,730 [myid:] - INFO [main:JUnit4ZKTestRunner$LoggedInvokeMethod@102] - FINISHED TEST METHOD testWatcherAutoResetWithLocal [junit] 2017-10-29 08:50:13,730 [myid:] - INFO [main:ClientBase@586] - tearDown starting [junit] 2017-10-29 08:50:13,730 [myid:] - INFO [main:ClientBase@556] - STOPPING server [junit] 2017-10-29 08:50:13,730 [myid:] - INFO [main:NettyServerCnxnFactory@464] - shutdown called 0.0.0.0/0.0.0.0:14161 [junit] 2017-10-29 08:50:13,733 [myid:] - INFO [main:ZooKeeperServer@541] - shutting down [junit] 2017-10-29 08:50:13,733 [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-10-29 08:50:13,733 [myid:] - INFO [main:SessionTrackerImpl@232] - Shutting down [junit] 2017-10-29 08:50:13,733 [myid:] - INFO [main:PrepRequestProcessor@1005] - Shutting down [junit] 2017-10-29 08:50:13,733 [myid:] - INFO [main:SyncRequestProcessor@191] - Shutting down [junit] 2017-10-29 08:50:13,733 [myid:] - INFO [SyncThread:0:SyncRequestProcessor@169] - SyncRequestProcessor exited! [junit] 2017-10-29 08:50:13,734 [myid:] - INFO [main:FinalRequestProcessor@481] - shutdown of request processor complete [junit] 2017-10-29 08:50:13,734 [myid:] - INFO [ProcessThread(sid:0 cport:14161)::PrepRequestProcessor@155] - PrepRequestProcessor exited loop! [junit] 2017-10-29 08:50:13,734 [myid:] - INFO [main:MBeanRegistry@128] - Unregister MBean [org.apache.ZooKeeperService:name0=StandaloneServer_port14161,name1=InMemoryDataTree] [junit] 2017-10-29 08:50:13,734 [myid:] - INFO [main:MBeanRegistry@128] - Unregister MBean [org.apache.ZooKeeperService:name0=StandaloneServer_port14161] [junit] 2017-10-29 08:50:13,735 [myid:] - INFO [main:FourLetterWordMain@87] - connecting to 127.0.0.1 14161 [junit] 2017-10-29 08:50:13,735 [myid:] - INFO [main:JMXEnv@146] - ensureOnly:[] [junit] 2017-10-29 08:50:13,741 [myid:] - INFO [main:ClientBase@611] - fdcount after test is: 2558 at start it was 2558 [junit] 2017-10-29 08:50:13,741 [myid:] - INFO [main:ZKTestCase$1@68] - SUCCEEDED testWatcherAutoResetWithLocal [junit] 2017-10-29 08:50:13,741 [myid:] - INFO [main:ZKTestCase$1@63] - FINISHED testWatcherAutoResetWithLocal [junit] Tests run: 103, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 431.353 sec, Thread: 2, Class: org.apache.zookeeper.test.NioNettySuiteTest [junit] 2017-10-29 08:50:13,998 [myid:] - INFO [SessionTracker:SessionTrackerImpl@158] - SessionTrackerImpl exited loop! fail.build.on.test.failure: BUILD FAILED /home/jenkins/jenkins-slave/workspace/ZooKeeper_branch35_jdk7/build.xml:1272: The following error occurred while executing this line: /home/jenkins/jenkins-slave/workspace/ZooKeeper_branch35_jdk7/build.xml:1276: Tests failed! Total time: 11 minutes 26 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) ############################## 2 tests failed. FAILED: org.apache.zookeeper.server.quorum.Zab1_0Test.testTxnTimeout 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$7.converseWithLeader(Zab1_0Test.java:990) at org.apache.zookeeper.server.quorum.Zab1_0Test.testLeaderConversation(Zab1_0Test.java:400) at org.apache.zookeeper.server.quorum.Zab1_0Test.testTxnTimeout(Zab1_0Test.java:958) at org.apache.zookeeper.JUnit4ZKTestRunner$LoggedInvokeMethod.evaluate(JUnit4ZKTestRunner.java:79) FAILED: org.apache.zookeeper.test.AsyncHammerTest.testHammer Error Message: null Stack Trace: junit.framework.AssertionFailedError at org.apache.zookeeper.test.AsyncHammerTest.testHammer(AsyncHammerTest.java:185) at org.apache.zookeeper.JUnit4ZKTestRunner$LoggedInvokeMethod.evaluate(JUnit4ZKTestRunner.java:79)