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

Unfinished xids on Messaging server after Tx Crash Recovery on different Node

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Won't Do
    • Icon: Major Major
    • None
    • 7.3.0.CD18
    • Transactions
    • None
    • Hide

      By using the Transaction TestSuite you can reproduce it as follows:

      mvn clean verify -Djboss.dist=/path/to/jboss-eap-7.3 -Dtest=TxDifferentNodeCrashRecoveryTestCase -Dskip-download-sources -U -B -Dmaven.test.failure.ignore=true -Dsurefire.test.failure.ignore=true -fn -Dsurefire.rerunFailingTestsCount=1 -Dsurefire.forked.process.timeout=0 -Dmaven.repo.local=/path/to/eap-local-maven-repository -Deap -Dversion.eap=7.3.0.CD18-redhat-00002 -Dts.jbossts1.node.identifier=jXzj -Dts.jbossts2.node.identifier=Gqgz -Dts.jbossts3.node.identifier=ugUP -Djournal.objectstore.asyncio=true -Djbossts.objectstore.type=activemq > TxDifferentNodeCrashRecoveryTestCase.log
      
      Show
      By using the Transaction TestSuite you can reproduce it as follows: mvn clean verify -Djboss.dist=/path/to/jboss-eap-7.3 -Dtest=TxDifferentNodeCrashRecoveryTestCase -Dskip-download-sources -U -B -Dmaven.test.failure.ignore= true -Dsurefire.test.failure.ignore= true -fn -Dsurefire.rerunFailingTestsCount=1 -Dsurefire.forked.process.timeout=0 -Dmaven.repo.local=/path/to/eap-local-maven-repository -Deap -Dversion.eap=7.3.0.CD18-redhat-00002 -Dts.jbossts1.node.identifier=jXzj -Dts.jbossts2.node.identifier=Gqgz -Dts.jbossts3.node.identifier=ugUP -Djournal.objectstore.asyncio= true -Djbossts.objectstore.type=activemq > TxDifferentNodeCrashRecoveryTestCase.log

      The test TxDifferentNodeCrashRecoveryTestCase verifies that after a Server crash and Transaction logs have been copied to another Server, the recovery was successful.
      The following error is reported when executing a Test using AMQ as Object store on a RHEL 7 machine:

      16:46:52 Running org.jboss.as.test.jbossts.crashrec.differentnode.test.TxDifferentNodeCrashRecoveryTestCase
      16:58:07 Tests run: 5, Failures: 2, Errors: 0, Skipped: 0, Time elapsed: 672.773 sec <<< FAILURE! - in org.jboss.as.test.jbossts.crashrec.differentnode.test.TxDifferentNodeCrashRecoveryTestCase
      16:58:07 prepareHalt(org.jboss.as.test.jbossts.crashrec.differentnode.test.TxDifferentNodeCrashRecoveryTestCase)  Time elapsed: 143.018 sec  <<< FAILURE!
      16:58:07 java.lang.AssertionError: Some unfinished xids on messaging server - expected 0 but was 1
      16:58:07 	at org.junit.Assert.fail(Assert.java:88)
      16:58:07 	at org.jboss.as.test.jbossts.crashrec.differentnode.test.TxDifferentNodeCrashRecoveryTestCase.checkAfterTestExecution(TxDifferentNodeCrashRecoveryTestCase.java:792)
      16:58:07 	at org.jboss.as.test.jbossts.crashrec.differentnode.test.TxDifferentNodeCrashRecoveryTestCase.prepareHalt(TxDifferentNodeCrashRecoveryTestCase.java:565)
      

              ochaloup@redhat.com Ondrej Chaloupka (Inactive)
              fmarchio@redhat.com Francesco Marchioni (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

                Created:
                Updated:
                Resolved: