-
Bug
-
Resolution: Won't Do
-
Major
-
None
-
AMQ 7.2.0.GA
-
Documentation (Ref Guide, User Guide, etc.)
-
This test is similar to a JMS TCK test for temporary destinations. Both tests are flaky in a similar way when using OpenWire protocol. See ENTMQBR-706.
javax.jms.InvalidDestinationException: Cannot publish to a deleted Destination: temp-queue://ID:localhost-33215-1532677768617-7:1:1 at org.apache.activemq.ActiveMQSession.send(ActiveMQSession.java:1904) at org.apache.activemq.ActiveMQMessageProducer.send(ActiveMQMessageProducer.java:288) at org.apache.activemq.ActiveMQMessageProducer.send(ActiveMQMessageProducer.java:223) at org.apache.activemq.ActiveMQMessageProducerSupport.send(ActiveMQMessageProducerSupport.java:241) at org.apache.activemq.artemis.tests.integration.openwire.SimpleOpenWireTest.testTempQueueDelete(SimpleOpenWireTest.java:773) 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) [...]
Full log from a test run
[main] 09:49:31,946 INFO [org.apache.activemq.artemis.core.server] **** start #test testTempQueueDelete() *** [main] 09:49:31,972 INFO [org.apache.activemq.artemis.core.server] AMQ221000: live Message Broker is starting with configuration Broker Configuration (clustered=false,journalDirectory=/home/jdanek/Work/repos/activemq-artemis/tests/integration-tests/./target/tmp/junit7666856527787420308/journal0-L,bindingsDirectory=/home/jdanek/Work/repos/activemq-artemis/tests/integration-tests/./target/tmp/junit7666856527787420308/bindings0-L,largeMessagesDirectory=/home/jdanek/Work/repos/activemq-artemis/tests/integration-tests/./target/tmp/junit7666856527787420308/large-msg0-L,pagingDirectory=/home/jdanek/Work/repos/activemq-artemis/tests/integration-tests/./target/tmp/junit7666856527787420308/page0-L) [main] 09:49:31,972 INFO [org.apache.activemq.artemis.core.server] AMQ221013: Using NIO Journal [main] 09:49:31,973 INFO [org.apache.activemq.artemis.core.server] AMQ221043: Protocol module found: [artemis-server]. Adding protocol support for: CORE [main] 09:49:31,973 INFO [org.apache.activemq.artemis.core.server] AMQ221043: Protocol module found: [artemis-amqp-protocol]. Adding protocol support for: AMQP [main] 09:49:31,973 INFO [org.apache.activemq.artemis.core.server] AMQ221043: Protocol module found: [artemis-stomp-protocol]. Adding protocol support for: STOMP [main] 09:49:31,973 INFO [org.apache.activemq.artemis.core.server] AMQ221043: Protocol module found: [artemis-openwire-protocol]. Adding protocol support for: OPENWIRE [main] 09:49:31,974 INFO [org.apache.activemq.artemis.core.server] AMQ221043: Protocol module found: [artemis-hornetq-protocol]. Adding protocol support for: HORNETQ [main] 09:49:31,974 INFO [org.apache.activemq.artemis.core.server] AMQ221043: Protocol module found: [artemis-mqtt-protocol]. Adding protocol support for: MQTT [main] 09:49:31,983 INFO [org.apache.activemq.artemis.core.server] AMQ221034: Waiting indefinitely to obtain live lock [main] 09:49:31,983 INFO [org.apache.activemq.artemis.core.server] AMQ221035: Live Server Obtained live lock [org.apache.commons.beanutils.BeanUtils] : BeanUtils.populate(CoreProtocolManager(server=ActiveMQServerImpl::serverUUID=99095e08-9171-11e8-ae89-36ca35e488ec), {}) [org.apache.commons.beanutils.BeanUtils] : BeanUtils.populate(org.apache.activemq.artemis.core.protocol.mqtt.MQTTProtocolManager@135606db, {}) [org.apache.commons.beanutils.BeanUtils] : BeanUtils.populate(org.apache.activemq.artemis.protocol.amqp.broker.ProtonProtocolManager@518caac3, {}) [org.apache.commons.beanutils.BeanUtils] : BeanUtils.populate(org.apache.activemq.artemis.core.protocol.stomp.StompProtocolManager@68034211, {}) [org.apache.commons.beanutils.BeanUtils] : BeanUtils.populate(HornetQProtocolManager(server=ActiveMQServerImpl::serverUUID=99095e08-9171-11e8-ae89-36ca35e488ec), {}) [org.apache.commons.beanutils.BeanUtils] : BeanUtils.populate(org.apache.activemq.artemis.core.protocol.openwire.OpenWireProtocolManager@4f74980d, {}) [main] 09:49:31,990 INFO [org.apache.activemq.artemis.core.server] AMQ221020: Started EPOLL Acceptor at localhost:61616 for protocols [CORE,MQTT,AMQP,STOMP,HORNETQ,OPENWIRE] [main] 09:49:32,006 INFO [org.apache.activemq.artemis.core.server] AMQ221007: Server is now live [main] 09:49:32,006 INFO [org.apache.activemq.artemis.core.server] AMQ221001: Apache ActiveMQ Artemis Message Broker version 2.7.0-SNAPSHOT [localhost, nodeID=99095e08-9171-11e8-ae89-36ca35e488ec] [org.apache.commons.beanutils.ConvertUtils] : Convert string '0' to class 'java.lang.String' [org.apache.commons.beanutils.converters.StringConverter] : Converting 'String' value '0' to type 'String' [org.apache.commons.beanutils.converters.IntegerConverter] : Converting 'Integer' value '-1' to type 'Integer' [org.apache.commons.beanutils.converters.IntegerConverter] : No conversion required, value is already a Integer [org.apache.commons.beanutils.BeanUtils] : BeanUtils.populate(JMSConnectionOptions{, factoryType=CF}, {reconnectAttempts=-1}) [org.apache.commons.beanutils.BeanUtils] : BeanUtils.populate(ActiveMQConnectionFactory [serverLocator=ServerLocatorImpl [initialConnectors=[TransportConfiguration(name=cf, factory=org-apache-activemq-artemis-core-remoting-impl-invm-InVMConnectorFactory) ?serverId=0], discoveryGroupConfiguration=null], clientID=null, consumerWindowSize = 1048576, dupsOKBatchSize=1048576, transactionBatchSize=1048576, readOnly=false], {reconnectAttempts=-1}) [org.apache.commons.beanutils.ConvertUtils] : Convert string '-1' to class 'int' [org.apache.commons.beanutils.converters.IntegerConverter] : Converting 'String' value '-1' to type 'Integer' [org.apache.commons.beanutils.converters.IntegerConverter] : No NumberFormat, using default conversion [org.apache.commons.beanutils.converters.IntegerConverter] : Converted to Integer value '-1' debug: server started tear down! ActiveMQConnection {id=ID:localhost-33215-1532677768617-7:1,clientId=ID:localhost-33215-1532677768617-6:1,started=true} closing connection connection closed. Destroyed queue: amqTestQueue1 Destroyed queue: durableQueueName Destroyed queue: amqTestQueue2 [main] 09:49:32,186 INFO [org.apache.activemq.artemis.core.server] AMQ221002: Apache ActiveMQ Artemis Message Broker version 2.7.0-SNAPSHOT [99095e08-9171-11e8-ae89-36ca35e488ec] stopped, uptime 0.238 seconds Super done. [main] 09:49:32,188 INFO [org.apache.activemq.artemis.core.server] **** end #test testTempQueueDelete() *** javax.jms.InvalidDestinationException: Cannot publish to a deleted Destination: temp-queue://ID:localhost-33215-1532677768617-7:1:1 at org.apache.activemq.ActiveMQSession.send(ActiveMQSession.java:1904) at org.apache.activemq.ActiveMQMessageProducer.send(ActiveMQMessageProducer.java:288) at org.apache.activemq.ActiveMQMessageProducer.send(ActiveMQMessageProducer.java:223) at org.apache.activemq.ActiveMQMessageProducerSupport.send(ActiveMQMessageProducerSupport.java:241) at org.apache.activemq.artemis.tests.integration.openwire.SimpleOpenWireTest.testTempQueueDelete(SimpleOpenWireTest.java:773) 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.TestWatcher$1.evaluate(TestWatcher.java:55) 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.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:68) at com.intellij.rt.execution.junit.IdeaTestRunner$Repeater.startRunnerWithArgs(IdeaTestRunner.java:67) at com.intellij.rt.execution.junit.JUnitStarter.prepareStreamsAndStart(JUnitStarter.java:242) at com.intellij.rt.execution.junit.JUnitStarter.main(JUnitStarter.java:70)
- is incorporated by
-
ENTMQBR-1968 Stabilization of ActiveMQ Artemis upstream test suite
- Closed
- relates to
-
ENTMQBR-706 [TCK] Openwire/AMQP occasional fails with temporaryTopic/Queue
- Closed