See https://builds.apache.org/job/ZooKeeper-trunk-openjdk7/1436/
################################################################################### ########################## LAST 60 LINES OF THE CONSOLE ########################### [...truncated 62.02 MB...] [junit] 2017-04-13 20:02:08,415 [myid:127.0.0.1:11348] - INFO [main-SendThread(127.0.0.1:11348):ClientCnxn$SendThread@1113] - Opening socket connection to server 127.0.0.1/127.0.0.1:11348. Will not attempt to authenticate using SASL (unknown error) [junit] 2017-04-13 20:02:08,416 [myid:127.0.0.1:11348] - WARN [main-SendThread(127.0.0.1:11348):ClientCnxn$SendThread@1235] - Session 0x20393d904b60000 for server 127.0.0.1/127.0.0.1:11348, 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:739) [junit] at org.apache.zookeeper.ClientCnxnSocketNIO.doTransport(ClientCnxnSocketNIO.java:357) [junit] at org.apache.zookeeper.ClientCnxn$SendThread.run(ClientCnxn.java:1214) [junit] 2017-04-13 20:02:08,577 [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-04-13 20:02:08,578 [myid:127.0.0.1:11222] - WARN [main-SendThread(127.0.0.1:11222):ClientCnxn$SendThread@1235] - Session 0x10393d54f8b0000 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:739) [junit] at org.apache.zookeeper.ClientCnxnSocketNIO.doTransport(ClientCnxnSocketNIO.java:357) [junit] at org.apache.zookeeper.ClientCnxn$SendThread.run(ClientCnxn.java:1214) [junit] 2017-04-13 20:02:08,649 [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-04-13 20:02:08,649 [myid:127.0.0.1:11351] - WARN [main-SendThread(127.0.0.1:11351):ClientCnxn$SendThread@1235] - Session 0x30393d904bb0000 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:739) [junit] at org.apache.zookeeper.ClientCnxnSocketNIO.doTransport(ClientCnxnSocketNIO.java:357) [junit] at org.apache.zookeeper.ClientCnxn$SendThread.run(ClientCnxn.java:1214) [junit] 2017-04-13 20:02:09,133 [myid:] - INFO [ProcessThread(sid:0 cport:11468)::PrepRequestProcessor@617] - Processed session termination for sessionid: 0x10393dc466f0000 [junit] 2017-04-13 20:02:09,134 [myid:] - INFO [SyncThread:0:MBeanRegistry@128] - Unregister MBean [org.apache.ZooKeeperService:name0=StandaloneServer_port11468,name1=Connections,name2=127.0.0.1,name3=0x10393dc466f0000] [junit] 2017-04-13 20:02:09,134 [myid:] - INFO [main:ZooKeeper@1324] - Session: 0x10393dc466f0000 closed [junit] 2017-04-13 20:02:09,134 [myid:] - INFO [main-EventThread:ClientCnxn$EventThread@513] - EventThread shut down for session: 0x10393dc466f0000 [junit] 2017-04-13 20:02:09,135 [myid:] - INFO [main:JUnit4ZKTestRunner$LoggedInvokeMethod@82] - Memory used 232590 [junit] 2017-04-13 20:02:09,135 [myid:] - INFO [main:JUnit4ZKTestRunner$LoggedInvokeMethod@87] - Number of threads 2427 [junit] 2017-04-13 20:02:09,135 [myid:] - INFO [main:JUnit4ZKTestRunner$LoggedInvokeMethod@102] - FINISHED TEST METHOD testWatcherAutoResetWithLocal [junit] 2017-04-13 20:02:09,135 [myid:] - INFO [main:ClientBase@558] - tearDown starting [junit] 2017-04-13 20:02:09,136 [myid:] - INFO [main:ClientBase@528] - STOPPING server [junit] 2017-04-13 20:02:09,136 [myid:] - INFO [main:NettyServerCnxnFactory@464] - shutdown called 0.0.0.0/0.0.0.0:11468 [junit] 2017-04-13 20:02:09,143 [myid:] - INFO [main:ZooKeeperServer@542] - shutting down [junit] 2017-04-13 20:02:09,143 [myid:] - ERROR [main:ZooKeeperServer@506] - ZKShutdownHandler is not registered, so ZooKeeper server won't take any action on ERROR or SHUTDOWN server state changes [junit] 2017-04-13 20:02:09,143 [myid:] - INFO [main:SessionTrackerImpl@232] - Shutting down [junit] 2017-04-13 20:02:09,143 [myid:] - INFO [main:PrepRequestProcessor@1008] - Shutting down [junit] 2017-04-13 20:02:09,144 [myid:] - INFO [main:SyncRequestProcessor@191] - Shutting down [junit] 2017-04-13 20:02:09,144 [myid:] - INFO [ProcessThread(sid:0 cport:11468)::PrepRequestProcessor@157] - PrepRequestProcessor exited loop! [junit] 2017-04-13 20:02:09,144 [myid:] - INFO [SyncThread:0:SyncRequestProcessor@169] - SyncRequestProcessor exited! [junit] 2017-04-13 20:02:09,147 [myid:] - INFO [main:FinalRequestProcessor@481] - shutdown of request processor complete [junit] 2017-04-13 20:02:09,147 [myid:] - INFO [main:MBeanRegistry@128] - Unregister MBean [org.apache.ZooKeeperService:name0=StandaloneServer_port11468,name1=InMemoryDataTree] [junit] 2017-04-13 20:02:09,148 [myid:] - INFO [main:MBeanRegistry@128] - Unregister MBean [org.apache.ZooKeeperService:name0=StandaloneServer_port11468] [junit] 2017-04-13 20:02:09,150 [myid:] - INFO [main:FourLetterWordMain@85] - connecting to 127.0.0.1 11468 [junit] 2017-04-13 20:02:09,151 [myid:] - INFO [main:JMXEnv@146] - ensureOnly:[] [junit] 2017-04-13 20:02:09,205 [myid:] - INFO [main:ClientBase@583] - fdcount after test is: 7138 at start it was 7138 [junit] 2017-04-13 20:02:09,205 [myid:] - INFO [main:ZKTestCase$1@68] - SUCCEEDED testWatcherAutoResetWithLocal [junit] 2017-04-13 20:02:09,205 [myid:] - INFO [main:ZKTestCase$1@63] - FINISHED testWatcherAutoResetWithLocal [junit] Tests run: 103, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 463.367 sec, Thread: 1, Class: org.apache.zookeeper.test.NioNettySuiteTest fail.build.on.test.failure: BUILD FAILED /home/jenkins/jenkins-slave/workspace/ZooKeeper-trunk-openjdk7/build.xml:1219: The following error occurred while executing this line: /home/jenkins/jenkins-slave/workspace/ZooKeeper-trunk-openjdk7/build.xml:1223: Tests failed! Total time: 10 minutes 51 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:1424) 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)