See https://builds.apache.org/job/ZooKeeper-trunk-jdk8/743/
################################################################################### ########################## LAST 60 LINES OF THE CONSOLE ########################### [...truncated 466979 lines...] [junit] 2016-09-11 11:59:56,392 [myid:] - INFO [main:ZKTestCase$1@65] - SUCCEEDED testWatcherAutoResetWithLocal [junit] 2016-09-11 11:59:56,392 [myid:] - INFO [main:ZKTestCase$1@60] - FINISHED testWatcherAutoResetWithLocal [junit] Tests run: 101, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 553.901 sec, Thread: 2, Class: org.apache.zookeeper.test.NioNettySuiteTest [junit] 2016-09-11 11:59:56,830 [myid:127.0.0.1:14042] - INFO [main-SendThread(127.0.0.1:14042):ClientCnxn$SendThread@1113] - Opening socket connection to server 127.0.0.1/127.0.0.1:14042. Will not attempt to authenticate using SASL (unknown error) [junit] 2016-09-11 11:59:56,831 [myid:127.0.0.1:14042] - WARN [main-SendThread(127.0.0.1:14042):ClientCnxn$SendThread@1235] - Session 0x300c2efba120000 for server 127.0.0.1/127.0.0.1:14042, 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] 2016-09-11 12:02:26,448 [myid:] - INFO [main:JUnit4ZKTestRunner$LoggedInvokeMethod@82] - Memory used 134370 [junit] 2016-09-11 12:02:26,448 [myid:] - INFO [main:JUnit4ZKTestRunner$LoggedInvokeMethod@87] - Number of threads 55 [junit] 2016-09-11 12:02:26,448 [myid:] - INFO [main:JUnit4ZKTestRunner$LoggedInvokeMethod@102] - FINISHED TEST METHOD testManyChildWatchersAutoReset [junit] 2016-09-11 12:02:26,449 [myid:] - INFO [main:ClientBase@543] - tearDown starting [junit] 2016-09-11 12:02:26,450 [myid:] - INFO [ProcessThread(sid:0 cport:30076)::PrepRequestProcessor@647] - Processed session termination for sessionid: 0x100c2e856d50000 [junit] 2016-09-11 12:02:26,472 [myid:] - INFO [main:ZooKeeper@1313] - Session: 0x100c2e856d50000 closed [junit] 2016-09-11 12:02:26,473 [myid:] - INFO [NIOWorkerThread-31:MBeanRegistry@128] - Unregister MBean [org.apache.ZooKeeperService:name0=StandaloneServer_port30076,name1=Connections,name2=127.0.0.1,name3=0x100c2e856d50000] [junit] 2016-09-11 12:02:26,473 [myid:] - INFO [main-EventThread:ClientCnxn$EventThread@513] - EventThread shut down for session: 0x100c2e856d50000 [junit] 2016-09-11 12:02:26,473 [myid:] - INFO [ProcessThread(sid:0 cport:30076)::PrepRequestProcessor@647] - Processed session termination for sessionid: 0x100c2e856d50001 [junit] 2016-09-11 12:02:26,474 [myid:] - INFO [NIOWorkerThread-31:NIOServerCnxn@607] - Closed socket connection for client /127.0.0.1:60626 which had sessionid 0x100c2e856d50000 [junit] 2016-09-11 12:02:26,497 [myid:] - INFO [main:ZooKeeper@1313] - Session: 0x100c2e856d50001 closed [junit] 2016-09-11 12:02:26,497 [myid:] - INFO [main-EventThread:ClientCnxn$EventThread@513] - EventThread shut down for session: 0x100c2e856d50001 [junit] 2016-09-11 12:02:26,497 [myid:] - INFO [main:ClientBase@513] - STOPPING server [junit] 2016-09-11 12:02:26,497 [myid:] - INFO [NIOWorkerThread-11:MBeanRegistry@128] - Unregister MBean [org.apache.ZooKeeperService:name0=StandaloneServer_port30076,name1=Connections,name2=127.0.0.1,name3=0x100c2e856d50001] [junit] 2016-09-11 12:02:26,498 [myid:] - INFO [ConnnectionExpirer:NIOServerCnxnFactory$ConnectionExpirerThread@583] - ConnnectionExpirerThread interrupted [junit] 2016-09-11 12:02:26,499 [myid:] - INFO [NIOWorkerThread-11:NIOServerCnxn@607] - Closed socket connection for client /127.0.0.1:60625 which had sessionid 0x100c2e856d50001 [junit] 2016-09-11 12:02:26,500 [myid:] - INFO [NIOServerCxnFactory.AcceptThread:0.0.0.0/0.0.0.0:30076:NIOServerCnxnFactory$AcceptThread@219] - accept thread exitted run method [junit] 2016-09-11 12:02:26,501 [myid:] - INFO [NIOServerCxnFactory.SelectorThread-1:NIOServerCnxnFactory$SelectorThread@420] - selector thread exitted run method [junit] 2016-09-11 12:02:26,502 [myid:] - INFO [NIOServerCxnFactory.SelectorThread-0:NIOServerCnxnFactory$SelectorThread@420] - selector thread exitted run method [junit] 2016-09-11 12:02:26,505 [myid:] - INFO [main:ZooKeeperServer@529] - shutting down [junit] 2016-09-11 12:02:26,505 [myid:] - ERROR [main:ZooKeeperServer@501] - ZKShutdownHandler is not registered, so ZooKeeper server won't take any action on ERROR or SHUTDOWN server state changes [junit] 2016-09-11 12:02:26,506 [myid:] - INFO [main:SessionTrackerImpl@232] - Shutting down [junit] 2016-09-11 12:02:26,506 [myid:] - INFO [main:PrepRequestProcessor@965] - Shutting down [junit] 2016-09-11 12:02:26,506 [myid:] - INFO [main:SyncRequestProcessor@191] - Shutting down [junit] 2016-09-11 12:02:26,506 [myid:] - INFO [ProcessThread(sid:0 cport:30076)::PrepRequestProcessor@154] - PrepRequestProcessor exited loop! [junit] 2016-09-11 12:02:26,506 [myid:] - INFO [SyncThread:0:SyncRequestProcessor@169] - SyncRequestProcessor exited! [junit] 2016-09-11 12:02:26,507 [myid:] - INFO [main:FinalRequestProcessor@479] - shutdown of request processor complete [junit] 2016-09-11 12:02:26,507 [myid:] - INFO [main:MBeanRegistry@128] - Unregister MBean [org.apache.ZooKeeperService:name0=StandaloneServer_port30076,name1=InMemoryDataTree] [junit] 2016-09-11 12:02:26,507 [myid:] - INFO [main:MBeanRegistry@128] - Unregister MBean [org.apache.ZooKeeperService:name0=StandaloneServer_port30076] [junit] 2016-09-11 12:02:26,508 [myid:] - INFO [main:FourLetterWordMain@85] - connecting to 127.0.0.1 30076 [junit] 2016-09-11 12:02:26,509 [myid:] - INFO [main:JMXEnv@146] - ensureOnly:[] [junit] 2016-09-11 12:02:26,519 [myid:] - INFO [main:ClientBase@568] - fdcount after test is: 57 at start it was 57 [junit] 2016-09-11 12:02:26,519 [myid:] - INFO [main:ZKTestCase$1@65] - SUCCEEDED testManyChildWatchersAutoReset [junit] 2016-09-11 12:02:26,519 [myid:] - INFO [main:ZKTestCase$1@60] - FINISHED testManyChildWatchersAutoReset [junit] Tests run: 4, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 845.399 sec, Thread: 8, Class: org.apache.zookeeper.test.DisconnectedWatcherTest BUILD FAILED /home/jenkins/jenkins-slave/workspace/ZooKeeper-trunk-jdk8/trunk/build.xml:1207: Tests failed! Total time: 17 minutes 35 seconds Build step 'Invoke Ant' marked build as failure [WARNINGS] Skipping publisher since build result is FAILURE Recording test results Setting JDK_1_8_LATEST__HOME=/home/jenkins/tools/java/latest1.8 Setting JDK_1_8_LATEST__HOME=/home/jenkins/tools/java/latest1.8 Email was triggered for: Failure - Any Sending email for trigger: Failure - Any Setting JDK_1_8_LATEST__HOME=/home/jenkins/tools/java/latest1.8 Setting JDK_1_8_LATEST__HOME=/home/jenkins/tools/java/latest1.8 ################################################################################### ############################## FAILED TESTS (if any) ############################## 2 tests failed. FAILED: org.apache.zookeeper.server.quorum.RaceConditionTest.testRaceConditionBetweenLeaderAndAckRequestProcessor Error Message: Leader failed to transition to LOOKING or FOLLOWING state Stack Trace: junit.framework.AssertionFailedError: Leader failed to transition to LOOKING or FOLLOWING state at org.apache.zookeeper.server.quorum.RaceConditionTest.testRaceConditionBetweenLeaderAndAckRequestProcessor(RaceConditionTest.java:74) 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.FLETest.testTripleElection Error Message: Fewer than a a majority has joined Stack Trace: junit.framework.AssertionFailedError: Fewer than a a majority has joined at org.apache.zookeeper.test.FLETest.runElection(FLETest.java:361) at org.apache.zookeeper.test.FLETest.testTripleElection(FLETest.java:286) at org.apache.zookeeper.JUnit4ZKTestRunner$LoggedInvokeMethod.evaluate(JUnit4ZKTestRunner.java:79)