See https://builds.apache.org/job/ZooKeeper_branch35_openjdk7/98/

###################################################################################
########################## LAST 60 LINES OF THE CONSOLE 
###########################
[...truncated 376867 lines...]
    [junit]     at 
org.apache.zookeeper.server.quorum.LearnerHandler.run(LearnerHandler.java:622)
    [junit] 2016-05-28 10:03:21,227 [myid:] - INFO  
[NIOServerCxnFactory.AcceptThread:/127.0.0.1:16749:NIOServerCnxnFactory$AcceptThread@219]
 - accept thread exitted run method
    [junit] 2016-05-28 10:03:21,227 [myid:] - INFO  
[ConnnectionExpirer:NIOServerCnxnFactory$ConnectionExpirerThread@583] - 
ConnnectionExpirerThread interrupted
    [junit] 2016-05-28 10:03:21,227 [myid:] - INFO  
[NIOServerCxnFactory.SelectorThread-0:NIOServerCnxnFactory$SelectorThread@420] 
- selector thread exitted run method
    [junit] 2016-05-28 10:03:21,230 [myid:] - INFO  
[QuorumPeer[myid=5](plain=/127.0.0.1:16749)(secure=disabled):MBeanRegistry@128] 
- Unregister MBean 
[org.apache.ZooKeeperService:name0=ReplicatedServer_id5,name1=replica.5,name2=Leader]
    [junit] 2016-05-28 10:03:21,230 [myid:] - WARN  
[QuorumPeer[myid=5](plain=/127.0.0.1:16749)(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-28 10:03:21,230 [myid:] - INFO  
[QuorumPeer[myid=5](plain=/127.0.0.1:16749)(secure=disabled):Leader@613] - 
Shutting down
    [junit] 2016-05-28 10:03:21,231 [myid:] - WARN  
[QuorumPeer[myid=5](plain=/127.0.0.1:16749)(secure=disabled):QuorumPeer@1157] - 
PeerState set to LOOKING
    [junit] 2016-05-28 10:03:21,231 [myid:] - WARN  
[QuorumPeer[myid=5](plain=/127.0.0.1:16749)(secure=disabled):QuorumPeer@1139] - 
QuorumPeer main thread exited
    [junit] 2016-05-28 10:03:21,231 [myid:] - INFO  
[QuorumPeer[myid=5](plain=/127.0.0.1:16749)(secure=disabled):MBeanRegistry@128] 
- Unregister MBean [org.apache.ZooKeeperService:name0=ReplicatedServer_id5]
    [junit] 2016-05-28 10:03:21,231 [myid:] - INFO  
[QuorumPeer[myid=5](plain=/127.0.0.1:16749)(secure=disabled):MBeanRegistry@128] 
- Unregister MBean 
[org.apache.ZooKeeperService:name0=ReplicatedServer_id5,name1=replica.5]
    [junit] 2016-05-28 10:03:21,231 [myid:] - INFO  
[QuorumPeer[myid=5](plain=/127.0.0.1:16749)(secure=disabled):MBeanRegistry@128] 
- Unregister MBean 
[org.apache.ZooKeeperService:name0=ReplicatedServer_id5,name1=replica.1]
    [junit] 2016-05-28 10:03:21,232 [myid:] - INFO  
[QuorumPeer[myid=5](plain=/127.0.0.1:16749)(secure=disabled):MBeanRegistry@128] 
- Unregister MBean 
[org.apache.ZooKeeperService:name0=ReplicatedServer_id5,name1=replica.2]
    [junit] 2016-05-28 10:03:21,232 [myid:] - INFO  
[QuorumPeer[myid=5](plain=/127.0.0.1:16749)(secure=disabled):MBeanRegistry@128] 
- Unregister MBean 
[org.apache.ZooKeeperService:name0=ReplicatedServer_id5,name1=replica.3]
    [junit] 2016-05-28 10:03:21,232 [myid:] - INFO  
[/127.0.0.1:16751:QuorumCnxManager$Listener@659] - Leaving listener
    [junit] 2016-05-28 10:03:21,234 [myid:] - INFO  [main:QuorumUtil@254] - 
Shutting down leader election 
QuorumPeer[myid=5](plain=/127.0.0.1:16749)(secure=disabled)
    [junit] 2016-05-28 10:03:21,234 [myid:] - INFO  [main:QuorumUtil@259] - 
Waiting for QuorumPeer[myid=5](plain=/127.0.0.1:16749)(secure=disabled) to exit 
thread
    [junit] 2016-05-28 10:03:21,235 [myid:] - INFO  
[main:FourLetterWordMain@85] - connecting to 127.0.0.1 16737
    [junit] 2016-05-28 10:03:21,235 [myid:] - INFO  [main:QuorumUtil@243] - 
127.0.0.1:16737 is no longer accepting client connections
    [junit] 2016-05-28 10:03:21,236 [myid:127.0.0.1:16649] - INFO  
[main-SendThread(127.0.0.1:16649):ClientCnxn$SendThread@1113] - Opening socket 
connection to server 127.0.0.1/127.0.0.1:16649. Will not attempt to 
authenticate using SASL (unknown error)
    [junit] 2016-05-28 10:03:21,236 [myid:127.0.0.1:16649] - WARN  
[main-SendThread(127.0.0.1:16649):ClientCnxn$SendThread@1235] - Session 
0x201aefbafad0000 for server 127.0.0.1/127.0.0.1:16649, 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] 2016-05-28 10:03:21,237 [myid:] - INFO  
[main:FourLetterWordMain@85] - connecting to 127.0.0.1 16740
    [junit] 2016-05-28 10:03:21,237 [myid:] - INFO  [main:QuorumUtil@243] - 
127.0.0.1:16740 is no longer accepting client connections
    [junit] 2016-05-28 10:03:21,238 [myid:] - INFO  
[main:FourLetterWordMain@85] - connecting to 127.0.0.1 16743
    [junit] 2016-05-28 10:03:21,238 [myid:] - INFO  [main:QuorumUtil@243] - 
127.0.0.1:16743 is no longer accepting client connections
    [junit] 2016-05-28 10:03:21,238 [myid:] - INFO  
[main:FourLetterWordMain@85] - connecting to 127.0.0.1 16746
    [junit] 2016-05-28 10:03:21,239 [myid:] - INFO  [main:QuorumUtil@243] - 
127.0.0.1:16746 is no longer accepting client connections
    [junit] 2016-05-28 10:03:21,239 [myid:] - INFO  
[main:FourLetterWordMain@85] - connecting to 127.0.0.1 16749
    [junit] 2016-05-28 10:03:21,240 [myid:] - INFO  [main:QuorumUtil@243] - 
127.0.0.1:16749 is no longer accepting client connections
    [junit] 2016-05-28 10:03:21,242 [myid:] - INFO  [main:ZKTestCase$1@65] - 
SUCCEEDED testRemoveOneAsynchronous
    [junit] 2016-05-28 10:03:21,242 [myid:] - INFO  [main:ZKTestCase$1@60] - 
FINISHED testRemoveOneAsynchronous
    [junit] 2016-05-28 10:03:21,248 [myid:127.0.0.1:16646] - INFO  
[main-SendThread(127.0.0.1:16646):ClientCnxn$SendThread@1113] - Opening socket 
connection to server 127.0.0.1/127.0.0.1:16646. Will not attempt to 
authenticate using SASL (unknown error)
    [junit] 2016-05-28 10:03:21,249 [myid:127.0.0.1:16646] - WARN  
[main-SendThread(127.0.0.1:16646):ClientCnxn$SendThread@1235] - Session 
0x101aefbafb20000 for server 127.0.0.1/127.0.0.1:16646, 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] Tests run: 11, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 
119.816 sec, Thread: 3, Class: org.apache.zookeeper.test.ReconfigTest

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 8 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.server.quorum.ReconfigFailureCasesTest.testLeaderTimesoutOnNewQuorum

Error Message:
Should have been ConnectionLossException!

Stack Trace:
junit.framework.AssertionFailedError: Should have been ConnectionLossException!
        at 
org.apache.zookeeper.server.quorum.ReconfigFailureCasesTest.testLeaderTimesoutOnNewQuorum(ReconfigFailureCasesTest.java:178)
        at 
org.apache.zookeeper.JUnit4ZKTestRunner$LoggedInvokeMethod.evaluate(JUnit4ZKTestRunner.java:79)


Reply via email to