See https://builds.apache.org/job/ZooKeeper_branch35_jdk7/1065/
################################################################################### ########################## LAST 60 LINES OF THE CONSOLE ########################### [...truncated 69.62 MB...] [junit] 2017-08-02 08:48:38,999 [myid:] - INFO [main:ClientBase@586] - tearDown starting [junit] 2017-08-02 08:48:38,999 [myid:] - INFO [main:ClientBase@556] - STOPPING server [junit] 2017-08-02 08:48:38,999 [myid:] - INFO [main:NettyServerCnxnFactory@464] - shutdown called 0.0.0.0/0.0.0.0:27626 [junit] 2017-08-02 08:48:39,005 [myid:] - INFO [main:ZooKeeperServer@541] - shutting down [junit] 2017-08-02 08:48:39,005 [myid:] - ERROR [main:ZooKeeperServer@505] - ZKShutdownHandler is not registered, so ZooKeeper server won't take any action on ERROR or SHUTDOWN server state changes [junit] 2017-08-02 08:48:39,005 [myid:] - INFO [main:SessionTrackerImpl@232] - Shutting down [junit] 2017-08-02 08:48:39,005 [myid:] - INFO [main:PrepRequestProcessor@1005] - Shutting down [junit] 2017-08-02 08:48:39,006 [myid:] - INFO [main:SyncRequestProcessor@191] - Shutting down [junit] 2017-08-02 08:48:39,006 [myid:] - INFO [SyncThread:0:SyncRequestProcessor@169] - SyncRequestProcessor exited! [junit] 2017-08-02 08:48:39,006 [myid:] - INFO [ProcessThread(sid:0 cport:27626)::PrepRequestProcessor@155] - PrepRequestProcessor exited loop! [junit] 2017-08-02 08:48:39,006 [myid:] - INFO [main:FinalRequestProcessor@481] - shutdown of request processor complete [junit] 2017-08-02 08:48:39,006 [myid:] - INFO [main:MBeanRegistry@128] - Unregister MBean [org.apache.ZooKeeperService:name0=StandaloneServer_port27626,name1=InMemoryDataTree] [junit] 2017-08-02 08:48:39,006 [myid:] - INFO [main:MBeanRegistry@128] - Unregister MBean [org.apache.ZooKeeperService:name0=StandaloneServer_port27626] [junit] 2017-08-02 08:48:39,007 [myid:] - INFO [main:FourLetterWordMain@87] - connecting to 127.0.0.1 27626 [junit] 2017-08-02 08:48:39,007 [myid:] - INFO [main:JMXEnv@146] - ensureOnly:[] [junit] 2017-08-02 08:48:39,016 [myid:] - INFO [main:ClientBase@611] - fdcount after test is: 7163 at start it was 7163 [junit] 2017-08-02 08:48:39,016 [myid:] - INFO [main:ZKTestCase$1@68] - SUCCEEDED testWatcherAutoResetWithLocal [junit] 2017-08-02 08:48:39,017 [myid:] - INFO [main:ZKTestCase$1@63] - FINISHED testWatcherAutoResetWithLocal [junit] Tests run: 103, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 424.76 sec, Thread: 7, Class: org.apache.zookeeper.test.NioNettySuiteTest [junit] 2017-08-02 08:48:39,287 [myid:127.0.0.1:27503] - INFO [main-SendThread(127.0.0.1:27503):ClientCnxn$SendThread@1113] - Opening socket connection to server 127.0.0.1/127.0.0.1:27503. Will not attempt to authenticate using SASL (unknown error) [junit] 2017-08-02 08:48:39,288 [myid:127.0.0.1:27503] - WARN [main-SendThread(127.0.0.1:27503):ClientCnxn$SendThread@1235] - Session 0x105cd5147d50000 for server 127.0.0.1/127.0.0.1:27503, 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:744) [junit] at org.apache.zookeeper.ClientCnxnSocketNIO.doTransport(ClientCnxnSocketNIO.java:357) [junit] at org.apache.zookeeper.ClientCnxn$SendThread.run(ClientCnxn.java:1214) [junit] 2017-08-02 08:48:39,370 [myid:127.0.0.1:27509] - INFO [main-SendThread(127.0.0.1:27509):ClientCnxn$SendThread@1113] - Opening socket connection to server 127.0.0.1/127.0.0.1:27509. Will not attempt to authenticate using SASL (unknown error) [junit] 2017-08-02 08:48:39,370 [myid:127.0.0.1:27509] - WARN [main-SendThread(127.0.0.1:27509):ClientCnxn$SendThread@1235] - Session 0x305cd5147d70000 for server 127.0.0.1/127.0.0.1:27509, 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:744) [junit] at org.apache.zookeeper.ClientCnxnSocketNIO.doTransport(ClientCnxnSocketNIO.java:357) [junit] at org.apache.zookeeper.ClientCnxn$SendThread.run(ClientCnxn.java:1214) [junit] 2017-08-02 08:48:39,374 [myid:127.0.0.1:27444] - INFO [main-SendThread(127.0.0.1:27444):ClientCnxn$SendThread@1113] - Opening socket connection to server 127.0.0.1/127.0.0.1:27444. Will not attempt to authenticate using SASL (unknown error) [junit] 2017-08-02 08:48:39,375 [myid:127.0.0.1:27444] - WARN [main-SendThread(127.0.0.1:27444):ClientCnxn$SendThread@1235] - Session 0x105cd4eaf520000 for server 127.0.0.1/127.0.0.1:27444, 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:744) [junit] at org.apache.zookeeper.ClientCnxnSocketNIO.doTransport(ClientCnxnSocketNIO.java:357) [junit] at org.apache.zookeeper.ClientCnxn$SendThread.run(ClientCnxn.java:1214) [junit] 2017-08-02 08:48:39,380 [myid:127.0.0.1:27380] - INFO [main-SendThread(127.0.0.1:27380):ClientCnxn$SendThread@1113] - Opening socket connection to server 127.0.0.1/127.0.0.1:27380. Will not attempt to authenticate using SASL (unknown error) [junit] 2017-08-02 08:48:39,380 [myid:127.0.0.1:27380] - WARN [main-SendThread(127.0.0.1:27380):ClientCnxn$SendThread@1235] - Session 0x105cd4e0ae10000 for server 127.0.0.1/127.0.0.1:27380, 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:744) [junit] at org.apache.zookeeper.ClientCnxnSocketNIO.doTransport(ClientCnxnSocketNIO.java:357) [junit] at org.apache.zookeeper.ClientCnxn$SendThread.run(ClientCnxn.java:1214) fail.build.on.test.failure: BUILD FAILED /home/jenkins/jenkins-slave/workspace/ZooKeeper_branch35_jdk7/build.xml:1226: The following error occurred while executing this line: /home/jenkins/jenkins-slave/workspace/ZooKeeper_branch35_jdk7/build.xml:1230: Tests failed! Total time: 10 minutes 23 seconds Build step 'Invoke Ant' marked build as 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.ReconfigTest.testPortChange Error Message: Couldn't instantiate org.apache.zookeeper.ClientCnxnSocketNetty Stack Trace: java.io.IOException: Couldn't instantiate org.apache.zookeeper.ClientCnxnSocketNetty at org.apache.zookeeper.ZooKeeper.getClientCnxnSocket(ZooKeeper.java:2979) at org.apache.zookeeper.ZooKeeper.<init>(ZooKeeper.java:881) at org.apache.zookeeper.ZooKeeper.<init>(ZooKeeper.java:801) at org.apache.zookeeper.ZooKeeper.<init>(ZooKeeper.java:941) at org.apache.zookeeper.ZooKeeper.<init>(ZooKeeper.java:688) at org.apache.zookeeper.test.ReconfigTest.createHandles(ReconfigTest.java:212) at org.apache.zookeeper.test.ReconfigTest.testPortChange(ReconfigTest.java:592) at org.apache.zookeeper.JUnit4ZKTestRunner$LoggedInvokeMethod.evaluate(JUnit4ZKTestRunner.java:79) Caused by: java.lang.reflect.InvocationTargetException at java.lang.reflect.Constructor.newInstance(Constructor.java:526) at org.apache.zookeeper.ZooKeeper.getClientCnxnSocket(ZooKeeper.java:2976) Caused by: 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 java.util.concurrent.ThreadPoolExecutor.addWorker(ThreadPoolExecutor.java:949) at java.util.concurrent.ThreadPoolExecutor.execute(ThreadPoolExecutor.java:1371) at org.jboss.netty.util.internal.DeadLockProofWorker.start(DeadLockProofWorker.java:38) at org.jboss.netty.channel.socket.nio.AbstractNioSelector.openSelector(AbstractNioSelector.java:368) at org.jboss.netty.channel.socket.nio.AbstractNioSelector.<init>(AbstractNioSelector.java:100) at org.jboss.netty.channel.socket.nio.AbstractNioWorker.<init>(AbstractNioWorker.java:52) at org.jboss.netty.channel.socket.nio.NioWorker.<init>(NioWorker.java:45) at org.jboss.netty.channel.socket.nio.NioWorkerPool.newWorker(NioWorkerPool.java:44) at org.jboss.netty.channel.socket.nio.NioWorkerPool.newWorker(NioWorkerPool.java:28) at org.jboss.netty.channel.socket.nio.AbstractNioWorkerPool.init(AbstractNioWorkerPool.java:80) at org.jboss.netty.channel.socket.nio.NioWorkerPool.<init>(NioWorkerPool.java:39) at org.jboss.netty.channel.socket.nio.NioWorkerPool.<init>(NioWorkerPool.java:33) at org.jboss.netty.channel.socket.nio.NioClientSocketChannelFactory.<init>(NioClientSocketChannelFactory.java:151) at org.jboss.netty.channel.socket.nio.NioClientSocketChannelFactory.<init>(NioClientSocketChannelFactory.java:116) at org.apache.zookeeper.ClientCnxnSocketNetty.<init>(ClientCnxnSocketNetty.java:71)