Uploaded image for project: 'JBoss Enterprise Application Platform'
  1. JBoss Enterprise Application Platform
  2. JBEAP-18996

ActiveMQIllegalStateException[errorType=ILLEGAL_STATE message=AMQ229027: Could not find reference on consumer after stop & start

    XMLWordPrintable

Details

    • Bug
    • Resolution: Unresolved
    • Major
    • None
    • 7.3.0.GA.CR4
    • JMS
    • None

    Description

      We are seeing ActiveMQIllegalStateException[errorType=ILLEGAL_STATE message=AMQ229027: Could not find reference on consumer ID=0 after stop & start of server

      Test scenario: Producer sends messages to a topic. Diverts distribute them to 3 queues. When server starts paging, consumers and subscriber start receiving messages. During receiving server is restarted. Receivers can't fail during restart to pass the test.

      Test sources: https://gitlab.mw.lab.eng.bos.redhat.com/jbossqe-eap/messaging-testsuite/blob/master/jboss-hornetq-testsuite/common-tests/src/test/java/org/jboss/qa/hornetq/test/diverts/DivertTestCase.java
      Test failure: https://eap-qe-jenkins.rhev-ci-vms.eng.rdu2.redhat.com/job/eap-7.x-messaging-weekly-common-functional-matrix-rhel/238/jdk=openjdk-1.8,label_exp=RHEL6&&x86_64&&dynamic&&large/consoleFull

      • Look for "RETRY receive for host" string.

      To get a trace logs from https://eap-qe-jenkins.rhev-ci-vms.eng.rdu2.redhat.com/job/eap-7.x-messaging-weekly-common-functional-matrix-rhel/238/jdk=openjdk-1.8,label_exp=RHEL6&&x86_64&&dynamic&&large/console just follow:

      wget 'https://eap-qe-jenkins.rhev-ci-vms.eng.rdu2.redhat.com/job/eap-7.x-messaging-weekly-common-functional-matrix-rhel/jdk=openjdk-1.8,label_exp=RHEL6&&x86_64&&dynamic&&large/239/artifact/logs.zip'
      # server logs could be found there as well
      unzip logs.zip eap-testsuite/jboss-hornetq-testsuite/common-tests/target/test-suite.log
      vim eap-testsuite/jboss-hornetq-testsuite/common-tests/target/test-suite.log
      # serach for "RETRY receive for host"
      

      Unfortunately I'm neither the test author, not the JMS enthusiast, but I can try to provide more details if required.

      We're seeing the test failure in ~5% of test runs, no metter the platform or JDK.

      Not an regression as looking to the test case git history, I'd tell the test was intermittently failing ever since it was introduced.

      Attachments

        Issue Links

          Activity

            People

              jboss-set_jira JBoss SET
              pkremens@redhat.com Petr Kremensky (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

                Created:
                Updated: