Uploaded image for project: 'A-MQ Broker'
  1. A-MQ Broker
  2. ENTMQBR-441

ActiveMQ CPP (CMS) multiple regressions in integration unit test suite on ER3

    Details

    • Type: Bug
    • Status: Done
    • Priority: Major
    • Resolution: Done
    • Affects Version/s: A-MQ 7.0.0.ER4, A-MQ 7.0.0.ER12
    • Fix Version/s: A-MQ 7.0.0.GA
    • Component/s: None
    • Labels:
    • Target Release:
    • Steps to Reproduce:
      Hide

      1.) make sure that apr and cppunit are installed
      2.) git clone https://git-wip-us.apache.org/repos/asf/activemq-cpp.git
      3.) cd activamq-cpp/activamq-cpp
      4.) git checkout tags/activemq-cpp-3.9.3
      5.) ./autogen.sh
      6.) ./configure
      7.) make check
      8.) cd src/test-integration
      9.) Start AMQ7 broker
      10.) ./activemq-test-integration

      Show
      1.) make sure that apr and cppunit are installed 2.) git clone https://git-wip-us.apache.org/repos/asf/activemq-cpp.git 3.) cd activamq-cpp/activamq-cpp 4.) git checkout tags/activemq-cpp-3.9.3 5.) ./autogen.sh 6.) ./configure 7.) make check 8.) cd src/test-integration 9.) Start AMQ7 broker 10.) ./activemq-test-integration

      Description

      Following test start to fail on AMQ7 ER3:

      1) test: N8activemq4test8openwire27OpenwireTempDestinationTestE::testPublishFailsForClosedConnection (F) line: 369 activemq/test/openwire/OpenwireTempDestinationTest.cpp
      expected exception not thrown
      - Should throw a InvalidDestinationException since temp destination should not exist anymore.
      - Expected: cms::InvalidDestinationException
      
      2) test: N8activemq4test8openwire26OpenwireXATransactionsTestE::testXAResource_Exception1 (E)
      uncaught exception of type N3cms11XAExceptionE
      
      3) test: N8activemq4test8openwire26OpenwireXATransactionsTestE::testXAResource_Exception2 (E)
      uncaught exception of type N3cms11XAExceptionE
      
      4) test: N8activemq4test8openwire26OpenwireXATransactionsTestE::testXAResource_Exception3 (E)
      uncaught exception of type N3cms11XAExceptionE
      
      5) test: N8activemq4test8openwire18OpenwireSimpleTestE::testWithZeroConsumerPrefetchAndZeroRedelivery (E)
      uncaught exception of type N8activemq10exceptions17ActiveMQExceptionE
      - AMQ119025: Cannot delete queue jms.queue.testWithZeroConsumerPrefetchAndZeroRedelivery on binding jms.queue.testWithZeroConsumerPrefetchAndZeroRedelivery - it has consumers = org.apache.activemq.artemis.core.postoffice.impl.LocalQueueBinding
      
      6) test: N8activemq4test8openwire20OpenwireAdvisoryTestE::testConcurrentTempDestCreation (F) line: 177 activemq/test/openwire/OpenwireAdvisoryTest.cpp
      assertion failed
      - Expression: thread1.isNoErrors()
      

      This is a regression between ER2 and ER3 and still persists on ER12 (except testConcurrentTempDestCreation that is passing again on ER12).
      Test console transcripts and broker logs are attached for both ER2 and ER3 runs.

      Note: There are multiple failing tests when executing CMS integration units against AMQ7/Artemis (please see ENTMQBR-417 and ENTMQ-422 for details). Due to multiple questions around CMS integration test suite support we did not identify this regression earlier.

        Gliffy Diagrams

          Attachments

          1. AMQ7_ER2.log
            15 kB
          2. AMQ7_ER3.log
            138 kB
          3. CMS_units_ER2.log
            6 kB
          4. CMS_units_ER3.log
            6 kB

            Issue Links

              Activity

                People

                • Assignee:
                  ataylor Andy Taylor
                  Reporter:
                  pematous Petr Matousek
                • Votes:
                  0 Vote for this issue
                  Watchers:
                  3 Start watching this issue

                  Dates

                  • Created:
                    Updated:
                    Resolved: