See https://builds.apache.org/job/ZooKeeper-trunk-jdk8/1041/
###################################################################################
########################## LAST 60 LINES OF THE CONSOLE
###########################
[...truncated 63.77 MB...]
[junit] java.net.ConnectException: Connection refused
[junit] at sun.nio.ch.SocketChannelImpl.checkConnect(Native Method)
[junit] at
sun.nio.ch.SocketChannelImpl.finishConnect(SocketChannelImpl.java:717)
[junit] at
org.apache.zookeeper.ClientCnxnSocketNIO.doTransport(ClientCnxnSocketNIO.java:357)
[junit] at
org.apache.zookeeper.ClientCnxn$SendThread.run(ClientCnxn.java:1214)
[junit] 2017-05-09 11:55:40,422 [myid:127.0.0.1:16608] - INFO
[main-SendThread(127.0.0.1:16608):ClientCnxn$SendThread@1113] - Opening socket
connection to server 127.0.0.1/127.0.0.1:16608. Will not attempt to
authenticate using SASL (unknown error)
[junit] 2017-05-09 11:55:40,423 [myid:127.0.0.1:16608] - WARN
[main-SendThread(127.0.0.1:16608):ClientCnxn$SendThread@1235] - Session
0x101a9664ea70000 for server 127.0.0.1/127.0.0.1:16608, 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:717)
[junit] at
org.apache.zookeeper.ClientCnxnSocketNIO.doTransport(ClientCnxnSocketNIO.java:357)
[junit] at
org.apache.zookeeper.ClientCnxn$SendThread.run(ClientCnxn.java:1214)
[junit] 2017-05-09 11:55:40,648 [myid:] - INFO [ProcessThread(sid:0
cport:16854)::PrepRequestProcessor@617] - Processed session termination for
sessionid: 0x101a96d51bb0000
[junit] 2017-05-09 11:55:40,650 [myid:] - INFO
[SyncThread:0:MBeanRegistry@128] - Unregister MBean
[org.apache.ZooKeeperService:name0=StandaloneServer_port16854,name1=Connections,name2=127.0.0.1,name3=0x101a96d51bb0000]
[junit] 2017-05-09 11:55:40,650 [myid:] - INFO
[main-EventThread:ClientCnxn$EventThread@513] - EventThread shut down for
session: 0x101a96d51bb0000
[junit] 2017-05-09 11:55:40,650 [myid:] - INFO [main:ZooKeeper@1329] -
Session: 0x101a96d51bb0000 closed
[junit] 2017-05-09 11:55:40,651 [myid:] - INFO
[main:JUnit4ZKTestRunner$LoggedInvokeMethod@82] - Memory used 87036
[junit] 2017-05-09 11:55:40,651 [myid:] - INFO
[main:JUnit4ZKTestRunner$LoggedInvokeMethod@87] - Number of threads 467
[junit] 2017-05-09 11:55:40,651 [myid:] - INFO
[main:JUnit4ZKTestRunner$LoggedInvokeMethod@102] - FINISHED TEST METHOD
testWatcherAutoResetWithLocal
[junit] 2017-05-09 11:55:40,651 [myid:] - INFO [main:ClientBase@582] -
tearDown starting
[junit] 2017-05-09 11:55:40,651 [myid:] - INFO [main:ClientBase@552] -
STOPPING server
[junit] 2017-05-09 11:55:40,651 [myid:] - INFO
[main:NettyServerCnxnFactory@464] - shutdown called 0.0.0.0/0.0.0.0:16854
[junit] 2017-05-09 11:55:40,652 [myid:] - INFO [main:ZooKeeperServer@542]
- shutting down
[junit] 2017-05-09 11:55:40,652 [myid:] - ERROR [main:ZooKeeperServer@506]
- ZKShutdownHandler is not registered, so ZooKeeper server won't take any
action on ERROR or SHUTDOWN server state changes
[junit] 2017-05-09 11:55:40,652 [myid:] - INFO
[main:SessionTrackerImpl@232] - Shutting down
[junit] 2017-05-09 11:55:40,653 [myid:] - INFO
[main:PrepRequestProcessor@1008] - Shutting down
[junit] 2017-05-09 11:55:40,653 [myid:] - INFO
[main:SyncRequestProcessor@191] - Shutting down
[junit] 2017-05-09 11:55:40,653 [myid:] - INFO [ProcessThread(sid:0
cport:16854)::PrepRequestProcessor@157] - PrepRequestProcessor exited loop!
[junit] 2017-05-09 11:55:40,653 [myid:] - INFO
[SyncThread:0:SyncRequestProcessor@169] - SyncRequestProcessor exited!
[junit] 2017-05-09 11:55:40,653 [myid:] - INFO
[main:FinalRequestProcessor@481] - shutdown of request processor complete
[junit] 2017-05-09 11:55:40,653 [myid:] - INFO [main:MBeanRegistry@128] -
Unregister MBean
[org.apache.ZooKeeperService:name0=StandaloneServer_port16854,name1=InMemoryDataTree]
[junit] 2017-05-09 11:55:40,654 [myid:] - INFO [main:MBeanRegistry@128] -
Unregister MBean [org.apache.ZooKeeperService:name0=StandaloneServer_port16854]
[junit] 2017-05-09 11:55:40,654 [myid:] - INFO
[main:FourLetterWordMain@85] - connecting to 127.0.0.1 16854
[junit] 2017-05-09 11:55:40,654 [myid:] - INFO [main:JMXEnv@146] -
ensureOnly:[]
[junit] 2017-05-09 11:55:40,658 [myid:] - INFO [main:ClientBase@607] -
fdcount after test is: 1379 at start it was 1375
[junit] 2017-05-09 11:55:40,658 [myid:] - INFO [main:ClientBase@609] -
sleeping for 20 secs
[junit] 2017-05-09 11:55:40,658 [myid:] - INFO [main:ZKTestCase$1@68] -
SUCCEEDED testWatcherAutoResetWithLocal
[junit] 2017-05-09 11:55:40,658 [myid:] - INFO [main:ZKTestCase$1@63] -
FINISHED testWatcherAutoResetWithLocal
[junit] Tests run: 103, Failures: 0, Errors: 0, Skipped: 0, Time elapsed:
466.015 sec, Thread: 3, Class: org.apache.zookeeper.test.NioNettySuiteTest
[junit] 2017-05-09 11:55:40,708 [myid:127.0.0.1:16734] - INFO
[main-SendThread(127.0.0.1:16734):ClientCnxn$SendThread@1113] - Opening socket
connection to server 127.0.0.1/127.0.0.1:16734. Will not attempt to
authenticate using SASL (unknown error)
[junit] 2017-05-09 11:55:40,709 [myid:127.0.0.1:16734] - WARN
[main-SendThread(127.0.0.1:16734):ClientCnxn$SendThread@1235] - Session
0x201a969f8760000 for server 127.0.0.1/127.0.0.1:16734, 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:717)
[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-trunk-jdk8/build.xml:1219: The
following error occurred while executing this line:
/home/jenkins/jenkins-slave/workspace/ZooKeeper-trunk-jdk8/build.xml:1223:
Tests failed!
Total time: 11 minutes 24 seconds
Build step 'Invoke Ant' marked build as failure
[WARNINGS] Skipping publisher since build result is 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.server.quorum.RaceConditionTest.testRaceConditionBetweenLeaderAndAckRequestProcessor
Error Message:
Leader failed to transition to new state. Current state is leading
Stack Trace:
junit.framework.AssertionFailedError: Leader failed to transition to new state.
Current state is leading
at
org.apache.zookeeper.server.quorum.RaceConditionTest.testRaceConditionBetweenLeaderAndAckRequestProcessor(RaceConditionTest.java:82)
at
org.apache.zookeeper.JUnit4ZKTestRunner$LoggedInvokeMethod.evaluate(JUnit4ZKTestRunner.java:79)
at java.util.concurrent.FutureTask.run(FutureTask.java:266)
at java.lang.Thread.run(Thread.java:745)