See https://builds.apache.org/job/ZooKeeper-trunk-jdk8/946/
################################################################################### ########################## LAST 60 LINES OF THE CONSOLE ########################### [...truncated 526618 lines...] [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-02-16 11:57:07,309 [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-02-16 11:57:07,310 [myid:127.0.0.1:14038] - WARN [main-SendThread(127.0.0.1:14038):ClientCnxn$SendThread@1235] - Session 0x1025e50312f0000 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:717) [junit] at org.apache.zookeeper.ClientCnxnSocketNIO.doTransport(ClientCnxnSocketNIO.java:357) [junit] at org.apache.zookeeper.ClientCnxn$SendThread.run(ClientCnxn.java:1214) [junit] 2017-02-16 11:57:07,316 [myid:127.0.0.1:13915] - INFO [main-SendThread(127.0.0.1:13915):ClientCnxn$SendThread@1113] - Opening socket connection to server 127.0.0.1/127.0.0.1:13915. Will not attempt to authenticate using SASL (unknown error) [junit] 2017-02-16 11:57:07,316 [myid:127.0.0.1:13915] - WARN [main-SendThread(127.0.0.1:13915):ClientCnxn$SendThread@1235] - Session 0x1025e4b95a20000 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:717) [junit] at org.apache.zookeeper.ClientCnxnSocketNIO.doTransport(ClientCnxnSocketNIO.java:357) [junit] at org.apache.zookeeper.ClientCnxn$SendThread.run(ClientCnxn.java:1214) [junit] 2017-02-16 11:57:07,659 [myid:] - INFO [ProcessThread(sid:0 cport:14161)::PrepRequestProcessor@617] - Processed session termination for sessionid: 0x1025e53419c0000 [junit] 2017-02-16 11:57:07,680 [myid:] - INFO [main:ZooKeeper@1324] - Session: 0x1025e53419c0000 closed [junit] 2017-02-16 11:57:07,680 [myid:] - INFO [main-EventThread:ClientCnxn$EventThread@513] - EventThread shut down for session: 0x1025e53419c0000 [junit] 2017-02-16 11:57:07,680 [myid:] - INFO [SyncThread:0:MBeanRegistry@128] - Unregister MBean [org.apache.ZooKeeperService:name0=StandaloneServer_port14161,name1=Connections,name2=127.0.0.1,name3=0x1025e53419c0000] [junit] 2017-02-16 11:57:07,681 [myid:] - INFO [main:JUnit4ZKTestRunner$LoggedInvokeMethod@82] - Memory used 166607 [junit] 2017-02-16 11:57:07,681 [myid:] - INFO [main:JUnit4ZKTestRunner$LoggedInvokeMethod@87] - Number of threads 1644 [junit] 2017-02-16 11:57:07,681 [myid:] - INFO [main:JUnit4ZKTestRunner$LoggedInvokeMethod@102] - FINISHED TEST METHOD testWatcherAutoResetWithLocal [junit] 2017-02-16 11:57:07,681 [myid:] - INFO [main:ClientBase@558] - tearDown starting [junit] 2017-02-16 11:57:07,681 [myid:] - INFO [main:ClientBase@528] - STOPPING server [junit] 2017-02-16 11:57:07,681 [myid:] - INFO [main:NettyServerCnxnFactory@464] - shutdown called 0.0.0.0/0.0.0.0:14161 [junit] 2017-02-16 11:57:07,685 [myid:] - INFO [main:ZooKeeperServer@542] - shutting down [junit] 2017-02-16 11:57:07,685 [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-02-16 11:57:07,685 [myid:] - INFO [main:SessionTrackerImpl@232] - Shutting down [junit] 2017-02-16 11:57:07,685 [myid:] - INFO [main:PrepRequestProcessor@1008] - Shutting down [junit] 2017-02-16 11:57:07,686 [myid:] - INFO [main:SyncRequestProcessor@191] - Shutting down [junit] 2017-02-16 11:57:07,686 [myid:] - INFO [ProcessThread(sid:0 cport:14161)::PrepRequestProcessor@157] - PrepRequestProcessor exited loop! [junit] 2017-02-16 11:57:07,686 [myid:] - INFO [SyncThread:0:SyncRequestProcessor@169] - SyncRequestProcessor exited! [junit] 2017-02-16 11:57:07,686 [myid:] - INFO [main:FinalRequestProcessor@481] - shutdown of request processor complete [junit] 2017-02-16 11:57:07,686 [myid:] - INFO [main:MBeanRegistry@128] - Unregister MBean [org.apache.ZooKeeperService:name0=StandaloneServer_port14161,name1=InMemoryDataTree] [junit] 2017-02-16 11:57:07,686 [myid:] - INFO [main:MBeanRegistry@128] - Unregister MBean [org.apache.ZooKeeperService:name0=StandaloneServer_port14161] [junit] 2017-02-16 11:57:07,686 [myid:] - INFO [main:FourLetterWordMain@85] - connecting to 127.0.0.1 14161 [junit] 2017-02-16 11:57:07,687 [myid:] - INFO [main:JMXEnv@146] - ensureOnly:[] [junit] 2017-02-16 11:57:07,691 [myid:] - INFO [main:ClientBase@583] - fdcount after test is: 4842 at start it was 4838 [junit] 2017-02-16 11:57:07,691 [myid:] - INFO [main:ClientBase@585] - sleeping for 20 secs [junit] 2017-02-16 11:57:07,691 [myid:] - INFO [main:ZKTestCase$1@65] - SUCCEEDED testWatcherAutoResetWithLocal [junit] 2017-02-16 11:57:07,691 [myid:] - INFO [main:ZKTestCase$1@60] - FINISHED testWatcherAutoResetWithLocal [junit] Tests run: 103, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 509.239 sec, Thread: 2, Class: org.apache.zookeeper.test.NioNettySuiteTest fail.build.on.test.failure: BUILD FAILED /home/jenkins/jenkins-slave/workspace/ZooKeeper-trunk-jdk8/build.xml:1212: The following error occurred while executing this line: /home/jenkins/jenkins-slave/workspace/ZooKeeper-trunk-jdk8/build.xml:1216: Tests failed! Total time: 13 minutes 5 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) ############################## 1 tests failed. FAILED: org.apache.zookeeper.test.ReconfigTest.testPortChange Error Message: null Stack Trace: junit.framework.AssertionFailedError at org.apache.zookeeper.test.ReconfigTest.testPortChange(ReconfigTest.java:681) at org.apache.zookeeper.JUnit4ZKTestRunner$LoggedInvokeMethod.evaluate(JUnit4ZKTestRunner.java:79)