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

    Details

    • Type: Bug
    • Status: Closed (View Workflow)
    • Priority: Major
    • Resolution: Rejected
    • Affects Version/s: 7.3.0.CD18
    • Fix Version/s: None
    • Component/s: Transactions
    • Labels:
      None
    • Target Release:
    • Steps to Reproduce:
      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

      Description

      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)
      

        Gliffy Diagrams

          Attachments

            Issue Links

              Activity

                People

                • Assignee:
                  ochaloup Ondrej Chaloupka
                  Reporter:
                  f_marchioni Francesco Marchioni
                • Votes:
                  0 Vote for this issue
                  Watchers:
                  3 Start watching this issue

                  Dates

                  • Created:
                    Updated:
                    Resolved: