See https://builds.apache.org/job/ZooKeeper_branch35_openjdk7/343/
################################################################################### ########################## LAST 60 LINES OF THE CONSOLE ########################### [...truncated 478238 lines...] [junit] at org.apache.zookeeper.ClientCnxnSocketNIO.doTransport(ClientCnxnSocketNIO.java:357) [junit] at org.apache.zookeeper.ClientCnxn$SendThread.run(ClientCnxn.java:1214) [junit] 2016-12-22 20:06:47,329 [myid:127.0.0.1:27504] - INFO [main-SendThread(127.0.0.1:27504):ClientCnxn$SendThread@1113] - Opening socket connection to server 127.0.0.1/127.0.0.1:27504. Will not attempt to authenticate using SASL (unknown error) [junit] 2016-12-22 20:06:47,330 [myid:127.0.0.1:27504] - WARN [main-SendThread(127.0.0.1:27504):ClientCnxn$SendThread@1235] - Session 0x200e84c59f60000 for server 127.0.0.1/127.0.0.1:27504, 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] 2016-12-22 20:06:47,671 [myid:127.0.0.1:27380] - INFO [main-SendThread(127.0.0.1:27380):ClientCnxn$SendThread@1113] - Opening socket connection to server 127.0.0.1/127.0.0.1:27380. Will not attempt to authenticate using SASL (unknown error) [junit] 2016-12-22 20:06:47,672 [myid:127.0.0.1:27380] - WARN [main-SendThread(127.0.0.1:27380):ClientCnxn$SendThread@1235] - Session 0x100e84889000000 for server 127.0.0.1/127.0.0.1:27380, 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] 2016-12-22 20:06:48,205 [myid:] - INFO [ProcessThread(sid:0 cport:27624)::PrepRequestProcessor@656] - Processed session termination for sessionid: 0x100e84f5da50000 [junit] 2016-12-22 20:06:48,209 [myid:] - INFO [New I/O worker #1811:MBeanRegistry@128] - Unregister MBean [org.apache.ZooKeeperService:name0=StandaloneServer_port27624,name1=Connections,name2=127.0.0.1,name3=0x100e84f5da50000] [junit] 2016-12-22 20:06:48,209 [myid:] - INFO [main:ZooKeeper@1311] - Session: 0x100e84f5da50000 closed [junit] 2016-12-22 20:06:48,209 [myid:] - INFO [main-EventThread:ClientCnxn$EventThread@513] - EventThread shut down for session: 0x100e84f5da50000 [junit] 2016-12-22 20:06:48,209 [myid:] - INFO [main:JUnit4ZKTestRunner$LoggedInvokeMethod@82] - Memory used 62364 [junit] 2016-12-22 20:06:48,210 [myid:] - INFO [main:JUnit4ZKTestRunner$LoggedInvokeMethod@87] - Number of threads 467 [junit] 2016-12-22 20:06:48,210 [myid:] - INFO [main:JUnit4ZKTestRunner$LoggedInvokeMethod@102] - FINISHED TEST METHOD testWatcherAutoResetWithLocal [junit] 2016-12-22 20:06:48,210 [myid:] - INFO [main:ClientBase@543] - tearDown starting [junit] 2016-12-22 20:06:48,210 [myid:] - INFO [main:ClientBase@513] - STOPPING server [junit] 2016-12-22 20:06:48,210 [myid:] - INFO [main:NettyServerCnxnFactory@464] - shutdown called 0.0.0.0/0.0.0.0:27624 [junit] 2016-12-22 20:06:48,214 [myid:] - INFO [main:ZooKeeperServer@533] - shutting down [junit] 2016-12-22 20:06:48,214 [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] 2016-12-22 20:06:48,214 [myid:] - INFO [main:SessionTrackerImpl@232] - Shutting down [junit] 2016-12-22 20:06:48,215 [myid:] - INFO [main:PrepRequestProcessor@974] - Shutting down [junit] 2016-12-22 20:06:48,215 [myid:] - INFO [ProcessThread(sid:0 cport:27624)::PrepRequestProcessor@154] - PrepRequestProcessor exited loop! [junit] 2016-12-22 20:06:48,215 [myid:] - INFO [main:SyncRequestProcessor@191] - Shutting down [junit] 2016-12-22 20:06:48,215 [myid:] - INFO [SyncThread:0:SyncRequestProcessor@169] - SyncRequestProcessor exited! [junit] 2016-12-22 20:06:48,216 [myid:] - INFO [main:FinalRequestProcessor@479] - shutdown of request processor complete [junit] 2016-12-22 20:06:48,216 [myid:] - INFO [main:MBeanRegistry@128] - Unregister MBean [org.apache.ZooKeeperService:name0=StandaloneServer_port27624,name1=InMemoryDataTree] [junit] 2016-12-22 20:06:48,216 [myid:] - INFO [main:MBeanRegistry@128] - Unregister MBean [org.apache.ZooKeeperService:name0=StandaloneServer_port27624] [junit] 2016-12-22 20:06:48,217 [myid:] - INFO [main:FourLetterWordMain@85] - connecting to 127.0.0.1 27624 [junit] 2016-12-22 20:06:48,217 [myid:] - INFO [main:JMXEnv@146] - ensureOnly:[] [junit] 2016-12-22 20:06:48,224 [myid:] - INFO [main:ClientBase@568] - fdcount after test is: 1374 at start it was 1374 [junit] 2016-12-22 20:06:48,225 [myid:] - INFO [main:ZKTestCase$1@65] - SUCCEEDED testWatcherAutoResetWithLocal [junit] 2016-12-22 20:06:48,225 [myid:] - INFO [main:ZKTestCase$1@60] - FINISHED testWatcherAutoResetWithLocal [junit] Tests run: 101, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 454.245 sec, Thread: 7, Class: org.apache.zookeeper.test.NioNettySuiteTest [junit] 2016-12-22 20:06:48,825 [myid:] - INFO [SessionTracker:SessionTrackerImpl@158] - SessionTrackerImpl exited loop! [junit] 2016-12-22 20:06:48,851 [myid:127.0.0.1:27504] - INFO [main-SendThread(127.0.0.1:27504):ClientCnxn$SendThread@1113] - Opening socket connection to server 127.0.0.1/127.0.0.1:27504. Will not attempt to authenticate using SASL (unknown error) [junit] 2016-12-22 20:06:48,852 [myid:127.0.0.1:27504] - WARN [main-SendThread(127.0.0.1:27504):ClientCnxn$SendThread@1235] - Session 0x200e84c59f60000 for server 127.0.0.1/127.0.0.1:27504, 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_branch35_openjdk7/build.xml:1208: Tests failed! Total time: 11 minutes 43 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.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) FAILED: org.apache.zookeeper.ServerConfigTest.testValidArguments Error Message: expected: java.lang.String</data/dir> but was: java.io.File</data/dir> Stack Trace: junit.framework.AssertionFailedError: expected: java.lang.String</data/dir> but was: java.io.File</data/dir> at org.apache.zookeeper.ServerConfigTest.testValidArguments(ServerConfigTest.java:48)