See https://builds.apache.org/job/ZooKeeper-trunk-jdk8/647/
###################################################################################
########################## LAST 60 LINES OF THE CONSOLE
###########################
[...truncated 449734 lines...]
[junit] 2016-06-24 11:57:53,150 [myid:] - INFO [ProcessThread(sid:0
cport:24931)::PrepRequestProcessor@647] - Processed session termination for
sessionid: 0x100db7b55d30000
[junit] 2016-06-24 11:57:53,166 [myid:] - WARN [New I/O worker
#6635:NettyServerCnxnFactory$CnxnChannelHandler@142] - Exception caught [id:
0x544e9fe3, /127.0.0.1:38088 :> /127.0.0.1:24931] EXCEPTION:
java.nio.channels.ClosedChannelException
[junit] java.nio.channels.ClosedChannelException
[junit] at
sun.nio.ch.SocketChannelImpl.ensureWriteOpen(SocketChannelImpl.java:265)
[junit] at
sun.nio.ch.SocketChannelImpl.write(SocketChannelImpl.java:456)
[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:1142)
[junit] at
java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
[junit] at java.lang.Thread.run(Thread.java:744)
[junit] 2016-06-24 11:57:53,166 [myid:] - INFO
[SyncThread:0:MBeanRegistry@128] - Unregister MBean
[org.apache.ZooKeeperService:name0=StandaloneServer_port24931,name1=Connections,name2=127.0.0.1,name3=0x100db7b55d30000]
[junit] 2016-06-24 11:57:53,191 [myid:127.0.0.1:24808] - INFO
[main-SendThread(127.0.0.1:24808):ClientCnxn$SendThread@1113] - Opening socket
connection to server 127.0.0.1/127.0.0.1:24808. Will not attempt to
authenticate using SASL (unknown error)
[junit] 2016-06-24 11:57:53,191 [myid:127.0.0.1:24808] - WARN
[main-SendThread(127.0.0.1:24808):ClientCnxn$SendThread@1235] - Session
0x100db785e930000 for server 127.0.0.1/127.0.0.1:24808, 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:712)
[junit] at
org.apache.zookeeper.ClientCnxnSocketNIO.doTransport(ClientCnxnSocketNIO.java:357)
[junit] at
org.apache.zookeeper.ClientCnxn$SendThread.run(ClientCnxn.java:1214)
[junit] 2016-06-24 11:57:53,266 [myid:] - INFO [main:ZooKeeper@1313] -
Session: 0x100db7b55d30000 closed
[junit] 2016-06-24 11:57:53,266 [myid:] - INFO
[main-EventThread:ClientCnxn$EventThread@513] - EventThread shut down for
session: 0x100db7b55d30000
[junit] 2016-06-24 11:57:53,268 [myid:] - INFO
[main:JUnit4ZKTestRunner$LoggedInvokeMethod@82] - Memory used 149498
[junit] 2016-06-24 11:57:53,268 [myid:] - INFO
[main:JUnit4ZKTestRunner$LoggedInvokeMethod@87] - Number of threads 1640
[junit] 2016-06-24 11:57:53,268 [myid:] - INFO
[main:JUnit4ZKTestRunner$LoggedInvokeMethod@102] - FINISHED TEST METHOD
testWatcherAutoResetWithLocal
[junit] 2016-06-24 11:57:53,268 [myid:] - INFO [main:ClientBase@543] -
tearDown starting
[junit] 2016-06-24 11:57:53,268 [myid:] - INFO [main:ClientBase@513] -
STOPPING server
[junit] 2016-06-24 11:57:53,268 [myid:] - INFO
[main:NettyServerCnxnFactory@464] - shutdown called 0.0.0.0/0.0.0.0:24931
[junit] 2016-06-24 11:57:53,272 [myid:] - INFO [main:ZooKeeperServer@498]
- shutting down
[junit] 2016-06-24 11:57:53,273 [myid:] - INFO
[main:SessionTrackerImpl@232] - Shutting down
[junit] 2016-06-24 11:57:53,273 [myid:] - INFO
[main:PrepRequestProcessor@965] - Shutting down
[junit] 2016-06-24 11:57:53,273 [myid:] - INFO
[main:SyncRequestProcessor@191] - Shutting down
[junit] 2016-06-24 11:57:53,273 [myid:] - INFO [ProcessThread(sid:0
cport:24931)::PrepRequestProcessor@154] - PrepRequestProcessor exited loop!
[junit] 2016-06-24 11:57:53,273 [myid:] - INFO
[SyncThread:0:SyncRequestProcessor@169] - SyncRequestProcessor exited!
[junit] 2016-06-24 11:57:53,274 [myid:] - INFO
[main:FinalRequestProcessor@479] - shutdown of request processor complete
[junit] 2016-06-24 11:57:53,274 [myid:] - INFO [main:MBeanRegistry@128] -
Unregister MBean
[org.apache.ZooKeeperService:name0=StandaloneServer_port24931,name1=InMemoryDataTree]
[junit] 2016-06-24 11:57:53,274 [myid:] - INFO [main:MBeanRegistry@128] -
Unregister MBean [org.apache.ZooKeeperService:name0=StandaloneServer_port24931]
[junit] 2016-06-24 11:57:53,274 [myid:] - INFO
[main:FourLetterWordMain@85] - connecting to 127.0.0.1 24931
[junit] 2016-06-24 11:57:53,275 [myid:] - INFO [main:JMXEnv@146] -
ensureOnly:[]
[junit] 2016-06-24 11:57:53,286 [myid:] - INFO [main:ClientBase@568] -
fdcount after test is: 4834 at start it was 4834
[junit] 2016-06-24 11:57:53,286 [myid:] - INFO [main:ZKTestCase$1@65] -
SUCCEEDED testWatcherAutoResetWithLocal
[junit] 2016-06-24 11:57:53,286 [myid:] - INFO [main:ZKTestCase$1@60] -
FINISHED testWatcherAutoResetWithLocal
[junit] Tests run: 101, Failures: 0, Errors: 0, Skipped: 0, Time elapsed:
532.557 sec, Thread: 6, Class: org.apache.zookeeper.test.NioNettySuiteTest
BUILD FAILED
/home/jenkins/jenkins-slave/workspace/ZooKeeper-trunk-jdk8/trunk/build.xml:1207:
Tests failed!
Total time: 13 minutes 25 seconds
Build step 'Invoke Ant' marked build as failure
[WARNINGS] Skipping publisher since build result is 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.AsyncHammerTest.testHammer
Error Message:
unable to create new native thread
Stack Trace:
java.lang.OutOfMemoryError: unable to create new native thread
at java.lang.Thread.start0(Native Method)
at java.lang.Thread.start(Thread.java:713)
at
org.apache.zookeeper.test.AsyncHammerTest.testHammer(AsyncHammerTest.java:177)
at
org.apache.zookeeper.JUnit4ZKTestRunner$LoggedInvokeMethod.evaluate(JUnit4ZKTestRunner.java:79)
FAILED: org.apache.zookeeper.test.AsyncHammerTest.testObserversHammer
Error Message:
unable to create new native thread
Stack Trace:
java.lang.OutOfMemoryError: unable to create new native thread
at java.lang.Thread.start0(Native Method)
at java.lang.Thread.start(Thread.java:713)
at
java.util.concurrent.ThreadPoolExecutor.addWorker(ThreadPoolExecutor.java:950)
at
java.util.concurrent.ThreadPoolExecutor.execute(ThreadPoolExecutor.java:1368)
at
org.jboss.netty.util.internal.DeadLockProofWorker.start(DeadLockProofWorker.java:38)
at
org.jboss.netty.channel.socket.nio.AbstractNioSelector.openSelector(AbstractNioSelector.java:368)
at
org.jboss.netty.channel.socket.nio.AbstractNioSelector.<init>(AbstractNioSelector.java:100)
at
org.jboss.netty.channel.socket.nio.AbstractNioWorker.<init>(AbstractNioWorker.java:52)
at
org.jboss.netty.channel.socket.nio.NioWorker.<init>(NioWorker.java:45)
at
org.jboss.netty.channel.socket.nio.NioWorkerPool.newWorker(NioWorkerPool.java:44)
at
org.jboss.netty.channel.socket.nio.NioWorkerPool.newWorker(NioWorkerPool.java:28)
at
org.jboss.netty.channel.socket.nio.AbstractNioWorkerPool.init(AbstractNioWorkerPool.java:80)
at
org.jboss.netty.channel.socket.nio.NioWorkerPool.<init>(NioWorkerPool.java:39)
at
org.jboss.netty.channel.socket.nio.NioWorkerPool.<init>(NioWorkerPool.java:33)
at
org.jboss.netty.channel.socket.nio.NioServerSocketChannelFactory.<init>(NioServerSocketChannelFactory.java:149)
at
org.jboss.netty.channel.socket.nio.NioServerSocketChannelFactory.<init>(NioServerSocketChannelFactory.java:131)
at
org.jboss.netty.channel.socket.nio.NioServerSocketChannelFactory.<init>(NioServerSocketChannelFactory.java:115)
at
org.apache.zookeeper.server.NettyServerCnxnFactory.<init>(NettyServerCnxnFactory.java:332)
at java.lang.reflect.Constructor.newInstance(Constructor.java:408)
at java.lang.Class.newInstance(Class.java:433)
at
org.apache.zookeeper.server.ServerCnxnFactory.createFactory(ServerCnxnFactory.java:134)
at
org.apache.zookeeper.server.ServerCnxnFactory.createFactory(ServerCnxnFactory.java:152)
at
org.apache.zookeeper.server.quorum.QuorumPeer.<init>(QuorumPeer.java:863)
at
org.apache.zookeeper.test.QuorumBase.startServers(QuorumBase.java:178)
at org.apache.zookeeper.test.QuorumBase.setUp(QuorumBase.java:120)
at
org.apache.zookeeper.test.AsyncHammerTest.setUp(AsyncHammerTest.java:52)
at
org.apache.zookeeper.test.AsyncHammerTest.testObserversHammer(AsyncHammerTest.java:203)
at
org.apache.zookeeper.JUnit4ZKTestRunner$LoggedInvokeMethod.evaluate(JUnit4ZKTestRunner.java:79)