See https://builds.apache.org/job/ZooKeeper-trunk-openjdk7/1380/
###################################################################################
########################## LAST 60 LINES OF THE CONSOLE
###########################
[...truncated 61.18 MB...]
[junit] 2017-02-27 20:02:10,896 [myid:127.0.0.1:19301] - INFO
[main-SendThread(127.0.0.1:19301):ClientCnxn$SendThread@1113] - Opening socket
connection to server 127.0.0.1/127.0.0.1:19301. Will not attempt to
authenticate using SASL (unknown error)
[junit] 2017-02-27 20:02:10,896 [myid:127.0.0.1:19301] - WARN
[main-SendThread(127.0.0.1:19301):ClientCnxn$SendThread@1235] - Session
0x102ac16eefc0000 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:739)
[junit] at
org.apache.zookeeper.ClientCnxnSocketNIO.doTransport(ClientCnxnSocketNIO.java:357)
[junit] at
org.apache.zookeeper.ClientCnxn$SendThread.run(ClientCnxn.java:1214)
[junit] 2017-02-27 20:02:10,972 [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-27 20:02:10,973 [myid:127.0.0.1:19427] - WARN
[main-SendThread(127.0.0.1:19427):ClientCnxn$SendThread@1235] - Session
0x202ac1acb230000 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:739)
[junit] at
org.apache.zookeeper.ClientCnxnSocketNIO.doTransport(ClientCnxnSocketNIO.java:357)
[junit] at
org.apache.zookeeper.ClientCnxn$SendThread.run(ClientCnxn.java:1214)
[junit] 2017-02-27 20:02:11,412 [myid:] - INFO [ProcessThread(sid:0
cport:19547)::PrepRequestProcessor@617] - Processed session termination for
sessionid: 0x102ac1e250c0000
[junit] 2017-02-27 20:02:11,413 [myid:] - INFO [main:ZooKeeper@1324] -
Session: 0x102ac1e250c0000 closed
[junit] 2017-02-27 20:02:11,413 [myid:] - INFO
[main-EventThread:ClientCnxn$EventThread@513] - EventThread shut down for
session: 0x102ac1e250c0000
[junit] 2017-02-27 20:02:11,413 [myid:] - INFO
[main:JUnit4ZKTestRunner$LoggedInvokeMethod@82] - Memory used 205614
[junit] 2017-02-27 20:02:11,413 [myid:] - INFO
[SyncThread:0:MBeanRegistry@128] - Unregister MBean
[org.apache.ZooKeeperService:name0=StandaloneServer_port19547,name1=Connections,name2=127.0.0.1,name3=0x102ac1e250c0000]
[junit] 2017-02-27 20:02:11,413 [myid:] - INFO
[main:JUnit4ZKTestRunner$LoggedInvokeMethod@87] - Number of threads 2428
[junit] 2017-02-27 20:02:11,413 [myid:] - INFO
[main:JUnit4ZKTestRunner$LoggedInvokeMethod@102] - FINISHED TEST METHOD
testWatcherAutoResetWithLocal
[junit] 2017-02-27 20:02:11,413 [myid:] - INFO [main:ClientBase@558] -
tearDown starting
[junit] 2017-02-27 20:02:11,414 [myid:] - INFO [main:ClientBase@528] -
STOPPING server
[junit] 2017-02-27 20:02:11,414 [myid:] - INFO
[main:NettyServerCnxnFactory@464] - shutdown called 0.0.0.0/0.0.0.0:19547
[junit] 2017-02-27 20:02:11,417 [myid:] - INFO [main:ZooKeeperServer@542]
- shutting down
[junit] 2017-02-27 20:02:11,417 [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-02-27 20:02:11,417 [myid:] - INFO
[main:SessionTrackerImpl@232] - Shutting down
[junit] 2017-02-27 20:02:11,417 [myid:] - INFO
[main:PrepRequestProcessor@1008] - Shutting down
[junit] 2017-02-27 20:02:11,417 [myid:] - INFO
[main:SyncRequestProcessor@191] - Shutting down
[junit] 2017-02-27 20:02:11,417 [myid:] - INFO [ProcessThread(sid:0
cport:19547)::PrepRequestProcessor@157] - PrepRequestProcessor exited loop!
[junit] 2017-02-27 20:02:11,417 [myid:] - INFO
[SyncThread:0:SyncRequestProcessor@169] - SyncRequestProcessor exited!
[junit] 2017-02-27 20:02:11,417 [myid:] - INFO
[main:FinalRequestProcessor@481] - shutdown of request processor complete
[junit] 2017-02-27 20:02:11,418 [myid:] - INFO [main:MBeanRegistry@128] -
Unregister MBean
[org.apache.ZooKeeperService:name0=StandaloneServer_port19547,name1=InMemoryDataTree]
[junit] 2017-02-27 20:02:11,418 [myid:] - INFO [main:MBeanRegistry@128] -
Unregister MBean [org.apache.ZooKeeperService:name0=StandaloneServer_port19547]
[junit] 2017-02-27 20:02:11,418 [myid:] - INFO
[main:FourLetterWordMain@85] - connecting to 127.0.0.1 19547
[junit] 2017-02-27 20:02:11,418 [myid:] - INFO [main:JMXEnv@146] -
ensureOnly:[]
[junit] 2017-02-27 20:02:11,425 [myid:] - INFO [main:ClientBase@583] -
fdcount after test is: 7134 at start it was 7134
[junit] 2017-02-27 20:02:11,426 [myid:] - INFO [main:ZKTestCase$1@65] -
SUCCEEDED testWatcherAutoResetWithLocal
[junit] 2017-02-27 20:02:11,426 [myid:] - INFO [main:ZKTestCase$1@60] -
FINISHED testWatcherAutoResetWithLocal
[junit] Tests run: 103, Failures: 0, Errors: 0, Skipped: 0, Time elapsed:
479.259 sec, Thread: 4, Class: org.apache.zookeeper.test.NioNettySuiteTest
[junit] 2017-02-27 20:02:11,730 [myid:127.0.0.1:19430] - INFO
[main-SendThread(127.0.0.1:19430):ClientCnxn$SendThread@1113] - Opening socket
connection to server 127.0.0.1/127.0.0.1:19430. Will not attempt to
authenticate using SASL (unknown error)
[junit] 2017-02-27 20:02:11,731 [myid:127.0.0.1:19430] - WARN
[main-SendThread(127.0.0.1:19430):ClientCnxn$SendThread@1235] - Session
0x302ac1acb280000 for server 127.0.0.1/127.0.0.1:19430, 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:739)
[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-openjdk7/build.xml:1212:
The following error occurred while executing this line:
/home/jenkins/jenkins-slave/workspace/ZooKeeper-trunk-openjdk7/build.xml:1216:
Tests failed!
Total time: 11 minutes 4 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)
##############################
2 tests failed.
FAILED: org.apache.zookeeper.server.quorum.Zab1_0Test.testNormalRun
Error Message:
expected:<1> but was:<0>
Stack Trace:
junit.framework.AssertionFailedError: expected:<1> but was:<0>
at
org.apache.zookeeper.server.quorum.Zab1_0Test$6.converseWithLeader(Zab1_0Test.java:939)
at
org.apache.zookeeper.server.quorum.Zab1_0Test.testLeaderConversation(Zab1_0Test.java:398)
at
org.apache.zookeeper.server.quorum.Zab1_0Test.testNormalRun(Zab1_0Test.java:906)
at
org.apache.zookeeper.JUnit4ZKTestRunner$LoggedInvokeMethod.evaluate(JUnit4ZKTestRunner.java:79)
FAILED: org.apache.zookeeper.test.ReadOnlyModeTest.testSessionEstablishment
Error Message:
KeeperErrorCode = ConnectionLoss for /test
Stack Trace:
org.apache.zookeeper.KeeperException$ConnectionLossException: KeeperErrorCode =
ConnectionLoss for /test
at org.apache.zookeeper.KeeperException.create(KeeperException.java:99)
at org.apache.zookeeper.KeeperException.create(KeeperException.java:51)
at org.apache.zookeeper.ZooKeeper.create(ZooKeeper.java:1424)
at
org.apache.zookeeper.test.ReadOnlyModeTest.testSessionEstablishment(ReadOnlyModeTest.java:238)
at
org.apache.zookeeper.JUnit4ZKTestRunner$LoggedInvokeMethod.evaluate(JUnit4ZKTestRunner.java:79)
at java.util.concurrent.FutureTask.run(FutureTask.java:262)
at java.lang.Thread.run(Thread.java:745)