See https://builds.apache.org/job/ZooKeeper_branch35_jdk8/171/
################################################################################### ########################## LAST 60 LINES OF THE CONSOLE ########################### [...truncated 452694 lines...] [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.NioServerSocketPipelineSink.handleAcceptedSocket(NioServerSocketPipelineSink.java:81) [junit] at org.jboss.netty.channel.socket.nio.NioServerSocketPipelineSink.eventSunk(NioServerSocketPipelineSink.java:36) [junit] at org.jboss.netty.channel.DefaultChannelPipeline$DefaultChannelHandlerContext.sendDownstream(DefaultChannelPipeline.java:779) [junit] at org.jboss.netty.channel.SimpleChannelHandler.closeRequested(SimpleChannelHandler.java:334) [junit] at org.jboss.netty.channel.SimpleChannelHandler.handleDownstream(SimpleChannelHandler.java:260) [junit] at org.jboss.netty.channel.DefaultChannelPipeline.sendDownstream(DefaultChannelPipeline.java:591) [junit] at org.jboss.netty.channel.DefaultChannelPipeline.sendDownstream(DefaultChannelPipeline.java:582) [junit] at org.jboss.netty.channel.Channels.close(Channels.java:812) [junit] at org.jboss.netty.channel.AbstractChannel.close(AbstractChannel.java:206) [junit] at org.apache.zookeeper.server.NettyServerCnxn.close(NettyServerCnxn.java:111) [junit] at org.apache.zookeeper.server.NettyServerCnxn.sendBuffer(NettyServerCnxn.java:215) [junit] at org.apache.zookeeper.server.NettyServerCnxn.sendCloseSession(NettyServerCnxn.java:441) [junit] at org.apache.zookeeper.server.FinalRequestProcessor.processRequest(FinalRequestProcessor.java:459) [junit] at org.apache.zookeeper.server.SyncRequestProcessor.flush(SyncRequestProcessor.java:182) [junit] at org.apache.zookeeper.server.SyncRequestProcessor.run(SyncRequestProcessor.java:113) [junit] 2016-07-30 13:13:35,830 [myid:] - INFO [main:ZooKeeper@1313] - Session: 0x1044b4c79400000 closed [junit] 2016-07-30 13:13:35,830 [myid:] - INFO [main-EventThread:ClientCnxn$EventThread@513] - EventThread shut down for session: 0x1044b4c79400000 [junit] 2016-07-30 13:13:35,831 [myid:] - INFO [main:JUnit4ZKTestRunner$LoggedInvokeMethod@82] - Memory used 191381 [junit] 2016-07-30 13:13:35,831 [myid:] - INFO [main:JUnit4ZKTestRunner$LoggedInvokeMethod@87] - Number of threads 1640 [junit] 2016-07-30 13:13:35,831 [myid:] - INFO [main:JUnit4ZKTestRunner$LoggedInvokeMethod@102] - FINISHED TEST METHOD testWatcherAutoResetWithLocal [junit] 2016-07-30 13:13:35,831 [myid:] - INFO [main:ClientBase@543] - tearDown starting [junit] 2016-07-30 13:13:35,831 [myid:] - INFO [main:ClientBase@513] - STOPPING server [junit] 2016-07-30 13:13:35,831 [myid:] - INFO [main:NettyServerCnxnFactory@464] - shutdown called 0.0.0.0/0.0.0.0:22238 [junit] 2016-07-30 13:13:35,834 [myid:] - INFO [main:ZooKeeperServer@498] - shutting down [junit] 2016-07-30 13:13:35,835 [myid:] - INFO [main:SessionTrackerImpl@232] - Shutting down [junit] 2016-07-30 13:13:35,835 [myid:] - INFO [main:PrepRequestProcessor@965] - Shutting down [junit] 2016-07-30 13:13:35,835 [myid:] - INFO [main:SyncRequestProcessor@191] - Shutting down [junit] 2016-07-30 13:13:35,836 [myid:] - INFO [ProcessThread(sid:0 cport:22238)::PrepRequestProcessor@154] - PrepRequestProcessor exited loop! [junit] 2016-07-30 13:13:35,836 [myid:] - INFO [SyncThread:0:SyncRequestProcessor@169] - SyncRequestProcessor exited! [junit] 2016-07-30 13:13:35,836 [myid:] - INFO [main:FinalRequestProcessor@479] - shutdown of request processor complete [junit] 2016-07-30 13:13:35,836 [myid:] - INFO [main:MBeanRegistry@128] - Unregister MBean [org.apache.ZooKeeperService:name0=StandaloneServer_port22238,name1=InMemoryDataTree] [junit] 2016-07-30 13:13:35,836 [myid:] - INFO [main:MBeanRegistry@128] - Unregister MBean [org.apache.ZooKeeperService:name0=StandaloneServer_port22238] [junit] 2016-07-30 13:13:35,837 [myid:] - INFO [main:FourLetterWordMain@85] - connecting to 127.0.0.1 22238 [junit] 2016-07-30 13:13:35,837 [myid:] - INFO [main:JMXEnv@146] - ensureOnly:[] [junit] 2016-07-30 13:13:35,843 [myid:] - INFO [main:ClientBase@568] - fdcount after test is: 4825 at start it was 4825 [junit] 2016-07-30 13:13:35,843 [myid:] - INFO [main:ZKTestCase$1@65] - SUCCEEDED testWatcherAutoResetWithLocal [junit] 2016-07-30 13:13:35,843 [myid:] - INFO [main:ZKTestCase$1@60] - FINISHED testWatcherAutoResetWithLocal [junit] Tests run: 101, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 486.134 sec, Thread: 5, Class: org.apache.zookeeper.test.NioNettySuiteTest [junit] 2016-07-30 13:13:35,963 [myid:127.0.0.1:22118] - INFO [main-SendThread(127.0.0.1:22118):ClientCnxn$SendThread@1113] - Opening socket connection to server 127.0.0.1/127.0.0.1:22118. Will not attempt to authenticate using SASL (unknown error) [junit] 2016-07-30 13:13:35,964 [myid:127.0.0.1:22118] - WARN [main-SendThread(127.0.0.1:22118):ClientCnxn$SendThread@1235] - Session 0x2044b499c7e0000 for server 127.0.0.1/127.0.0.1:22118, 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) BUILD FAILED /home/jenkins/jenkins-slave/workspace/ZooKeeper_branch35_jdk8/branch-3.5/build.xml:1322: The following error occurred while executing this line: /home/jenkins/jenkins-slave/workspace/ZooKeeper_branch35_jdk8/branch-3.5/build.xml:1207: Tests failed! Total time: 12 minutes 30 seconds Build step 'Invoke Ant' marked build as failure Archiving artifacts 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.WatcherTest.testWatchAutoResetWithPending Error Message: For 53 expected:<1> but was:<0> Stack Trace: junit.framework.AssertionFailedError: For 53 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)