See https://builds.apache.org/job/ZooKeeper_branch35_jdk8/169/
################################################################################### ########################## LAST 60 LINES OF THE CONSOLE ########################### [...truncated 456783 lines...] [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-07-29 12:02:06,925 [myid:] - INFO [ProcessThread(sid:0 cport:27624)::PrepRequestProcessor@647] - Processed session termination for sessionid: 0x10445e4aead0000 [junit] 2016-07-29 12:02:06,933 [myid:] - INFO [SyncThread:0:MBeanRegistry@128] - Unregister MBean [org.apache.ZooKeeperService:name0=StandaloneServer_port27624,name1=Connections,name2=127.0.0.1,name3=0x10445e4aead0000] [junit] 2016-07-29 12:02:06,934 [myid:] - WARN [New I/O worker #6635:NettyServerCnxnFactory$CnxnChannelHandler@142] - Exception caught [id: 0x6a752936, /127.0.0.1:50005 :> /127.0.0.1:27624] 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.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-29 12:02:07,035 [myid:] - INFO [main:ZooKeeper@1313] - Session: 0x10445e4aead0000 closed [junit] 2016-07-29 12:02:07,036 [myid:] - INFO [main:JUnit4ZKTestRunner$LoggedInvokeMethod@82] - Memory used 192091 [junit] 2016-07-29 12:02:07,036 [myid:] - INFO [main:JUnit4ZKTestRunner$LoggedInvokeMethod@87] - Number of threads 1641 [junit] 2016-07-29 12:02:07,036 [myid:] - INFO [main:JUnit4ZKTestRunner$LoggedInvokeMethod@102] - FINISHED TEST METHOD testWatcherAutoResetWithLocal [junit] 2016-07-29 12:02:07,036 [myid:] - INFO [main:ClientBase@543] - tearDown starting [junit] 2016-07-29 12:02:07,037 [myid:] - INFO [main:ClientBase@513] - STOPPING server [junit] 2016-07-29 12:02:07,037 [myid:] - INFO [main:NettyServerCnxnFactory@464] - shutdown called 0.0.0.0/0.0.0.0:27624 [junit] 2016-07-29 12:02:07,036 [myid:] - INFO [main-EventThread:ClientCnxn$EventThread@513] - EventThread shut down for session: 0x10445e4aead0000 [junit] 2016-07-29 12:02:07,042 [myid:] - INFO [main:ZooKeeperServer@498] - shutting down [junit] 2016-07-29 12:02:07,042 [myid:] - INFO [main:SessionTrackerImpl@232] - Shutting down [junit] 2016-07-29 12:02:07,042 [myid:] - INFO [main:PrepRequestProcessor@965] - Shutting down [junit] 2016-07-29 12:02:07,042 [myid:] - INFO [main:SyncRequestProcessor@191] - Shutting down [junit] 2016-07-29 12:02:07,042 [myid:] - INFO [ProcessThread(sid:0 cport:27624)::PrepRequestProcessor@154] - PrepRequestProcessor exited loop! [junit] 2016-07-29 12:02:07,043 [myid:] - INFO [SyncThread:0:SyncRequestProcessor@169] - SyncRequestProcessor exited! [junit] 2016-07-29 12:02:07,043 [myid:] - INFO [main:FinalRequestProcessor@479] - shutdown of request processor complete [junit] 2016-07-29 12:02:07,043 [myid:] - INFO [main:MBeanRegistry@128] - Unregister MBean [org.apache.ZooKeeperService:name0=StandaloneServer_port27624,name1=InMemoryDataTree] [junit] 2016-07-29 12:02:07,043 [myid:] - INFO [main:MBeanRegistry@128] - Unregister MBean [org.apache.ZooKeeperService:name0=StandaloneServer_port27624] [junit] 2016-07-29 12:02:07,043 [myid:] - INFO [main:FourLetterWordMain@85] - connecting to 127.0.0.1 27624 [junit] 2016-07-29 12:02:07,044 [myid:] - INFO [main:JMXEnv@146] - ensureOnly:[] [junit] 2016-07-29 12:02:07,051 [myid:] - INFO [main:ClientBase@568] - fdcount after test is: 4828 at start it was 4828 [junit] 2016-07-29 12:02:07,052 [myid:] - INFO [main:ZKTestCase$1@65] - SUCCEEDED testWatcherAutoResetWithLocal [junit] 2016-07-29 12:02:07,052 [myid:] - INFO [main:ZKTestCase$1@60] - FINISHED testWatcherAutoResetWithLocal [junit] Tests run: 101, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 517.009 sec, Thread: 7, Class: org.apache.zookeeper.test.NioNettySuiteTest 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: 13 minutes 49 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) ############################## 4 tests failed. FAILED: org.apache.zookeeper.test.AsyncHammerTest.testHammer Error Message: null Stack Trace: junit.framework.AssertionFailedError at org.apache.zookeeper.test.AsyncHammerTest.testHammer(AsyncHammerTest.java:186) at org.apache.zookeeper.JUnit4ZKTestRunner$LoggedInvokeMethod.evaluate(JUnit4ZKTestRunner.java:79) FAILED: org.apache.zookeeper.test.AsyncHammerTest.testObserversHammer Error Message: unable to create new native thread Stack Trace: java.lang.OutOfMemoryError: unable to create new native thread at java.lang.Thread.start0(Native Method) at java.lang.Thread.start(Thread.java:714) at org.apache.zookeeper.test.AsyncHammerTest.testObserversHammer(AsyncHammerTest.java:208) at org.apache.zookeeper.JUnit4ZKTestRunner$LoggedInvokeMethod.evaluate(JUnit4ZKTestRunner.java:79) FAILED: org.apache.zookeeper.test.ObserverHierarchicalQuorumTest.testHierarchicalQuorum Error Message: unable to create new native thread Stack Trace: java.lang.OutOfMemoryError: unable to create new native thread at java.lang.Thread.start0(Native Method) at java.lang.Thread.start(Thread.java:714) at org.apache.zookeeper.server.NIOServerCnxnFactory.start(NIOServerCnxnFactory.java:746) at org.apache.zookeeper.server.quorum.QuorumPeer.startServerCnxnFactory(QuorumPeer.java:1588) at org.apache.zookeeper.server.quorum.QuorumPeer.start(QuorumPeer.java:751) at org.apache.zookeeper.test.HierarchicalQuorumTest.startServers(HierarchicalQuorumTest.java:224) at org.apache.zookeeper.test.ObserverHierarchicalQuorumTest.startServers(ObserverHierarchicalQuorumTest.java:28) at org.apache.zookeeper.test.HierarchicalQuorumTest.setUp(HierarchicalQuorumTest.java:121) FAILED: org.apache.zookeeper.test.ObserverTest.testObserver Error Message: unable to create new native thread Stack Trace: java.lang.OutOfMemoryError: unable to create new native thread at java.lang.Thread.start0(Native Method) at java.lang.Thread.start(Thread.java:714) at org.apache.zookeeper.server.quorum.QuorumPeerTestBase$MainThread.start(QuorumPeerTestBase.java:234) at org.apache.zookeeper.test.ObserverTest.testObserver(ObserverTest.java:144) at org.apache.zookeeper.JUnit4ZKTestRunner$LoggedInvokeMethod.evaluate(JUnit4ZKTestRunner.java:79)