See https://builds.apache.org/job/ZooKeeper_branch35_jdk7/544/
###################################################################################
########################## LAST 60 LINES OF THE CONSOLE
###########################
[...truncated 370878 lines...]
[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-08 08:44:26,706 [myid:] - WARN
[LearnerHandler-/127.0.0.1:52838: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-08 08:44:26,708 [myid:] - INFO
[NIOServerCxnFactory.SelectorThread-1:NIOServerCnxnFactory$SelectorThread@420]
- selector thread exitted run method
[junit] 2016-06-08 08:44:26,709 [myid:] - INFO
[/127.0.0.1:22137:QuorumCnxManager$Listener@659] - Leaving listener
[junit] 2016-06-08 08:44:26,709 [myid:] - INFO
[QuorumPeer[myid=5](plain=/127.0.0.1:22135)(secure=disabled):MBeanRegistry@128]
- Unregister MBean
[org.apache.ZooKeeperService:name0=ReplicatedServer_id5,name1=replica.5,name2=Leader]
[junit] 2016-06-08 08:44:26,710 [myid:] - WARN
[QuorumPeer[myid=5](plain=/127.0.0.1:22135)(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-08 08:44:26,710 [myid:] - INFO [main:QuorumUtil@254] -
Shutting down leader election
QuorumPeer[myid=5](plain=/127.0.0.1:22135)(secure=disabled)
[junit] 2016-06-08 08:44:26,711 [myid:] - INFO [main:QuorumUtil@259] -
Waiting for QuorumPeer[myid=5](plain=/127.0.0.1:22135)(secure=disabled) to exit
thread
[junit] 2016-06-08 08:44:26,710 [myid:] - INFO
[QuorumPeer[myid=5](plain=/127.0.0.1:22135)(secure=disabled):Leader@613] -
Shutting down
[junit] 2016-06-08 08:44:26,711 [myid:] - WARN
[QuorumPeer[myid=5](plain=/127.0.0.1:22135)(secure=disabled):QuorumPeer@1158] -
PeerState set to LOOKING
[junit] 2016-06-08 08:44:26,711 [myid:] - WARN
[QuorumPeer[myid=5](plain=/127.0.0.1:22135)(secure=disabled):QuorumPeer@1140] -
QuorumPeer main thread exited
[junit] 2016-06-08 08:44:26,711 [myid:] - INFO
[QuorumPeer[myid=5](plain=/127.0.0.1:22135)(secure=disabled):MBeanRegistry@128]
- Unregister MBean [org.apache.ZooKeeperService:name0=ReplicatedServer_id5]
[junit] 2016-06-08 08:44:26,712 [myid:] - INFO
[QuorumPeer[myid=5](plain=/127.0.0.1:22135)(secure=disabled):MBeanRegistry@128]
- Unregister MBean
[org.apache.ZooKeeperService:name0=ReplicatedServer_id5,name1=replica.5]
[junit] 2016-06-08 08:44:26,712 [myid:] - INFO
[QuorumPeer[myid=5](plain=/127.0.0.1:22135)(secure=disabled):MBeanRegistry@128]
- Unregister MBean
[org.apache.ZooKeeperService:name0=ReplicatedServer_id5,name1=replica.1]
[junit] 2016-06-08 08:44:26,712 [myid:] - INFO
[QuorumPeer[myid=5](plain=/127.0.0.1:22135)(secure=disabled):MBeanRegistry@128]
- Unregister MBean
[org.apache.ZooKeeperService:name0=ReplicatedServer_id5,name1=replica.2]
[junit] 2016-06-08 08:44:26,712 [myid:] - INFO
[QuorumPeer[myid=5](plain=/127.0.0.1:22135)(secure=disabled):MBeanRegistry@128]
- Unregister MBean
[org.apache.ZooKeeperService:name0=ReplicatedServer_id5,name1=replica.3]
[junit] 2016-06-08 08:44:26,712 [myid:] - INFO
[main:FourLetterWordMain@85] - connecting to 127.0.0.1 22123
[junit] 2016-06-08 08:44:26,713 [myid:] - INFO [main:QuorumUtil@243] -
127.0.0.1:22123 is no longer accepting client connections
[junit] 2016-06-08 08:44:26,713 [myid:] - INFO
[main:FourLetterWordMain@85] - connecting to 127.0.0.1 22126
[junit] 2016-06-08 08:44:26,713 [myid:] - INFO [main:QuorumUtil@243] -
127.0.0.1:22126 is no longer accepting client connections
[junit] 2016-06-08 08:44:26,713 [myid:] - INFO
[main:FourLetterWordMain@85] - connecting to 127.0.0.1 22129
[junit] 2016-06-08 08:44:26,714 [myid:] - INFO [main:QuorumUtil@243] -
127.0.0.1:22129 is no longer accepting client connections
[junit] 2016-06-08 08:44:26,714 [myid:] - INFO
[main:FourLetterWordMain@85] - connecting to 127.0.0.1 22132
[junit] 2016-06-08 08:44:26,714 [myid:] - INFO [main:QuorumUtil@243] -
127.0.0.1:22132 is no longer accepting client connections
[junit] 2016-06-08 08:44:26,714 [myid:] - INFO
[main:FourLetterWordMain@85] - connecting to 127.0.0.1 22135
[junit] 2016-06-08 08:44:26,715 [myid:] - INFO [main:QuorumUtil@243] -
127.0.0.1:22135 is no longer accepting client connections
[junit] 2016-06-08 08:44:26,716 [myid:] - INFO [main:ZKTestCase$1@65] -
SUCCEEDED testRemoveOneAsynchronous
[junit] 2016-06-08 08:44:26,716 [myid:] - INFO [main:ZKTestCase$1@60] -
FINISHED testRemoveOneAsynchronous
[junit] Tests run: 11, Failures: 0, Errors: 0, Skipped: 0, Time elapsed:
113.688 sec, Thread: 5, Class: org.apache.zookeeper.test.ReconfigTest
[junit] 2016-06-08 08:44:26,765 [myid:] - INFO
[SessionTracker:SessionTrackerImpl@158] - SessionTrackerImpl exited loop!
[junit] 2016-06-08 08:44:26,785 [myid:127.0.0.1:22038] - INFO
[main-SendThread(127.0.0.1:22038):ClientCnxn$SendThread@1113] - Opening socket
connection to server 127.0.0.1/127.0.0.1:22038. Will not attempt to
authenticate using SASL (unknown error)
[junit] 2016-06-08 08:44:26,785 [myid:127.0.0.1:22038] - WARN
[main-SendThread(127.0.0.1:22038):ClientCnxn$SendThread@1235] - Session
0x301bd7e2d8d0000 for server 127.0.0.1/127.0.0.1:22038, 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)
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: 6 minutes 1 second
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)
##############################
3 tests failed.
FAILED:
org.apache.zookeeper.server.quorum.ReconfigRecoveryTest.testCurrentObserverIsParticipantInNewConfig
Error Message:
waiting for server 2 being up
Stack Trace:
junit.framework.AssertionFailedError: waiting for server 2 being up
at
org.apache.zookeeper.server.quorum.ReconfigRecoveryTest.testCurrentObserverIsParticipantInNewConfig(ReconfigRecoveryTest.java:529)
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:178)
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)