Uploaded image for project: 'AMQ Broker'
  1. AMQ Broker
  2. ENTMQBR-706

[TCK] Openwire/AMQP occasional fails with temporaryTopic/Queue

XMLWordPrintable

    • Compatibility/Configuration, User Experience
    • AMQ Broker 7.1 Sprint 2

      There are occasional fails in temporaryQueue and temporaryTopic tests from TCK.
      Sadly, they show up only in 15-20% of executed jobs.

      com/sun/ts/tests/jms/core/queuetests/QueueTests.java#temporaryQueueNotConsumableTest_from_standalone
      com/sun/ts/tests/jms/core/topictests/TopicTests.java#temporaryTopicNotConsumableTest_from_standalone
      

      Here's the offending job build

      [javatest.batch] Beginning Test:  com/sun/ts/tests/jms/core/topictests/TopicTests.java#temporaryTopicNotConsumableTest_from_standalone
      [javatest.batch] ********************************************************************************
      [javatest.batch] 
      [javatest.batch] 2017-06-28 08:26:29:  Harness - harness.executeMode is set to "2"
      [javatest.batch] 2017-06-28 08:26:29:  Harness - keywords (to be passed to tests) set to:  all
      [javatest.batch] 2017-06-28 08:26:29:  Harness - sClassPathFromExecProps = 
      [javatest.batch] command: com.sun.ts.lib.harness.ExecTSTestCmd CLASSPATH=:/tmp/tckjms20_workspace/jmstck/bin/xml/../../lib/tsharness.jar:/tmp/tckjms20_workspace/jmstck/bin/xml/../../lib/sigtest.jar:/tmp/tckjms20_workspace/jmstck/bin/xml/../../lib/jmstck.jar:/tmp/tckjms20_workspace/jmstck/bin/xml/../../classes:/tmp/tckjms20_workspace/jmstck/bin/xml/../../bin:/tmp/tckjms20_workspace/owirejms/aoc-downstream-ga-5.11.0.redhat-630254.jar DISPLAY=:0.0 HOME=/root windir= SYSTEMROOT= /opt/ibm/java-x86_64-1.8.0/jre/bin/java -Djava.security.policy=/tmp/tckjms20_workspace/jmstck/bin/xml/../../bin/harness.policy -Djava.security.manager -Ddeliverable.class=com.sun.ts.lib.deliverable.jms.JMSDeliverable -Djava.endorsed.dirs= com.sun.ts.tests.common.vehicle.VehicleClient -p /tmp/tckjms20_workspace/jmstck/bin/xml/../../tmp/tstest.jte -t temporaryTopicNotConsumableTest -vehicle standalone
      [javatest.batch] ************************************************************
      [javatest.batch] * props file set to "/tmp/root-cts-props.txt"
      [javatest.batch] ************************************************************
      [javatest.batch] 2017-06-28 08:26:29:  TSJMSObjects.getJMSObjectsInstance()
      [javatest.batch] 2017-06-28 08:26:29:  Porting implementation class=com.sun.ts.lib.implementation.sun.jms.SunRIJMSObjects
      [javatest.batch] 2017-06-28 08:26:29:  Creating TemporaryTopic
      [javatest.batch] 2017-06-28 08:26:29:  Creating new Connection
      [javatest.batch] 2017-06-28 08:26:29:  Create new Session
      [javatest.batch] 2017-06-28 08:26:29:  Create new publisher for TemporaryTopic
      [javatest.batch] 2017-06-28 08:26:29:  Send message to TemporaryTopic
      [javatest.batch] 2017-06-28 08:26:29:  TextMessage created. Now publishing
      [javatest.batch] 2017-06-28 08:26:29:  ERROR: javax.jms.InvalidDestinationException: Cannot publish to a deleted Destination: temp-topic://ID:dhcp-127-10.lab.eng.brq.redhat.com-35340-1498638389559-1:1:1
      [javatest.batch] 	at org.apache.activemq.ActiveMQSession.send(ActiveMQSession.java:1904)
      [javatest.batch] 	at org.apache.activemq.ActiveMQMessageProducer.send(ActiveMQMessageProducer.java:288)
      [javatest.batch] 	at org.apache.activemq.ActiveMQMessageProducer.send(ActiveMQMessageProducer.java:223)
      [javatest.batch] 	at org.apache.activemq.ActiveMQMessageProducerSupport.send(ActiveMQMessageProducerSupport.java:241)
      [javatest.batch] 	at org.apache.activemq.ActiveMQTopicPublisher.publish(ActiveMQTopicPublisher.java:123)
      [javatest.batch] 	at com.sun.ts.tests.jms.core.topictests.TopicTests.temporaryTopicNotConsumableTest(TopicTests.java:529)
      [javatest.batch] 	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      [javatest.batch] 	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:95)
      [javatest.batch] 	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:55)
      [javatest.batch] 	at java.lang.reflect.Method.invoke(Method.java:507)
      [javatest.batch] 	at com.sun.ts.lib.harness.EETest.run(EETest.java:550)
      [javatest.batch] 	at com.sun.ts.lib.harness.ServiceEETest.run(ServiceEETest.java:113)
      [javatest.batch] 	at com.sun.ts.tests.common.vehicle.EmptyVehicleRunner.run(EmptyVehicleRunner.java:30)
      [javatest.batch] 	at com.sun.ts.lib.harness.ServiceEETest.run(ServiceEETest.java:102)
      [javatest.batch] 	at com.sun.ts.lib.harness.EETest.getPropsReady(EETest.java:446)
      [javatest.batch] 	at com.sun.ts.lib.harness.ServiceEETest.run(ServiceEETest.java:210)
      [javatest.batch] 	at com.sun.ts.lib.harness.EETest.run(EETest.java:257)
      [javatest.batch] 	at com.sun.ts.tests.common.vehicle.VehicleClient.main(VehicleClient.java:27)
      [javatest.batch] 
      [javatest.batch] 2017-06-28 08:26:29:  ERROR: temporaryTopicNotConsumableTest
      [javatest.batch] 2017-06-28 08:26:29:  ERROR: Test case throws exception: temporaryTopicNotConsumableTest
      [javatest.batch] 2017-06-28 08:26:29:  ERROR: Exception at:  
      [javatest.batch] 2017-06-28 08:26:29:  ERROR: com.sun.ts.lib.harness.EETest$Fault: temporaryTopicNotConsumableTest
      [javatest.batch] 	at com.sun.ts.tests.jms.core.topictests.TopicTests.temporaryTopicNotConsumableTest(TopicTests.java:550)
      [javatest.batch] 	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      [javatest.batch] 	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:95)
      [javatest.batch] 	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:55)
      [javatest.batch] 	at java.lang.reflect.Method.invoke(Method.java:507)
      [javatest.batch] 	at com.sun.ts.lib.harness.EETest.run(EETest.java:550)
      [javatest.batch] 	at com.sun.ts.lib.harness.ServiceEETest.run(ServiceEETest.java:113)
      [javatest.batch] 	at com.sun.ts.tests.common.vehicle.EmptyVehicleRunner.run(EmptyVehicleRunner.java:30)
      [javatest.batch] 	at com.sun.ts.lib.harness.ServiceEETest.run(ServiceEETest.java:102)
      [javatest.batch] 	at com.sun.ts.lib.harness.EETest.getPropsReady(EETest.java:446)
      [javatest.batch] 	at com.sun.ts.lib.harness.ServiceEETest.run(ServiceEETest.java:210)
      [javatest.batch] 	at com.sun.ts.lib.harness.EETest.run(EETest.java:257)
      [javatest.batch] 	at com.sun.ts.tests.common.vehicle.VehicleClient.main(VehicleClient.java:27)
      [javatest.batch] 
      [javatest.batch] 2017-06-28 08:26:29:  Cleanup: Closing Topic Connections
      [javatest.batch] STATUS:Failed.Test case throws exception: temporaryTopicNotConsumableTest
      [javatest.batch] Failed. Test case throws exception: temporaryTopicNotConsumableTest
      [javatest.batch] ********************************************************************************
      [javatest.batch] Finished Test:  FAILED........com/sun/ts/tests/jms/core/topictests/TopicTests.java#temporaryTopicNotConsumableTest_from_standalone
      [javatest.batch] ********************************************************************************
      
      [javatest.batch] Beginning Test:  com/sun/ts/tests/jms/core/queuetests/QueueTests.java#temporaryQueueNotConsumableTest_from_standalone
      [javatest.batch] ********************************************************************************
      [javatest.batch] 
      [javatest.batch] 2017-06-28 08:12:50:  Harness - harness.executeMode is set to "2"
      [javatest.batch] 2017-06-28 08:12:50:  Harness - keywords (to be passed to tests) set to:  all
      [javatest.batch] 2017-06-28 08:12:50:  Harness - sClassPathFromExecProps = 
      [javatest.batch] command: com.sun.ts.lib.harness.ExecTSTestCmd CLASSPATH=:/tmp/tckjms20_workspace/jmstck/bin/xml/../../lib/tsharness.jar:/tmp/tckjms20_workspace/jmstck/bin/xml/../../lib/sigtest.jar:/tmp/tckjms20_workspace/jmstck/bin/xml/../../lib/jmstck.jar:/tmp/tckjms20_workspace/jmstck/bin/xml/../../classes:/tmp/tckjms20_workspace/jmstck/bin/xml/../../bin:/tmp/tckjms20_workspace/owirejms/aoc-downstream-ga-5.11.0.redhat-630254.jar DISPLAY=:0.0 HOME=/root windir= SYSTEMROOT= /opt/ibm/java-x86_64-1.8.0/jre/bin/java -Djava.security.policy=/tmp/tckjms20_workspace/jmstck/bin/xml/../../bin/harness.policy -Djava.security.manager -Ddeliverable.class=com.sun.ts.lib.deliverable.jms.JMSDeliverable -Djava.endorsed.dirs= com.sun.ts.tests.common.vehicle.VehicleClient -p /tmp/tckjms20_workspace/jmstck/bin/xml/../../tmp/tstest.jte -t temporaryQueueNotConsumableTest -vehicle standalone
      [javatest.batch] ************************************************************
      [javatest.batch] * props file set to "/tmp/root-cts-props.txt"
      [javatest.batch] ************************************************************
      [javatest.batch] 2017-06-28 08:12:50:  TSJMSObjects.getJMSObjectsInstance()
      [javatest.batch] 2017-06-28 08:12:50:  Porting implementation class=com.sun.ts.lib.implementation.sun.jms.SunRIJMSObjects
      [javatest.batch] 2017-06-28 08:12:50:  Creating TemporaryQueue
      [javatest.batch] 2017-06-28 08:12:50:  Creating new Connection
      [javatest.batch] 2017-06-28 08:12:50:  Create new Session
      [javatest.batch] 2017-06-28 08:12:50:  Create new sender for TemporaryQueue
      [javatest.batch] 2017-06-28 08:12:50:  Send message to TemporaryQueue
      [javatest.batch] 2017-06-28 08:12:50:  ERROR: javax.jms.InvalidDestinationException: Cannot publish to a deleted Destination: temp-queue://ID:dhcp-127-10.lab.eng.brq.redhat.com-42894-1498637570629-1:1:1
      [javatest.batch] 	at org.apache.activemq.ActiveMQSession.send(ActiveMQSession.java:1904)
      [javatest.batch] 	at org.apache.activemq.ActiveMQMessageProducer.send(ActiveMQMessageProducer.java:288)
      [javatest.batch] 	at org.apache.activemq.ActiveMQMessageProducer.send(ActiveMQMessageProducer.java:223)
      [javatest.batch] 	at org.apache.activemq.ActiveMQMessageProducerSupport.send(ActiveMQMessageProducerSupport.java:241)
      [javatest.batch] 	at com.sun.ts.tests.jms.core.queuetests.QueueTests.temporaryQueueNotConsumableTest(QueueTests.java:405)
      [javatest.batch] 	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      [javatest.batch] 	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:95)
      [javatest.batch] 	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:55)
      [javatest.batch] 	at java.lang.reflect.Method.invoke(Method.java:507)
      [javatest.batch] 	at com.sun.ts.lib.harness.EETest.run(EETest.java:550)
      [javatest.batch] 	at com.sun.ts.lib.harness.ServiceEETest.run(ServiceEETest.java:113)
      [javatest.batch] 	at com.sun.ts.tests.common.vehicle.EmptyVehicleRunner.run(EmptyVehicleRunner.java:30)
      [javatest.batch] 	at com.sun.ts.lib.harness.ServiceEETest.run(ServiceEETest.java:102)
      [javatest.batch] 	at com.sun.ts.lib.harness.EETest.getPropsReady(EETest.java:446)
      [javatest.batch] 	at com.sun.ts.lib.harness.ServiceEETest.run(ServiceEETest.java:210)
      [javatest.batch] 	at com.sun.ts.lib.harness.EETest.run(EETest.java:257)
      [javatest.batch] 	at com.sun.ts.tests.common.vehicle.VehicleClient.main(VehicleClient.java:27)
      [javatest.batch] 
      [javatest.batch] 2017-06-28 08:12:50:  ERROR: temporaryQueueNotConsumableTest failed
      [javatest.batch] 2017-06-28 08:12:50:  ERROR: Test case throws exception: temporaryQueueNotConsumableTest failed
      [javatest.batch] 2017-06-28 08:12:50:  ERROR: Exception at:  
      [javatest.batch] 2017-06-28 08:12:50:  ERROR: com.sun.ts.lib.harness.EETest$Fault: temporaryQueueNotConsumableTest failed
      [javatest.batch] 	at com.sun.ts.tests.jms.core.queuetests.QueueTests.temporaryQueueNotConsumableTest(QueueTests.java:425)
      [javatest.batch] 	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      [javatest.batch] 	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:95)
      [javatest.batch] 	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:55)
      [javatest.batch] 	at java.lang.reflect.Method.invoke(Method.java:507)
      [javatest.batch] 	at com.sun.ts.lib.harness.EETest.run(EETest.java:550)
      [javatest.batch] 	at com.sun.ts.lib.harness.ServiceEETest.run(ServiceEETest.java:113)
      [javatest.batch] 	at com.sun.ts.tests.common.vehicle.EmptyVehicleRunner.run(EmptyVehicleRunner.java:30)
      [javatest.batch] 	at com.sun.ts.lib.harness.ServiceEETest.run(ServiceEETest.java:102)
      [javatest.batch] 	at com.sun.ts.lib.harness.EETest.getPropsReady(EETest.java:446)
      [javatest.batch] 	at com.sun.ts.lib.harness.ServiceEETest.run(ServiceEETest.java:210)
      [javatest.batch] 	at com.sun.ts.lib.harness.EETest.run(EETest.java:257)
      [javatest.batch] 	at com.sun.ts.tests.common.vehicle.VehicleClient.main(VehicleClient.java:27)
      [javatest.batch] 
      [javatest.batch] 2017-06-28 08:12:50:  Cleanup: Closing Queue Connections
      [javatest.batch] STATUS:Failed.Test case throws exception: temporaryQueueNotConsumableTest failed
      [javatest.batch] Failed. Test case throws exception: temporaryQueueNotConsumableTest failed
      [javatest.batch] ********************************************************************************
      [javatest.batch] Finished Test:  FAILED........com/sun/ts/tests/jms/core/queuetests/QueueTests.java#temporaryQueueNotConsumableTest_from_standalone
      [javatest.batch] ********************************************************************************
      

              gaohoward Howard Gao
              mtoth@redhat.com Michal Toth
              Votes:
              0 Vote for this issue
              Watchers:
              5 Start watching this issue

                Created:
                Updated:
                Resolved: