-
Bug
-
Resolution: Obsolete
-
Major
-
A-MQ 7.0.0.ER17
-
None
-
None
In ER17 there is a pretty good improvement for JMS Openwire issues. Occasionally I see failing tests with temporary queues being deleted a bit sooner than what test expects. This is not happening always. There are executions without any temporary queue issues at all.
I would say this is not a high priority item for 7.0.0 GA, but I would recommend 7.0.1 as target release. I hope ataylor@redhat.com agrees with me.
com/sun/ts/tests/jms/core/topictests/TopicTests.java#temporaryTopicConnectionClosesTest_from_standalone com/sun/ts/tests/jms/core/queuetests/QueueTests.java#temporaryQueueNotConsumableTest_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-03-11 00:56:46: Harness - harness.executeMode is set to "2" [javatest.batch] 2017-03-11 00:56:46: Harness - keywords (to be passed to tests) set to: all [javatest.batch] 2017-03-11 00:56:46: 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/aoc7-downstream-ga-5.11.0.redhat-630187.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-03-11 00:56:47: TSJMSObjects.getJMSObjectsInstance() [javatest.batch] 2017-03-11 00:56:47: Porting implementation class=com.sun.ts.lib.implementation.sun.jms.SunRIJMSObjects [javatest.batch] 2017-03-11 00:56:47: Creating TemporaryQueue [javatest.batch] 2017-03-11 00:56:47: Creating new Connection [javatest.batch] 2017-03-11 00:56:47: Create new Session [javatest.batch] 2017-03-11 00:56:47: Create new sender for TemporaryQueue [javatest.batch] 2017-03-11 00:56:47: Send message to TemporaryQueue [javatest.batch] 2017-03-11 00:56:47: ERROR: javax.jms.InvalidDestinationException: Cannot publish to a deleted Destination: temp-queue://ID:dhcp-127-146.lab.eng.brq.redhat.com-34985-1489193807324-1:1:1 [javatest.batch] at org.apache.activemq.ActiveMQSession.send(ActiveMQSession.java:1899) [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-03-11 00:56:47: ERROR: temporaryQueueNotConsumableTest failed [javatest.batch] 2017-03-11 00:56:47: ERROR: Test case throws exception: temporaryQueueNotConsumableTest failed [javatest.batch] 2017-03-11 00:56:47: ERROR: Exception at: [javatest.batch] 2017-03-11 00:56:47: 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-03-11 00:56:47: 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] ******************************************************************************** [javatest.batch] Beginning Test: com/sun/ts/tests/jms/core/topictests/TopicTests.java#temporaryTopicConnectionClosesTest_from_standalone [javatest.batch] ******************************************************************************** [javatest.batch] [javatest.batch] 2017-03-11 01:10:20: Harness - harness.executeMode is set to "2" [javatest.batch] 2017-03-11 01:10:20: Harness - keywords (to be passed to tests) set to: all [javatest.batch] 2017-03-11 01:10:20: 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/aoc7-downstream-ga-5.11.0.redhat-630187.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 temporaryTopicConnectionClosesTest -vehicle standalone [javatest.batch] ************************************************************ [javatest.batch] * props file set to "/tmp/root-cts-props.txt" [javatest.batch] ************************************************************ [javatest.batch] 2017-03-11 01:10:20: TSJMSObjects.getJMSObjectsInstance() [javatest.batch] 2017-03-11 01:10:20: Porting implementation class=com.sun.ts.lib.implementation.sun.jms.SunRIJMSObjects [javatest.batch] 2017-03-11 01:10:20: ERROR: javax.jms.InvalidDestinationException: Cannot publish to a deleted Destination: temp-topic://ID:dhcp-127-146.lab.eng.brq.redhat.com-44523-1489194620450-1:1:1 [javatest.batch] at org.apache.activemq.ActiveMQSession.send(ActiveMQSession.java:1899) [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.temporaryTopicConnectionClosesTest(TopicTests.java:454) [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-03-11 01:10:20: ERROR: temporaryTopicConnectionClosesTest [javatest.batch] 2017-03-11 01:10:20: ERROR: Test case throws exception: temporaryTopicConnectionClosesTest [javatest.batch] 2017-03-11 01:10:20: ERROR: Exception at: [javatest.batch] 2017-03-11 01:10:20: ERROR: com.sun.ts.lib.harness.EETest$Fault: temporaryTopicConnectionClosesTest [javatest.batch] at com.sun.ts.tests.jms.core.topictests.TopicTests.temporaryTopicConnectionClosesTest(TopicTests.java:483) [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-03-11 01:10:20: Cleanup: Closing Topic Connections [javatest.batch] STATUS:Failed.Test case throws exception: temporaryTopicConnectionClosesTest [javatest.batch] Failed. Test case throws exception: temporaryTopicConnectionClosesTest [javatest.batch] ******************************************************************************** [javatest.batch] Finished Test: FAILED........com/sun/ts/tests/jms/core/topictests/TopicTests.java#temporaryTopicConnectionClosesTest_from_standalone