See https://builds.apache.org/job/ZooKeeper_branch35_jdk7/545/
################################################################################### ########################## LAST 60 LINES OF THE CONSOLE ########################### [...truncated 369151 lines...] [junit] at org.apache.zookeeper.server.quorum.LearnerHandler.run(LearnerHandler.java:622) [junit] 2016-06-09 08:51:35,173 [myid:] - WARN [LearnerHandler-/127.0.0.1:57104:LearnerHandler@903] - Ignoring unexpected exception [junit] java.lang.InterruptedException [junit] at java.util.concurrent.locks.AbstractQueuedSynchronizer.acquireInterruptibly(AbstractQueuedSynchronizer.java:1219) [junit] at java.util.concurrent.locks.ReentrantLock.lockInterruptibly(ReentrantLock.java:340) [junit] at java.util.concurrent.LinkedBlockingQueue.put(LinkedBlockingQueue.java:338) [junit] at org.apache.zookeeper.server.quorum.LearnerHandler.shutdown(LearnerHandler.java:901) [junit] at org.apache.zookeeper.server.quorum.LearnerHandler.run(LearnerHandler.java:622) [junit] 2016-06-09 08:51:35,173 [myid:] - WARN [LearnerHandler-/127.0.0.1:57103:LearnerHandler@903] - Ignoring unexpected exception [junit] java.lang.InterruptedException [junit] at java.util.concurrent.locks.AbstractQueuedSynchronizer.acquireInterruptibly(AbstractQueuedSynchronizer.java:1219) [junit] at java.util.concurrent.locks.ReentrantLock.lockInterruptibly(ReentrantLock.java:340) [junit] at java.util.concurrent.LinkedBlockingQueue.put(LinkedBlockingQueue.java:338) [junit] at org.apache.zookeeper.server.quorum.LearnerHandler.shutdown(LearnerHandler.java:901) [junit] at org.apache.zookeeper.server.quorum.LearnerHandler.run(LearnerHandler.java:622) [junit] 2016-06-09 08:51:35,174 [myid:] - INFO [NIOServerCxnFactory.SelectorThread-0:NIOServerCnxnFactory$SelectorThread@420] - selector thread exitted run method [junit] 2016-06-09 08:51:35,174 [myid:] - INFO [NIOServerCxnFactory.SelectorThread-1:NIOServerCnxnFactory$SelectorThread@420] - selector thread exitted run method [junit] 2016-06-09 08:51:35,174 [myid:] - INFO [NIOServerCxnFactory.AcceptThread:/127.0.0.1:27521:NIOServerCnxnFactory$AcceptThread@219] - accept thread exitted run method [junit] 2016-06-09 08:51:35,176 [myid:] - INFO [QuorumPeer[myid=5](plain=/127.0.0.1:27521)(secure=disabled):MBeanRegistry@128] - Unregister MBean [org.apache.ZooKeeperService:name0=ReplicatedServer_id5,name1=replica.5,name2=Leader] [junit] 2016-06-09 08:51:35,177 [myid:] - WARN [QuorumPeer[myid=5](plain=/127.0.0.1:27521)(secure=disabled):QuorumPeer@1127] - Unexpected exception [junit] java.lang.InterruptedException [junit] at java.lang.Object.wait(Native Method) [junit] at org.apache.zookeeper.server.quorum.Leader.lead(Leader.java:559) [junit] at org.apache.zookeeper.server.quorum.QuorumPeer.run(QuorumPeer.java:1124) [junit] 2016-06-09 08:51:35,177 [myid:] - INFO [QuorumPeer[myid=5](plain=/127.0.0.1:27521)(secure=disabled):Leader@613] - Shutting down [junit] 2016-06-09 08:51:35,177 [myid:] - WARN [QuorumPeer[myid=5](plain=/127.0.0.1:27521)(secure=disabled):QuorumPeer@1158] - PeerState set to LOOKING [junit] 2016-06-09 08:51:35,177 [myid:] - WARN [QuorumPeer[myid=5](plain=/127.0.0.1:27521)(secure=disabled):QuorumPeer@1140] - QuorumPeer main thread exited [junit] 2016-06-09 08:51:35,177 [myid:] - INFO [/127.0.0.1:27523:QuorumCnxManager$Listener@659] - Leaving listener [junit] 2016-06-09 08:51:35,177 [myid:] - INFO [QuorumPeer[myid=5](plain=/127.0.0.1:27521)(secure=disabled):MBeanRegistry@128] - Unregister MBean [org.apache.ZooKeeperService:name0=ReplicatedServer_id5] [junit] 2016-06-09 08:51:35,178 [myid:] - INFO [QuorumPeer[myid=5](plain=/127.0.0.1:27521)(secure=disabled):MBeanRegistry@128] - Unregister MBean [org.apache.ZooKeeperService:name0=ReplicatedServer_id5,name1=replica.5] [junit] 2016-06-09 08:51:35,178 [myid:] - INFO [main:QuorumUtil@254] - Shutting down leader election QuorumPeer[myid=5](plain=/127.0.0.1:27521)(secure=disabled) [junit] 2016-06-09 08:51:35,178 [myid:] - INFO [QuorumPeer[myid=5](plain=/127.0.0.1:27521)(secure=disabled):MBeanRegistry@128] - Unregister MBean [org.apache.ZooKeeperService:name0=ReplicatedServer_id5,name1=replica.1] [junit] 2016-06-09 08:51:35,178 [myid:] - INFO [main:QuorumUtil@259] - Waiting for QuorumPeer[myid=5](plain=/127.0.0.1:27521)(secure=disabled) to exit thread [junit] 2016-06-09 08:51:35,179 [myid:] - INFO [QuorumPeer[myid=5](plain=/127.0.0.1:27521)(secure=disabled):MBeanRegistry@128] - Unregister MBean [org.apache.ZooKeeperService:name0=ReplicatedServer_id5,name1=replica.2] [junit] 2016-06-09 08:51:35,179 [myid:] - INFO [QuorumPeer[myid=5](plain=/127.0.0.1:27521)(secure=disabled):MBeanRegistry@128] - Unregister MBean [org.apache.ZooKeeperService:name0=ReplicatedServer_id5,name1=replica.3] [junit] 2016-06-09 08:51:35,179 [myid:] - INFO [main:FourLetterWordMain@85] - connecting to 127.0.0.1 27509 [junit] 2016-06-09 08:51:35,180 [myid:] - INFO [main:QuorumUtil@243] - 127.0.0.1:27509 is no longer accepting client connections [junit] 2016-06-09 08:51:35,180 [myid:] - INFO [main:FourLetterWordMain@85] - connecting to 127.0.0.1 27512 [junit] 2016-06-09 08:51:35,180 [myid:] - INFO [main:QuorumUtil@243] - 127.0.0.1:27512 is no longer accepting client connections [junit] 2016-06-09 08:51:35,180 [myid:] - INFO [main:FourLetterWordMain@85] - connecting to 127.0.0.1 27515 [junit] 2016-06-09 08:51:35,181 [myid:] - INFO [main:QuorumUtil@243] - 127.0.0.1:27515 is no longer accepting client connections [junit] 2016-06-09 08:51:35,181 [myid:] - INFO [main:FourLetterWordMain@85] - connecting to 127.0.0.1 27518 [junit] 2016-06-09 08:51:35,181 [myid:] - INFO [main:QuorumUtil@243] - 127.0.0.1:27518 is no longer accepting client connections [junit] 2016-06-09 08:51:35,181 [myid:] - INFO [main:FourLetterWordMain@85] - connecting to 127.0.0.1 27521 [junit] 2016-06-09 08:51:35,181 [myid:] - INFO [main:QuorumUtil@243] - 127.0.0.1:27521 is no longer accepting client connections [junit] 2016-06-09 08:51:35,183 [myid:] - INFO [main:ZKTestCase$1@65] - SUCCEEDED testRemoveOneAsynchronous [junit] 2016-06-09 08:51:35,183 [myid:] - INFO [main:ZKTestCase$1@60] - FINISHED testRemoveOneAsynchronous [junit] Tests run: 11, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 113.534 sec, Thread: 7, Class: org.apache.zookeeper.test.ReconfigTest BUILD FAILED /home/jenkins/jenkins-slave/workspace/ZooKeeper_branch35_jdk7/branch-3.5/build.xml:1322: The following error occurred while executing this line: /home/jenkins/jenkins-slave/workspace/ZooKeeper_branch35_jdk7/branch-3.5/build.xml:1207: Tests failed! Total time: 5 minutes 47 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.LocalSessionsOnlyTest.testLocalSessionsOnFollower 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:740) 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.QuorumBase.startServers(QuorumBase.java:216) at org.apache.zookeeper.test.QuorumBase.setUp(QuorumBase.java:120) at org.apache.zookeeper.test.QuorumBase.setUp(QuorumBase.java:78) at org.apache.zookeeper.test.LocalSessionsOnlyTest.setUp(LocalSessionsOnlyTest.java:55) FAILED: org.apache.zookeeper.test.NIOConnectionFactoryFdLeakTest.testFileDescriptorLeak 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:735) at org.apache.zookeeper.test.NIOConnectionFactoryFdLeakTest.testFileDescriptorLeak(NIOConnectionFactoryFdLeakTest.java:57) at org.apache.zookeeper.JUnit4ZKTestRunner$LoggedInvokeMethod.evaluate(JUnit4ZKTestRunner.java:79) FAILED: org.apache.zookeeper.test.AsyncHammerTest.testHammer 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.testHammer(AsyncHammerTest.java:177) 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.FastLeaderElection$Messenger.start(FastLeaderElection.java:520) at org.apache.zookeeper.server.quorum.FastLeaderElection.start(FastLeaderElection.java:637) at org.apache.zookeeper.server.quorum.QuorumPeer.createElectionAlgorithm(QuorumPeer.java:948) at org.apache.zookeeper.server.quorum.QuorumPeer.startLeaderElection(QuorumPeer.java:834) at org.apache.zookeeper.server.quorum.QuorumPeer.start(QuorumPeer.java:758) at org.apache.zookeeper.test.QuorumBase.startServers(QuorumBase.java:218) 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:203) at org.apache.zookeeper.JUnit4ZKTestRunner$LoggedInvokeMethod.evaluate(JUnit4ZKTestRunner.java:79)