See https://builds.apache.org/job/ZooKeeper-trunk-jdk8/633/
###################################################################################
########################## LAST 60 LINES OF THE CONSOLE
###########################
[...truncated 392044 lines...]
[junit] 2016-06-13 11:53:13,528 [myid:] - INFO [main:ZooKeeperServer@498]
- shutting down
[junit] 2016-06-13 11:53:13,528 [myid:] - INFO
[main:SessionTrackerImpl@232] - Shutting down
[junit] 2016-06-13 11:53:13,528 [myid:] - INFO
[main:PrepRequestProcessor@965] - Shutting down
[junit] 2016-06-13 11:53:13,528 [myid:] - INFO
[main:SyncRequestProcessor@191] - Shutting down
[junit] 2016-06-13 11:53:13,528 [myid:] - INFO [ProcessThread(sid:0
cport:11228)::PrepRequestProcessor@154] - PrepRequestProcessor exited loop!
[junit] 2016-06-13 11:53:13,528 [myid:] - INFO
[SyncThread:0:SyncRequestProcessor@169] - SyncRequestProcessor exited!
[junit] 2016-06-13 11:53:13,528 [myid:] - INFO
[main:FinalRequestProcessor@479] - shutdown of request processor complete
[junit] 2016-06-13 11:53:13,528 [myid:] - INFO [main:MBeanRegistry@128] -
Unregister MBean
[org.apache.ZooKeeperService:name0=StandaloneServer_port11228,name1=InMemoryDataTree]
[junit] 2016-06-13 11:53:13,529 [myid:] - INFO [main:MBeanRegistry@128] -
Unregister MBean [org.apache.ZooKeeperService:name0=StandaloneServer_port11228]
[junit] 2016-06-13 11:53:13,529 [myid:] - INFO
[main:FourLetterWordMain@85] - connecting to 127.0.0.1 11228
[junit] 2016-06-13 11:53:13,529 [myid:] - INFO [main:JMXEnv@146] -
ensureOnly:[]
[junit] 2016-06-13 11:53:13,532 [myid:] - INFO [main:ClientBase@562] -
fdcount after test is: 51 at start it was 51
[junit] 2016-06-13 11:53:13,532 [myid:] - INFO [main:ZKTestCase$1@65] -
SUCCEEDED testWatcherAutoResetWithLocal
[junit] 2016-06-13 11:53:13,532 [myid:] - INFO [main:ZKTestCase$1@60] -
FINISHED testWatcherAutoResetWithLocal
[junit] Tests run: 7, Failures: 0, Errors: 0, Skipped: 0, Time elapsed:
29.542 sec, Thread: 1, Class: org.apache.zookeeper.test.WatcherTest
[junit] 2016-06-13 11:55:11,434 [myid:] - INFO
[main:JUnit4ZKTestRunner$LoggedInvokeMethod@82] - Memory used 66378
[junit] 2016-06-13 11:55:11,435 [myid:] - INFO
[main:JUnit4ZKTestRunner$LoggedInvokeMethod@87] - Number of threads 55
[junit] 2016-06-13 11:55:11,435 [myid:] - INFO
[main:JUnit4ZKTestRunner$LoggedInvokeMethod@102] - FINISHED TEST METHOD
testManyChildWatchersAutoReset
[junit] 2016-06-13 11:55:11,435 [myid:] - INFO [main:ClientBase@537] -
tearDown starting
[junit] 2016-06-13 11:55:11,436 [myid:] - INFO [ProcessThread(sid:0
cport:13918)::PrepRequestProcessor@647] - Processed session termination for
sessionid: 0x100a2cc34160000
[junit] 2016-06-13 11:55:11,443 [myid:] - INFO [main:ZooKeeper@1313] -
Session: 0x100a2cc34160000 closed
[junit] 2016-06-13 11:55:11,443 [myid:] - INFO
[NIOWorkerThread-31:MBeanRegistry@128] - Unregister MBean
[org.apache.ZooKeeperService:name0=StandaloneServer_port13918,name1=Connections,name2=127.0.0.1,name3=0x100a2cc34160000]
[junit] 2016-06-13 11:55:11,443 [myid:] - INFO
[main-EventThread:ClientCnxn$EventThread@513] - EventThread shut down for
session: 0x100a2cc34160000
[junit] 2016-06-13 11:55:11,443 [myid:] - INFO [ProcessThread(sid:0
cport:13918)::PrepRequestProcessor@647] - Processed session termination for
sessionid: 0x100a2cc34160001
[junit] 2016-06-13 11:55:11,444 [myid:] - INFO
[NIOWorkerThread-31:NIOServerCnxn@607] - Closed socket connection for client
/127.0.0.1:47000 which had sessionid 0x100a2cc34160000
[junit] 2016-06-13 11:55:11,451 [myid:] - INFO [main:ZooKeeper@1313] -
Session: 0x100a2cc34160001 closed
[junit] 2016-06-13 11:55:11,451 [myid:] - INFO [main:ClientBase@507] -
STOPPING server
[junit] 2016-06-13 11:55:11,451 [myid:] - INFO
[NIOWorkerThread-5:MBeanRegistry@128] - Unregister MBean
[org.apache.ZooKeeperService:name0=StandaloneServer_port13918,name1=Connections,name2=127.0.0.1,name3=0x100a2cc34160001]
[junit] 2016-06-13 11:55:11,452 [myid:] - INFO
[ConnnectionExpirer:NIOServerCnxnFactory$ConnectionExpirerThread@583] -
ConnnectionExpirerThread interrupted
[junit] 2016-06-13 11:55:11,451 [myid:] - INFO
[main-EventThread:ClientCnxn$EventThread@513] - EventThread shut down for
session: 0x100a2cc34160001
[junit] 2016-06-13 11:55:11,452 [myid:] - INFO
[NIOWorkerThread-5:NIOServerCnxn@607] - Closed socket connection for client
/127.0.0.1:47019 which had sessionid 0x100a2cc34160001
[junit] 2016-06-13 11:55:11,454 [myid:] - INFO
[NIOServerCxnFactory.AcceptThread:0.0.0.0/0.0.0.0:13918:NIOServerCnxnFactory$AcceptThread@219]
- accept thread exitted run method
[junit] 2016-06-13 11:55:11,457 [myid:] - INFO
[NIOServerCxnFactory.SelectorThread-1:NIOServerCnxnFactory$SelectorThread@420]
- selector thread exitted run method
[junit] 2016-06-13 11:55:11,457 [myid:] - INFO
[NIOServerCxnFactory.SelectorThread-0:NIOServerCnxnFactory$SelectorThread@420]
- selector thread exitted run method
[junit] 2016-06-13 11:55:11,458 [myid:] - INFO [main:ZooKeeperServer@498]
- shutting down
[junit] 2016-06-13 11:55:11,458 [myid:] - INFO
[main:SessionTrackerImpl@232] - Shutting down
[junit] 2016-06-13 11:55:11,458 [myid:] - INFO
[main:PrepRequestProcessor@965] - Shutting down
[junit] 2016-06-13 11:55:11,458 [myid:] - INFO
[main:SyncRequestProcessor@191] - Shutting down
[junit] 2016-06-13 11:55:11,458 [myid:] - INFO [ProcessThread(sid:0
cport:13918)::PrepRequestProcessor@154] - PrepRequestProcessor exited loop!
[junit] 2016-06-13 11:55:11,458 [myid:] - INFO
[SyncThread:0:SyncRequestProcessor@169] - SyncRequestProcessor exited!
[junit] 2016-06-13 11:55:11,459 [myid:] - INFO
[main:FinalRequestProcessor@479] - shutdown of request processor complete
[junit] 2016-06-13 11:55:11,459 [myid:] - INFO [main:MBeanRegistry@128] -
Unregister MBean
[org.apache.ZooKeeperService:name0=StandaloneServer_port13918,name1=InMemoryDataTree]
[junit] 2016-06-13 11:55:11,459 [myid:] - INFO [main:MBeanRegistry@128] -
Unregister MBean [org.apache.ZooKeeperService:name0=StandaloneServer_port13918]
[junit] 2016-06-13 11:55:11,460 [myid:] - INFO
[main:FourLetterWordMain@85] - connecting to 127.0.0.1 13918
[junit] 2016-06-13 11:55:11,460 [myid:] - INFO [main:JMXEnv@146] -
ensureOnly:[]
[junit] 2016-06-13 11:55:11,467 [myid:] - INFO [main:ClientBase@562] -
fdcount after test is: 55 at start it was 55
[junit] 2016-06-13 11:55:11,467 [myid:] - INFO [main:ZKTestCase$1@65] -
SUCCEEDED testManyChildWatchersAutoReset
[junit] 2016-06-13 11:55:11,468 [myid:] - INFO [main:ZKTestCase$1@60] -
FINISHED testManyChildWatchersAutoReset
[junit] Tests run: 4, Failures: 0, Errors: 0, Skipped: 0, Time elapsed:
453.828 sec, Thread: 2, Class: org.apache.zookeeper.test.DisconnectedWatcherTest
BUILD FAILED
/home/jenkins/jenkins-slave/workspace/ZooKeeper-trunk-jdk8/trunk/build.xml:1207:
Tests failed!
Total time: 10 minutes 26 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)
##############################
7 tests failed.
FAILED: org.apache.zookeeper.test.ACLTest.testAcls
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.ServerCnxnFactory.createFactory(ServerCnxnFactory.java:146)
at org.apache.zookeeper.test.ACLTest.testAcls(ACLTest.java:143)
at
org.apache.zookeeper.JUnit4ZKTestRunner$LoggedInvokeMethod.evaluate(JUnit4ZKTestRunner.java:79)
FAILED: org.apache.zookeeper.test.ACLTest.testDisconnectedAddAuth
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.ServerCnxnFactory.createFactory(ServerCnxnFactory.java:146)
at
org.apache.zookeeper.test.ACLTest.testDisconnectedAddAuth(ACLTest.java:70)
at
org.apache.zookeeper.JUnit4ZKTestRunner$LoggedInvokeMethod.evaluate(JUnit4ZKTestRunner.java:79)
FAILED: org.apache.zookeeper.test.AsyncHammerTest.testHammer
Error Message:
Error occurred in server thread; nested exception is:
java.lang.OutOfMemoryError: unable to create new native thread
Stack Trace:
java.rmi.ServerError: Error occurred in server thread; nested exception is:
java.lang.OutOfMemoryError: unable to create new native thread
at sun.rmi.server.UnicastServerRef.dispatch(UnicastServerRef.java:351)
at sun.rmi.transport.Transport$1.run(Transport.java:178)
at sun.rmi.transport.Transport$1.run(Transport.java:175)
at java.security.AccessController.doPrivileged(Native Method)
at sun.rmi.transport.Transport.serviceCall(Transport.java:174)
at
sun.rmi.transport.tcp.TCPTransport.handleMessages(TCPTransport.java:557)
at
sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.run0(TCPTransport.java:812)
at
sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.run(TCPTransport.java:671)
at
java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
at
java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
at java.lang.Thread.run(Thread.java:744)
at
sun.rmi.transport.StreamRemoteCall.exceptionReceivedFromServer(StreamRemoteCall.java:276)
at
sun.rmi.transport.StreamRemoteCall.executeCall(StreamRemoteCall.java:253)
at sun.rmi.server.UnicastRef.invoke(UnicastRef.java:162)
at javax.management.remote.rmi.RMIServerImpl_Stub.newClient(Unknown
Source)
at
javax.management.remote.rmi.RMIConnector.getConnection(RMIConnector.java:2404)
at
javax.management.remote.rmi.RMIConnector.connect(RMIConnector.java:308)
at
javax.management.remote.JMXConnectorFactory.connect(JMXConnectorFactory.java:270)
at
javax.management.remote.JMXConnectorFactory.connect(JMXConnectorFactory.java:229)
at org.apache.zookeeper.test.JMXEnv.setUp(JMXEnv.java:58)
at org.apache.zookeeper.test.QuorumBase.setUp(QuorumBase.java:85)
at
org.apache.zookeeper.test.AsyncHammerTest.setUp(AsyncHammerTest.java:52)
at
org.apache.zookeeper.test.AsyncHammerTest.testHammer(AsyncHammerTest.java:171)
at
org.apache.zookeeper.JUnit4ZKTestRunner$LoggedInvokeMethod.evaluate(JUnit4ZKTestRunner.java:79)
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:713)
at
com.sun.jmx.remote.internal.ServerCommunicatorAdmin.<init>(ServerCommunicatorAdmin.java:50)
at
javax.management.remote.rmi.RMIConnectionImpl$RMIServerCommunicatorAdmin.<init>(RMIConnectionImpl.java:1319)
at
javax.management.remote.rmi.RMIConnectionImpl.<init>(RMIConnectionImpl.java:160)
at
javax.management.remote.rmi.RMIJRMPServerImpl.makeClient(RMIJRMPServerImpl.java:173)
at
javax.management.remote.rmi.RMIServerImpl.doNewClient(RMIServerImpl.java:250)
at
javax.management.remote.rmi.RMIServerImpl.newClient(RMIServerImpl.java:199)
at sun.rmi.server.UnicastServerRef.dispatch(UnicastServerRef.java:323)
at sun.rmi.transport.Transport$1.run(Transport.java:178)
at sun.rmi.transport.Transport$1.run(Transport.java:175)
at java.security.AccessController.doPrivileged(Native Method)
at sun.rmi.transport.Transport.serviceCall(Transport.java:174)
at
sun.rmi.transport.tcp.TCPTransport.handleMessages(TCPTransport.java:557)
at
sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.run0(TCPTransport.java:812)
at
sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.run(TCPTransport.java:671)
at
java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
at
java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
at java.lang.Thread.run(Thread.java:744)
FAILED: org.apache.zookeeper.test.AsyncHammerTest.testObserversHammer
Error Message:
Error occurred in server thread; nested exception is:
java.lang.OutOfMemoryError: unable to create new native thread
Stack Trace:
java.rmi.ServerError: Error occurred in server thread; nested exception is:
java.lang.OutOfMemoryError: unable to create new native thread
at sun.rmi.server.UnicastServerRef.dispatch(UnicastServerRef.java:351)
at sun.rmi.transport.Transport$1.run(Transport.java:178)
at sun.rmi.transport.Transport$1.run(Transport.java:175)
at java.security.AccessController.doPrivileged(Native Method)
at sun.rmi.transport.Transport.serviceCall(Transport.java:174)
at
sun.rmi.transport.tcp.TCPTransport.handleMessages(TCPTransport.java:557)
at
sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.run0(TCPTransport.java:812)
at
sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.run(TCPTransport.java:671)
at
java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
at
java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
at java.lang.Thread.run(Thread.java:744)
at
sun.rmi.transport.StreamRemoteCall.exceptionReceivedFromServer(StreamRemoteCall.java:276)
at
sun.rmi.transport.StreamRemoteCall.executeCall(StreamRemoteCall.java:253)
at sun.rmi.server.UnicastRef.invoke(UnicastRef.java:162)
at javax.management.remote.rmi.RMIServerImpl_Stub.newClient(Unknown
Source)
at
javax.management.remote.rmi.RMIConnector.getConnection(RMIConnector.java:2404)
at
javax.management.remote.rmi.RMIConnector.connect(RMIConnector.java:308)
at
javax.management.remote.JMXConnectorFactory.connect(JMXConnectorFactory.java:270)
at
javax.management.remote.JMXConnectorFactory.connect(JMXConnectorFactory.java:229)
at org.apache.zookeeper.test.JMXEnv.setUp(JMXEnv.java:58)
at org.apache.zookeeper.test.QuorumBase.setUp(QuorumBase.java:85)
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)
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:713)
at
com.sun.jmx.remote.internal.ServerCommunicatorAdmin.<init>(ServerCommunicatorAdmin.java:50)
at
javax.management.remote.rmi.RMIConnectionImpl$RMIServerCommunicatorAdmin.<init>(RMIConnectionImpl.java:1319)
at
javax.management.remote.rmi.RMIConnectionImpl.<init>(RMIConnectionImpl.java:160)
at
javax.management.remote.rmi.RMIJRMPServerImpl.makeClient(RMIJRMPServerImpl.java:173)
at
javax.management.remote.rmi.RMIServerImpl.doNewClient(RMIServerImpl.java:250)
at
javax.management.remote.rmi.RMIServerImpl.newClient(RMIServerImpl.java:199)
at sun.rmi.server.UnicastServerRef.dispatch(UnicastServerRef.java:323)
at sun.rmi.transport.Transport$1.run(Transport.java:178)
at sun.rmi.transport.Transport$1.run(Transport.java:175)
at java.security.AccessController.doPrivileged(Native Method)
at sun.rmi.transport.Transport.serviceCall(Transport.java:174)
at
sun.rmi.transport.tcp.TCPTransport.handleMessages(TCPTransport.java:557)
at
sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.run0(TCPTransport.java:812)
at
sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.run(TCPTransport.java:671)
at
java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
at
java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
at java.lang.Thread.run(Thread.java:744)
FAILED: org.apache.zookeeper.test.ReconfigTest.testPortChange
Error Message:
expected:<test[1]> but was:<test[0]>
Stack Trace:
junit.framework.AssertionFailedError: expected:<test[1]> but was:<test[0]>
at
org.apache.zookeeper.test.ReconfigTest.testNormalOperation(ReconfigTest.java:150)
at
org.apache.zookeeper.test.ReconfigTest.testPortChange(ReconfigTest.java:598)
at
org.apache.zookeeper.JUnit4ZKTestRunner$LoggedInvokeMethod.evaluate(JUnit4ZKTestRunner.java:79)
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:175)
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)