See https://builds.apache.org/job/ZooKeeper_branch35_jdk7/1074/
################################################################################### ########################## LAST 60 LINES OF THE CONSOLE ########################### [...truncated 63.13 MB...] [junit] 2017-08-13 06:26:46,007 [myid:127.0.0.1:11271] - INFO [main-SendThread(127.0.0.1:11271):ClientCnxn$SendThread@1113] - Opening socket connection to server 127.0.0.1/127.0.0.1:11271. Will not attempt to authenticate using SASL (unknown error) [junit] 2017-08-13 06:26:46,008 [myid:127.0.0.1:11271] - WARN [main-SendThread(127.0.0.1:11271):ClientCnxn$SendThread@1235] - Session 0x10553b08a730001 for server 127.0.0.1/127.0.0.1:11271, 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-08-13 06:26:46,096 [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] 2017-08-13 06:26:46,096 [myid:127.0.0.1:11222] - WARN [main-SendThread(127.0.0.1:11222):ClientCnxn$SendThread@1235] - Session 0x10553afbd0d0000 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:744) [junit] at org.apache.zookeeper.ClientCnxnSocketNIO.doTransport(ClientCnxnSocketNIO.java:357) [junit] at org.apache.zookeeper.ClientCnxn$SendThread.run(ClientCnxn.java:1214) [junit] 2017-08-13 06:26:46,123 [myid:] - INFO [ProcessThread(sid:0 cport:11468)::PrepRequestProcessor@611] - Processed session termination for sessionid: 0x10553b7723e0000 [junit] 2017-08-13 06:26:46,126 [myid:] - INFO [SyncThread:0:MBeanRegistry@128] - Unregister MBean [org.apache.ZooKeeperService:name0=StandaloneServer_port11468,name1=Connections,name2=127.0.0.1,name3=0x10553b7723e0000] [junit] 2017-08-13 06:26:46,126 [myid:] - INFO [main:ZooKeeper@1334] - Session: 0x10553b7723e0000 closed [junit] 2017-08-13 06:26:46,126 [myid:] - INFO [main-EventThread:ClientCnxn$EventThread@513] - EventThread shut down for session: 0x10553b7723e0000 [junit] 2017-08-13 06:26:46,126 [myid:] - INFO [main:JUnit4ZKTestRunner$LoggedInvokeMethod@82] - Memory used 118138 [junit] 2017-08-13 06:26:46,126 [myid:] - INFO [main:JUnit4ZKTestRunner$LoggedInvokeMethod@87] - Number of threads 863 [junit] 2017-08-13 06:26:46,126 [myid:] - INFO [main:JUnit4ZKTestRunner$LoggedInvokeMethod@102] - FINISHED TEST METHOD testWatcherAutoResetWithLocal [junit] 2017-08-13 06:26:46,127 [myid:] - INFO [main:ClientBase@586] - tearDown starting [junit] 2017-08-13 06:26:46,127 [myid:] - INFO [main:ClientBase@556] - STOPPING server [junit] 2017-08-13 06:26:46,127 [myid:] - INFO [main:NettyServerCnxnFactory@464] - shutdown called 0.0.0.0/0.0.0.0:11468 [junit] 2017-08-13 06:26:46,129 [myid:] - INFO [main:ZooKeeperServer@541] - shutting down [junit] 2017-08-13 06:26:46,129 [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-08-13 06:26:46,129 [myid:] - INFO [main:SessionTrackerImpl@232] - Shutting down [junit] 2017-08-13 06:26:46,130 [myid:] - INFO [main:PrepRequestProcessor@1005] - Shutting down [junit] 2017-08-13 06:26:46,130 [myid:] - INFO [main:SyncRequestProcessor@191] - Shutting down [junit] 2017-08-13 06:26:46,130 [myid:] - INFO [ProcessThread(sid:0 cport:11468)::PrepRequestProcessor@155] - PrepRequestProcessor exited loop! [junit] 2017-08-13 06:26:46,130 [myid:] - INFO [SyncThread:0:SyncRequestProcessor@169] - SyncRequestProcessor exited! [junit] 2017-08-13 06:26:46,130 [myid:] - INFO [main:FinalRequestProcessor@481] - shutdown of request processor complete [junit] 2017-08-13 06:26:46,131 [myid:] - INFO [main:MBeanRegistry@128] - Unregister MBean [org.apache.ZooKeeperService:name0=StandaloneServer_port11468,name1=InMemoryDataTree] [junit] 2017-08-13 06:26:46,131 [myid:] - INFO [main:MBeanRegistry@128] - Unregister MBean [org.apache.ZooKeeperService:name0=StandaloneServer_port11468] [junit] 2017-08-13 06:26:46,131 [myid:] - INFO [main:FourLetterWordMain@87] - connecting to 127.0.0.1 11468 [junit] 2017-08-13 06:26:46,132 [myid:] - INFO [main:JMXEnv@146] - ensureOnly:[] [junit] 2017-08-13 06:26:46,137 [myid:] - INFO [main:ClientBase@611] - fdcount after test is: 2560 at start it was 2560 [junit] 2017-08-13 06:26:46,137 [myid:] - INFO [main:ZKTestCase$1@68] - SUCCEEDED testWatcherAutoResetWithLocal [junit] 2017-08-13 06:26:46,137 [myid:] - INFO [main:ZKTestCase$1@63] - FINISHED testWatcherAutoResetWithLocal [junit] Tests run: 103, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 511.336 sec, Thread: 1, Class: org.apache.zookeeper.test.NioNettySuiteTest [junit] 2017-08-13 06:26:46,493 [myid:127.0.0.1:11351] - INFO [main-SendThread(127.0.0.1:11351):ClientCnxn$SendThread@1113] - Opening socket connection to server 127.0.0.1/127.0.0.1:11351. Will not attempt to authenticate using SASL (unknown error) [junit] 2017-08-13 06:26:46,494 [myid:127.0.0.1:11351] - WARN [main-SendThread(127.0.0.1:11351):ClientCnxn$SendThread@1235] - Session 0x30553b3fe450000 for server 127.0.0.1/127.0.0.1:11351, 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) fail.build.on.test.failure: BUILD FAILED /home/jenkins/jenkins-slave/workspace/ZooKeeper_branch35_jdk7/build.xml:1226: The following error occurred while executing this line: /home/jenkins/jenkins-slave/workspace/ZooKeeper_branch35_jdk7/build.xml:1230: Tests failed! Total time: 15 minutes 24 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) ############################## 3 tests failed. FAILED: org.apache.zookeeper.test.LocalSessionRequestTest.testLocalSessionsOnLeader Error Message: Unable to connect to server Stack Trace: junit.framework.AssertionFailedError: Unable to connect to server at org.apache.zookeeper.test.ClientBase.createClient(ClientBase.java:231) at org.apache.zookeeper.test.LocalSessionRequestTest.testOpenCloseSession(LocalSessionRequestTest.java:123) at org.apache.zookeeper.test.LocalSessionRequestTest.testLocalSessionsOnLeader(LocalSessionRequestTest.java:70) at org.apache.zookeeper.JUnit4ZKTestRunner$LoggedInvokeMethod.evaluate(JUnit4ZKTestRunner.java:79) FAILED: org.apache.zookeeper.test.QuorumTest.testNoLogBeforeLeaderEstablishment Error Message: Not following Stack Trace: junit.framework.AssertionFailedError: Not following at org.apache.zookeeper.test.QuorumTest.testNoLogBeforeLeaderEstablishment(QuorumTest.java:411) at org.apache.zookeeper.JUnit4ZKTestRunner$LoggedInvokeMethod.evaluate(JUnit4ZKTestRunner.java:79) FAILED: org.apache.zookeeper.test.LETest.testLE Error Message: Threads didn't join Stack Trace: junit.framework.AssertionFailedError: Threads didn't join at org.apache.zookeeper.test.LETest.testLE(LETest.java:123) at org.apache.zookeeper.JUnit4ZKTestRunner$LoggedInvokeMethod.evaluate(JUnit4ZKTestRunner.java:79)