Erich Duda created ARTEMIS-343:
----------------------------------

             Summary: [Artemis Testsuite] 
DivertTest.testSingleNonExclusiveDivert3 fails
                 Key: ARTEMIS-343
                 URL: https://issues.apache.org/jira/browse/ARTEMIS-343
             Project: ActiveMQ Artemis
          Issue Type: Bug
    Affects Versions: 1.1.0
            Reporter: Erich Duda


This test consistently fails on IBM JDK.

{code}
java.lang.AssertionError: null
        at org.junit.Assert.fail(Assert.java:86)
        at org.junit.Assert.assertTrue(Assert.java:41)
        at org.junit.Assert.assertNotNull(Assert.java:621)
        at org.junit.Assert.assertNotNull(Assert.java:631)
        at 
org.apache.activemq.artemis.tests.integration.divert.DivertTest.testSingleNonExclusiveDivert3(DivertTest.java:384)
{code}

{code:title=Test log}
12:21:08,409 INFO  [org.apache.activemq.artemis.core.server] #*#*# Starting 
test: testSingleNonExclusiveDivert3()...
#test testSingleNonExclusiveDivert3
12:21:08,411 INFO  [org.apache.activemq.artemis.core.server] AMQ221000: live 
Message Broker is starting with configuration Broker Configuration 
(clustered=false,journalDirectory=/mnt/hudson_workspace/artemis-project-testsuite-rhel-master-local-discs/666ed8c2/tests/integration-tests/./target/tmp/junit375978890141233185/journal0-L,bindingsDirectory=/mnt/hudson_workspace/artemis-project-testsuite-rhel-master-local-discs/666ed8c2/tests/integration-tests/./target/tmp/junit375978890141233185/bindings0-L,largeMessagesDirectory=/mnt/hudson_workspace/artemis-project-testsuite-rhel-master-local-discs/666ed8c2/tests/integration-tests/./target/tmp/junit375978890141233185/large-msg0-L,pagingDirectory=/mnt/hudson_workspace/artemis-project-testsuite-rhel-master-local-discs/666ed8c2/tests/integration-tests/./target/tmp/junit375978890141233185/page0-L)
12:21:08,413 INFO  [org.apache.activemq.artemis.core.server] AMQ221043: 
Protocol module found: [artemis-server]. Adding protocol support for: CORE
12:21:08,414 INFO  [org.apache.activemq.artemis.core.server] AMQ221043: 
Protocol module found: [artemis-amqp-protocol]. Adding protocol support for: 
AMQP
12:21:08,415 INFO  [org.apache.activemq.artemis.core.server] AMQ221043: 
Protocol module found: [artemis-stomp-protocol]. Adding protocol support for: 
STOMP
12:21:08,416 INFO  [org.apache.activemq.artemis.core.server] AMQ221043: 
Protocol module found: [artemis-openwire-protocol]. Adding protocol support 
for: OPENWIRE
12:21:08,416 INFO  [org.apache.activemq.artemis.core.server] AMQ221043: 
Protocol module found: [artemis-hornetq-protocol]. Adding protocol support for: 
HORNETQ
12:21:08,417 INFO  [org.apache.activemq.artemis.core.server] AMQ221043: 
Protocol module found: [artemis-mqtt-protocol]. Adding protocol support for: 
MQTT
12:21:08,421 INFO  [org.apache.activemq.artemis.core.server] AMQ221007: Server 
is now live
12:21:08,421 INFO  [org.apache.activemq.artemis.core.server] AMQ221001: Apache 
ActiveMQ Artemis Message Broker version 1.1.0.wildfly-010 
[nodeID=898dd115-b7be-11e5-89d8-af6746d76756] 
12:21:08,436 WARN  [org.apache.activemq.artemis.core.client] AMQ212016: I am 
closing a core ClientSession you left open. Please make sure you close all 
ClientSessions explicitly before letting them go out of scope! 922,591,048: 
java.lang.Exception
        at 
org.apache.activemq.artemis.core.client.impl.DelegatingSession.<init>(DelegatingSession.java:86)
 [artemis-core-client-1.1.0.wildfly-010.jar:]
        at 
org.apache.activemq.artemis.core.client.impl.ClientSessionFactoryImpl.createSessionInternal(ClientSessionFactoryImpl.java:637)
 [artemis-core-client-1.1.0.wildfly-010.jar:]
        at 
org.apache.activemq.artemis.core.client.impl.ClientSessionFactoryImpl.createSession(ClientSessionFactoryImpl.java:322)
 [artemis-core-client-1.1.0.wildfly-010.jar:]
        at 
org.apache.activemq.artemis.tests.integration.divert.DivertTest.testSingleNonExclusiveDivert3(DivertTest.java:357)
 [:]
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) 
[rt.jar:1.8.0-internal]
        at 
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:95) 
[rt.jar:1.8.0-internal]
        at 
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:55)
 [rt.jar:1.8.0-internal]
        at java.lang.reflect.Method.invoke(Method.java:507) [rt.jar:2.6 
(10-19-2015)]
        at 
org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:47)
 [junit-4.11.jar:]
        at 
org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12)
 [junit-4.11.jar:]
        at 
org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:44)
 [junit-4.11.jar:]
        at 
org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:17)
 [junit-4.11.jar:]
        at 
org.junit.internal.runners.statements.RunBefores.evaluate(RunBefores.java:26) 
[junit-4.11.jar:]
        at 
org.junit.internal.runners.statements.RunAfters.evaluate(RunAfters.java:27) 
[junit-4.11.jar:]
        at org.junit.rules.TestWatcher$1.evaluate(TestWatcher.java:55) 
[junit-4.11.jar:]
        at 
org.junit.rules.ExternalResource$1.evaluate(ExternalResource.java:48) 
[junit-4.11.jar:]
        at 
org.junit.rules.ExternalResource$1.evaluate(ExternalResource.java:48) 
[junit-4.11.jar:]
        at org.junit.rules.TestWatcher$1.evaluate(TestWatcher.java:55) 
[junit-4.11.jar:]
        at org.junit.rules.RunRules.evaluate(RunRules.java:20) [junit-4.11.jar:]
        at org.junit.runners.ParentRunner.runLeaf(ParentRunner.java:271) 
[junit-4.11.jar:]
        at 
org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:70)
 [junit-4.11.jar:]
        at 
org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:50)
 [junit-4.11.jar:]
        at org.junit.runners.ParentRunner$3.run(ParentRunner.java:238) 
[junit-4.11.jar:]
        at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:63) 
[junit-4.11.jar:]
        at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:236) 
[junit-4.11.jar:]
        at org.junit.runners.ParentRunner.access$000(ParentRunner.java:53) 
[junit-4.11.jar:]
        at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:229) 
[junit-4.11.jar:]
        at org.junit.runners.ParentRunner.run(ParentRunner.java:309) 
[junit-4.11.jar:]
        at 
org.apache.maven.surefire.junit4.JUnit4Provider.execute(JUnit4Provider.java:283)
 [surefire-junit4-2.18.1.jar:2.18.1]
        at 
org.apache.maven.surefire.junit4.JUnit4Provider.executeWithRerun(JUnit4Provider.java:173)
 [surefire-junit4-2.18.1.jar:2.18.1]
        at 
org.apache.maven.surefire.junit4.JUnit4Provider.executeTestSet(JUnit4Provider.java:153)
 [surefire-junit4-2.18.1.jar:2.18.1]
        at 
org.apache.maven.surefire.junit4.JUnit4Provider.invoke(JUnit4Provider.java:128) 
[surefire-junit4-2.18.1.jar:2.18.1]
        at 
org.apache.maven.surefire.booter.ForkedBooter.invokeProviderInSameClassLoader(ForkedBooter.java:203)
 [surefire-booter-2.18.1.jar:2.18.1]
        at 
org.apache.maven.surefire.booter.ForkedBooter.runSuitesInProcess(ForkedBooter.java:155)
 [surefire-booter-2.18.1.jar:2.18.1]
        at 
org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:103) 
[surefire-booter-2.18.1.jar:2.18.1]

12:21:08,456 INFO  [org.apache.activemq.artemis.core.server] AMQ221002: Apache 
ActiveMQ Artemis Message Broker version 1.1.0.wildfly-010 
[898dd115-b7be-11e5-89d8-af6746d76756] stopped
12:21:08,459 INFO  [org.apache.activemq.artemis.core.server] #*#*# Finished 
test: testSingleNonExclusiveDivert3()...
{code}

It looks like that timeout for consumer.receive is too small.



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

Reply via email to