See https://builds.apache.org/job/ZooKeeper_branch35_openjdk7/99/
###################################################################################
########################## LAST 60 LINES OF THE CONSOLE
###########################
[...truncated 380249 lines...]
[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-29 10:03:30,239 [myid:] - INFO
[/127.0.0.1:24830:QuorumCnxManager$Listener@659] - Leaving listener
[junit] 2016-05-29 10:03:30,234 [myid:] - WARN
[LearnerHandler-/127.0.0.1:49581:LearnerHandler@619] - ******* GOODBYE
/127.0.0.1:49581 ********
[junit] 2016-05-29 10:03:30,239 [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-05-29 10:03:30,241 [myid:] - WARN
[LearnerHandler-/127.0.0.1:49581: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-05-29 10:03:30,242 [myid:] - INFO [main:QuorumUtil@254] -
Shutting down leader election
QuorumPeer[myid=5](plain=/127.0.0.1:24828)(secure=disabled)
[junit] 2016-05-29 10:03:30,243 [myid:] - INFO [main:QuorumUtil@259] -
Waiting for QuorumPeer[myid=5](plain=/127.0.0.1:24828)(secure=disabled) to exit
thread
[junit] 2016-05-29 10:03:30,241 [myid:] - WARN
[QuorumPeer[myid=5](plain=/127.0.0.1:24828)(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-29 10:03:30,243 [myid:] - INFO
[QuorumPeer[myid=5](plain=/127.0.0.1:24828)(secure=disabled):Leader@613] -
Shutting down
[junit] 2016-05-29 10:03:30,243 [myid:] - WARN
[QuorumPeer[myid=5](plain=/127.0.0.1:24828)(secure=disabled):QuorumPeer@1157] -
PeerState set to LOOKING
[junit] 2016-05-29 10:03:30,243 [myid:] - WARN
[QuorumPeer[myid=5](plain=/127.0.0.1:24828)(secure=disabled):QuorumPeer@1139] -
QuorumPeer main thread exited
[junit] 2016-05-29 10:03:30,244 [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-05-29 10:03:30,244 [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-05-29 10:03:30,244 [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-05-29 10:03:30,245 [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-05-29 10:03:30,245 [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-05-29 10:03:30,245 [myid:] - INFO
[main:FourLetterWordMain@85] - connecting to 127.0.0.1 24816
[junit] 2016-05-29 10:03:30,246 [myid:] - INFO [main:QuorumUtil@243] -
127.0.0.1:24816 is no longer accepting client connections
[junit] 2016-05-29 10:03:30,246 [myid:] - INFO
[main:FourLetterWordMain@85] - connecting to 127.0.0.1 24819
[junit] 2016-05-29 10:03:30,247 [myid:] - INFO [main:QuorumUtil@243] -
127.0.0.1:24819 is no longer accepting client connections
[junit] 2016-05-29 10:03:30,247 [myid:] - INFO
[main:FourLetterWordMain@85] - connecting to 127.0.0.1 24822
[junit] 2016-05-29 10:03:30,248 [myid:] - INFO [main:QuorumUtil@243] -
127.0.0.1:24822 is no longer accepting client connections
[junit] 2016-05-29 10:03:30,248 [myid:] - INFO
[main:FourLetterWordMain@85] - connecting to 127.0.0.1 24825
[junit] 2016-05-29 10:03:30,249 [myid:] - INFO [main:QuorumUtil@243] -
127.0.0.1:24825 is no longer accepting client connections
[junit] 2016-05-29 10:03:30,249 [myid:] - INFO
[main:FourLetterWordMain@85] - connecting to 127.0.0.1 24828
[junit] 2016-05-29 10:03:30,249 [myid:] - INFO [main:QuorumUtil@243] -
127.0.0.1:24828 is no longer accepting client connections
[junit] 2016-05-29 10:03:30,252 [myid:] - INFO [main:ZKTestCase$1@65] -
SUCCEEDED testRemoveOneAsynchronous
[junit] 2016-05-29 10:03:30,252 [myid:] - INFO [main:ZKTestCase$1@60] -
FINISHED testRemoveOneAsynchronous
[junit] Tests run: 11, Failures: 0, Errors: 0, Skipped: 0, Time elapsed:
119.905 sec, Thread: 6, Class: org.apache.zookeeper.test.ReconfigTest
[junit] 2016-05-29 10:03:30,449 [myid:127.0.0.1:24728] - INFO
[main-SendThread(127.0.0.1:24728):ClientCnxn$SendThread@1113] - Opening socket
connection to server 127.0.0.1/127.0.0.1:24728. Will not attempt to
authenticate using SASL (unknown error)
[junit] 2016-05-29 10:03:30,450 [myid:127.0.0.1:24728] - WARN
[main-SendThread(127.0.0.1:24728):ClientCnxn$SendThread@1235] - Session
0x201b422372f0000 for server 127.0.0.1/127.0.0.1:24728, 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_openjdk7/branch-3.5/build.xml:1322:
The following error occurred while executing this line:
/home/jenkins/jenkins-slave/workspace/ZooKeeper_branch35_openjdk7/branch-3.5/build.xml:1207:
Tests failed!
Total time: 7 minutes 16 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.FLETest.testSingleElection
Error Message:
Leader hasn't joined: -1
Stack Trace:
junit.framework.AssertionFailedError: Leader hasn't joined: -1
at org.apache.zookeeper.test.FLETest.runElection(FLETest.java:368)
at
org.apache.zookeeper.test.FLETest.testSingleElection(FLETest.java:267)
at
org.apache.zookeeper.JUnit4ZKTestRunner$LoggedInvokeMethod.evaluate(JUnit4ZKTestRunner.java:79)