See https://builds.apache.org/job/ZooKeeper-trunk-jdk8/1186/
################################################################################### ########################## LAST 60 LINES OF THE CONSOLE ########################### [...truncated 66.24 MB...] [junit] 2017-08-31 11:56:31,261 [myid:] - INFO [main:ZooKeeper@1332] - Session: 0x105b197cec60000 closed [junit] 2017-08-31 11:56:31,261 [myid:] - WARN [New I/O worker #3487:NettyServerCnxnFactory$CnxnChannelHandler@142] - Exception caught [id: 0x6a2d5044, /127.0.0.1:57958 :> /127.0.0.1:22240] EXCEPTION: java.nio.channels.ClosedChannelException [junit] java.nio.channels.ClosedChannelException [junit] at org.jboss.netty.channel.socket.nio.AbstractNioWorker.cleanUpWriteBuffer(AbstractNioWorker.java:433) [junit] at org.jboss.netty.channel.socket.nio.AbstractNioWorker.close(AbstractNioWorker.java:373) [junit] at org.jboss.netty.channel.socket.nio.NioWorker.read(NioWorker.java:93) [junit] at org.jboss.netty.channel.socket.nio.AbstractNioWorker.process(AbstractNioWorker.java:108) [junit] at org.jboss.netty.channel.socket.nio.AbstractNioSelector.run(AbstractNioSelector.java:337) [junit] at org.jboss.netty.channel.socket.nio.AbstractNioWorker.run(AbstractNioWorker.java:89) [junit] at org.jboss.netty.channel.socket.nio.NioWorker.run(NioWorker.java:178) [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:1149) [junit] at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624) [junit] at java.lang.Thread.run(Thread.java:748) [junit] 2017-08-31 11:56:31,261 [myid:] - INFO [main-EventThread:ClientCnxn$EventThread@513] - EventThread shut down for session: 0x105b197cec60000 [junit] 2017-08-31 11:56:31,261 [myid:] - INFO [main:JUnit4ZKTestRunner$LoggedInvokeMethod@82] - Memory used 141246 [junit] 2017-08-31 11:56:31,262 [myid:] - INFO [main:JUnit4ZKTestRunner$LoggedInvokeMethod@87] - Number of threads 863 [junit] 2017-08-31 11:56:31,262 [myid:] - INFO [main:JUnit4ZKTestRunner$LoggedInvokeMethod@102] - FINISHED TEST METHOD testWatcherAutoResetWithLocal [junit] 2017-08-31 11:56:31,262 [myid:] - INFO [main:ClientBase@601] - tearDown starting [junit] 2017-08-31 11:56:31,262 [myid:] - INFO [main:ClientBase@571] - STOPPING server [junit] 2017-08-31 11:56:31,262 [myid:] - INFO [main:NettyServerCnxnFactory@464] - shutdown called 0.0.0.0/0.0.0.0:22240 [junit] 2017-08-31 11:56:31,264 [myid:] - INFO [main:ZooKeeperServer@545] - shutting down [junit] 2017-08-31 11:56:31,264 [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-08-31 11:56:31,264 [myid:] - INFO [main:SessionTrackerImpl@232] - Shutting down [junit] 2017-08-31 11:56:31,264 [myid:] - INFO [main:PrepRequestProcessor@1010] - Shutting down [junit] 2017-08-31 11:56:31,264 [myid:] - INFO [main:SyncRequestProcessor@191] - Shutting down [junit] 2017-08-31 11:56:31,265 [myid:] - INFO [SyncThread:0:SyncRequestProcessor@169] - SyncRequestProcessor exited! [junit] 2017-08-31 11:56:31,265 [myid:] - INFO [ProcessThread(sid:0 cport:22240)::PrepRequestProcessor@155] - PrepRequestProcessor exited loop! [junit] 2017-08-31 11:56:31,265 [myid:] - INFO [main:FinalRequestProcessor@481] - shutdown of request processor complete [junit] 2017-08-31 11:56:31,265 [myid:] - INFO [main:MBeanRegistry@128] - Unregister MBean [org.apache.ZooKeeperService:name0=StandaloneServer_port22240,name1=InMemoryDataTree] [junit] 2017-08-31 11:56:31,265 [myid:] - INFO [main:MBeanRegistry@128] - Unregister MBean [org.apache.ZooKeeperService:name0=StandaloneServer_port22240] [junit] 2017-08-31 11:56:31,266 [myid:] - INFO [main:FourLetterWordMain@87] - connecting to 127.0.0.1 22240 [junit] 2017-08-31 11:56:31,266 [myid:] - INFO [main:JMXEnv@146] - ensureOnly:[] [junit] 2017-08-31 11:56:31,271 [myid:] - INFO [main:ClientBase@626] - fdcount after test is: 2551 at start it was 2551 [junit] 2017-08-31 11:56:31,271 [myid:] - INFO [main:ZKTestCase$1@68] - SUCCEEDED testWatcherAutoResetWithLocal [junit] 2017-08-31 11:56:31,350 [myid:] - INFO [main:ZKTestCase$1@63] - FINISHED testWatcherAutoResetWithLocal [junit] Tests run: 105, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 464.94 sec, Thread: 5, Class: org.apache.zookeeper.test.NioNettySuiteTest [junit] 2017-08-31 11:56:31,690 [myid:127.0.0.1:22117] - INFO [main-SendThread(127.0.0.1:22117):ClientCnxn$SendThread@1113] - Opening socket connection to server 127.0.0.1/127.0.0.1:22117. Will not attempt to authenticate using SASL (unknown error) [junit] 2017-08-31 11:56:31,691 [myid:127.0.0.1:22117] - WARN [main-SendThread(127.0.0.1:22117):ClientCnxn$SendThread@1235] - Session 0x105b19412300000 for server 127.0.0.1/127.0.0.1:22117, 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-08-31 11:56:31,913 [myid:] - INFO [SessionTracker:SessionTrackerImpl@158] - SessionTrackerImpl exited loop! 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: 12 minutes 26 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:190) at org.apache.zookeeper.JUnit4ZKTestRunner$LoggedInvokeMethod.evaluate(JUnit4ZKTestRunner.java:79) FAILED: org.apache.zookeeper.test.WatchEventWhenAutoResetTest.testNodeDataChanged Error Message: expected:<NodeDataChanged> but was:<NodeDeleted> Stack Trace: junit.framework.AssertionFailedError: expected:<NodeDataChanged> but was:<NodeDeleted> at org.apache.zookeeper.test.WatchEventWhenAutoResetTest$EventsWatcher.assertEvent(WatchEventWhenAutoResetTest.java:67) at org.apache.zookeeper.test.WatchEventWhenAutoResetTest.testNodeDataChanged(WatchEventWhenAutoResetTest.java:117) at org.apache.zookeeper.JUnit4ZKTestRunner$LoggedInvokeMethod.evaluate(JUnit4ZKTestRunner.java:79)