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

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

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Major Major
    • A-MQ 7.0.0.GA
    • A-MQ 7.0.0.ER4, A-MQ 7.0.0.ER12
    • None
    • 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

      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.

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

              rh-ee-ataylor Andy Taylor
              pematous Petr Matousek
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

                Created:
                Updated:
                Resolved: