See https://builds.apache.org/job/ZooKeeper-trunk/3239/
################################################################################### ########################## LAST 60 LINES OF THE CONSOLE ########################### [...truncated 479467 lines...] [junit] 2017-01-15 23:26:50,796 [myid:] - INFO [main-EventThread:ClientCnxn$EventThread@513] - EventThread shut down for session: 0x102383076e10000 [junit] 2017-01-15 23:26:50,796 [myid:] - INFO [main:JUnit4ZKTestRunner$LoggedInvokeMethod@87] - Number of threads 1644 [junit] 2017-01-15 23:26:50,796 [myid:] - INFO [main:JUnit4ZKTestRunner$LoggedInvokeMethod@102] - FINISHED TEST METHOD testWatcherAutoResetWithLocal [junit] 2017-01-15 23:26:50,797 [myid:] - INFO [main:ClientBase@558] - tearDown starting [junit] 2017-01-15 23:26:50,797 [myid:] - INFO [main:ClientBase@528] - STOPPING server [junit] 2017-01-15 23:26:50,797 [myid:] - INFO [main:NettyServerCnxnFactory@464] - shutdown called 0.0.0.0/0.0.0.0:11468 [junit] 2017-01-15 23:26:50,800 [myid:] - INFO [main:ZooKeeperServer@534] - shutting down [junit] 2017-01-15 23:26:50,800 [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-01-15 23:26:50,800 [myid:] - INFO [main:SessionTrackerImpl@232] - Shutting down [junit] 2017-01-15 23:26:50,800 [myid:] - INFO [main:PrepRequestProcessor@1009] - Shutting down [junit] 2017-01-15 23:26:50,800 [myid:] - INFO [main:SyncRequestProcessor@191] - Shutting down [junit] 2017-01-15 23:26:50,800 [myid:] - INFO [ProcessThread(sid:0 cport:11468)::PrepRequestProcessor@157] - PrepRequestProcessor exited loop! [junit] 2017-01-15 23:26:50,800 [myid:] - INFO [SyncThread:0:SyncRequestProcessor@169] - SyncRequestProcessor exited! [junit] 2017-01-15 23:26:50,800 [myid:] - INFO [main:FinalRequestProcessor@481] - shutdown of request processor complete [junit] 2017-01-15 23:26:50,801 [myid:] - INFO [main:MBeanRegistry@128] - Unregister MBean [org.apache.ZooKeeperService:name0=StandaloneServer_port11468,name1=InMemoryDataTree] [junit] 2017-01-15 23:26:50,801 [myid:] - INFO [main:MBeanRegistry@128] - Unregister MBean [org.apache.ZooKeeperService:name0=StandaloneServer_port11468] [junit] 2017-01-15 23:26:50,801 [myid:] - INFO [main:FourLetterWordMain@85] - connecting to 127.0.0.1 11468 [junit] 2017-01-15 23:26:50,801 [myid:] - INFO [main:JMXEnv@146] - ensureOnly:[] [junit] 2017-01-15 23:26:50,806 [myid:] - INFO [main:ClientBase@583] - fdcount after test is: 4827 at start it was 4823 [junit] 2017-01-15 23:26:50,806 [myid:] - INFO [main:ClientBase@585] - sleeping for 20 secs [junit] 2017-01-15 23:26:50,806 [myid:] - INFO [main:ZKTestCase$1@65] - SUCCEEDED testWatcherAutoResetWithLocal [junit] 2017-01-15 23:26:50,806 [myid:] - INFO [main:ZKTestCase$1@60] - FINISHED testWatcherAutoResetWithLocal [junit] Tests run: 103, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 463.285 sec, Thread: 1, Class: org.apache.zookeeper.test.NioNettySuiteTest [junit] 2017-01-15 23:26:50,826 [myid:127.0.0.1:11222] - INFO [main-SendThread(127.0.0.1:11222):ClientCnxn$SendThread@1113] - Opening socket connection to server 127.0.0.1/127.0.0.1:11222. Will not attempt to authenticate using SASL (unknown error) [junit] 2017-01-15 23:26:50,826 [myid:127.0.0.1:11222] - WARN [main-SendThread(127.0.0.1:11222):ClientCnxn$SendThread@1235] - Session 0x10238297cc00000 for server 127.0.0.1/127.0.0.1:11222, 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-01-15 23:26:50,862 [myid:127.0.0.1:11351] - INFO [main-SendThread(127.0.0.1:11351):ClientCnxn$SendThread@1113] - Opening socket connection to server 127.0.0.1/127.0.0.1:11351. Will not attempt to authenticate using SASL (unknown error) [junit] 2017-01-15 23:26:50,863 [myid:127.0.0.1:11351] - WARN [main-SendThread(127.0.0.1:11351):ClientCnxn$SendThread@1235] - Session 0x302382d44100000 for server 127.0.0.1/127.0.0.1:11351, 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-trunk/build.xml:1326: The following error occurred while executing this line: /home/jenkins/jenkins-slave/workspace/ZooKeeper-trunk/build.xml:1211: Tests failed! Total time: 10 minutes 52 seconds Build step 'Execute shell' marked build as failure [FINDBUGS] Skipping publisher since build result is FAILURE [WARNINGS] Skipping publisher since build result is FAILURE Archiving artifacts Setting JDK_1_7_LATEST__HOME=/home/jenkins/tools/java/latest1.7 Recording fingerprints Setting JDK_1_7_LATEST__HOME=/home/jenkins/tools/java/latest1.7 Recording test results Setting JDK_1_7_LATEST__HOME=/home/jenkins/tools/java/latest1.7 Publishing Javadoc Setting JDK_1_7_LATEST__HOME=/home/jenkins/tools/java/latest1.7 Setting JDK_1_7_LATEST__HOME=/home/jenkins/tools/java/latest1.7 Email was triggered for: Failure - Any Sending email for trigger: Failure - Any Setting JDK_1_7_LATEST__HOME=/home/jenkins/tools/java/latest1.7 Setting JDK_1_7_LATEST__HOME=/home/jenkins/tools/java/latest1.7 ################################################################################### ############################## FAILED TESTS (if any) ############################## 1 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:912) at org.apache.zookeeper.server.quorum.Zab1_0Test.testLeaderConversation(Zab1_0Test.java:395) at org.apache.zookeeper.server.quorum.Zab1_0Test.testNormalRun(Zab1_0Test.java:879) at org.apache.zookeeper.JUnit4ZKTestRunner$LoggedInvokeMethod.evaluate(JUnit4ZKTestRunner.java:79)