See https://builds.apache.org/job/ZooKeeper-trunk-jdk8/873/
################################################################################### ########################## LAST 60 LINES OF THE CONSOLE ########################### [...truncated 460627 lines...] [junit] at sun.nio.ch.SocketChannelImpl.checkConnect(Native Method) [junit] at sun.nio.ch.SocketChannelImpl.finishConnect(SocketChannelImpl.java:717) [junit] at org.jboss.netty.channel.socket.nio.NioClientBoss.connect(NioClientBoss.java:152) [junit] at org.jboss.netty.channel.socket.nio.NioClientBoss.processSelectedKeys(NioClientBoss.java:105) [junit] at org.jboss.netty.channel.socket.nio.NioClientBoss.process(NioClientBoss.java:79) [junit] at org.jboss.netty.channel.socket.nio.AbstractNioSelector.run(AbstractNioSelector.java:337) [junit] at org.jboss.netty.channel.socket.nio.NioClientBoss.run(NioClientBoss.java:42) [junit] at org.jboss.netty.util.ThreadRenamingRunnable.run(ThreadRenamingRunnable.java:108) [junit] at org.jboss.netty.util.internal.DeadLockProofWorker$1.run(DeadLockProofWorker.java:42) [junit] at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142) [junit] at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617) [junit] at java.lang.Thread.run(Thread.java:745) [junit] 2016-12-24 11:59:42,247 [myid:] - INFO [New I/O boss #9999:ClientCnxnSocketNetty@208] - channel is told closing [junit] 2016-12-24 11:59:42,247 [myid:127.0.0.1:24811] - INFO [main-SendThread(127.0.0.1:24811):ClientCnxn$SendThread@1231] - channel for sessionid 0x201c46628aa0000 is lost, closing socket connection and attempting reconnect [junit] 2016-12-24 11:59:51,784 [myid:] - INFO [main:JUnit4ZKTestRunner$LoggedInvokeMethod@82] - Memory used 132039 [junit] 2016-12-24 11:59:51,785 [myid:] - INFO [main:JUnit4ZKTestRunner$LoggedInvokeMethod@87] - Number of threads 55 [junit] 2016-12-24 11:59:51,785 [myid:] - INFO [main:JUnit4ZKTestRunner$LoggedInvokeMethod@102] - FINISHED TEST METHOD testManyChildWatchersAutoReset [junit] 2016-12-24 11:59:51,785 [myid:] - INFO [main:ClientBase@543] - tearDown starting [junit] 2016-12-24 11:59:51,786 [myid:] - INFO [ProcessThread(sid:0 cport:16611)::PrepRequestProcessor@618] - Processed session termination for sessionid: 0x101c45ef0fd0000 [junit] 2016-12-24 11:59:51,797 [myid:] - INFO [main:ZooKeeper@1313] - Session: 0x101c45ef0fd0000 closed [junit] 2016-12-24 11:59:51,797 [myid:] - INFO [NIOWorkerThread-1:MBeanRegistry@128] - Unregister MBean [org.apache.ZooKeeperService:name0=StandaloneServer_port16611,name1=Connections,name2=127.0.0.1,name3=0x101c45ef0fd0000] [junit] 2016-12-24 11:59:51,797 [myid:] - INFO [main-EventThread:ClientCnxn$EventThread@513] - EventThread shut down for session: 0x101c45ef0fd0000 [junit] 2016-12-24 11:59:51,798 [myid:] - INFO [ProcessThread(sid:0 cport:16611)::PrepRequestProcessor@618] - Processed session termination for sessionid: 0x101c45ef0fd0001 [junit] 2016-12-24 11:59:51,799 [myid:] - INFO [NIOWorkerThread-1:NIOServerCnxn@614] - Closed socket connection for client /127.0.0.1:48942 which had sessionid 0x101c45ef0fd0000 [junit] 2016-12-24 11:59:51,805 [myid:] - INFO [NIOWorkerThread-22:MBeanRegistry@128] - Unregister MBean [org.apache.ZooKeeperService:name0=StandaloneServer_port16611,name1=Connections,name2=127.0.0.1,name3=0x101c45ef0fd0001] [junit] 2016-12-24 11:59:51,805 [myid:] - INFO [main:ZooKeeper@1313] - Session: 0x101c45ef0fd0001 closed [junit] 2016-12-24 11:59:51,806 [myid:] - INFO [main:ClientBase@513] - STOPPING server [junit] 2016-12-24 11:59:51,805 [myid:] - INFO [main-EventThread:ClientCnxn$EventThread@513] - EventThread shut down for session: 0x101c45ef0fd0001 [junit] 2016-12-24 11:59:51,806 [myid:] - INFO [NIOWorkerThread-22:NIOServerCnxn@614] - Closed socket connection for client /127.0.0.1:48933 which had sessionid 0x101c45ef0fd0001 [junit] 2016-12-24 11:59:51,807 [myid:] - INFO [ConnnectionExpirer:NIOServerCnxnFactory$ConnectionExpirerThread@583] - ConnnectionExpirerThread interrupted [junit] 2016-12-24 11:59:51,809 [myid:] - INFO [NIOServerCxnFactory.AcceptThread:0.0.0.0/0.0.0.0:16611:NIOServerCnxnFactory$AcceptThread@219] - accept thread exitted run method [junit] 2016-12-24 11:59:51,810 [myid:] - INFO [NIOServerCxnFactory.SelectorThread-1:NIOServerCnxnFactory$SelectorThread@420] - selector thread exitted run method [junit] 2016-12-24 11:59:51,813 [myid:] - INFO [NIOServerCxnFactory.SelectorThread-0:NIOServerCnxnFactory$SelectorThread@420] - selector thread exitted run method [junit] 2016-12-24 11:59:51,814 [myid:] - INFO [main:ZooKeeperServer@534] - shutting down [junit] 2016-12-24 11:59:51,814 [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] 2016-12-24 11:59:51,814 [myid:] - INFO [main:SessionTrackerImpl@232] - Shutting down [junit] 2016-12-24 11:59:51,815 [myid:] - INFO [main:PrepRequestProcessor@1009] - Shutting down [junit] 2016-12-24 11:59:51,815 [myid:] - INFO [main:SyncRequestProcessor@191] - Shutting down [junit] 2016-12-24 11:59:51,815 [myid:] - INFO [ProcessThread(sid:0 cport:16611)::PrepRequestProcessor@157] - PrepRequestProcessor exited loop! [junit] 2016-12-24 11:59:51,815 [myid:] - INFO [SyncThread:0:SyncRequestProcessor@169] - SyncRequestProcessor exited! [junit] 2016-12-24 11:59:51,815 [myid:] - INFO [main:FinalRequestProcessor@481] - shutdown of request processor complete [junit] 2016-12-24 11:59:51,816 [myid:] - INFO [main:MBeanRegistry@128] - Unregister MBean [org.apache.ZooKeeperService:name0=StandaloneServer_port16611,name1=InMemoryDataTree] [junit] 2016-12-24 11:59:51,816 [myid:] - INFO [main:MBeanRegistry@128] - Unregister MBean [org.apache.ZooKeeperService:name0=StandaloneServer_port16611] [junit] 2016-12-24 11:59:51,817 [myid:] - INFO [main:FourLetterWordMain@85] - connecting to 127.0.0.1 16611 [junit] 2016-12-24 11:59:51,818 [myid:] - INFO [main:JMXEnv@146] - ensureOnly:[] [junit] 2016-12-24 11:59:51,831 [myid:] - INFO [main:ClientBase@568] - fdcount after test is: 57 at start it was 57 [junit] 2016-12-24 11:59:51,832 [myid:] - INFO [main:ZKTestCase$1@65] - SUCCEEDED testManyChildWatchersAutoReset [junit] 2016-12-24 11:59:51,832 [myid:] - INFO [main:ZKTestCase$1@60] - FINISHED testManyChildWatchersAutoReset [junit] Tests run: 4, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 725.108 sec, Thread: 3, Class: org.apache.zookeeper.test.DisconnectedWatcherTest BUILD FAILED /home/jenkins/jenkins-slave/workspace/ZooKeeper-trunk-jdk8/build.xml:1209: Tests failed! Total time: 15 minutes 55 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.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)