See https://builds.apache.org/job/ZooKeeper_branch35_openjdk7/726/
###################################################################################
########################## LAST 60 LINES OF THE CONSOLE
###########################
[...truncated 68.97 MB...]
[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] 2017-10-27 10:07:31,403 [myid:127.0.0.1:27503] - INFO
[main-SendThread(127.0.0.1:27503):ClientCnxn$SendThread@1113] - Opening socket
connection to server 127.0.0.1/127.0.0.1:27503. Will not attempt to
authenticate using SASL (unknown error)
[junit] 2017-10-27 10:07:31,404 [myid:127.0.0.1:27503] - WARN
[main-SendThread(127.0.0.1:27503):ClientCnxn$SendThread@1235] - Session
0x1044c4653420000 for server 127.0.0.1/127.0.0.1:27503, 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] 2017-10-27 10:07:31,594 [myid:] - INFO [ProcessThread(sid:0
cport:27626)::PrepRequestProcessor@611] - Processed session termination for
sessionid: 0x1044c4959a50000
[junit] 2017-10-27 10:07:31,596 [myid:] - INFO
[SyncThread:0:MBeanRegistry@128] - Unregister MBean
[org.apache.ZooKeeperService:name0=StandaloneServer_port27626,name1=Connections,name2=127.0.0.1,name3=0x1044c4959a50000]
[junit] 2017-10-27 10:07:31,597 [myid:] - INFO [main:ZooKeeper@1334] -
Session: 0x1044c4959a50000 closed
[junit] 2017-10-27 10:07:31,597 [myid:] - INFO
[main-EventThread:ClientCnxn$EventThread@513] - EventThread shut down for
session: 0x1044c4959a50000
[junit] 2017-10-27 10:07:31,597 [myid:] - INFO
[main:JUnit4ZKTestRunner$LoggedInvokeMethod@82] - Memory used 130624
[junit] 2017-10-27 10:07:31,597 [myid:] - INFO
[main:JUnit4ZKTestRunner$LoggedInvokeMethod@87] - Number of threads 471
[junit] 2017-10-27 10:07:31,597 [myid:] - INFO
[main:JUnit4ZKTestRunner$LoggedInvokeMethod@102] - FINISHED TEST METHOD
testWatcherAutoResetWithLocal
[junit] 2017-10-27 10:07:31,597 [myid:] - INFO [main:ClientBase@586] -
tearDown starting
[junit] 2017-10-27 10:07:31,597 [myid:] - INFO [main:ClientBase@556] -
STOPPING server
[junit] 2017-10-27 10:07:31,598 [myid:] - INFO
[main:NettyServerCnxnFactory@464] - shutdown called 0.0.0.0/0.0.0.0:27626
[junit] 2017-10-27 10:07:31,599 [myid:] - INFO [main:ZooKeeperServer@541]
- shutting down
[junit] 2017-10-27 10:07:31,599 [myid:] - ERROR [main:ZooKeeperServer@505]
- ZKShutdownHandler is not registered, so ZooKeeper server won't take any
action on ERROR or SHUTDOWN server state changes
[junit] 2017-10-27 10:07:31,599 [myid:] - INFO
[main:SessionTrackerImpl@232] - Shutting down
[junit] 2017-10-27 10:07:31,599 [myid:] - INFO
[main:PrepRequestProcessor@1005] - Shutting down
[junit] 2017-10-27 10:07:31,599 [myid:] - INFO
[main:SyncRequestProcessor@191] - Shutting down
[junit] 2017-10-27 10:07:31,599 [myid:] - INFO [ProcessThread(sid:0
cport:27626)::PrepRequestProcessor@155] - PrepRequestProcessor exited loop!
[junit] 2017-10-27 10:07:31,599 [myid:] - INFO
[SyncThread:0:SyncRequestProcessor@169] - SyncRequestProcessor exited!
[junit] 2017-10-27 10:07:31,600 [myid:] - INFO
[main:FinalRequestProcessor@481] - shutdown of request processor complete
[junit] 2017-10-27 10:07:31,600 [myid:] - INFO [main:MBeanRegistry@128] -
Unregister MBean
[org.apache.ZooKeeperService:name0=StandaloneServer_port27626,name1=InMemoryDataTree]
[junit] 2017-10-27 10:07:31,600 [myid:] - INFO [main:MBeanRegistry@128] -
Unregister MBean [org.apache.ZooKeeperService:name0=StandaloneServer_port27626]
[junit] 2017-10-27 10:07:31,600 [myid:] - INFO
[main:FourLetterWordMain@87] - connecting to 127.0.0.1 27626
[junit] 2017-10-27 10:07:31,600 [myid:] - INFO [main:JMXEnv@146] -
ensureOnly:[]
[junit] 2017-10-27 10:07:31,603 [myid:] - INFO [main:ClientBase@611] -
fdcount after test is: 1420 at start it was 1420
[junit] 2017-10-27 10:07:31,604 [myid:] - INFO [main:ZKTestCase$1@68] -
SUCCEEDED testWatcherAutoResetWithLocal
[junit] 2017-10-27 10:07:31,604 [myid:] - INFO [main:ZKTestCase$1@63] -
FINISHED testWatcherAutoResetWithLocal
[junit] Tests run: 103, Failures: 0, Errors: 0, Skipped: 0, Time elapsed:
416.34 sec, Thread: 7, Class: org.apache.zookeeper.test.NioNettySuiteTest
[junit] 2017-10-27 10:07:31,666 [myid:127.0.0.1:27509] - INFO
[main-SendThread(127.0.0.1:27509):ClientCnxn$SendThread@1113] - Opening socket
connection to server 127.0.0.1/127.0.0.1:27509. Will not attempt to
authenticate using SASL (unknown error)
[junit] 2017-10-27 10:07:31,667 [myid:127.0.0.1:27509] - WARN
[main-SendThread(127.0.0.1:27509):ClientCnxn$SendThread@1235] - Session
0x3044c4653490000 for server 127.0.0.1/127.0.0.1:27509, 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)
fail.build.on.test.failure:
BUILD FAILED
/home/jenkins/jenkins-slave/workspace/ZooKeeper_branch35_openjdk7/build.xml:1272:
The following error occurred while executing this line:
/home/jenkins/jenkins-slave/workspace/ZooKeeper_branch35_openjdk7/build.xml:1276:
Tests failed!
Total time: 11 minutes 20 seconds
Build step 'Invoke Ant' marked build as failure
Recording test results
Setting OPENJDK_7_ON_UBUNTU_ONLY__HOME=/usr/lib/jvm/java-7-openjdk-amd64/
Setting OPENJDK_7_ON_UBUNTU_ONLY__HOME=/usr/lib/jvm/java-7-openjdk-amd64/
Email was triggered for: Failure - Any
Sending email for trigger: Failure - Any
Setting OPENJDK_7_ON_UBUNTU_ONLY__HOME=/usr/lib/jvm/java-7-openjdk-amd64/
Setting OPENJDK_7_ON_UBUNTU_ONLY__HOME=/usr/lib/jvm/java-7-openjdk-amd64/
###################################################################################
############################## 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)