See https://builds.apache.org/job/ZooKeeper-trunk/3582/
################################################################################### ########################## LAST 60 LINES OF THE CONSOLE ########################### [...truncated 58.57 MB...] [junit] at org.apache.zookeeper.ClientCnxn$SendThread.run(ClientCnxn.java:1214) [junit] 2017-10-19 00:13:12,908 [myid:] - INFO [ProcessThread(sid:0 cport:19547)::PrepRequestProcessor@614] - Processed session termination for sessionid: 0x1075baa4a380000 [junit] 2017-10-19 00:13:12,909 [myid:] - INFO [SyncThread:0:MBeanRegistry@128] - Unregister MBean [org.apache.ZooKeeperService:name0=StandaloneServer_port19547,name1=Connections,name2=127.0.0.1,name3=0x1075baa4a380000] [junit] 2017-10-19 00:13:12,909 [myid:] - INFO [main:ZooKeeper@1332] - Session: 0x1075baa4a380000 closed [junit] 2017-10-19 00:13:12,909 [myid:] - INFO [main-EventThread:ClientCnxn$EventThread@513] - EventThread shut down for session: 0x1075baa4a380000 [junit] 2017-10-19 00:13:12,910 [myid:] - INFO [main:JUnit4ZKTestRunner$LoggedInvokeMethod@82] - Memory used 187515 [junit] 2017-10-19 00:13:12,910 [myid:] - INFO [main:JUnit4ZKTestRunner$LoggedInvokeMethod@87] - Number of threads 2431 [junit] 2017-10-19 00:13:12,910 [myid:] - INFO [main:JUnit4ZKTestRunner$LoggedInvokeMethod@102] - FINISHED TEST METHOD testWatcherAutoResetWithLocal [junit] 2017-10-19 00:13:12,910 [myid:] - INFO [main:ClientBase@601] - tearDown starting [junit] 2017-10-19 00:13:12,911 [myid:] - INFO [main:ClientBase@571] - STOPPING server [junit] 2017-10-19 00:13:12,911 [myid:] - INFO [main:NettyServerCnxnFactory@464] - shutdown called 0.0.0.0/0.0.0.0:19547 [junit] 2017-10-19 00:13:12,919 [myid:] - INFO [main:ZooKeeperServer@545] - shutting down [junit] 2017-10-19 00:13:12,919 [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-10-19 00:13:12,920 [myid:] - INFO [main:SessionTrackerImpl@232] - Shutting down [junit] 2017-10-19 00:13:12,920 [myid:] - INFO [main:PrepRequestProcessor@1010] - Shutting down [junit] 2017-10-19 00:13:12,920 [myid:] - INFO [main:SyncRequestProcessor@191] - Shutting down [junit] 2017-10-19 00:13:12,920 [myid:] - INFO [ProcessThread(sid:0 cport:19547)::PrepRequestProcessor@155] - PrepRequestProcessor exited loop! [junit] 2017-10-19 00:13:12,920 [myid:] - INFO [SyncThread:0:SyncRequestProcessor@169] - SyncRequestProcessor exited! [junit] 2017-10-19 00:13:12,921 [myid:] - INFO [main:FinalRequestProcessor@481] - shutdown of request processor complete [junit] 2017-10-19 00:13:12,921 [myid:] - INFO [main:MBeanRegistry@128] - Unregister MBean [org.apache.ZooKeeperService:name0=StandaloneServer_port19547,name1=InMemoryDataTree] [junit] 2017-10-19 00:13:12,921 [myid:] - INFO [main:MBeanRegistry@128] - Unregister MBean [org.apache.ZooKeeperService:name0=StandaloneServer_port19547] [junit] 2017-10-19 00:13:12,922 [myid:] - INFO [main:FourLetterWordMain@87] - connecting to 127.0.0.1 19547 [junit] 2017-10-19 00:13:12,922 [myid:] - INFO [main:JMXEnv@146] - ensureOnly:[] [junit] 2017-10-19 00:13:12,936 [myid:] - INFO [main:ClientBase@626] - fdcount after test is: 7151 at start it was 7153 [junit] 2017-10-19 00:13:12,936 [myid:] - INFO [main:ZKTestCase$1@68] - SUCCEEDED testWatcherAutoResetWithLocal [junit] 2017-10-19 00:13:12,936 [myid:] - INFO [main:ZKTestCase$1@63] - FINISHED testWatcherAutoResetWithLocal [junit] Tests run: 105, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 430.452 sec, Thread: 4, Class: org.apache.zookeeper.test.NioNettySuiteTest [junit] 2017-10-19 00:13:13,250 [myid:127.0.0.1:19430] - INFO [main-SendThread(127.0.0.1:19430):ClientCnxn$SendThread@1113] - Opening socket connection to server 127.0.0.1/127.0.0.1:19430. Will not attempt to authenticate using SASL (unknown error) [junit] 2017-10-19 00:13:13,251 [myid:127.0.0.1:19430] - WARN [main-SendThread(127.0.0.1:19430):ClientCnxn$SendThread@1235] - Session 0x3075ba7158c0000 for server 127.0.0.1/127.0.0.1:19430, 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-trunk/build.xml:1386: The following error occurred while executing this line: /home/jenkins/jenkins-slave/workspace/ZooKeeper-trunk/build.xml:1267: The following error occurred while executing this line: /home/jenkins/jenkins-slave/workspace/ZooKeeper-trunk/build.xml:1271: Tests failed! Total time: 10 minutes 35 seconds Build step 'Execute shell' marked build as failure [FINDBUGS] Skipping publisher since build result is FAILURE [WARNINGS] Skipping publisher since build result is FAILURE Archiving artifacts Setting JDK_1_7_LATEST__HOME=/home/jenkins/tools/java/latest1.7 Recording fingerprints Setting JDK_1_7_LATEST__HOME=/home/jenkins/tools/java/latest1.7 Recording test results Setting JDK_1_7_LATEST__HOME=/home/jenkins/tools/java/latest1.7 Publishing Javadoc Setting JDK_1_7_LATEST__HOME=/home/jenkins/tools/java/latest1.7 Setting JDK_1_7_LATEST__HOME=/home/jenkins/tools/java/latest1.7 Email was triggered for: Failure - Any Sending email for trigger: Failure - Any Setting JDK_1_7_LATEST__HOME=/home/jenkins/tools/java/latest1.7 Setting JDK_1_7_LATEST__HOME=/home/jenkins/tools/java/latest1.7 ################################################################################### ############################## FAILED TESTS (if any) ############################## 3 tests failed. FAILED: org.apache.zookeeper.server.quorum.ReconfigRecoveryTest.testCurrentServersAreObserversInNextConfig 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.ClientCnxn.start(ClientCnxn.java:401) at org.apache.zookeeper.ZooKeeper.<init>(ZooKeeper.java:882) at org.apache.zookeeper.ZooKeeper.<init>(ZooKeeper.java:799) at org.apache.zookeeper.ZooKeeper.<init>(ZooKeeper.java:939) at org.apache.zookeeper.ZooKeeper.<init>(ZooKeeper.java:686) at org.apache.zookeeper.server.quorum.ReconfigRecoveryTest.testCurrentServersAreObserversInNextConfig(ReconfigRecoveryTest.java:219) at org.apache.zookeeper.JUnit4ZKTestRunner$LoggedInvokeMethod.evaluate(JUnit4ZKTestRunner.java:79) FAILED: org.apache.zookeeper.server.quorum.ReconfigRecoveryTest.testNextConfigCompletion 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.ClientCnxn.start(ClientCnxn.java:401) at org.apache.zookeeper.ZooKeeper.<init>(ZooKeeper.java:882) at org.apache.zookeeper.ZooKeeper.<init>(ZooKeeper.java:799) at org.apache.zookeeper.ZooKeeper.<init>(ZooKeeper.java:939) at org.apache.zookeeper.ZooKeeper.<init>(ZooKeeper.java:686) at org.apache.zookeeper.server.quorum.ReconfigRecoveryTest.testNextConfigCompletion(ReconfigRecoveryTest.java:84) at org.apache.zookeeper.JUnit4ZKTestRunner$LoggedInvokeMethod.evaluate(JUnit4ZKTestRunner.java:79) FAILED: org.apache.zookeeper.test.ObserverQuorumHammerTest.testHammerBasic 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.ClientCnxn.start(ClientCnxn.java:401) at org.apache.zookeeper.ZooKeeper.<init>(ZooKeeper.java:882) at org.apache.zookeeper.ZooKeeper.<init>(ZooKeeper.java:799) at org.apache.zookeeper.ZooKeeper.<init>(ZooKeeper.java:939) at org.apache.zookeeper.ZooKeeper.<init>(ZooKeeper.java:686) at org.apache.zookeeper.admin.ZooKeeperAdmin.<init>(ZooKeeperAdmin.java:86) at org.apache.zookeeper.TestableZooKeeper.<init>(TestableZooKeeper.java:36) at org.apache.zookeeper.test.ClientBase.createClient(ClientBase.java:228) at org.apache.zookeeper.test.ClientBase.createClient(ClientBase.java:220) at org.apache.zookeeper.test.ClientBase.createClient(ClientBase.java:205) at org.apache.zookeeper.test.ClientBase.createClient(ClientBase.java:198) at org.apache.zookeeper.test.ClientHammerTest.verifyHammer(ClientHammerTest.java:224) at org.apache.zookeeper.test.ClientHammerTest.runHammer(ClientHammerTest.java:142) at org.apache.zookeeper.test.ClientHammerTest.testHammerBasic(ClientHammerTest.java:120) at org.apache.zookeeper.test.ObserverQuorumHammerTest.testHammerBasic(ObserverQuorumHammerTest.java:37) at org.apache.zookeeper.JUnit4ZKTestRunner$LoggedInvokeMethod.evaluate(JUnit4ZKTestRunner.java:79)