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

[TCK] AMQP test failures related to max consumer limit reached

XMLWordPrintable

    • Compatibility/Configuration

      Following tests are failing with the latest 7.1.0 CR1 build. They were fine with 7.1.0 ER2.

      com/sun/ts/tests/jms/core/appclient/txtopictests/TxTopicTests.java#commitAckMsgTopicTest_from_standalone
      com/sun/ts/tests/jms/core20/sessiontests/Client.java#createDurableSubscriberTopicTest2_from_standalone
      com/sun/ts/tests/jms/core/topictests/TopicTests.java#durableSubscriberChangeSelectorTest_from_standalone
      com/sun/ts/tests/jms/core/topictests/TopicTests.java#durableSubscriberNewTopicTest_from_standalone
      com/sun/ts/tests/jms/core20/jmscontexttopictests/Client.java#createDurableConsumerTest2_from_standalone
      com/sun/ts/tests/jms/core20/jmscontexttopictests/Client.java#durableConsumerChangeSelectorTest_from_standalone
      

      Almost all tests error out on following exception

      javatest.batch] 2017-11-18 12:41:37:  ERROR: javax.jms.JMSException: AMQ219005: error creating consumer, AMQ119200: Maximum Consumer Limit Reached on Queue:(address=MY_TOPIC,queue=cts.commitAckMsgTopicTestSubscription) [condition = amqp:internal-error]
      [javatest.batch] 	at org.apache.qpid.jms.provider.amqp.AmqpSupport.convertToException(AmqpSupport.java:164)
      [javatest.batch] 	at org.apache.qpid.jms.provider.amqp.AmqpSupport.convertToException(AmqpSupport.java:117)
      [javatest.batch] 	at org.apache.qpid.jms.provider.amqp.builders.AmqpResourceBuilder.handleClosed(AmqpResourceBuilder.java:185)
      [javatest.batch] 	at org.apache.qpid.jms.provider.amqp.builders.AmqpResourceBuilder.processRemoteClose(AmqpResourceBuilder.java:129)
      [javatest.batch] 	at org.apache.qpid.jms.provider.amqp.AmqpProvider.processUpdates(AmqpProvider.java:903)
      [javatest.batch] 	at org.apache.qpid.jms.provider.amqp.AmqpProvider.access$1800(AmqpProvider.java:101)
      [javatest.batch] 	at org.apache.qpid.jms.provider.amqp.AmqpProvider$17.run(AmqpProvider.java:789)
      [javatest.batch] 	at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)
      [javatest.batch] 	at java.util.concurrent.FutureTask.run(FutureTask.java:266)
      [javatest.batch] 	at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$201(ScheduledThreadPoolExecutor.java:180)
      [javatest.batch] 	at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:293)
      [javatest.batch] 	at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)
      [javatest.batch] 	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
      [javatest.batch] 	at java.lang.Thread.run(Thread.java:748)
      [javatest.batch] 
      [javatest.batch] 2017-11-18 12:41:37:  ERROR: commitAckMsgTopicTest
      [javatest.batch] 2017-11-18 12:41:37:  ERROR: Test case throws exception: commitAckMsgTopicTest
      [javatest.batch] 2017-11-18 12:41:37:  ERROR: Exception at:  
      [javatest.batch] 2017-11-18 12:41:37:  ERROR: com.sun.ts.lib.harness.EETest$Fault: commitAckMsgTopicTest
      [javatest.batch] 	at com.sun.ts.tests.jms.core.appclient.txtopictests.TxTopicTests.commitAckMsgTopicTest(TxTopicTests.java:188)
      [javatest.batch] 	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      [javatest.batch] 	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
      [javatest.batch] 	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
      [javatest.batch] 	at java.lang.reflect.Method.invoke(Method.java:498)
      [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] 
      

      For more details please see attached "runclient.log" file, which holds whole output from TCK tests.
      Core and Openwire protocols are not affected.
      Here is one of our jobs in our CI 7.1.0 jms tck

            rh-ee-ataylor Andy Taylor
            mtoth@redhat.com Michal Toth
            Michal Toth Michal Toth
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: