See https://builds.apache.org/job/ZooKeeper_branch35_openjdk7/584/
################################################################################### ########################## LAST 60 LINES OF THE CONSOLE ########################### [...truncated 97.18 MB...] [junit] 2017-06-30 10:53:36,611 [myid:127.0.0.1:14044] - WARN [main-SendThread(127.0.0.1:14044):ClientCnxn$SendThread@1235] - Session 0x305239bb6ab0000 for server 127.0.0.1/127.0.0.1:14044, 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:739) [junit] at org.apache.zookeeper.ClientCnxnSocketNIO.doTransport(ClientCnxnSocketNIO.java:357) [junit] at org.apache.zookeeper.ClientCnxn$SendThread.run(ClientCnxn.java:1214) [junit] 2017-06-30 10:53:36,891 [myid:127.0.0.1:14038] - INFO [main-SendThread(127.0.0.1:14038):ClientCnxn$SendThread@1113] - Opening socket connection to server 127.0.0.1/127.0.0.1:14038. Will not attempt to authenticate using SASL (unknown error) [junit] 2017-06-30 10:53:36,892 [myid:127.0.0.1:14038] - WARN [main-SendThread(127.0.0.1:14038):ClientCnxn$SendThread@1235] - Session 0x105239bb6a60000 for server 127.0.0.1/127.0.0.1:14038, 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:739) [junit] at org.apache.zookeeper.ClientCnxnSocketNIO.doTransport(ClientCnxnSocketNIO.java:357) [junit] at org.apache.zookeeper.ClientCnxn$SendThread.run(ClientCnxn.java:1214) [junit] 2017-06-30 10:53:37,092 [myid:] - INFO [ProcessThread(sid:0 cport:14161)::PrepRequestProcessor@611] - Processed session termination for sessionid: 0x105239f02f50000 [junit] 2017-06-30 10:53:37,093 [myid:] - INFO [SyncThread:0:MBeanRegistry@128] - Unregister MBean [org.apache.ZooKeeperService:name0=StandaloneServer_port14161,name1=Connections,name2=127.0.0.1,name3=0x105239f02f50000] [junit] 2017-06-30 10:53:37,093 [myid:] - INFO [main:ZooKeeper@1331] - Session: 0x105239f02f50000 closed [junit] 2017-06-30 10:53:37,093 [myid:] - INFO [main:JUnit4ZKTestRunner$LoggedInvokeMethod@82] - Memory used 210493 [junit] 2017-06-30 10:53:37,093 [myid:] - INFO [main:JUnit4ZKTestRunner$LoggedInvokeMethod@87] - Number of threads 2428 [junit] 2017-06-30 10:53:37,093 [myid:] - INFO [main:JUnit4ZKTestRunner$LoggedInvokeMethod@102] - FINISHED TEST METHOD testWatcherAutoResetWithLocal [junit] 2017-06-30 10:53:37,093 [myid:] - INFO [main:ClientBase@586] - tearDown starting [junit] 2017-06-30 10:53:37,094 [myid:] - INFO [main:ClientBase@556] - STOPPING server [junit] 2017-06-30 10:53:37,094 [myid:] - INFO [main:NettyServerCnxnFactory@464] - shutdown called 0.0.0.0/0.0.0.0:14161 [junit] 2017-06-30 10:53:37,094 [myid:] - INFO [main-EventThread:ClientCnxn$EventThread@513] - EventThread shut down for session: 0x105239f02f50000 [junit] 2017-06-30 10:53:37,097 [myid:] - INFO [main:ZooKeeperServer@541] - shutting down [junit] 2017-06-30 10:53:37,097 [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-06-30 10:53:37,097 [myid:] - INFO [main:SessionTrackerImpl@232] - Shutting down [junit] 2017-06-30 10:53:37,097 [myid:] - INFO [main:PrepRequestProcessor@1005] - Shutting down [junit] 2017-06-30 10:53:37,097 [myid:] - INFO [main:SyncRequestProcessor@191] - Shutting down [junit] 2017-06-30 10:53:37,097 [myid:] - INFO [ProcessThread(sid:0 cport:14161)::PrepRequestProcessor@155] - PrepRequestProcessor exited loop! [junit] 2017-06-30 10:53:37,100 [myid:] - INFO [SyncThread:0:SyncRequestProcessor@169] - SyncRequestProcessor exited! [junit] 2017-06-30 10:53:37,100 [myid:] - INFO [main:FinalRequestProcessor@481] - shutdown of request processor complete [junit] 2017-06-30 10:53:37,100 [myid:] - INFO [main:MBeanRegistry@128] - Unregister MBean [org.apache.ZooKeeperService:name0=StandaloneServer_port14161,name1=InMemoryDataTree] [junit] 2017-06-30 10:53:37,101 [myid:] - INFO [main:MBeanRegistry@128] - Unregister MBean [org.apache.ZooKeeperService:name0=StandaloneServer_port14161] [junit] 2017-06-30 10:53:37,101 [myid:] - INFO [main:FourLetterWordMain@85] - connecting to 127.0.0.1 14161 [junit] 2017-06-30 10:53:37,101 [myid:] - INFO [main:JMXEnv@146] - ensureOnly:[] [junit] 2017-06-30 10:53:37,110 [myid:] - INFO [main:ClientBase@611] - fdcount after test is: 7141 at start it was 7137 [junit] 2017-06-30 10:53:37,110 [myid:] - INFO [main:ClientBase@613] - sleeping for 20 secs [junit] 2017-06-30 10:53:37,110 [myid:] - INFO [main:ZKTestCase$1@68] - SUCCEEDED testWatcherAutoResetWithLocal [junit] 2017-06-30 10:53:37,110 [myid:] - INFO [main:ZKTestCase$1@63] - FINISHED testWatcherAutoResetWithLocal [junit] Tests run: 103, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 415.584 sec, Thread: 2, Class: org.apache.zookeeper.test.NioNettySuiteTest [junit] 2017-06-30 10:53:37,294 [myid:127.0.0.1:14041] - INFO [main-SendThread(127.0.0.1:14041):ClientCnxn$SendThread@1113] - Opening socket connection to server 127.0.0.1/127.0.0.1:14041. Will not attempt to authenticate using SASL (unknown error) [junit] 2017-06-30 10:53:37,295 [myid:127.0.0.1:14041] - WARN [main-SendThread(127.0.0.1:14041):ClientCnxn$SendThread@1235] - Session 0x205239bb6a60000 for server 127.0.0.1/127.0.0.1:14041, 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:739) [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_openjdk7/build.xml:1219: The following error occurred while executing this line: /home/jenkins/jenkins-slave/workspace/ZooKeeper_branch35_openjdk7/build.xml:1223: Tests failed! Total time: 10 minutes 1 second 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) ############################## 3 tests failed. FAILED: org.apache.zookeeper.test.FollowerResyncConcurrencyTest.testFollowerSendsLastZxid Error Message: waiting for server up Stack Trace: junit.framework.AssertionFailedError: waiting for server up at org.apache.zookeeper.test.QuorumUtil.startAll(QuorumUtil.java:151) at org.apache.zookeeper.test.FollowerResyncConcurrencyTest.testFollowerSendsLastZxid(FollowerResyncConcurrencyTest.java:672) at org.apache.zookeeper.JUnit4ZKTestRunner$LoggedInvokeMethod.evaluate(JUnit4ZKTestRunner.java:79) FAILED: org.apache.zookeeper.test.ReconfigTest.testQuorumSystemChange Error Message: client could not connect to reestablished quorum: giving up after 30+ seconds. Stack Trace: junit.framework.AssertionFailedError: client could not connect to reestablished quorum: giving up after 30+ seconds. at org.apache.zookeeper.test.ReconfigTest.testNormalOperation(ReconfigTest.java:183) at org.apache.zookeeper.test.ReconfigTest.testQuorumSystemChange(ReconfigTest.java:873) 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.server.quorum.QuorumPeer.createElectionAlgorithm(QuorumPeer.java:968) at org.apache.zookeeper.server.quorum.QuorumPeer.startLeaderElection(QuorumPeer.java:856) at org.apache.zookeeper.server.quorum.QuorumPeer.start(QuorumPeer.java:780) at org.apache.zookeeper.test.QuorumBase.startServers(QuorumBase.java:210) at org.apache.zookeeper.test.QuorumBase.setUp(QuorumBase.java:120) at org.apache.zookeeper.test.AsyncHammerTest.setUp(AsyncHammerTest.java:52) at org.apache.zookeeper.test.AsyncHammerTest.testObserversHammer(AsyncHammerTest.java:202) at org.apache.zookeeper.JUnit4ZKTestRunner$LoggedInvokeMethod.evaluate(JUnit4ZKTestRunner.java:79)