See https://builds.apache.org/job/ZooKeeper_branch35_jdk7/542/
###################################################################################
########################## LAST 60 LINES OF THE CONSOLE
###########################
[...truncated 363899 lines...]
[junit] 2016-06-06 08:44:13,734 [myid:] - INFO
[ConnnectionExpirer:NIOServerCnxnFactory$ConnectionExpirerThread@583] -
ConnnectionExpirerThread interrupted
[junit] 2016-06-06 08:44:13,734 [myid:] - WARN
[LearnerHandler-/127.0.0.1:52340: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-06 08:44:13,736 [myid:] - INFO
[NIOServerCxnFactory.SelectorThread-0:NIOServerCnxnFactory$SelectorThread@420]
- selector thread exitted run method
[junit] 2016-06-06 08:44:13,736 [myid:] - INFO
[NIOServerCxnFactory.AcceptThread:/127.0.0.1:24828:NIOServerCnxnFactory$AcceptThread@219]
- accept thread exitted run method
[junit] 2016-06-06 08:44:13,735 [myid:] - WARN
[LearnerHandler-/127.0.0.1:52348: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-06 08:44:13,737 [myid:] - INFO
[NIOServerCxnFactory.SelectorThread-1:NIOServerCnxnFactory$SelectorThread@420]
- selector thread exitted run method
[junit] 2016-06-06 08:44:13,737 [myid:] - INFO
[QuorumPeer[myid=5](plain=/127.0.0.1:24828)(secure=disabled):MBeanRegistry@128]
- Unregister MBean
[org.apache.ZooKeeperService:name0=ReplicatedServer_id5,name1=replica.5,name2=Leader]
[junit] 2016-06-06 08:44:13,737 [myid:] - INFO
[/127.0.0.1:24830:QuorumCnxManager$Listener@659] - Leaving listener
[junit] 2016-06-06 08:44:13,737 [myid:] - WARN
[QuorumPeer[myid=5](plain=/127.0.0.1:24828)(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-06 08:44:13,738 [myid:] - INFO
[QuorumPeer[myid=5](plain=/127.0.0.1:24828)(secure=disabled):Leader@613] -
Shutting down
[junit] 2016-06-06 08:44:13,738 [myid:] - WARN
[QuorumPeer[myid=5](plain=/127.0.0.1:24828)(secure=disabled):QuorumPeer@1158] -
PeerState set to LOOKING
[junit] 2016-06-06 08:44:13,738 [myid:] - WARN
[QuorumPeer[myid=5](plain=/127.0.0.1:24828)(secure=disabled):QuorumPeer@1140] -
QuorumPeer main thread exited
[junit] 2016-06-06 08:44:13,738 [myid:] - INFO [main:QuorumUtil@254] -
Shutting down leader election
QuorumPeer[myid=5](plain=/127.0.0.1:24828)(secure=disabled)
[junit] 2016-06-06 08:44:13,738 [myid:] - INFO
[QuorumPeer[myid=5](plain=/127.0.0.1:24828)(secure=disabled):MBeanRegistry@128]
- Unregister MBean [org.apache.ZooKeeperService:name0=ReplicatedServer_id5]
[junit] 2016-06-06 08:44:13,738 [myid:] - INFO [main:QuorumUtil@259] -
Waiting for QuorumPeer[myid=5](plain=/127.0.0.1:24828)(secure=disabled) to exit
thread
[junit] 2016-06-06 08:44:13,739 [myid:] - INFO
[QuorumPeer[myid=5](plain=/127.0.0.1:24828)(secure=disabled):MBeanRegistry@128]
- Unregister MBean
[org.apache.ZooKeeperService:name0=ReplicatedServer_id5,name1=replica.5]
[junit] 2016-06-06 08:44:13,739 [myid:] - INFO
[QuorumPeer[myid=5](plain=/127.0.0.1:24828)(secure=disabled):MBeanRegistry@128]
- Unregister MBean
[org.apache.ZooKeeperService:name0=ReplicatedServer_id5,name1=replica.1]
[junit] 2016-06-06 08:44:13,739 [myid:] - INFO
[QuorumPeer[myid=5](plain=/127.0.0.1:24828)(secure=disabled):MBeanRegistry@128]
- Unregister MBean
[org.apache.ZooKeeperService:name0=ReplicatedServer_id5,name1=replica.2]
[junit] 2016-06-06 08:44:13,739 [myid:] - INFO
[QuorumPeer[myid=5](plain=/127.0.0.1:24828)(secure=disabled):MBeanRegistry@128]
- Unregister MBean
[org.apache.ZooKeeperService:name0=ReplicatedServer_id5,name1=replica.3]
[junit] 2016-06-06 08:44:13,739 [myid:] - INFO
[main:FourLetterWordMain@85] - connecting to 127.0.0.1 24816
[junit] 2016-06-06 08:44:13,740 [myid:] - INFO [main:QuorumUtil@243] -
127.0.0.1:24816 is no longer accepting client connections
[junit] 2016-06-06 08:44:13,740 [myid:] - INFO
[main:FourLetterWordMain@85] - connecting to 127.0.0.1 24819
[junit] 2016-06-06 08:44:13,740 [myid:] - INFO [main:QuorumUtil@243] -
127.0.0.1:24819 is no longer accepting client connections
[junit] 2016-06-06 08:44:13,740 [myid:] - INFO
[main:FourLetterWordMain@85] - connecting to 127.0.0.1 24822
[junit] 2016-06-06 08:44:13,741 [myid:] - INFO [main:QuorumUtil@243] -
127.0.0.1:24822 is no longer accepting client connections
[junit] 2016-06-06 08:44:13,741 [myid:] - INFO
[main:FourLetterWordMain@85] - connecting to 127.0.0.1 24825
[junit] 2016-06-06 08:44:13,742 [myid:] - INFO [main:QuorumUtil@243] -
127.0.0.1:24825 is no longer accepting client connections
[junit] 2016-06-06 08:44:13,742 [myid:] - INFO
[main:FourLetterWordMain@85] - connecting to 127.0.0.1 24828
[junit] 2016-06-06 08:44:13,742 [myid:] - INFO [main:QuorumUtil@243] -
127.0.0.1:24828 is no longer accepting client connections
[junit] 2016-06-06 08:44:13,744 [myid:] - INFO [main:ZKTestCase$1@65] -
SUCCEEDED testRemoveOneAsynchronous
[junit] 2016-06-06 08:44:13,744 [myid:] - INFO [main:ZKTestCase$1@60] -
FINISHED testRemoveOneAsynchronous
[junit] Tests run: 11, Failures: 0, Errors: 0, Skipped: 0, Time elapsed:
135.309 sec, Thread: 6, 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 51 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)
##############################
5 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.ClientCnxn.start(ClientCnxn.java:401)
at org.apache.zookeeper.ZooKeeper.<init>(ZooKeeper.java:871)
at org.apache.zookeeper.ZooKeeper.<init>(ZooKeeper.java:788)
at org.apache.zookeeper.ZooKeeper.<init>(ZooKeeper.java:928)
at org.apache.zookeeper.ZooKeeper.<init>(ZooKeeper.java:675)
at
org.apache.zookeeper.TestableZooKeeper.<init>(TestableZooKeeper.java:35)
at
org.apache.zookeeper.test.ClientBase.createClient(ClientBase.java:185)
at
org.apache.zookeeper.test.LocalSessionsOnlyTest.testLocalSessions(LocalSessionsOnlyTest.java:117)
at
org.apache.zookeeper.test.LocalSessionsOnlyTest.testLocalSessionsOnFollower(LocalSessionsOnlyTest.java:67)
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
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.NioServerSocketChannelFactory.<init>(NioServerSocketChannelFactory.java:149)
at
org.jboss.netty.channel.socket.nio.NioServerSocketChannelFactory.<init>(NioServerSocketChannelFactory.java:131)
at
org.jboss.netty.channel.socket.nio.NioServerSocketChannelFactory.<init>(NioServerSocketChannelFactory.java:115)
at
org.apache.zookeeper.server.NettyServerCnxnFactory.<init>(NettyServerCnxnFactory.java:329)
at java.lang.reflect.Constructor.newInstance(Constructor.java:526)
at java.lang.Class.newInstance(Class.java:383)
at
org.apache.zookeeper.server.ServerCnxnFactory.createFactory(ServerCnxnFactory.java:133)
at
org.apache.zookeeper.server.ServerCnxnFactory.createFactory(ServerCnxnFactory.java:152)
at
org.apache.zookeeper.server.quorum.QuorumPeer.<init>(QuorumPeer.java:862)
at
org.apache.zookeeper.test.QuorumBase.startServers(QuorumBase.java:172)
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)
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
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.NioServerSocketChannelFactory.<init>(NioServerSocketChannelFactory.java:149)
at
org.jboss.netty.channel.socket.nio.NioServerSocketChannelFactory.<init>(NioServerSocketChannelFactory.java:131)
at
org.jboss.netty.channel.socket.nio.NioServerSocketChannelFactory.<init>(NioServerSocketChannelFactory.java:115)
at
org.apache.zookeeper.server.NettyServerCnxnFactory.<init>(NettyServerCnxnFactory.java:329)
at java.lang.reflect.Constructor.newInstance(Constructor.java:526)
at java.lang.Class.newInstance(Class.java:383)
at
org.apache.zookeeper.server.ServerCnxnFactory.createFactory(ServerCnxnFactory.java:133)
at
org.apache.zookeeper.server.ServerCnxnFactory.createFactory(ServerCnxnFactory.java:152)
at
org.apache.zookeeper.server.quorum.QuorumPeer.<init>(QuorumPeer.java:862)
at
org.apache.zookeeper.test.QuorumBase.startServers(QuorumBase.java:175)
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.testHammer(AsyncHammerTest.java:171)
at
org.apache.zookeeper.JUnit4ZKTestRunner$LoggedInvokeMethod.evaluate(JUnit4ZKTestRunner.java:79)
FAILED: org.apache.zookeeper.test.AsyncHammerTest.testObserversHammer
Error Message:
Error occurred in server thread; nested exception is:
java.lang.OutOfMemoryError: unable to create new native thread
Stack Trace:
java.rmi.ServerError: Error occurred in server thread; nested exception is:
java.lang.OutOfMemoryError: unable to create new native thread
at sun.rmi.server.UnicastServerRef.dispatch(UnicastServerRef.java:350)
at sun.rmi.transport.Transport$2.run(Transport.java:202)
at sun.rmi.transport.Transport$2.run(Transport.java:199)
at java.security.AccessController.doPrivileged(Native Method)
at sun.rmi.transport.Transport.serviceCall(Transport.java:198)
at
sun.rmi.transport.tcp.TCPTransport.handleMessages(TCPTransport.java:567)
at
sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.run0(TCPTransport.java:828)
at
sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.access$400(TCPTransport.java:619)
at
sun.rmi.transport.tcp.TCPTransport$ConnectionHandler$1.run(TCPTransport.java:684)
at
sun.rmi.transport.tcp.TCPTransport$ConnectionHandler$1.run(TCPTransport.java:681)
at java.security.AccessController.doPrivileged(Native Method)
at
sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.run(TCPTransport.java:681)
at
java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)
at
java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
at java.lang.Thread.run(Thread.java:745)
at
sun.rmi.transport.StreamRemoteCall.exceptionReceivedFromServer(StreamRemoteCall.java:275)
at
sun.rmi.transport.StreamRemoteCall.executeCall(StreamRemoteCall.java:252)
at sun.rmi.server.UnicastRef.invoke(UnicastRef.java:161)
at javax.management.remote.rmi.RMIServerImpl_Stub.newClient(Unknown
Source)
at
javax.management.remote.rmi.RMIConnector.getConnection(RMIConnector.java:2404)
at
javax.management.remote.rmi.RMIConnector.connect(RMIConnector.java:308)
at
javax.management.remote.JMXConnectorFactory.connect(JMXConnectorFactory.java:268)
at
javax.management.remote.JMXConnectorFactory.connect(JMXConnectorFactory.java:227)
at org.apache.zookeeper.test.JMXEnv.setUp(JMXEnv.java:58)
at org.apache.zookeeper.test.QuorumBase.setUp(QuorumBase.java:85)
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)
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
com.sun.jmx.remote.internal.ServerCommunicatorAdmin.<init>(ServerCommunicatorAdmin.java:50)
at
javax.management.remote.rmi.RMIConnectionImpl$RMIServerCommunicatorAdmin.<init>(RMIConnectionImpl.java:1340)
at
javax.management.remote.rmi.RMIConnectionImpl.<init>(RMIConnectionImpl.java:180)
at
javax.management.remote.rmi.RMIJRMPServerImpl.makeClient(RMIJRMPServerImpl.java:172)
at
javax.management.remote.rmi.RMIServerImpl.doNewClient(RMIServerImpl.java:250)
at
javax.management.remote.rmi.RMIServerImpl.newClient(RMIServerImpl.java:199)
at sun.rmi.server.UnicastServerRef.dispatch(UnicastServerRef.java:322)
at sun.rmi.transport.Transport$2.run(Transport.java:202)
at sun.rmi.transport.Transport$2.run(Transport.java:199)
at java.security.AccessController.doPrivileged(Native Method)
at sun.rmi.transport.Transport.serviceCall(Transport.java:198)
at
sun.rmi.transport.tcp.TCPTransport.handleMessages(TCPTransport.java:567)
at
sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.run0(TCPTransport.java:828)
at
sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.access$400(TCPTransport.java:619)
at
sun.rmi.transport.tcp.TCPTransport$ConnectionHandler$1.run(TCPTransport.java:684)
at
sun.rmi.transport.tcp.TCPTransport$ConnectionHandler$1.run(TCPTransport.java:681)
at java.security.AccessController.doPrivileged(Native Method)
at
sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.run(TCPTransport.java:681)
at
java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)
at
java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
at java.lang.Thread.run(Thread.java:745)