Uploaded image for project: 'WildFly WIP'
  1. WildFly WIP
  2. WFWIP-119

[Artemis 2.x upgrade] Lost message in replicated HA scenario with MDB

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Blocker Blocker
    • Artemis
    • None
    • Hide
      git clone git://git.app.eng.bos.redhat.com/jbossqe/eap-tests-hornetq.git
      cd eap-tests-hornetq/scripts/
      git checkout eap7.2.x-artemis2.x-ha-jdbc
      groovy -DEAP_ZIP_URL=https://eap-qe-jenkins.rhev-ci-vms.eng.rdu2.redhat.com/job/eap-7.x-messaging-testing-prepare/282/artifact/jboss-eap.zip 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=ReplicatedDedicatedFailoverTestWithMdb#testStopLivesBackupStartLivesBackup -Deap7.org.jboss.qa.hornetq.apps.clients.version=7.1534928425-SNAPSHOT -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 eap7.2.x-artemis2.x-ha-jdbc groovy -DEAP_ZIP_URL=https: //eap-qe-jenkins.rhev-ci-vms.eng.rdu2.redhat.com/job/eap-7.x-messaging-testing-prepare/282/artifact/jboss-eap.zip 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=ReplicatedDedicatedFailoverTestWithMdb#testStopLivesBackupStartLivesBackup -Deap7.org.jboss.qa.hornetq.apps.clients.version=7.1534928425-SNAPSHOT -DfailIfNoTests= false -Deap=7x | tee log

      Scenario

      • Start live/backup pair in replicated dedicated topology and start one more server which is in Artemis cluster with live.
      • Send messages to queue InQueue.
      • Start another server with MDB connected to cluster with live server which resend messages from InQueue to OutQueue.
      • Stop backup server and then live server.
      • Stop server which was in cluster with live server.
      • Start live server and server in cluster.
      • Start backup server.

      The test fails because one message get lost. It wasn't sent to OutQueue.

      Logs from failed test including traces you can find in [1].

      [1] https://eap-qe-jenkins.rhev-ci-vms.eng.rdu2.redhat.com/job/eap-7.x-messaging-run-one-test-until-fail/201/

              csuconic@redhat.com Clebert Suconic
              eduda_jira Erich Duda (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

                Created:
                Updated:
                Resolved: