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

###################################################################################
########################## LAST 60 LINES OF THE CONSOLE 
###########################
[...truncated 454952 lines...]
    [junit] 2016-09-13 10:22:13,384 [myid:127.0.0.1:24931] - INFO  
[main-SendThread(127.0.0.1:24931):ClientCnxn$SendThread@1381] - Session 
establishment complete on server 127.0.0.1/127.0.0.1:24931, sessionid = 
0x1000023f4950000, negotiated timeout = 6000
    [junit] 2016-09-13 10:22:13,385 [myid:] - INFO  
[SyncThread:0:FileTxnLog@204] - Creating new log file: log.7
    [junit] 2016-09-13 10:22:13,493 [myid:127.0.0.1:24808] - INFO  
[main-SendThread(127.0.0.1:24808):ClientCnxn$SendThread@1113] - Opening socket 
connection to server 127.0.0.1/127.0.0.1:24808. Will not attempt to 
authenticate using SASL (unknown error)
    [junit] 2016-09-13 10:22:13,494 [myid:127.0.0.1:24808] - WARN  
[main-SendThread(127.0.0.1:24808):ClientCnxn$SendThread@1235] - Session 
0x1000021222e0000 for server 127.0.0.1/127.0.0.1:24808, 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-09-13 10:22:13,697 [myid:127.0.0.1:24687] - INFO  
[main-SendThread(127.0.0.1:24687):ClientCnxn$SendThread@1113] - Opening socket 
connection to server 127.0.0.1/127.0.0.1:24687. Will not attempt to 
authenticate using SASL (unknown error)
    [junit] 2016-09-13 10:22:13,698 [myid:127.0.0.1:24687] - WARN  
[main-SendThread(127.0.0.1:24687):ClientCnxn$SendThread@1235] - Session 
0x100001d7a550000 for server 127.0.0.1/127.0.0.1:24687, 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-09-13 10:22:14,389 [myid:] - INFO  [ProcessThread(sid:0 
cport:24931)::PrepRequestProcessor@647] - Processed session termination for 
sessionid: 0x1000023f4950000
    [junit] 2016-09-13 10:22:14,390 [myid:] - INFO  
[SyncThread:0:MBeanRegistry@128] - Unregister MBean 
[org.apache.ZooKeeperService:name0=StandaloneServer_port24931,name1=Connections,name2=127.0.0.1,name3=0x1000023f4950000]
    [junit] 2016-09-13 10:22:14,390 [myid:] - INFO  [main:ZooKeeper@1313] - 
Session: 0x1000023f4950000 closed
    [junit] 2016-09-13 10:22:14,390 [myid:] - INFO  
[main-EventThread:ClientCnxn$EventThread@513] - EventThread shut down for 
session: 0x1000023f4950000
    [junit] 2016-09-13 10:22:14,391 [myid:] - INFO  
[main:JUnit4ZKTestRunner$LoggedInvokeMethod@82] - Memory used 58249
    [junit] 2016-09-13 10:22:14,391 [myid:] - INFO  
[main:JUnit4ZKTestRunner$LoggedInvokeMethod@87] - Number of threads 468
    [junit] 2016-09-13 10:22:14,391 [myid:] - INFO  
[main:JUnit4ZKTestRunner$LoggedInvokeMethod@102] - FINISHED TEST METHOD 
testWatcherAutoResetWithLocal
    [junit] 2016-09-13 10:22:14,391 [myid:] - INFO  [main:ClientBase@543] - 
tearDown starting
    [junit] 2016-09-13 10:22:14,391 [myid:] - INFO  [main:ClientBase@513] - 
STOPPING server
    [junit] 2016-09-13 10:22:14,391 [myid:] - INFO  
[main:NettyServerCnxnFactory@464] - shutdown called 0.0.0.0/0.0.0.0:24931
    [junit] 2016-09-13 10:22:14,393 [myid:] - INFO  [main:ZooKeeperServer@529] 
- shutting down
    [junit] 2016-09-13 10:22:14,393 [myid:] - ERROR [main:ZooKeeperServer@501] 
- ZKShutdownHandler is not registered, so ZooKeeper server won't take any 
action on ERROR or SHUTDOWN server state changes
    [junit] 2016-09-13 10:22:14,393 [myid:] - INFO  
[main:SessionTrackerImpl@232] - Shutting down
    [junit] 2016-09-13 10:22:14,393 [myid:] - INFO  
[main:PrepRequestProcessor@965] - Shutting down
    [junit] 2016-09-13 10:22:14,393 [myid:] - INFO  
[main:SyncRequestProcessor@191] - Shutting down
    [junit] 2016-09-13 10:22:14,393 [myid:] - INFO  [ProcessThread(sid:0 
cport:24931)::PrepRequestProcessor@154] - PrepRequestProcessor exited loop!
    [junit] 2016-09-13 10:22:14,393 [myid:] - INFO  
[SyncThread:0:SyncRequestProcessor@169] - SyncRequestProcessor exited!
    [junit] 2016-09-13 10:22:14,393 [myid:] - INFO  
[main:FinalRequestProcessor@479] - shutdown of request processor complete
    [junit] 2016-09-13 10:22:14,394 [myid:] - INFO  [main:MBeanRegistry@128] - 
Unregister MBean 
[org.apache.ZooKeeperService:name0=StandaloneServer_port24931,name1=InMemoryDataTree]
    [junit] 2016-09-13 10:22:14,394 [myid:] - INFO  [main:MBeanRegistry@128] - 
Unregister MBean [org.apache.ZooKeeperService:name0=StandaloneServer_port24931]
    [junit] 2016-09-13 10:22:14,394 [myid:] - INFO  
[main:FourLetterWordMain@85] - connecting to 127.0.0.1 24931
    [junit] 2016-09-13 10:22:14,395 [myid:] - INFO  [main:JMXEnv@146] - 
ensureOnly:[]
    [junit] 2016-09-13 10:22:14,399 [myid:] - INFO  [main:ClientBase@568] - 
fdcount after test is: 1377 at start it was 1373
    [junit] 2016-09-13 10:22:14,399 [myid:] - INFO  [main:ClientBase@570] - 
sleeping for 20 secs
    [junit] 2016-09-13 10:22:14,399 [myid:] - INFO  [main:ZKTestCase$1@65] - 
SUCCEEDED testWatcherAutoResetWithLocal
    [junit] 2016-09-13 10:22:14,399 [myid:] - INFO  [main:ZKTestCase$1@60] - 
FINISHED testWatcherAutoResetWithLocal
    [junit] Tests run: 101, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 
430.862 sec, Thread: 6, Class: org.apache.zookeeper.test.NioNettySuiteTest
    [junit] 2016-09-13 10:22:14,653 [myid:127.0.0.1:24811] - INFO  
[main-SendThread(127.0.0.1:24811):ClientCnxn$SendThread@1113] - Opening socket 
connection to server 127.0.0.1/127.0.0.1:24811. Will not attempt to 
authenticate using SASL (unknown error)
    [junit] 2016-09-13 10:22:14,654 [myid:127.0.0.1:24811] - WARN  
[main-SendThread(127.0.0.1:24811):ClientCnxn$SendThread@1235] - Session 
0x2000021222e0000 for server 127.0.0.1/127.0.0.1:24811, 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/build.xml:1207:
 Tests failed!

Total time: 10 minutes 43 seconds
Build step 'Invoke Ant' marked build as failure
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)


Reply via email to