See https://builds.apache.org/job/ZooKeeper_branch35_jdk8/407/
###################################################################################
########################## LAST 60 LINES OF THE CONSOLE
###########################
[...truncated 487172 lines...]
[junit] 2017-02-08 12:09:59,514 [myid:127.0.0.1:19301] - WARN
[main-SendThread(127.0.0.1:19301):ClientCnxn$SendThread@1235] - Session
0x1036369e7450000 for server 127.0.0.1/127.0.0.1:19301, 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-02-08 12:09:59,676 [myid:127.0.0.1:19424] - INFO
[main-SendThread(127.0.0.1:19424):ClientCnxn$SendThread@1113] - Opening socket
connection to server 127.0.0.1/127.0.0.1:19424. Will not attempt to
authenticate using SASL (unknown error)
[junit] 2017-02-08 12:09:59,677 [myid:127.0.0.1:19424] - WARN
[main-SendThread(127.0.0.1:19424):ClientCnxn$SendThread@1235] - Session
0x103636d93500000 for server 127.0.0.1/127.0.0.1:19424, 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-02-08 12:09:59,834 [myid:] - INFO [ProcessThread(sid:0
cport:19547)::PrepRequestProcessor@656] - Processed session termination for
sessionid: 0x103637074ed0000
[junit] 2017-02-08 12:09:59,835 [myid:] - INFO [main:ZooKeeper@1322] -
Session: 0x103637074ed0000 closed
[junit] 2017-02-08 12:09:59,836 [myid:] - INFO
[SyncThread:0:MBeanRegistry@128] - Unregister MBean
[org.apache.ZooKeeperService:name0=StandaloneServer_port19547,name1=Connections,name2=127.0.0.1,name3=0x103637074ed0000]
[junit] 2017-02-08 12:09:59,836 [myid:] - INFO
[main:JUnit4ZKTestRunner$LoggedInvokeMethod@82] - Memory used 90255
[junit] 2017-02-08 12:09:59,835 [myid:] - INFO
[main-EventThread:ClientCnxn$EventThread@513] - EventThread shut down for
session: 0x103637074ed0000
[junit] 2017-02-08 12:09:59,836 [myid:] - INFO
[main:JUnit4ZKTestRunner$LoggedInvokeMethod@87] - Number of threads 468
[junit] 2017-02-08 12:09:59,836 [myid:] - INFO
[main:JUnit4ZKTestRunner$LoggedInvokeMethod@102] - FINISHED TEST METHOD
testWatcherAutoResetWithLocal
[junit] 2017-02-08 12:09:59,836 [myid:] - INFO [main:ClientBase@543] -
tearDown starting
[junit] 2017-02-08 12:09:59,836 [myid:] - INFO [main:ClientBase@513] -
STOPPING server
[junit] 2017-02-08 12:09:59,836 [myid:] - INFO
[main:NettyServerCnxnFactory@464] - shutdown called 0.0.0.0/0.0.0.0:19547
[junit] 2017-02-08 12:09:59,837 [myid:] - INFO [main:ZooKeeperServer@533]
- shutting down
[junit] 2017-02-08 12:09:59,837 [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-02-08 12:09:59,837 [myid:] - INFO
[main:SessionTrackerImpl@232] - Shutting down
[junit] 2017-02-08 12:09:59,838 [myid:] - INFO
[main:PrepRequestProcessor@974] - Shutting down
[junit] 2017-02-08 12:09:59,838 [myid:] - INFO
[main:SyncRequestProcessor@191] - Shutting down
[junit] 2017-02-08 12:09:59,838 [myid:] - INFO [ProcessThread(sid:0
cport:19547)::PrepRequestProcessor@154] - PrepRequestProcessor exited loop!
[junit] 2017-02-08 12:09:59,838 [myid:] - INFO
[SyncThread:0:SyncRequestProcessor@169] - SyncRequestProcessor exited!
[junit] 2017-02-08 12:09:59,841 [myid:] - INFO
[main:FinalRequestProcessor@479] - shutdown of request processor complete
[junit] 2017-02-08 12:09:59,841 [myid:] - INFO [main:MBeanRegistry@128] -
Unregister MBean
[org.apache.ZooKeeperService:name0=StandaloneServer_port19547,name1=InMemoryDataTree]
[junit] 2017-02-08 12:09:59,842 [myid:] - INFO [main:MBeanRegistry@128] -
Unregister MBean [org.apache.ZooKeeperService:name0=StandaloneServer_port19547]
[junit] 2017-02-08 12:09:59,842 [myid:] - INFO
[main:FourLetterWordMain@85] - connecting to 127.0.0.1 19547
[junit] 2017-02-08 12:09:59,842 [myid:] - INFO [main:JMXEnv@146] -
ensureOnly:[]
[junit] 2017-02-08 12:09:59,846 [myid:] - INFO [main:ClientBase@568] -
fdcount after test is: 1376 at start it was 1372
[junit] 2017-02-08 12:09:59,846 [myid:] - INFO [main:ClientBase@570] -
sleeping for 20 secs
[junit] 2017-02-08 12:09:59,846 [myid:] - INFO [main:ZKTestCase$1@65] -
SUCCEEDED testWatcherAutoResetWithLocal
[junit] 2017-02-08 12:09:59,846 [myid:] - INFO [main:ZKTestCase$1@60] -
FINISHED testWatcherAutoResetWithLocal
[junit] Tests run: 103, Failures: 0, Errors: 0, Skipped: 0, Time elapsed:
436.914 sec, Thread: 4, Class: org.apache.zookeeper.test.NioNettySuiteTest
[junit] 2017-02-08 12:10:00,065 [myid:127.0.0.1:19427] - INFO
[main-SendThread(127.0.0.1:19427):ClientCnxn$SendThread@1113] - Opening socket
connection to server 127.0.0.1/127.0.0.1:19427. Will not attempt to
authenticate using SASL (unknown error)
[junit] 2017-02-08 12:10:00,066 [myid:127.0.0.1:19427] - WARN
[main-SendThread(127.0.0.1:19427):ClientCnxn$SendThread@1235] - Session
0x203636d8f750000 for server 127.0.0.1/127.0.0.1:19427, 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_branch35_jdk8/build.xml:1211:
The following error occurred while executing this line:
/home/jenkins/jenkins-slave/workspace/ZooKeeper_branch35_jdk8/build.xml:1215:
Tests failed!
Total time: 10 minutes 54 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.server.SessionTrackerTest.testAddSessionAfterSessionExpiry
Error Message:
Duplicate session expiry request has been generated expected:<1> but was:<0>
Stack Trace:
junit.framework.AssertionFailedError: Duplicate session expiry request has been
generated expected:<1> but was:<0>
at
org.apache.zookeeper.server.SessionTrackerTest.testAddSessionAfterSessionExpiry(SessionTrackerTest.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)