See https://builds.apache.org/job/ZooKeeper-trunk-jdk8/997/
################################################################################### ########################## LAST 60 LINES OF THE CONSOLE ########################### [...truncated 65.71 MB...] [junit] java.net.ConnectException: Connection refused [junit] at sun.nio.ch.SocketChannelImpl.checkConnect(Native Method) [junit] at sun.nio.ch.SocketChannelImpl.finishConnect(SocketChannelImpl.java:717) [junit] at org.apache.zookeeper.ClientCnxnSocketNIO.doTransport(ClientCnxnSocketNIO.java:357) [junit] at org.apache.zookeeper.ClientCnxn$SendThread.run(ClientCnxn.java:1214) [junit] 2017-03-29 11:56:25,588 [myid:] - INFO [main:ZooKeeper@1324] - Session: 0x10008e8dbb20000 closed [junit] 2017-03-29 11:56:25,588 [myid:] - INFO [main:JUnit4ZKTestRunner$LoggedInvokeMethod@82] - Memory used 66486 [junit] 2017-03-29 11:56:25,589 [myid:] - INFO [main:JUnit4ZKTestRunner$LoggedInvokeMethod@87] - Number of threads 467 [junit] 2017-03-29 11:56:25,589 [myid:] - INFO [main:JUnit4ZKTestRunner$LoggedInvokeMethod@102] - FINISHED TEST METHOD testWatcherAutoResetWithLocal [junit] 2017-03-29 11:56:25,589 [myid:] - INFO [main:ClientBase@558] - tearDown starting [junit] 2017-03-29 11:56:25,589 [myid:] - INFO [main:ClientBase@528] - STOPPING server [junit] 2017-03-29 11:56:25,589 [myid:] - INFO [main:NettyServerCnxnFactory@464] - shutdown called 0.0.0.0/0.0.0.0:22240 [junit] 2017-03-29 11:56:25,589 [myid:] - INFO [main-EventThread:ClientCnxn$EventThread@513] - EventThread shut down for session: 0x10008e8dbb20000 [junit] 2017-03-29 11:56:25,591 [myid:] - INFO [main:ZooKeeperServer@542] - shutting down [junit] 2017-03-29 11:56:25,591 [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-03-29 11:56:25,591 [myid:] - INFO [main:SessionTrackerImpl@232] - Shutting down [junit] 2017-03-29 11:56:25,591 [myid:] - INFO [main:PrepRequestProcessor@1008] - Shutting down [junit] 2017-03-29 11:56:25,591 [myid:127.0.0.1:22120] - INFO [main-SendThread(127.0.0.1:22120):ClientCnxn$SendThread@1113] - Opening socket connection to server 127.0.0.1/127.0.0.1:22120. Will not attempt to authenticate using SASL (unknown error) [junit] 2017-03-29 11:56:25,591 [myid:] - INFO [main:SyncRequestProcessor@191] - Shutting down [junit] 2017-03-29 11:56:25,591 [myid:] - INFO [ProcessThread(sid:0 cport:22240)::PrepRequestProcessor@157] - PrepRequestProcessor exited loop! [junit] 2017-03-29 11:56:25,592 [myid:127.0.0.1:22120] - WARN [main-SendThread(127.0.0.1:22120):ClientCnxn$SendThread@1235] - Session 0x20008e57fd90000 for server 127.0.0.1/127.0.0.1:22120, 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:717) [junit] at org.apache.zookeeper.ClientCnxnSocketNIO.doTransport(ClientCnxnSocketNIO.java:357) [junit] at org.apache.zookeeper.ClientCnxn$SendThread.run(ClientCnxn.java:1214) [junit] 2017-03-29 11:56:25,592 [myid:] - INFO [SyncThread:0:SyncRequestProcessor@169] - SyncRequestProcessor exited! [junit] 2017-03-29 11:56:25,592 [myid:] - INFO [main:FinalRequestProcessor@481] - shutdown of request processor complete [junit] 2017-03-29 11:56:25,592 [myid:] - INFO [main:MBeanRegistry@128] - Unregister MBean [org.apache.ZooKeeperService:name0=StandaloneServer_port22240,name1=InMemoryDataTree] [junit] 2017-03-29 11:56:25,592 [myid:] - INFO [main:MBeanRegistry@128] - Unregister MBean [org.apache.ZooKeeperService:name0=StandaloneServer_port22240] [junit] 2017-03-29 11:56:25,592 [myid:] - INFO [main:FourLetterWordMain@85] - connecting to 127.0.0.1 22240 [junit] 2017-03-29 11:56:25,593 [myid:] - INFO [main:JMXEnv@146] - ensureOnly:[] [junit] 2017-03-29 11:56:25,595 [myid:] - INFO [main:ClientBase@583] - fdcount after test is: 1380 at start it was 1380 [junit] 2017-03-29 11:56:25,595 [myid:] - INFO [main:ZKTestCase$1@68] - SUCCEEDED testWatcherAutoResetWithLocal [junit] 2017-03-29 11:56:25,596 [myid:] - INFO [main:ZKTestCase$1@63] - FINISHED testWatcherAutoResetWithLocal [junit] Tests run: 103, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 476.593 sec, Thread: 5, Class: org.apache.zookeeper.test.NioNettySuiteTest [junit] 2017-03-29 11:56:25,799 [myid:127.0.0.1:22117] - INFO [main-SendThread(127.0.0.1:22117):ClientCnxn$SendThread@1113] - Opening socket connection to server 127.0.0.1/127.0.0.1:22117. Will not attempt to authenticate using SASL (unknown error) [junit] 2017-03-29 11:56:25,800 [myid:127.0.0.1:22117] - WARN [main-SendThread(127.0.0.1:22117):ClientCnxn$SendThread@1235] - Session 0x10008e57fd90000 for server 127.0.0.1/127.0.0.1:22117, 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:717) [junit] at org.apache.zookeeper.ClientCnxnSocketNIO.doTransport(ClientCnxnSocketNIO.java:357) [junit] at org.apache.zookeeper.ClientCnxn$SendThread.run(ClientCnxn.java:1214) [junit] Running org.apache.zookeeper.server.quorum.Zab1_0Test in thread 1 [junit] Tests run: 1, Failures: 0, Errors: 1, Skipped: 0, Time elapsed: 0 sec, Thread: 1, Class: org.apache.zookeeper.server.quorum.Zab1_0Test [junit] Test org.apache.zookeeper.server.quorum.Zab1_0Test FAILED (timeout) fail.build.on.test.failure: BUILD FAILED /home/jenkins/jenkins-slave/workspace/ZooKeeper-trunk-jdk8/build.xml:1219: The following error occurred while executing this line: /home/jenkins/jenkins-slave/workspace/ZooKeeper-trunk-jdk8/build.xml:1223: Tests failed! Total time: 16 minutes 24 seconds Build step 'Invoke Ant' marked build as failure [WARNINGS] Skipping publisher since build result is 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.server.quorum.Zab1_0Test.testNormalObserverRun Error Message: Timeout occurred. Please note the time in the report does not reflect the time until the timeout. Stack Trace: junit.framework.AssertionFailedError: Timeout occurred. Please note the time in the report does not reflect the time until the timeout. at java.lang.Thread.run(Thread.java:745) 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:266) at java.lang.Thread.run(Thread.java:745) FAILED: org.apache.zookeeper.test.WatchEventWhenAutoResetTest.testNodeDataChanged Error Message: expected:<NodeDataChanged> but was:<NodeDeleted> Stack Trace: junit.framework.AssertionFailedError: expected:<NodeDataChanged> but was:<NodeDeleted> at org.apache.zookeeper.test.WatchEventWhenAutoResetTest$EventsWatcher.assertEvent(WatchEventWhenAutoResetTest.java:67) at org.apache.zookeeper.test.WatchEventWhenAutoResetTest.testNodeDataChanged(WatchEventWhenAutoResetTest.java:126) at org.apache.zookeeper.JUnit4ZKTestRunner$LoggedInvokeMethod.evaluate(JUnit4ZKTestRunner.java:79)