See https://builds.apache.org/job/ZooKeeper-trunk-jdk8/1275/
###################################################################################
########################## LAST 60 LINES OF THE CONSOLE
###########################
[...truncated 62.70 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-16 11:54:10,585 [myid:127.0.0.1:27429] - INFO
[main-SendThread(127.0.0.1:27429):ClientCnxn$SendThread@1113] - Opening socket
connection to server 127.0.0.1/127.0.0.1:27429. Will not attempt to
authenticate using SASL (unknown error)
[junit] 2017-11-16 11:54:10,585 [myid:127.0.0.1:27429] - WARN
[main-SendThread(127.0.0.1:27429):ClientCnxn$SendThread@1235] - Session
0x107efa47aa10001 for server 127.0.0.1/127.0.0.1:27429, 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-16 11:54:10,763 [myid:127.0.0.1:27503] - INFO
[main-SendThread(127.0.0.1:27503):ClientCnxn$SendThread@1113] - Opening socket
connection to server 127.0.0.1/127.0.0.1:27503. Will not attempt to
authenticate using SASL (unknown error)
[junit] 2017-11-16 11:54:10,764 [myid:127.0.0.1:27503] - WARN
[main-SendThread(127.0.0.1:27503):ClientCnxn$SendThread@1235] - Session
0x107efa709d10000 for server 127.0.0.1/127.0.0.1:27503, 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-16 11:54:11,034 [myid:] - INFO [ProcessThread(sid:0
cport:27626)::PrepRequestProcessor@614] - Processed session termination for
sessionid: 0x107efaa67530000
[junit] 2017-11-16 11:54:11,036 [myid:] - INFO
[SyncThread:0:MBeanRegistry@128] - Unregister MBean
[org.apache.ZooKeeperService:name0=StandaloneServer_port27626,name1=Connections,name2=127.0.0.1,name3=0x107efaa67530000]
[junit] 2017-11-16 11:54:11,036 [myid:] - INFO [main:ZooKeeper@1332] -
Session: 0x107efaa67530000 closed
[junit] 2017-11-16 11:54:11,036 [myid:] - INFO
[main-EventThread:ClientCnxn$EventThread@513] - EventThread shut down for
session: 0x107efaa67530000
[junit] 2017-11-16 11:54:11,036 [myid:] - INFO
[main:JUnit4ZKTestRunner$LoggedInvokeMethod@82] - Memory used 215874
[junit] 2017-11-16 11:54:11,036 [myid:] - INFO
[main:JUnit4ZKTestRunner$LoggedInvokeMethod@87] - Number of threads 2431
[junit] 2017-11-16 11:54:11,037 [myid:] - INFO
[main:JUnit4ZKTestRunner$LoggedInvokeMethod@102] - FINISHED TEST METHOD
testWatcherAutoResetWithLocal
[junit] 2017-11-16 11:54:11,037 [myid:] - INFO [main:ClientBase@601] -
tearDown starting
[junit] 2017-11-16 11:54:11,037 [myid:] - INFO [main:ClientBase@571] -
STOPPING server
[junit] 2017-11-16 11:54:11,037 [myid:] - INFO
[main:NettyServerCnxnFactory@464] - shutdown called 0.0.0.0/0.0.0.0:27626
[junit] 2017-11-16 11:54:11,044 [myid:] - INFO [main:ZooKeeperServer@545]
- shutting down
[junit] 2017-11-16 11:54:11,045 [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-16 11:54:11,045 [myid:] - INFO
[main:SessionTrackerImpl@232] - Shutting down
[junit] 2017-11-16 11:54:11,045 [myid:] - INFO
[main:PrepRequestProcessor@1010] - Shutting down
[junit] 2017-11-16 11:54:11,045 [myid:] - INFO
[main:SyncRequestProcessor@191] - Shutting down
[junit] 2017-11-16 11:54:11,045 [myid:] - INFO
[SyncThread:0:SyncRequestProcessor@169] - SyncRequestProcessor exited!
[junit] 2017-11-16 11:54:11,045 [myid:] - INFO [ProcessThread(sid:0
cport:27626)::PrepRequestProcessor@155] - PrepRequestProcessor exited loop!
[junit] 2017-11-16 11:54:11,046 [myid:] - INFO
[main:FinalRequestProcessor@481] - shutdown of request processor complete
[junit] 2017-11-16 11:54:11,046 [myid:] - INFO [main:MBeanRegistry@128] -
Unregister MBean
[org.apache.ZooKeeperService:name0=StandaloneServer_port27626,name1=InMemoryDataTree]
[junit] 2017-11-16 11:54:11,046 [myid:] - INFO [main:MBeanRegistry@128] -
Unregister MBean [org.apache.ZooKeeperService:name0=StandaloneServer_port27626]
[junit] 2017-11-16 11:54:11,046 [myid:] - INFO
[main:FourLetterWordMain@87] - connecting to 127.0.0.1 27626
[junit] 2017-11-16 11:54:11,047 [myid:] - INFO [main:JMXEnv@146] -
ensureOnly:[]
[junit] 2017-11-16 11:54:11,056 [myid:] - INFO [main:ClientBase@626] -
fdcount after test is: 7147 at start it was 7147
[junit] 2017-11-16 11:54:11,056 [myid:] - INFO [main:ZKTestCase$1@68] -
SUCCEEDED testWatcherAutoResetWithLocal
[junit] 2017-11-16 11:54:11,057 [myid:] - INFO [main:ZKTestCase$1@63] -
FINISHED testWatcherAutoResetWithLocal
[junit] Tests run: 105, Failures: 0, Errors: 0, Skipped: 0, Time elapsed:
414.903 sec, Thread: 7, Class: org.apache.zookeeper.test.NioNettySuiteTest
[junit] 2017-11-16 11:54:11,245 [myid:] - INFO
[SessionTracker:SessionTrackerImpl@158] - SessionTrackerImpl exited loop!
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 49 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)
##############################
4 tests failed.
FAILED:
org.apache.zookeeper.server.quorum.ReconfigRecoveryTest.testCurrentServersAreObserversInNextConfig
Error Message:
waiting for server 3 being up
Stack Trace:
junit.framework.AssertionFailedError: waiting for server 3 being up
at
org.apache.zookeeper.server.quorum.ReconfigRecoveryTest.testCurrentServersAreObserversInNextConfig(ReconfigRecoveryTest.java:224)
at
org.apache.zookeeper.JUnit4ZKTestRunner$LoggedInvokeMethod.evaluate(JUnit4ZKTestRunner.java:79)
FAILED: org.apache.zookeeper.test.AsyncHammerTest.testHammer
Error Message:
null
Stack Trace:
junit.framework.AssertionFailedError
at
org.apache.zookeeper.test.AsyncHammerTest.testHammer(AsyncHammerTest.java:185)
at
org.apache.zookeeper.JUnit4ZKTestRunner$LoggedInvokeMethod.evaluate(JUnit4ZKTestRunner.java:79)
FAILED: org.apache.zookeeper.test.ReconfigTest.testQuorumSystemChange
Error Message:
Couldn't instantiate org.apache.zookeeper.ClientCnxnSocketNetty
Stack Trace:
java.io.IOException: Couldn't instantiate
org.apache.zookeeper.ClientCnxnSocketNetty
at
org.apache.zookeeper.ZooKeeper.getClientCnxnSocket(ZooKeeper.java:2936)
at org.apache.zookeeper.ZooKeeper.<init>(ZooKeeper.java:881)
at org.apache.zookeeper.ZooKeeper.<init>(ZooKeeper.java:799)
at org.apache.zookeeper.ZooKeeper.<init>(ZooKeeper.java:939)
at org.apache.zookeeper.ZooKeeper.<init>(ZooKeeper.java:686)
at
org.apache.zookeeper.test.ReconfigTest.createHandles(ReconfigTest.java:213)
at
org.apache.zookeeper.test.ReconfigTest.testQuorumSystemChange(ReconfigTest.java:819)
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.ZooKeeper.getClientCnxnSocket(ZooKeeper.java:2933)
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.NioClientSocketChannelFactory.<init>(NioClientSocketChannelFactory.java:151)
at
org.jboss.netty.channel.socket.nio.NioClientSocketChannelFactory.<init>(NioClientSocketChannelFactory.java:116)
at
org.apache.zookeeper.ClientCnxnSocketNetty.<init>(ClientCnxnSocketNetty.java:72)
FAILED: org.apache.zookeeper.test.QuorumMajorityTest.testMajQuorums
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:717)
at
org.apache.zookeeper.server.NIOServerCnxnFactory.start(NIOServerCnxnFactory.java:751)
at
org.apache.zookeeper.server.quorum.QuorumPeer.startServerCnxnFactory(QuorumPeer.java:1607)
at
org.apache.zookeeper.server.quorum.QuorumPeer.start(QuorumPeer.java:772)
at
org.apache.zookeeper.test.QuorumBase.startServers(QuorumBase.java:217)
at org.apache.zookeeper.test.QuorumBase.setUp(QuorumBase.java:121)
at
org.apache.zookeeper.test.QuorumMajorityTest.testMajQuorums(QuorumMajorityTest.java:84)
at
org.apache.zookeeper.JUnit4ZKTestRunner$LoggedInvokeMethod.evaluate(JUnit4ZKTestRunner.java:79)