See https://builds.apache.org/job/ZooKeeper-trunk/3538/
################################################################################### ########################## LAST 60 LINES OF THE CONSOLE ########################### [...truncated 66.53 MB...] [junit] at org.jboss.netty.channel.socket.nio.NioWorker.run(NioWorker.java:178) [junit] at org.jboss.netty.util.ThreadRenamingRunnable.run(ThreadRenamingRunnable.java:108) [junit] at org.jboss.netty.util.internal.DeadLockProofWorker$1.run(DeadLockProofWorker.java:42) [junit] at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145) [junit] at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615) [junit] at java.lang.Thread.run(Thread.java:745) [junit] 2017-09-15 23:27:07,057 [myid:] - INFO [main:JUnit4ZKTestRunner$LoggedInvokeMethod@87] - Number of threads 2431 [junit] 2017-09-15 23:27:07,057 [myid:] - INFO [main:JUnit4ZKTestRunner$LoggedInvokeMethod@102] - FINISHED TEST METHOD testWatcherAutoResetWithLocal [junit] 2017-09-15 23:27:07,057 [myid:] - INFO [main:ClientBase@601] - tearDown starting [junit] 2017-09-15 23:27:07,057 [myid:] - INFO [main:ClientBase@571] - STOPPING server [junit] 2017-09-15 23:27:07,057 [myid:] - INFO [main:NettyServerCnxnFactory@464] - shutdown called 0.0.0.0/0.0.0.0:16854 [junit] 2017-09-15 23:27:07,060 [myid:] - INFO [main:ZooKeeperServer@545] - shutting down [junit] 2017-09-15 23:27:07,060 [myid:] - ERROR [main:ZooKeeperServer@509] - ZKShutdownHandler is not registered, so ZooKeeper server won't take any action on ERROR or SHUTDOWN server state changes [junit] 2017-09-15 23:27:07,060 [myid:] - INFO [main:SessionTrackerImpl@232] - Shutting down [junit] 2017-09-15 23:27:07,060 [myid:] - INFO [main:PrepRequestProcessor@1010] - Shutting down [junit] 2017-09-15 23:27:07,060 [myid:] - INFO [main:SyncRequestProcessor@191] - Shutting down [junit] 2017-09-15 23:27:07,060 [myid:] - INFO [ProcessThread(sid:0 cport:16854)::PrepRequestProcessor@155] - PrepRequestProcessor exited loop! [junit] 2017-09-15 23:27:07,060 [myid:] - INFO [SyncThread:0:SyncRequestProcessor@169] - SyncRequestProcessor exited! [junit] 2017-09-15 23:27:07,060 [myid:] - INFO [main:FinalRequestProcessor@481] - shutdown of request processor complete [junit] 2017-09-15 23:27:07,061 [myid:] - INFO [main:MBeanRegistry@128] - Unregister MBean [org.apache.ZooKeeperService:name0=StandaloneServer_port16854,name1=InMemoryDataTree] [junit] 2017-09-15 23:27:07,061 [myid:] - INFO [main:MBeanRegistry@128] - Unregister MBean [org.apache.ZooKeeperService:name0=StandaloneServer_port16854] [junit] 2017-09-15 23:27:07,061 [myid:] - INFO [main:FourLetterWordMain@87] - connecting to 127.0.0.1 16854 [junit] 2017-09-15 23:27:07,061 [myid:] - INFO [main:JMXEnv@146] - ensureOnly:[] [junit] 2017-09-15 23:27:07,069 [myid:] - INFO [main:ClientBase@626] - fdcount after test is: 7147 at start it was 7147 [junit] 2017-09-15 23:27:07,069 [myid:] - INFO [main:ZKTestCase$1@68] - SUCCEEDED testWatcherAutoResetWithLocal [junit] 2017-09-15 23:27:07,097 [myid:] - INFO [main:ZKTestCase$1@63] - FINISHED testWatcherAutoResetWithLocal [junit] Tests run: 105, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 420.415 sec, Thread: 3, Class: org.apache.zookeeper.test.NioNettySuiteTest [junit] 2017-09-15 23:27:07,290 [myid:127.0.0.1:16672] - INFO [main-SendThread(127.0.0.1:16672):ClientCnxn$SendThread@1113] - Opening socket connection to server 127.0.0.1/127.0.0.1:16672. Will not attempt to authenticate using SASL (unknown error) [junit] 2017-09-15 23:27:07,291 [myid:127.0.0.1:16672] - WARN [main-SendThread(127.0.0.1:16672):ClientCnxn$SendThread@1235] - Session 0x106b1888ec40000 for server 127.0.0.1/127.0.0.1:16672, 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-trunk/build.xml:1339: The following error occurred while executing this line: /home/jenkins/jenkins-slave/workspace/ZooKeeper-trunk/build.xml:1220: The following error occurred while executing this line: /home/jenkins/jenkins-slave/workspace/ZooKeeper-trunk/build.xml:1224: Tests failed! Total time: 10 minutes 41 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.ReconfigFailureCasesTest.testLeaderTimesoutOnNewQuorum Error Message: expected:<[leaderelection]> but was:<[following]> Stack Trace: junit.framework.AssertionFailedError: expected:<[leaderelection]> but was:<[following]> at org.apache.zookeeper.server.quorum.ReconfigFailureCasesTest.testLeaderTimesoutOnNewQuorum(ReconfigFailureCasesTest.java:198) at org.apache.zookeeper.JUnit4ZKTestRunner$LoggedInvokeMethod.evaluate(JUnit4ZKTestRunner.java:79)