See https://builds.apache.org/job/ZooKeeper_branch35_jdk7/1064/
################################################################################### ########################## LAST 60 LINES OF THE CONSOLE ########################### [...truncated 68.34 MB...] [junit] 2017-08-01 08:49:54,086 [myid:] - INFO [main:ClientBase@586] - tearDown starting [junit] 2017-08-01 08:49:54,086 [myid:] - INFO [main:ClientBase@556] - STOPPING server [junit] 2017-08-01 08:49:54,086 [myid:] - INFO [main:NettyServerCnxnFactory@464] - shutdown called 0.0.0.0/0.0.0.0:16854 [junit] 2017-08-01 08:49:54,088 [myid:] - INFO [main:ZooKeeperServer@541] - shutting down [junit] 2017-08-01 08:49:54,088 [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-08-01 08:49:54,088 [myid:] - INFO [main:SessionTrackerImpl@232] - Shutting down [junit] 2017-08-01 08:49:54,089 [myid:] - INFO [main:PrepRequestProcessor@1005] - Shutting down [junit] 2017-08-01 08:49:54,089 [myid:] - INFO [main:SyncRequestProcessor@191] - Shutting down [junit] 2017-08-01 08:49:54,089 [myid:] - INFO [ProcessThread(sid:0 cport:16854)::PrepRequestProcessor@155] - PrepRequestProcessor exited loop! [junit] 2017-08-01 08:49:54,089 [myid:] - INFO [SyncThread:0:SyncRequestProcessor@169] - SyncRequestProcessor exited! [junit] 2017-08-01 08:49:54,089 [myid:] - INFO [main:FinalRequestProcessor@481] - shutdown of request processor complete [junit] 2017-08-01 08:49:54,090 [myid:] - INFO [main:MBeanRegistry@128] - Unregister MBean [org.apache.ZooKeeperService:name0=StandaloneServer_port16854,name1=InMemoryDataTree] [junit] 2017-08-01 08:49:54,090 [myid:] - INFO [main:MBeanRegistry@128] - Unregister MBean [org.apache.ZooKeeperService:name0=StandaloneServer_port16854] [junit] 2017-08-01 08:49:54,090 [myid:] - INFO [main:FourLetterWordMain@87] - connecting to 127.0.0.1 16854 [junit] 2017-08-01 08:49:54,091 [myid:] - INFO [main:JMXEnv@146] - ensureOnly:[] [junit] 2017-08-01 08:49:54,103 [myid:] - INFO [main:ClientBase@611] - fdcount after test is: 2567 at start it was 2567 [junit] 2017-08-01 08:49:54,103 [myid:] - INFO [main:ZKTestCase$1@68] - SUCCEEDED testWatcherAutoResetWithLocal [junit] 2017-08-01 08:49:54,103 [myid:] - INFO [main:ZKTestCase$1@63] - FINISHED testWatcherAutoResetWithLocal [junit] Tests run: 103, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 416.923 sec, Thread: 3, Class: org.apache.zookeeper.test.NioNettySuiteTest [junit] 2017-08-01 08:49:54,166 [myid:127.0.0.1:16731] - INFO [main-SendThread(127.0.0.1:16731):ClientCnxn$SendThread@1113] - Opening socket connection to server 127.0.0.1/127.0.0.1:16731. Will not attempt to authenticate using SASL (unknown error) [junit] 2017-08-01 08:49:54,167 [myid:127.0.0.1:16731] - WARN [main-SendThread(127.0.0.1:16731):ClientCnxn$SendThread@1235] - Session 0x105166af50f0000 for server 127.0.0.1/127.0.0.1:16731, 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-08-01 08:49:54,200 [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-08-01 08:49:54,201 [myid:127.0.0.1:16672] - WARN [main-SendThread(127.0.0.1:16672):ClientCnxn$SendThread@1235] - Session 0x1051668c0a90000 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) [junit] 2017-08-01 08:49:54,327 [myid:127.0.0.1:16737] - INFO [main-SendThread(127.0.0.1:16737):ClientCnxn$SendThread@1113] - Opening socket connection to server 127.0.0.1/127.0.0.1:16737. Will not attempt to authenticate using SASL (unknown error) [junit] 2017-08-01 08:49:54,328 [myid:127.0.0.1:16737] - WARN [main-SendThread(127.0.0.1:16737):ClientCnxn$SendThread@1235] - Session 0x305166af5130000 for server 127.0.0.1/127.0.0.1:16737, 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-08-01 08:49:54,341 [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-08-01 08:49:54,341 [myid:127.0.0.1:16608] - WARN [main-SendThread(127.0.0.1:16608):ClientCnxn$SendThread@1235] - Session 0x1051667f54d0000 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: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_branch35_jdk7/build.xml:1226: The following error occurred while executing this line: /home/jenkins/jenkins-slave/workspace/ZooKeeper_branch35_jdk7/build.xml:1230: Tests failed! Total time: 11 minutes 46 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.test.FLETest.testTripleElection Error Message: Fewer than a a majority has joined Stack Trace: junit.framework.AssertionFailedError: Fewer than a a majority has joined at org.apache.zookeeper.test.FLETest.runElection(FLETest.java:361) at org.apache.zookeeper.test.FLETest.testTripleElection(FLETest.java:286) at org.apache.zookeeper.JUnit4ZKTestRunner$LoggedInvokeMethod.evaluate(JUnit4ZKTestRunner.java:79)