[jbossts-issues] [JBoss JIRA] (JBTM-1231) Recovery not fully triggered when distributed transaction falls down at prepare phase of 2PC

Tom Jenkinson (JIRA) jira-events at lists.jboss.org
Wed Aug 29 10:51:32 EDT 2012


    [ https://issues.jboss.org/browse/JBTM-1231?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12714587#comment-12714587 ] 

Tom Jenkinson commented on JBTM-1231:
-------------------------------------

Maybe I did something silly?

mvn clean verify -Dtest=TxPropagationCrashRecoveryTestCase#prepareHaltClient -Djboss.dist=~/projects/jbossas/jboss-as/build/target/jboss-as-7.1.3.Final-SNAPSHOT/


<SNIP/>
build-jbossts:
     [echo] Building config jbossas-jbossts
     [copy] Copying 4 files to /home/tom/projects/eap-tests-transactions/integration/jbossts/target/jbossas-jbossts
     [echo]     ===  Changing IP addresses for config jbossas-jbossts ===  
     [echo]    node: 127.0.0.1
     [echo]    ant.mcast: @{ant.mcast}
[INFO] ------------------------------------------------------------------------
[INFO] Reactor Summary:
[INFO] 
[INFO] JBoss EAP Server Test Suite: Aggregator ........... SUCCESS [11.732s]
[INFO] JBoss EAP Server Test Suite: Integration .......... SUCCESS [0.856s]
[INFO] JBoss EAP Server Test Suite: Integration - JBossTS tests  FAILURE [5.316s]
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 18.853s
[INFO] Finished at: Wed Aug 29 15:49:06 BST 2012
[INFO] Final Memory: 42M/484M
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal org.apache.maven.plugins:maven-antrun-plugin:1.6:run (build-jbossts.server) on project jboss-eap-ts-integ-jbossts: An Ant BuildException has occured: The following error occurred while executing this line:
[ERROR] /home/tom/projects/eap-tests-transactions/integration/src/test/scripts/jbossts-build.xml:17: The following error occurred while executing this line:
[ERROR] /home/tom/projects/eap-tests-transactions/integration/src/test/scripts/common-targets.xml:82: no resources specified
<SNIP/>
                
> Recovery not fully triggered when distributed transaction falls down at prepare phase of 2PC
> --------------------------------------------------------------------------------------------
>
>                 Key: JBTM-1231
>                 URL: https://issues.jboss.org/browse/JBTM-1231
>             Project: JBoss Transaction Manager
>          Issue Type: Bug
>      Security Level: Public(Everyone can see) 
>          Components: Recovery, Testing
>    Affects Versions: 4.16.4
>            Reporter: Ivo Studensky
>            Assignee: Tom Jenkinson
>         Attachments: logs_prepareHaltClient.tgz
>
>
> It looks like recovery process is not fully triggered on a distributed transaction when the transaction falls down at prepare phase of 2PC. In the new crash recovery tests over propagated transactions only one of two servers recovers from the crash, but the other keeps an unfinished tx in its tx log. 
> It corresponds to prepareHaltClient and prepareHaltServer test methods of org.jboss.as.test.jbossts.crashrec.txpropagation.TxPropagationCrashRecoveryTestCase, see JBQA-2604 for general description of the new tests. The prepareHaltClient test crashes the server which initiated the transaction, while as the prepareHaltServer test crashes the second server.
> The tests are written against EAP6.x branch, so for reproducing this it is needed a built server from the 7.1 branch of AS7.
> Steps to reproduce.
> 1. git clone git://git.app.eng.bos.redhat.com/jbossqe/eap-tests-transactions.git
> 2. cd eap-tests-transactions
> 3. git checkout tx_propag_crashrec_tests
> 4a. mvn clean verify -Dtest=TxPropagationCrashRecoveryTestCase#prepareHaltClient -Djboss.dist=<path to jboss-as-7.1.3.Final-SNAPSHOT>
> or
> 4b. mvn clean verify -Dtest=TxPropagationCrashRecoveryTestCase#prepareHaltServer -Djboss.dist=<path to jboss-as-7.1.3.Final-SNAPSHOT>
> The logs of prepareHaltClient run attached to this jira.
> Tom, could you take a look at this please?
> Thanks a lot.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira


More information about the jbossts-issues mailing list