See https://builds.apache.org/job/ZooKeeper-trunk-jdk8/1261/
###################################################################################
########################## LAST 60 LINES OF THE CONSOLE
###########################
[...truncated 65.63 MB...]
[junit] java.net.ConnectException: Connection refused
[junit] at sun.nio.ch.SocketChannelImpl.checkConnect(Native Method)
[junit] at
sun.nio.ch.SocketChannelImpl.finishConnect(SocketChannelImpl.java:717)
[junit] at
org.apache.zookeeper.ClientCnxnSocketNIO.doTransport(ClientCnxnSocketNIO.java:357)
[junit] at
org.apache.zookeeper.ClientCnxn$SendThread.run(ClientCnxn.java:1214)
[junit] 2017-11-01 11:53:53,651 [myid:127.0.0.1:16657] - INFO
[main-SendThread(127.0.0.1:16657):ClientCnxn$SendThread@1113] - Opening socket
connection to server 127.0.0.1/127.0.0.1:16657. Will not attempt to
authenticate using SASL (unknown error)
[junit] 2017-11-01 11:53:53,651 [myid:127.0.0.1:16657] - WARN
[main-SendThread(127.0.0.1:16657):ClientCnxn$SendThread@1235] - Session
0x107a29ae5ef0001 for server 127.0.0.1/127.0.0.1:16657, 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:717)
[junit] at
org.apache.zookeeper.ClientCnxnSocketNIO.doTransport(ClientCnxnSocketNIO.java:357)
[junit] at
org.apache.zookeeper.ClientCnxn$SendThread.run(ClientCnxn.java:1214)
[junit] 2017-11-01 11:53:53,860 [myid:] - INFO
[SessionTracker:SessionTrackerImpl@158] - SessionTrackerImpl exited loop!
[junit] 2017-11-01 11:53:54,114 [myid:127.0.0.1:16734] - INFO
[main-SendThread(127.0.0.1:16734):ClientCnxn$SendThread@1113] - Opening socket
connection to server 127.0.0.1/127.0.0.1:16734. Will not attempt to
authenticate using SASL (unknown error)
[junit] 2017-11-01 11:53:54,115 [myid:127.0.0.1:16734] - WARN
[main-SendThread(127.0.0.1:16734):ClientCnxn$SendThread@1235] - Session
0x207a29d88320000 for server 127.0.0.1/127.0.0.1:16734, 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:717)
[junit] at
org.apache.zookeeper.ClientCnxnSocketNIO.doTransport(ClientCnxnSocketNIO.java:357)
[junit] at
org.apache.zookeeper.ClientCnxn$SendThread.run(ClientCnxn.java:1214)
[junit] 2017-11-01 11:53:54,206 [myid:] - INFO [ProcessThread(sid:0
cport:16854)::PrepRequestProcessor@614] - Processed session termination for
sessionid: 0x107a2a0b8f50000
[junit] 2017-11-01 11:53:54,207 [myid:] - INFO
[SyncThread:0:MBeanRegistry@128] - Unregister MBean
[org.apache.ZooKeeperService:name0=StandaloneServer_port16854,name1=Connections,name2=127.0.0.1,name3=0x107a2a0b8f50000]
[junit] 2017-11-01 11:53:54,208 [myid:] - INFO [main:ZooKeeper@1332] -
Session: 0x107a2a0b8f50000 closed
[junit] 2017-11-01 11:53:54,208 [myid:] - INFO
[main-EventThread:ClientCnxn$EventThread@513] - EventThread shut down for
session: 0x107a2a0b8f50000
[junit] 2017-11-01 11:53:54,208 [myid:] - INFO
[main:JUnit4ZKTestRunner$LoggedInvokeMethod@82] - Memory used 187908
[junit] 2017-11-01 11:53:54,208 [myid:] - INFO
[main:JUnit4ZKTestRunner$LoggedInvokeMethod@87] - Number of threads 2431
[junit] 2017-11-01 11:53:54,208 [myid:] - INFO
[main:JUnit4ZKTestRunner$LoggedInvokeMethod@102] - FINISHED TEST METHOD
testWatcherAutoResetWithLocal
[junit] 2017-11-01 11:53:54,209 [myid:] - INFO [main:ClientBase@601] -
tearDown starting
[junit] 2017-11-01 11:53:54,209 [myid:] - INFO [main:ClientBase@571] -
STOPPING server
[junit] 2017-11-01 11:53:54,209 [myid:] - INFO
[main:NettyServerCnxnFactory@464] - shutdown called 0.0.0.0/0.0.0.0:16854
[junit] 2017-11-01 11:53:54,217 [myid:] - INFO [main:ZooKeeperServer@545]
- shutting down
[junit] 2017-11-01 11:53:54,217 [myid:] - ERROR [main:ZooKeeperServer@509]
- ZKShutdownHandler is not registered, so ZooKeeper server won't take any
action on ERROR or SHUTDOWN server state changes
[junit] 2017-11-01 11:53:54,217 [myid:] - INFO
[main:SessionTrackerImpl@232] - Shutting down
[junit] 2017-11-01 11:53:54,217 [myid:] - INFO
[main:PrepRequestProcessor@1010] - Shutting down
[junit] 2017-11-01 11:53:54,218 [myid:] - INFO
[main:SyncRequestProcessor@191] - Shutting down
[junit] 2017-11-01 11:53:54,218 [myid:] - INFO
[SyncThread:0:SyncRequestProcessor@169] - SyncRequestProcessor exited!
[junit] 2017-11-01 11:53:54,218 [myid:] - INFO [ProcessThread(sid:0
cport:16854)::PrepRequestProcessor@155] - PrepRequestProcessor exited loop!
[junit] 2017-11-01 11:53:54,218 [myid:] - INFO
[main:FinalRequestProcessor@481] - shutdown of request processor complete
[junit] 2017-11-01 11:53:54,219 [myid:] - INFO [main:MBeanRegistry@128] -
Unregister MBean
[org.apache.ZooKeeperService:name0=StandaloneServer_port16854,name1=InMemoryDataTree]
[junit] 2017-11-01 11:53:54,219 [myid:] - INFO [main:MBeanRegistry@128] -
Unregister MBean [org.apache.ZooKeeperService:name0=StandaloneServer_port16854]
[junit] 2017-11-01 11:53:54,219 [myid:] - INFO
[main:FourLetterWordMain@87] - connecting to 127.0.0.1 16854
[junit] 2017-11-01 11:53:54,220 [myid:] - INFO [main:JMXEnv@146] -
ensureOnly:[]
[junit] 2017-11-01 11:53:54,238 [myid:] - INFO [main:ClientBase@626] -
fdcount after test is: 7161 at start it was 7161
[junit] 2017-11-01 11:53:54,238 [myid:] - INFO [main:ZKTestCase$1@68] -
SUCCEEDED testWatcherAutoResetWithLocal
[junit] 2017-11-01 11:53:54,238 [myid:] - INFO [main:ZKTestCase$1@63] -
FINISHED testWatcherAutoResetWithLocal
[junit] Tests run: 105, Failures: 0, Errors: 0, Skipped: 0, Time elapsed:
409.103 sec, Thread: 3, Class: org.apache.zookeeper.test.NioNettySuiteTest
fail.build.on.test.failure:
BUILD FAILED
/home/jenkins/jenkins-slave/workspace/ZooKeeper-trunk-jdk8/build.xml:1267: The
following error occurred while executing this line:
/home/jenkins/jenkins-slave/workspace/ZooKeeper-trunk-jdk8/build.xml:1271:
Tests failed!
Total time: 9 minutes 44 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.testObserversHammer
Error Message:
Couldn't instantiate org.apache.zookeeper.server.NettyServerCnxnFactory
Stack Trace:
java.io.IOException: Couldn't instantiate
org.apache.zookeeper.server.NettyServerCnxnFactory
at
org.apache.zookeeper.server.ServerCnxnFactory.createFactory(ServerCnxnFactory.java:138)
at
org.apache.zookeeper.server.ServerCnxnFactory.createFactory(ServerCnxnFactory.java:154)
at
org.apache.zookeeper.server.quorum.QuorumPeer.<init>(QuorumPeer.java:872)
at
org.apache.zookeeper.test.QuorumBase.startServers(QuorumBase.java:179)
at org.apache.zookeeper.test.QuorumBase.setUp(QuorumBase.java:121)
at
org.apache.zookeeper.test.AsyncHammerTest.setUp(AsyncHammerTest.java:52)
at
org.apache.zookeeper.test.AsyncHammerTest.testObserversHammer(AsyncHammerTest.java:202)
at
org.apache.zookeeper.JUnit4ZKTestRunner$LoggedInvokeMethod.evaluate(JUnit4ZKTestRunner.java:79)
Caused by: java.lang.reflect.InvocationTargetException
at java.lang.reflect.Constructor.newInstance(Constructor.java:423)
at
org.apache.zookeeper.server.ServerCnxnFactory.createFactory(ServerCnxnFactory.java:134)
Caused by: java.lang.OutOfMemoryError: unable to create new native thread
at java.lang.Thread.start0(Native Method)
at java.lang.Thread.start(Thread.java:717)
at
java.util.concurrent.ThreadPoolExecutor.addWorker(ThreadPoolExecutor.java:957)
at
java.util.concurrent.ThreadPoolExecutor.execute(ThreadPoolExecutor.java:1378)
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)
FAILED: org.apache.zookeeper.test.QuorumMajorityTest.testMajQuorums
Error Message:
waiting for server up
Stack Trace:
junit.framework.AssertionFailedError: waiting for server up
at
org.apache.zookeeper.test.QuorumBase.startServers(QuorumBase.java:224)
at org.apache.zookeeper.test.QuorumBase.setUp(QuorumBase.java:121)
at
org.apache.zookeeper.test.QuorumMajorityTest.testMajQuorums(QuorumMajorityTest.java:64)
at
org.apache.zookeeper.JUnit4ZKTestRunner$LoggedInvokeMethod.evaluate(JUnit4ZKTestRunner.java:79)