You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@activemq.apache.org by "Dhanika Munasinghe (JIRA)" <ji...@apache.org> on 2016/08/27 06:00:28 UTC

[jira] [Created] (ARTEMIS-703) CLONE - Issues with ActiveMQVertxUnitTest

Dhanika Munasinghe created ARTEMIS-703:
------------------------------------------

             Summary: CLONE - Issues with ActiveMQVertxUnitTest
                 Key: ARTEMIS-703
                 URL: https://issues.apache.org/jira/browse/ARTEMIS-703
             Project: ActiveMQ Artemis
          Issue Type: Bug
    Affects Versions: 1.4.0
            Reporter: Dhanika Munasinghe


{noformat}
$ scripts/one-test.sh ActiveMQVertxUnitTest
{noformat}

In the test output from the run I noticed that the {{testIncomingEvents}} prints

{noformat}
[Fatal Error] :6:3: The element type "hr" must be terminated by the matching end-tag "</hr>".
{noformat}

I am also seeing a Leaking Threads message

{noformat}
[main] 17:05:59,633 INFO  [org.apache.activemq.artemis.core.server] #test forceGC
[main] 17:05:59,661 INFO  [org.apache.activemq.artemis.core.server] #test forceGC Done 
*********************************************************************************
LEAKING THREADS
=============================================================================
Thread Thread[vert.x-eventloop-thread-1,5,main] is still alive with the following stackTrace:
sun.nio.ch.EPollArrayWrapper.epollWait(Native Method)
sun.nio.ch.EPollArrayWrapper.poll(EPollArrayWrapper.java:269)
sun.nio.ch.EPollSelectorImpl.doSelect(EPollSelectorImpl.java:93)
sun.nio.ch.SelectorImpl.lockAndDoSelect(SelectorImpl.java:86)
sun.nio.ch.SelectorImpl.select(SelectorImpl.java:97)
io.netty.channel.nio.NioEventLoop.select(NioEventLoop.java:693)
io.netty.channel.nio.NioEventLoop.run(NioEventLoop.java:353)
{noformat}

On one computers, the tests were actually failing for me. On another they did all pass (but the messages I showed above did still appear).

{noformat}
[...]
[main] 17:09:52,210 INFO  [org.apache.activemq.artemis.core.server] #*#*# Finished test: testIncomingEvents()...

java.lang.NullPointerException
	at org.apache.activemq.artemis.tests.integration.vertx.ActiveMQVertxUnitTest.receiveFromQueue(ActiveMQVertxUnitTest.java:651)
	at org.apache.activemq.artemis.tests.integration.vertx.ActiveMQVertxUnitTest.testIncomingEvents(ActiveMQVertxUnitTest.java:154)
	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
	at java.lang.reflect.Method.invoke(Method.java:498)
	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.InvokeMethod.evaluate(InvokeMethod.java:17)
	at org.junit.internal.runners.statements.RunBefores.evaluate(RunBefores.java:26)
	at org.junit.internal.runners.statements.RunAfters.evaluate(RunAfters.java:27)
	at org.junit.rules.ExternalResource$1.evaluate(ExternalResource.java:48)
	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.junit.runner.JUnitCore.run(JUnitCore.java:160)
	at com.intellij.junit4.JUnit4IdeaTestRunner.startRunnerWithArgs(JUnit4IdeaTestRunner.java:117)
	at com.intellij.junit4.JUnit4IdeaTestRunner.startRunnerWithArgs(JUnit4IdeaTestRunner.java:42)
	at com.intellij.rt.execution.junit.JUnitStarter.prepareStreamsAndStart(JUnitStarter.java:253)
	at com.intellij.rt.execution.junit.JUnitStarter.main(JUnitStarter.java:84)
	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
	at java.lang.reflect.Method.invoke(Method.java:498)
	at com.intellij.rt.execution.application.AppMain.main(AppMain.java:147)
{noformat}



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)