See https://builds.apache.org/job/ZooKeeper-trunk-openjdk7/1129/
###################################################################################
########################## LAST 60 LINES OF THE CONSOLE
###########################
[...truncated 440005 lines...]
[junit] 2016-08-15 20:04:16,847 [myid:127.0.0.1:16732] - INFO
[main-SendThread(127.0.0.1:16732):ClientCnxn$SendThread@1113] - Opening socket
connection to server 127.0.0.1/127.0.0.1:16732. Will not attempt to
authenticate using SASL (unknown error)
[junit] 2016-08-15 20:04:16,848 [myid:127.0.0.1:16732] - WARN
[main-SendThread(127.0.0.1:16732):ClientCnxn$SendThread@1235] - Session
0x2000014635d0000 for server 127.0.0.1/127.0.0.1:16732, 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-08-15 20:04:16,861 [myid:] - INFO [ProcessThread(sid:0
cport:16852)::PrepRequestProcessor@647] - Processed session termination for
sessionid: 0x100001741660000
[junit] 2016-08-15 20:04:16,862 [myid:] - WARN [New I/O worker
#1811:NettyServerCnxnFactory$CnxnChannelHandler@142] - Exception caught [id:
0xc5c40f63, /127.0.0.1:59615 :> /127.0.0.1:16852] EXCEPTION:
java.nio.channels.ClosedChannelException
[junit] java.nio.channels.ClosedChannelException
[junit] at
sun.nio.ch.SocketChannelImpl.ensureWriteOpen(SocketChannelImpl.java:270)
[junit] at
sun.nio.ch.SocketChannelImpl.write(SocketChannelImpl.java:479)
[junit] at
org.jboss.netty.channel.socket.nio.SocketSendBufferPool$UnpooledSendBuffer.transferTo(SocketSendBufferPool.java:203)
[junit] at
org.jboss.netty.channel.socket.nio.AbstractNioWorker.write0(AbstractNioWorker.java:201)
[junit] at
org.jboss.netty.channel.socket.nio.AbstractNioWorker.writeFromTaskLoop(AbstractNioWorker.java:151)
[junit] at
org.jboss.netty.channel.socket.nio.AbstractNioChannel$WriteTask.run(AbstractNioChannel.java:315)
[junit] at
org.jboss.netty.channel.socket.nio.AbstractNioSelector.processTaskQueue(AbstractNioSelector.java:391)
[junit] at
org.jboss.netty.channel.socket.nio.AbstractNioSelector.run(AbstractNioSelector.java:315)
[junit] at
org.jboss.netty.channel.socket.nio.AbstractNioWorker.run(AbstractNioWorker.java:89)
[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] 2016-08-15 20:04:16,862 [myid:] - INFO
[SyncThread:0:MBeanRegistry@128] - Unregister MBean
[org.apache.ZooKeeperService:name0=StandaloneServer_port16852,name1=Connections,name2=127.0.0.1,name3=0x100001741660000]
[junit] 2016-08-15 20:04:16,962 [myid:] - INFO [main:ZooKeeper@1313] -
Session: 0x100001741660000 closed
[junit] 2016-08-15 20:04:16,962 [myid:] - INFO
[main-EventThread:ClientCnxn$EventThread@513] - EventThread shut down for
session: 0x100001741660000
[junit] 2016-08-15 20:04:16,962 [myid:] - INFO
[main:JUnit4ZKTestRunner$LoggedInvokeMethod@82] - Memory used 60856
[junit] 2016-08-15 20:04:16,962 [myid:] - INFO
[main:JUnit4ZKTestRunner$LoggedInvokeMethod@87] - Number of threads 466
[junit] 2016-08-15 20:04:16,963 [myid:] - INFO
[main:JUnit4ZKTestRunner$LoggedInvokeMethod@102] - FINISHED TEST METHOD
testWatcherAutoResetWithLocal
[junit] 2016-08-15 20:04:16,963 [myid:] - INFO [main:ClientBase@543] -
tearDown starting
[junit] 2016-08-15 20:04:16,963 [myid:] - INFO [main:ClientBase@513] -
STOPPING server
[junit] 2016-08-15 20:04:16,963 [myid:] - INFO
[main:NettyServerCnxnFactory@464] - shutdown called 0.0.0.0/0.0.0.0:16852
[junit] 2016-08-15 20:04:16,965 [myid:] - INFO [main:ZooKeeperServer@529]
- shutting down
[junit] 2016-08-15 20:04:16,965 [myid:] - ERROR [main:ZooKeeperServer@501]
- ZKShutdownHandler is not registered, so ZooKeeper server won't take any
action on ERROR or SHUTDOWN server state changes
[junit] 2016-08-15 20:04:16,965 [myid:] - INFO
[main:SessionTrackerImpl@232] - Shutting down
[junit] 2016-08-15 20:04:16,965 [myid:] - INFO
[main:PrepRequestProcessor@965] - Shutting down
[junit] 2016-08-15 20:04:16,965 [myid:] - INFO
[main:SyncRequestProcessor@191] - Shutting down
[junit] 2016-08-15 20:04:16,965 [myid:] - INFO
[SyncThread:0:SyncRequestProcessor@169] - SyncRequestProcessor exited!
[junit] 2016-08-15 20:04:16,965 [myid:] - INFO [ProcessThread(sid:0
cport:16852)::PrepRequestProcessor@154] - PrepRequestProcessor exited loop!
[junit] 2016-08-15 20:04:16,965 [myid:] - INFO
[main:FinalRequestProcessor@479] - shutdown of request processor complete
[junit] 2016-08-15 20:04:16,966 [myid:] - INFO [main:MBeanRegistry@128] -
Unregister MBean
[org.apache.ZooKeeperService:name0=StandaloneServer_port16852,name1=InMemoryDataTree]
[junit] 2016-08-15 20:04:16,966 [myid:] - INFO [main:MBeanRegistry@128] -
Unregister MBean [org.apache.ZooKeeperService:name0=StandaloneServer_port16852]
[junit] 2016-08-15 20:04:16,966 [myid:] - INFO
[main:FourLetterWordMain@85] - connecting to 127.0.0.1 16852
[junit] 2016-08-15 20:04:16,966 [myid:] - INFO [main:JMXEnv@146] -
ensureOnly:[]
[junit] 2016-08-15 20:04:16,970 [myid:] - INFO [main:ClientBase@568] -
fdcount after test is: 1368 at start it was 1372
[junit] 2016-08-15 20:04:16,970 [myid:] - INFO [main:ZKTestCase$1@65] -
SUCCEEDED testWatcherAutoResetWithLocal
[junit] 2016-08-15 20:04:16,970 [myid:] - INFO [main:ZKTestCase$1@60] -
FINISHED testWatcherAutoResetWithLocal
[junit] Tests run: 101, Failures: 0, Errors: 0, Skipped: 0, Time elapsed:
430.021 sec, Thread: 3, Class: org.apache.zookeeper.test.NioNettySuiteTest
BUILD FAILED
/home/jenkins/jenkins-slave/workspace/ZooKeeper-trunk-openjdk7/trunk/build.xml:1207:
Tests failed!
Total time: 11 minutes 1 second
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.server.quorum.RaceConditionTest.testRaceConditionBetweenLeaderAndAckRequestProcessor
Error Message:
Leader failed to transition to LOOKING or FOLLOWING state
Stack Trace:
junit.framework.AssertionFailedError: Leader failed to transition to LOOKING or
FOLLOWING state
at
org.apache.zookeeper.server.quorum.RaceConditionTest.testRaceConditionBetweenLeaderAndAckRequestProcessor(RaceConditionTest.java:74)
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)