See https://builds.apache.org/job/ZooKeeper-trunk-jdk8/897/
################################################################################### ########################## LAST 60 LINES OF THE CONSOLE ########################### [...truncated 464034 lines...] [junit] 2017-01-11 12:00:29,266 [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-01-11 12:00:29,266 [myid:127.0.0.1:14044] - WARN [main-SendThread(127.0.0.1:14044):ClientCnxn$SendThread@1235] - Session 0x30221193cce0000 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:717) [junit] at org.apache.zookeeper.ClientCnxnSocketNIO.doTransport(ClientCnxnSocketNIO.java:357) [junit] at org.apache.zookeeper.ClientCnxn$SendThread.run(ClientCnxn.java:1214) [junit] 2017-01-11 12:00:29,294 [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-01-11 12:00:29,294 [myid:127.0.0.1:13915] - WARN [main-SendThread(127.0.0.1:13915):ClientCnxn$SendThread@1235] - Session 0x1022113d4920000 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-01-11 12:01:49,665 [myid:] - INFO [main:JUnit4ZKTestRunner$LoggedInvokeMethod@82] - Memory used 133351 [junit] 2017-01-11 12:01:49,666 [myid:] - INFO [main:JUnit4ZKTestRunner$LoggedInvokeMethod@87] - Number of threads 55 [junit] 2017-01-11 12:01:49,666 [myid:] - INFO [main:JUnit4ZKTestRunner$LoggedInvokeMethod@102] - FINISHED TEST METHOD testManyChildWatchersAutoReset [junit] 2017-01-11 12:01:49,666 [myid:] - INFO [main:ClientBase@543] - tearDown starting [junit] 2017-01-11 12:01:49,667 [myid:] - INFO [ProcessThread(sid:0 cport:16611)::PrepRequestProcessor@618] - Processed session termination for sessionid: 0x1022111c7670000 [junit] 2017-01-11 12:01:49,717 [myid:] - INFO [main:ZooKeeper@1324] - Session: 0x1022111c7670000 closed [junit] 2017-01-11 12:01:49,718 [myid:] - INFO [NIOWorkerThread-3:MBeanRegistry@128] - Unregister MBean [org.apache.ZooKeeperService:name0=StandaloneServer_port16611,name1=Connections,name2=127.0.0.1,name3=0x1022111c7670000] [junit] 2017-01-11 12:01:49,718 [myid:] - INFO [main-EventThread:ClientCnxn$EventThread@513] - EventThread shut down for session: 0x1022111c7670000 [junit] 2017-01-11 12:01:49,718 [myid:] - INFO [ProcessThread(sid:0 cport:16611)::PrepRequestProcessor@618] - Processed session termination for sessionid: 0x1022111c7670001 [junit] 2017-01-11 12:01:49,719 [myid:] - INFO [NIOWorkerThread-3:NIOServerCnxn@614] - Closed socket connection for client /127.0.0.1:52682 which had sessionid 0x1022111c7670000 [junit] 2017-01-11 12:01:49,750 [myid:] - INFO [NIOWorkerThread-8:MBeanRegistry@128] - Unregister MBean [org.apache.ZooKeeperService:name0=StandaloneServer_port16611,name1=Connections,name2=127.0.0.1,name3=0x1022111c7670001] [junit] 2017-01-11 12:01:49,750 [myid:] - INFO [main:ZooKeeper@1324] - Session: 0x1022111c7670001 closed [junit] 2017-01-11 12:01:49,750 [myid:] - INFO [NIOWorkerThread-8:NIOServerCnxn@614] - Closed socket connection for client /127.0.0.1:52689 which had sessionid 0x1022111c7670001 [junit] 2017-01-11 12:01:49,751 [myid:] - INFO [main:ClientBase@513] - STOPPING server [junit] 2017-01-11 12:01:49,751 [myid:] - INFO [main-EventThread:ClientCnxn$EventThread@513] - EventThread shut down for session: 0x1022111c7670001 [junit] 2017-01-11 12:01:49,752 [myid:] - INFO [ConnnectionExpirer:NIOServerCnxnFactory$ConnectionExpirerThread@583] - ConnnectionExpirerThread interrupted [junit] 2017-01-11 12:01:49,755 [myid:] - INFO [NIOServerCxnFactory.AcceptThread:0.0.0.0/0.0.0.0:16611:NIOServerCnxnFactory$AcceptThread@219] - accept thread exitted run method [junit] 2017-01-11 12:01:49,756 [myid:] - INFO [NIOServerCxnFactory.SelectorThread-1:NIOServerCnxnFactory$SelectorThread@420] - selector thread exitted run method [junit] 2017-01-11 12:01:49,757 [myid:] - INFO [NIOServerCxnFactory.SelectorThread-0:NIOServerCnxnFactory$SelectorThread@420] - selector thread exitted run method [junit] 2017-01-11 12:01:49,757 [myid:] - INFO [main:ZooKeeperServer@534] - shutting down [junit] 2017-01-11 12:01:49,757 [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-01-11 12:01:49,758 [myid:] - INFO [main:SessionTrackerImpl@232] - Shutting down [junit] 2017-01-11 12:01:49,758 [myid:] - INFO [main:PrepRequestProcessor@1009] - Shutting down [junit] 2017-01-11 12:01:49,758 [myid:] - INFO [main:SyncRequestProcessor@191] - Shutting down [junit] 2017-01-11 12:01:49,758 [myid:] - INFO [ProcessThread(sid:0 cport:16611)::PrepRequestProcessor@157] - PrepRequestProcessor exited loop! [junit] 2017-01-11 12:01:49,758 [myid:] - INFO [SyncThread:0:SyncRequestProcessor@169] - SyncRequestProcessor exited! [junit] 2017-01-11 12:01:49,758 [myid:] - INFO [main:FinalRequestProcessor@481] - shutdown of request processor complete [junit] 2017-01-11 12:01:49,759 [myid:] - INFO [main:MBeanRegistry@128] - Unregister MBean [org.apache.ZooKeeperService:name0=StandaloneServer_port16611,name1=InMemoryDataTree] [junit] 2017-01-11 12:01:49,759 [myid:] - INFO [main:MBeanRegistry@128] - Unregister MBean [org.apache.ZooKeeperService:name0=StandaloneServer_port16611] [junit] 2017-01-11 12:01:49,762 [myid:] - INFO [main:FourLetterWordMain@85] - connecting to 127.0.0.1 16611 [junit] 2017-01-11 12:01:49,763 [myid:] - INFO [main:JMXEnv@146] - ensureOnly:[] [junit] 2017-01-11 12:01:49,775 [myid:] - INFO [main:ClientBase@568] - fdcount after test is: 57 at start it was 57 [junit] 2017-01-11 12:01:49,776 [myid:] - INFO [main:ZKTestCase$1@65] - SUCCEEDED testManyChildWatchersAutoReset [junit] 2017-01-11 12:01:49,776 [myid:] - INFO [main:ZKTestCase$1@60] - FINISHED testManyChildWatchersAutoReset [junit] Tests run: 4, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 820.035 sec, Thread: 3, Class: org.apache.zookeeper.test.DisconnectedWatcherTest BUILD FAILED /home/jenkins/jenkins-slave/workspace/ZooKeeper-trunk-jdk8/build.xml:1211: Tests failed! Total time: 17 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.test.FLETest.testDoubleElection Error Message: Leader hasn't joined: -1 Stack Trace: junit.framework.AssertionFailedError: Leader hasn't joined: -1 at org.apache.zookeeper.test.FLETest.runElection(FLETest.java:368) at org.apache.zookeeper.test.FLETest.testDoubleElection(FLETest.java:277) at org.apache.zookeeper.JUnit4ZKTestRunner$LoggedInvokeMethod.evaluate(JUnit4ZKTestRunner.java:79) FAILED: org.apache.zookeeper.test.WatcherTest.testWatchAutoResetWithPending Error Message: For 63 expected:<1> but was:<0> Stack Trace: junit.framework.AssertionFailedError: For 63 expected:<1> but was:<0> at org.apache.zookeeper.test.WatcherTest.testWatchAutoResetWithPending(WatcherTest.java:215) at org.apache.zookeeper.JUnit4ZKTestRunner$LoggedInvokeMethod.evaluate(JUnit4ZKTestRunner.java:79)