See https://builds.apache.org/job/ZooKeeper-trunk-openjdk7/1117/
###################################################################################
########################## LAST 60 LINES OF THE CONSOLE
###########################
[...truncated 445097 lines...]
[junit] 2016-08-05 23:04:05,926 [myid:127.0.0.1:27501] - WARN
[main-SendThread(127.0.0.1:27501):ClientCnxn$SendThread@1235] - Session
0x101623caa4c0000 for server 127.0.0.1/127.0.0.1:27501, 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-05 23:04:06,078 [myid:] - INFO [ProcessThread(sid:0
cport:27624)::PrepRequestProcessor@647] - Processed session termination for
sessionid: 0x101623f991b0000
[junit] 2016-08-05 23:04:06,092 [myid:] - INFO
[SyncThread:0:MBeanRegistry@128] - Unregister MBean
[org.apache.ZooKeeperService:name0=StandaloneServer_port27624,name1=Connections,name2=127.0.0.1,name3=0x101623f991b0000]
[junit] 2016-08-05 23:04:06,093 [myid:] - WARN [New I/O worker
#6635:NettyServerCnxnFactory$CnxnChannelHandler@142] - Exception caught [id:
0x69a44601, /127.0.0.1:42927 :> /127.0.0.1:27624] EXCEPTION:
java.nio.channels.ClosedChannelException
[junit] java.nio.channels.ClosedChannelException
[junit] at
org.jboss.netty.channel.socket.nio.AbstractNioWorker.cleanUpWriteBuffer(AbstractNioWorker.java:433)
[junit] at
org.jboss.netty.channel.socket.nio.AbstractNioWorker.close(AbstractNioWorker.java:373)
[junit] at
org.jboss.netty.channel.socket.nio.NioServerSocketPipelineSink.handleAcceptedSocket(NioServerSocketPipelineSink.java:81)
[junit] at
org.jboss.netty.channel.socket.nio.NioServerSocketPipelineSink.eventSunk(NioServerSocketPipelineSink.java:36)
[junit] at
org.jboss.netty.channel.DefaultChannelPipeline$DefaultChannelHandlerContext.sendDownstream(DefaultChannelPipeline.java:779)
[junit] at
org.jboss.netty.channel.SimpleChannelHandler.closeRequested(SimpleChannelHandler.java:334)
[junit] at
org.jboss.netty.channel.SimpleChannelHandler.handleDownstream(SimpleChannelHandler.java:260)
[junit] at
org.jboss.netty.channel.DefaultChannelPipeline.sendDownstream(DefaultChannelPipeline.java:591)
[junit] at
org.jboss.netty.channel.DefaultChannelPipeline.sendDownstream(DefaultChannelPipeline.java:582)
[junit] at org.jboss.netty.channel.Channels.close(Channels.java:812)
[junit] at
org.jboss.netty.channel.AbstractChannel.close(AbstractChannel.java:206)
[junit] at
org.apache.zookeeper.server.NettyServerCnxn.close(NettyServerCnxn.java:111)
[junit] at
org.apache.zookeeper.server.NettyServerCnxn.sendBuffer(NettyServerCnxn.java:215)
[junit] at
org.apache.zookeeper.server.NettyServerCnxn.sendCloseSession(NettyServerCnxn.java:441)
[junit] at
org.apache.zookeeper.server.FinalRequestProcessor.processRequest(FinalRequestProcessor.java:459)
[junit] at
org.apache.zookeeper.server.SyncRequestProcessor.flush(SyncRequestProcessor.java:182)
[junit] at
org.apache.zookeeper.server.SyncRequestProcessor.run(SyncRequestProcessor.java:113)
[junit] 2016-08-05 23:04:06,193 [myid:] - INFO [main:ZooKeeper@1313] -
Session: 0x101623f991b0000 closed
[junit] 2016-08-05 23:04:06,193 [myid:] - INFO
[main:JUnit4ZKTestRunner$LoggedInvokeMethod@82] - Memory used 205291
[junit] 2016-08-05 23:04:06,194 [myid:] - INFO
[main:JUnit4ZKTestRunner$LoggedInvokeMethod@87] - Number of threads 1641
[junit] 2016-08-05 23:04:06,194 [myid:] - INFO
[main:JUnit4ZKTestRunner$LoggedInvokeMethod@102] - FINISHED TEST METHOD
testWatcherAutoResetWithLocal
[junit] 2016-08-05 23:04:06,194 [myid:] - INFO [main:ClientBase@543] -
tearDown starting
[junit] 2016-08-05 23:04:06,194 [myid:] - INFO [main:ClientBase@513] -
STOPPING server
[junit] 2016-08-05 23:04:06,194 [myid:] - INFO
[main:NettyServerCnxnFactory@464] - shutdown called 0.0.0.0/0.0.0.0:27624
[junit] 2016-08-05 23:04:06,193 [myid:] - INFO
[main-EventThread:ClientCnxn$EventThread@513] - EventThread shut down for
session: 0x101623f991b0000
[junit] 2016-08-05 23:04:06,197 [myid:] - INFO [main:ZooKeeperServer@498]
- shutting down
[junit] 2016-08-05 23:04:06,199 [myid:] - INFO
[main:SessionTrackerImpl@232] - Shutting down
[junit] 2016-08-05 23:04:06,199 [myid:] - INFO
[main:PrepRequestProcessor@965] - Shutting down
[junit] 2016-08-05 23:04:06,199 [myid:] - INFO
[main:SyncRequestProcessor@191] - Shutting down
[junit] 2016-08-05 23:04:06,199 [myid:] - INFO [ProcessThread(sid:0
cport:27624)::PrepRequestProcessor@154] - PrepRequestProcessor exited loop!
[junit] 2016-08-05 23:04:06,199 [myid:] - INFO
[SyncThread:0:SyncRequestProcessor@169] - SyncRequestProcessor exited!
[junit] 2016-08-05 23:04:06,199 [myid:] - INFO
[main:FinalRequestProcessor@479] - shutdown of request processor complete
[junit] 2016-08-05 23:04:06,200 [myid:] - INFO [main:MBeanRegistry@128] -
Unregister MBean
[org.apache.ZooKeeperService:name0=StandaloneServer_port27624,name1=InMemoryDataTree]
[junit] 2016-08-05 23:04:06,200 [myid:] - INFO [main:MBeanRegistry@128] -
Unregister MBean [org.apache.ZooKeeperService:name0=StandaloneServer_port27624]
[junit] 2016-08-05 23:04:06,200 [myid:] - INFO
[main:FourLetterWordMain@85] - connecting to 127.0.0.1 27624
[junit] 2016-08-05 23:04:06,201 [myid:] - INFO [main:JMXEnv@146] -
ensureOnly:[]
[junit] 2016-08-05 23:04:06,206 [myid:] - INFO [main:ClientBase@568] -
fdcount after test is: 4829 at start it was 4833
[junit] 2016-08-05 23:04:06,206 [myid:] - INFO [main:ZKTestCase$1@65] -
SUCCEEDED testWatcherAutoResetWithLocal
[junit] 2016-08-05 23:04:06,206 [myid:] - INFO [main:ZKTestCase$1@60] -
FINISHED testWatcherAutoResetWithLocal
[junit] Tests run: 101, Failures: 0, Errors: 0, Skipped: 0, Time elapsed:
502.17 sec, Thread: 7, Class: org.apache.zookeeper.test.NioNettySuiteTest
BUILD FAILED
/home/jenkins/jenkins-slave/workspace/ZooKeeper-trunk-openjdk7/trunk/build.xml:1207:
Tests failed!
Total time: 12 minutes 49 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.WatcherTest.testWatchAutoResetWithPending
Error Message:
For 68 expected:<1> but was:<0>
Stack Trace:
junit.framework.AssertionFailedError: For 68 expected:<1> but was:<0>
at
org.apache.zookeeper.test.WatcherTest.testWatchAutoResetWithPending(WatcherTest.java:215)
at
org.apache.zookeeper.JUnit4ZKTestRunner$LoggedInvokeMethod.evaluate(JUnit4ZKTestRunner.java:79)