See https://builds.apache.org/job/ZooKeeper-trunk-jdk8/1212/
################################################################################### ########################## LAST 60 LINES OF THE CONSOLE ########################### [...truncated 65.32 MB...] [junit] 2017-09-24 11:55:30,576 [myid:127.0.0.1:19430] - WARN [main-SendThread(127.0.0.1:19430):ClientCnxn$SendThread@1235] - Session 0x3062d2c31c70000 for server 127.0.0.1/127.0.0.1:19430, 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-09-24 11:55:30,904 [myid:127.0.0.1:19350] - INFO [main-SendThread(127.0.0.1:19350):ClientCnxn$SendThread@1113] - Opening socket connection to server 127.0.0.1/127.0.0.1:19350. Will not attempt to authenticate using SASL (unknown error) [junit] 2017-09-24 11:55:30,904 [myid:127.0.0.1:19350] - WARN [main-SendThread(127.0.0.1:19350):ClientCnxn$SendThread@1235] - Session 0x1062d2965fd0001 for server 127.0.0.1/127.0.0.1:19350, 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-09-24 11:55:31,089 [myid:] - INFO [ProcessThread(sid:0 cport:19547)::PrepRequestProcessor@614] - Processed session termination for sessionid: 0x1062d2f829e0000 [junit] 2017-09-24 11:55:31,091 [myid:] - INFO [SyncThread:0:MBeanRegistry@128] - Unregister MBean [org.apache.ZooKeeperService:name0=StandaloneServer_port19547,name1=Connections,name2=127.0.0.1,name3=0x1062d2f829e0000] [junit] 2017-09-24 11:55:31,091 [myid:] - INFO [main:ZooKeeper@1332] - Session: 0x1062d2f829e0000 closed [junit] 2017-09-24 11:55:31,092 [myid:] - INFO [main:JUnit4ZKTestRunner$LoggedInvokeMethod@82] - Memory used 120970 [junit] 2017-09-24 11:55:31,092 [myid:] - INFO [main:JUnit4ZKTestRunner$LoggedInvokeMethod@87] - Number of threads 864 [junit] 2017-09-24 11:55:31,092 [myid:] - INFO [main:JUnit4ZKTestRunner$LoggedInvokeMethod@102] - FINISHED TEST METHOD testWatcherAutoResetWithLocal [junit] 2017-09-24 11:55:31,092 [myid:] - INFO [main:ClientBase@601] - tearDown starting [junit] 2017-09-24 11:55:31,092 [myid:] - INFO [main:ClientBase@571] - STOPPING server [junit] 2017-09-24 11:55:31,092 [myid:] - INFO [main:NettyServerCnxnFactory@464] - shutdown called 0.0.0.0/0.0.0.0:19547 [junit] 2017-09-24 11:55:31,091 [myid:] - INFO [main-EventThread:ClientCnxn$EventThread@513] - EventThread shut down for session: 0x1062d2f829e0000 [junit] 2017-09-24 11:55:31,094 [myid:] - INFO [main:ZooKeeperServer@545] - shutting down [junit] 2017-09-24 11:55:31,094 [myid:] - ERROR [main:ZooKeeperServer@509] - ZKShutdownHandler is not registered, so ZooKeeper server won't take any action on ERROR or SHUTDOWN server state changes [junit] 2017-09-24 11:55:31,094 [myid:] - INFO [main:SessionTrackerImpl@232] - Shutting down [junit] 2017-09-24 11:55:31,095 [myid:] - INFO [main:PrepRequestProcessor@1010] - Shutting down [junit] 2017-09-24 11:55:31,095 [myid:] - INFO [main:SyncRequestProcessor@191] - Shutting down [junit] 2017-09-24 11:55:31,095 [myid:] - INFO [SyncThread:0:SyncRequestProcessor@169] - SyncRequestProcessor exited! [junit] 2017-09-24 11:55:31,095 [myid:] - INFO [main:FinalRequestProcessor@481] - shutdown of request processor complete [junit] 2017-09-24 11:55:31,096 [myid:] - INFO [main:MBeanRegistry@128] - Unregister MBean [org.apache.ZooKeeperService:name0=StandaloneServer_port19547,name1=InMemoryDataTree] [junit] 2017-09-24 11:55:31,096 [myid:] - INFO [main:MBeanRegistry@128] - Unregister MBean [org.apache.ZooKeeperService:name0=StandaloneServer_port19547] [junit] 2017-09-24 11:55:31,096 [myid:] - INFO [ProcessThread(sid:0 cport:19547)::PrepRequestProcessor@155] - PrepRequestProcessor exited loop! [junit] 2017-09-24 11:55:31,096 [myid:] - INFO [main:FourLetterWordMain@87] - connecting to 127.0.0.1 19547 [junit] 2017-09-24 11:55:31,097 [myid:] - INFO [main:JMXEnv@146] - ensureOnly:[] [junit] 2017-09-24 11:55:31,101 [myid:] - INFO [main:ClientBase@626] - fdcount after test is: 2552 at start it was 2552 [junit] 2017-09-24 11:55:31,101 [myid:] - INFO [main:ZKTestCase$1@68] - SUCCEEDED testWatcherAutoResetWithLocal [junit] 2017-09-24 11:55:31,101 [myid:] - INFO [main:ZKTestCase$1@63] - FINISHED testWatcherAutoResetWithLocal [junit] Tests run: 105, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 436.043 sec, Thread: 4, Class: org.apache.zookeeper.test.NioNettySuiteTest [junit] 2017-09-24 11:55:31,430 [myid:127.0.0.1:19365] - INFO [main-SendThread(127.0.0.1:19365):ClientCnxn$SendThread@1113] - Opening socket connection to server 127.0.0.1/127.0.0.1:19365. Will not attempt to authenticate using SASL (unknown error) [junit] 2017-09-24 11:55:31,431 [myid:127.0.0.1:19365] - WARN [main-SendThread(127.0.0.1:19365):ClientCnxn$SendThread@1235] - Session 0x1062d29ca2c0000 for server 127.0.0.1/127.0.0.1:19365, 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) fail.build.on.test.failure: BUILD FAILED /home/jenkins/jenkins-slave/workspace/ZooKeeper-trunk-jdk8/build.xml:1220: The following error occurred while executing this line: /home/jenkins/jenkins-slave/workspace/ZooKeeper-trunk-jdk8/build.xml:1224: Tests failed! Total time: 11 minutes 27 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) ############################## 2 tests failed. FAILED: org.apache.zookeeper.server.quorum.ReconfigFailureCasesTest.testLeaderTimesoutOnNewQuorum Error Message: Should have been ConnectionLossException! Stack Trace: junit.framework.AssertionFailedError: Should have been ConnectionLossException! at org.apache.zookeeper.server.quorum.ReconfigFailureCasesTest.testLeaderTimesoutOnNewQuorum(ReconfigFailureCasesTest.java:191) at org.apache.zookeeper.JUnit4ZKTestRunner$LoggedInvokeMethod.evaluate(JUnit4ZKTestRunner.java:79) FAILED: org.apache.zookeeper.server.quorum.Zab1_0Test.testNormalRun Error Message: expected:<1> but was:<0> Stack Trace: junit.framework.AssertionFailedError: expected:<1> but was:<0> at org.apache.zookeeper.server.quorum.Zab1_0Test$6.converseWithLeader(Zab1_0Test.java:939) at org.apache.zookeeper.server.quorum.Zab1_0Test.testLeaderConversation(Zab1_0Test.java:398) at org.apache.zookeeper.server.quorum.Zab1_0Test.testNormalRun(Zab1_0Test.java:906) at org.apache.zookeeper.JUnit4ZKTestRunner$LoggedInvokeMethod.evaluate(JUnit4ZKTestRunner.java:79)