See https://builds.apache.org/job/ZooKeeper_branch35_jdk7/530/
################################################################################### ########################## LAST 60 LINES OF THE CONSOLE ########################### [...truncated 355303 lines...] [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-05-26 10:56:15,697 [myid:] - INFO [NIOServerCxnFactory.AcceptThread:/127.0.0.1:27521:NIOServerCnxnFactory$AcceptThread@219] - accept thread exitted run method [junit] 2016-05-26 10:56:15,698 [myid:] - INFO [ConnnectionExpirer:NIOServerCnxnFactory$ConnectionExpirerThread@583] - ConnnectionExpirerThread interrupted [junit] 2016-05-26 10:56:15,703 [myid:] - INFO [NIOServerCxnFactory.SelectorThread-0:NIOServerCnxnFactory$SelectorThread@420] - selector thread exitted run method [junit] 2016-05-26 10:56:15,705 [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-05-26 10:56:15,706 [myid:] - WARN [QuorumPeer[myid=5](plain=/127.0.0.1:27521)(secure=disabled):QuorumPeer@1126] - 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:1123) [junit] 2016-05-26 10:56:15,706 [myid:] - INFO [QuorumPeer[myid=5](plain=/127.0.0.1:27521)(secure=disabled):Leader@613] - Shutting down [junit] 2016-05-26 10:56:15,706 [myid:] - WARN [QuorumPeer[myid=5](plain=/127.0.0.1:27521)(secure=disabled):QuorumPeer@1157] - PeerState set to LOOKING [junit] 2016-05-26 10:56:15,706 [myid:] - WARN [QuorumPeer[myid=5](plain=/127.0.0.1:27521)(secure=disabled):QuorumPeer@1139] - QuorumPeer main thread exited [junit] 2016-05-26 10:56:15,707 [myid:] - INFO [/127.0.0.1:27523:QuorumCnxManager$Listener@659] - Leaving listener [junit] 2016-05-26 10:56:15,707 [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-05-26 10:56:15,707 [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-05-26 10:56:15,711 [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-05-26 10:56:15,711 [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-05-26 10:56:15,711 [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-05-26 10:56:15,712 [myid:] - INFO [main:QuorumUtil@254] - Shutting down leader election QuorumPeer[myid=5](plain=/127.0.0.1:27521)(secure=disabled) [junit] 2016-05-26 10:56:15,712 [myid:] - INFO [main:QuorumUtil@259] - Waiting for QuorumPeer[myid=5](plain=/127.0.0.1:27521)(secure=disabled) to exit thread [junit] 2016-05-26 10:56:15,712 [myid:] - INFO [main:FourLetterWordMain@85] - connecting to 127.0.0.1 27509 [junit] 2016-05-26 10:56:15,713 [myid:] - INFO [main:QuorumUtil@243] - 127.0.0.1:27509 is no longer accepting client connections [junit] 2016-05-26 10:56:15,713 [myid:] - INFO [main:FourLetterWordMain@85] - connecting to 127.0.0.1 27512 [junit] 2016-05-26 10:56:15,714 [myid:] - INFO [main:QuorumUtil@243] - 127.0.0.1:27512 is no longer accepting client connections [junit] 2016-05-26 10:56:15,714 [myid:] - INFO [main:FourLetterWordMain@85] - connecting to 127.0.0.1 27515 [junit] 2016-05-26 10:56:15,715 [myid:] - INFO [main:QuorumUtil@243] - 127.0.0.1:27515 is no longer accepting client connections [junit] 2016-05-26 10:56:15,715 [myid:] - INFO [main:FourLetterWordMain@85] - connecting to 127.0.0.1 27518 [junit] 2016-05-26 10:56:15,715 [myid:] - INFO [main:QuorumUtil@243] - 127.0.0.1:27518 is no longer accepting client connections [junit] 2016-05-26 10:56:15,716 [myid:] - INFO [main:FourLetterWordMain@85] - connecting to 127.0.0.1 27521 [junit] 2016-05-26 10:56:15,716 [myid:] - INFO [main:QuorumUtil@243] - 127.0.0.1:27521 is no longer accepting client connections [junit] 2016-05-26 10:56:15,719 [myid:] - INFO [main:ZKTestCase$1@65] - SUCCEEDED testRemoveOneAsynchronous [junit] 2016-05-26 10:56:15,720 [myid:] - INFO [main:ZKTestCase$1@60] - FINISHED testRemoveOneAsynchronous [junit] Tests run: 11, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 127.324 sec, Thread: 7, Class: org.apache.zookeeper.test.ReconfigTest [junit] 2016-05-26 10:56:15,910 [myid:] - INFO [SessionTracker:SessionTrackerImpl@158] - SessionTrackerImpl exited loop! [junit] 2016-05-26 10:56:16,002 [myid:127.0.0.1:27421] - INFO [main-SendThread(127.0.0.1:27421):ClientCnxn$SendThread@1113] - Opening socket connection to server 127.0.0.1/127.0.0.1:27421. Will not attempt to authenticate using SASL (unknown error) [junit] 2016-05-26 10:56:16,003 [myid:127.0.0.1:27421] - WARN [main-SendThread(127.0.0.1:27421):ClientCnxn$SendThread@1235] - Session 0x201a4df51ae0000 for server 127.0.0.1/127.0.0.1:27421, 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) [junit] Running org.apache.zookeeper.test.QuorumTest in thread 1 [junit] Tests run: 1, Failures: 0, Errors: 1, Skipped: 0, Time elapsed: 0 sec, Thread: 1, Class: org.apache.zookeeper.test.QuorumTest [junit] Test org.apache.zookeeper.test.QuorumTest FAILED (timeout) 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: 19 minutes 28 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) ############################## 1 tests failed. FAILED: org.apache.zookeeper.test.QuorumTest.testLeaderShutdown Error Message: Timeout occurred. Please note the time in the report does not reflect the time until the timeout. Stack Trace: junit.framework.AssertionFailedError: Timeout occurred. Please note the time in the report does not reflect the time until the timeout. at java.lang.Thread.run(Thread.java:745)