See https://builds.apache.org/job/ZooKeeper_branch35_jdk7/892/
################################################################################### ########################## LAST 60 LINES OF THE CONSOLE ########################### [...truncated 62.78 MB...] [junit] at java.lang.Thread.run(Thread.java:745) [junit] 2017-03-17 15:49:06,889 [myid:] - INFO [SyncThread:0:MBeanRegistry@128] - Unregister MBean [org.apache.ZooKeeperService:name0=StandaloneServer_port14161,name1=Connections,name2=127.0.0.1,name3=0x1030827c79c0000] [junit] 2017-03-17 15:49:06,990 [myid:] - INFO [main:ZooKeeper@1326] - Session: 0x1030827c79c0000 closed [junit] 2017-03-17 15:49:06,990 [myid:] - INFO [main:JUnit4ZKTestRunner$LoggedInvokeMethod@82] - Memory used 240319 [junit] 2017-03-17 15:49:06,990 [myid:] - INFO [main-EventThread:ClientCnxn$EventThread@513] - EventThread shut down for session: 0x1030827c79c0000 [junit] 2017-03-17 15:49:06,990 [myid:] - INFO [main:JUnit4ZKTestRunner$LoggedInvokeMethod@87] - Number of threads 2428 [junit] 2017-03-17 15:49:06,991 [myid:] - INFO [main:JUnit4ZKTestRunner$LoggedInvokeMethod@102] - FINISHED TEST METHOD testWatcherAutoResetWithLocal [junit] 2017-03-17 15:49:06,991 [myid:] - INFO [main:ClientBase@543] - tearDown starting [junit] 2017-03-17 15:49:06,991 [myid:] - INFO [main:ClientBase@513] - STOPPING server [junit] 2017-03-17 15:49:06,991 [myid:] - INFO [main:NettyServerCnxnFactory@464] - shutdown called 0.0.0.0/0.0.0.0:14161 [junit] 2017-03-17 15:49:06,999 [myid:] - INFO [main:ZooKeeperServer@541] - shutting down [junit] 2017-03-17 15:49:06,999 [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-03-17 15:49:06,999 [myid:] - INFO [main:SessionTrackerImpl@232] - Shutting down [junit] 2017-03-17 15:49:07,000 [myid:] - INFO [main:PrepRequestProcessor@1004] - Shutting down [junit] 2017-03-17 15:49:07,000 [myid:] - INFO [main:SyncRequestProcessor@191] - Shutting down [junit] 2017-03-17 15:49:07,000 [myid:] - INFO [ProcessThread(sid:0 cport:14161)::PrepRequestProcessor@156] - PrepRequestProcessor exited loop! [junit] 2017-03-17 15:49:07,000 [myid:] - INFO [SyncThread:0:SyncRequestProcessor@169] - SyncRequestProcessor exited! [junit] 2017-03-17 15:49:07,001 [myid:] - INFO [main:FinalRequestProcessor@481] - shutdown of request processor complete [junit] 2017-03-17 15:49:07,001 [myid:] - INFO [main:MBeanRegistry@128] - Unregister MBean [org.apache.ZooKeeperService:name0=StandaloneServer_port14161,name1=InMemoryDataTree] [junit] 2017-03-17 15:49:07,001 [myid:] - INFO [main:MBeanRegistry@128] - Unregister MBean [org.apache.ZooKeeperService:name0=StandaloneServer_port14161] [junit] 2017-03-17 15:49:07,002 [myid:] - INFO [main:FourLetterWordMain@85] - connecting to 127.0.0.1 14161 [junit] 2017-03-17 15:49:07,002 [myid:] - INFO [main:JMXEnv@146] - ensureOnly:[] [junit] 2017-03-17 15:49:07,014 [myid:] - INFO [main:ClientBase@568] - fdcount after test is: 7135 at start it was 7135 [junit] 2017-03-17 15:49:07,014 [myid:] - INFO [main:ZKTestCase$1@68] - SUCCEEDED testWatcherAutoResetWithLocal [junit] 2017-03-17 15:49:07,014 [myid:] - INFO [main:ZKTestCase$1@63] - FINISHED testWatcherAutoResetWithLocal [junit] 2017-03-17 15:49:07,042 [myid:127.0.0.1:14044] - INFO [main-SendThread(127.0.0.1:14044):ClientCnxn$SendThread@1113] - Opening socket connection to server 127.0.0.1/127.0.0.1:14044. Will not attempt to authenticate using SASL (unknown error) [junit] 2017-03-17 15:49:07,043 [myid:127.0.0.1:14044] - WARN [main-SendThread(127.0.0.1:14044):ClientCnxn$SendThread@1235] - Session 0x30308248cc90000 for server 127.0.0.1/127.0.0.1:14044, 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] Tests run: 103, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 466.58 sec, Thread: 2, Class: org.apache.zookeeper.test.NioNettySuiteTest [junit] 2017-03-17 15:49:07,371 [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-03-17 15:49:07,372 [myid:127.0.0.1:14041] - WARN [main-SendThread(127.0.0.1:14041):ClientCnxn$SendThread@1235] - Session 0x20308248cc60000 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-03-17 15:49:07,450 [myid:127.0.0.1:14038] - INFO [main-SendThread(127.0.0.1:14038):ClientCnxn$SendThread@1113] - Opening socket connection to server 127.0.0.1/127.0.0.1:14038. Will not attempt to authenticate using SASL (unknown error) [junit] 2017-03-17 15:49:07,450 [myid:127.0.0.1:14038] - WARN [main-SendThread(127.0.0.1:14038):ClientCnxn$SendThread@1235] - Session 0x103082490520000 for server 127.0.0.1/127.0.0.1:14038, 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:1219: The following error occurred while executing this line: /home/jenkins/jenkins-slave/workspace/ZooKeeper_branch35_jdk7/build.xml:1223: Tests failed! Total time: 10 minutes 53 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.test.ReadOnlyModeTest.testSessionEstablishment Error Message: KeeperErrorCode = ConnectionLoss for /test Stack Trace: org.apache.zookeeper.KeeperException$ConnectionLossException: KeeperErrorCode = ConnectionLoss for /test at org.apache.zookeeper.KeeperException.create(KeeperException.java:99) at org.apache.zookeeper.KeeperException.create(KeeperException.java:51) at org.apache.zookeeper.ZooKeeper.create(ZooKeeper.java:1426) at org.apache.zookeeper.test.ReadOnlyModeTest.testSessionEstablishment(ReadOnlyModeTest.java:238) at org.apache.zookeeper.JUnit4ZKTestRunner$LoggedInvokeMethod.evaluate(JUnit4ZKTestRunner.java:79) at java.util.concurrent.FutureTask.run(FutureTask.java:262) at java.lang.Thread.run(Thread.java:745)