]
Paul Robinson commented on JBTM-1202:
-------------------------------------
I think what is happening is that the asynchronous call to bpm.completed() is taking too
long and then uba.close() is invoked before the coordinator has received word that the
participant has completed. As the participant is not competed, the coordinator will cancel
the participant and the UBA will throw a TransactionRolledBackException.
This does not happen on my machine, but it does on beacon (ncl hudson node) which is
notorious for spotting timing issues like this.
Intermittent XTS WSTX failure
-----------------------------
Key: JBTM-1202
URL:
https://issues.jboss.org/browse/JBTM-1202
Project: JBoss Transaction Manager
Issue Type: Bug
Security Level: Public(Everyone can see)
Components: XTS
Reporter: Tom Jenkinson
Assignee: Paul Robinson
Fix For: 4.17.0, 5.0.0.M2
Attachments: com.arjuna.wst11.tests.arq.ba.CloseTest-output.txt,
com.arjuna.wst11.tests.arq.ba.CloseTest.txt
http://172.17.131.2/job/narayana-java6/1247/
Suppose you just want to run the WSTX tests and nothing else on hudson, then you would
add the following to the hudson configure script:
export NARAYANA_BUILD=0 AS_BUILD=0 TXF_TESTS=0 QA_TESTS=0 txbridge=0
export WSTX_MODULES="WSTX"
I found this useful during IPv6 testing
This particular example assumes that there is still a narrayana build in the workspace
directory. If you want to rebuild narrayana too then just set NARAYANA_BUILD=1
[INFO] Surefire report directory:
/home/hudson/workspace/narayana-java6/XTS/localjunit/WSTX/target/surefire-reports
-------------------------------------------------------
T E S T S
-------------------------------------------------------
Running com.arjuna.wst11.tests.arq.ba.CancelTest
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 12.087 sec
Running com.arjuna.wst11.tests.arq.ba.CloseTest
Tests run: 1, Failures: 0, Errors: 1, Skipped: 0, Time elapsed: 0.789 sec <<<
FAILURE!
Running com.arjuna.wst11.tests.arq.ba.CompensateTest
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 1.111 sec
Running com.arjuna.wst11.tests.arq.ba.ConfirmWithCompleteTest
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 1.134 sec
Running com.arjuna.wst11.tests.arq.ba.ExitTest
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.655 sec
Running com.arjuna.wst11.tests.arq.ba.MultiCancelTest
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.632 sec
Running com.arjuna.wst11.tests.arq.ba.MultiCloseTest
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 30.851 sec
Running com.arjuna.wst11.tests.arq.ba.MultiCompensateTest
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.775 sec
Running com.arjuna.wst11.tests.arq.basic.CommitExceptionInPrepareTest
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 1.355 sec
Running com.arjuna.wst11.tests.arq.basic.CommitRollbackInPrepareTest
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.736 sec
Running com.arjuna.wst11.tests.arq.basic.MultiParticipantsTest
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 1.055 sec
Running com.arjuna.wst11.tests.arq.basic.NestedTransactionTest
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.494 sec
Running com.arjuna.wst11.tests.arq.basic.NullCommitTransactionTest
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.443 sec
Running com.arjuna.wst11.tests.arq.basic.NullRollbackTransactionTest
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.312 sec
Running com.arjuna.wst11.tests.arq.basic.PrintTransactionTest
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.284 sec
Running com.arjuna.wst11.tests.arq.basic.ResumeNullTransactionTest
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.494 sec
Running com.arjuna.wst11.tests.arq.basic.RollbackExceptionInRollbackTest
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.583 sec
Running com.arjuna.wst11.tests.arq.basic.SingleParticipantTest
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.638 sec
Running com.arjuna.wst11.tests.arq.basic.SubtransactionCommitFailInPrepareTest
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 1.273 sec
Running com.arjuna.wst11.tests.arq.basic.SubtransactionCommitRollbackInPrepareTest
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 1.215 sec
Running com.arjuna.wst11.tests.arq.basic.SubtransactionCommitTest
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 1.323 sec
Running com.arjuna.wst11.tests.arq.basic.SubtransactionRollbackTest
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.91 sec
Running com.arjuna.wst11.tests.arq.basic.SuspendCommitTransactionTest
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.171 sec
Running com.arjuna.wst11.tests.arq.basic.SuspendNullTransactionTest
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.177 sec
Running com.arjuna.wst11.tests.arq.basic.SuspendResumeCommitTransactionTest
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.397 sec
Running com.arjuna.wst11.tests.arq.basic.SuspendResumeParticipantsTest
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 1.003 sec
Running com.arjuna.wst11.tests.arq.basic.SuspendResumeSingleParticipantTest
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.599 sec
Running com.arjuna.wst11.tests.arq.basic.SuspendTransactionTest
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.45 sec
Running com.arjuna.wst11.tests.arq.basic.ThreadedTransactionTest
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 1.738 sec
Results :
Tests in error:
test(com.arjuna.wst11.tests.arq.ba.CloseTest)
Tests run: 29, Failures: 0, Errors: 1, Skipped: 0
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: