-
Bug
-
Resolution: Done
-
Major
-
7.0.0.DR12
-
None
java.lang.AssertionError: Thread leaked
at org.junit.Assert.fail(Assert.java:88)
at org.apache.activemq.artemis.tests.util.ActiveMQTestBase.tearDown(ActiveMQTestBase.java:333)
at sun.reflect.GeneratedMethodAccessor2.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:497)
at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:47)
at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12)
at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:44)
at org.junit.internal.runners.statements.RunAfters.evaluate(RunAfters.java:33)
at org.junit.rules.TestWatcher$1.evaluate(TestWatcher.java:55)
at org.junit.rules.ExternalResource$1.evaluate(ExternalResource.java:48)
at org.junit.rules.ExternalResource$1.evaluate(ExternalResource.java:48)
at org.junit.rules.TestWatcher$1.evaluate(TestWatcher.java:55)
at org.junit.rules.RunRules.evaluate(RunRules.java:20)
at org.junit.runners.ParentRunner.runLeaf(ParentRunner.java:271)
at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:70)
at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:50)
at org.junit.runners.ParentRunner$3.run(ParentRunner.java:238)
at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:63)
at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:236)
at org.junit.runners.ParentRunner.access$000(ParentRunner.java:53)
at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:229)
at org.junit.runners.ParentRunner.run(ParentRunner.java:309)
at org.apache.maven.surefire.junit4.JUnit4Provider.execute(JUnit4Provider.java:283)
at org.apache.maven.surefire.junit4.JUnit4Provider.executeWithRerun(JUnit4Provider.java:173)
at org.apache.maven.surefire.junit4.JUnit4Provider.executeTestSet(JUnit4Provider.java:153)
at org.apache.maven.surefire.junit4.JUnit4Provider.invoke(JUnit4Provider.java:128)
at org.apache.maven.surefire.booter.ForkedBooter.invokeProviderInSameClassLoader(ForkedBooter.java:203)
at org.apache.maven.surefire.booter.ForkedBooter.runSuitesInProcess(ForkedBooter.java:155)
at org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:103)
12:01:56,529 INFO [org.apache.activemq.artemis.core.server] #test forceGC 12:01:56,899 INFO [org.apache.activemq.artemis.core.server] #test forceGC Done 12:01:57,399 INFO [org.apache.activemq.artemis.core.server] There are still threads running, trying again ********************************************************************************* LEAKING THREADS ============================================================================= Thread Thread[INT-1,shared=udp,5,main] is still alive with the following stackTrace: sun.misc.Unsafe.park(Native Method) java.util.concurrent.locks.LockSupport.park(LockSupport.java:175) java.util.concurrent.locks.AbstractQueuedSynchronizer$ConditionObject.await(AbstractQueuedSynchronizer.java:2039) java.util.concurrent.LinkedBlockingQueue.take(LinkedBlockingQueue.java:442) java.util.concurrent.ThreadPoolExecutor.getTask(ThreadPoolExecutor.java:1067) java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1127) java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617) java.lang.Thread.run(Thread.java:745) *********************************************************************************
This issue is also related to following tests:
- org.apache.activemq.artemis.tests.integration.cluster.failover.AutomaticColocatedQuorumVoteTest.testSimpleDistributionBackupStrategyScaleDown[replicated=true]
- org.apache.activemq.artemis.tests.integration.cluster.failover.LiveToLiveFailoverTest.testFailoverOnInitialConnection
- org.apache.activemq.artemis.tests.integration.jms.client.ConnectionTest.testThroughNewConnectionFactory
- org.apache.activemq.artemis.tests.integration.jms.client.ReSendMessageTest.testResendWithLargeMessage
- org.apache.activemq.artemis.tests.integration.jms.connection.ConnectionFactorySerializationTest.testConnectionFactoryUDP
- org.apache.activemq.artemis.tests.integration.jms.connection.ConnectionFactoryWithJGroupsSerializationTest.testSerialization
- org.apache.activemq.artemis.tests.unit.jms.referenceable.DestinationObjectFactoryTest.testReference
- org.apache.activemq.artemis.tests.unit.util.ObjectInputStreamWithClassLoaderTest.testClassLoaderIsolationWithProxyorg.apache.activemq.artemis.core.config.impl.DefaultsFileConfigurationTest.testSerialize
- org.apache.activemq.artemis.core.config.impl.FileConfigurationTest.testSerialize
- blocks
-
JBEAP-2574 Stabilization of ActiveMQ Artemis upstream test suite
- Closed
- is blocked by
-
JBEAP-2499 Upgrade Artemis to 1.1.0.wildfly-011
- Closed