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

Duplicate messages when JMS bridge is stopped and restarted

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done
    • Critical
    • None
    • AMQ 7.2.1.GA
    • broker-core
    • None
    • Hide
      git clone git://git.app.eng.bos.redhat.com/jbossqe/eap-tests-hornetq.git
      cd eap-tests-hornetq/scripts/
      git checkout 01ee60b197d960247c7953cdfe6fceac5e2217b9
      groovy -DEAP_VERSION=7.1.0.ER2.2 PrepareServers7.groovy
      export WORKSPACE=$PWD
      export JBOSS_HOME_1=$WORKSPACE/server1/jboss-eap
      export JBOSS_HOME_2=$WORKSPACE/server2/jboss-eap
      export JBOSS_HOME_3=$WORKSPACE/server3/jboss-eap
      export JBOSS_HOME_4=$WORKSPACE/server4/jboss-eap
      
      cd ../jboss-hornetq-testsuite/
      
      mvn clean test -Dtest=JMSBridgeTestCase#testStartStopJMSBridge -DfailIfNoTests=false -Deap=7x | tee log
      
      Show
      git clone git: //git.app.eng.bos.redhat.com/jbossqe/eap-tests-hornetq.git cd eap-tests-hornetq/scripts/ git checkout 01ee60b197d960247c7953cdfe6fceac5e2217b9 groovy -DEAP_VERSION=7.1.0.ER2.2 PrepareServers7.groovy export WORKSPACE=$PWD export JBOSS_HOME_1=$WORKSPACE/server1/jboss-eap export JBOSS_HOME_2=$WORKSPACE/server2/jboss-eap export JBOSS_HOME_3=$WORKSPACE/server3/jboss-eap export JBOSS_HOME_4=$WORKSPACE/server4/jboss-eap cd ../jboss-hornetq-testsuite/ mvn clean test -Dtest=JMSBridgeTestCase#testStartStopJMSBridge -DfailIfNoTests= false -Deap=7x | tee log

    Description

      Scenario

      • Start two EAP servers
      • Deploy JMS bridge with quality of service once and only once to server 1
      • Start sending message to server 1
      • Stop JMS bridge for 5 seconds and then start it again
      • Wait until all messages are sent
      • Receive all messages from server 2

      Expectation: All messages are received from server 2. There are no duplicates.

      Reality: Receiver receives duplicate messages.

      Customer impact: Quality of service once and only once is not guaranteed.

      This is not new issue in EAP 7.1.0.ER2. I tried to run it with ER1 and I saw the duplicates too. We hadn't luck to hit the issue before.

      Attachments

        1. server-1-trace.log.zip
          4.66 MB
        2. server-2-trace.log.zip
          1.92 MB
        3. test.log
          5.80 MB
        4. test-trace.log
          15.28 MB

        Issue Links

          Activity

            People

              rhn-support-iweiss Ingo Weiss
              mnovak1@redhat.com Miroslav Novak
              Roman Vais Roman Vais
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: