]
Tom Jenkinson commented on JBTM-1412:
-------------------------------------
I think the test didn't have long enough to crash and be detected, it was set for 5
seconds but the fact your build of JTA takes an hour tells me that node is sloooow ;)
I have given it a minute now (5 seconds x 20 attempts), hopefully that will be enough.
The other failures are cascading off that one but I fixed that now too (was using
@AfterClass rather than @After - d'oh)
If you want to test this, the following will get you to my code and run the integration
unit tests:
git remote add tomjenkinson
git fetch tomjenkinson
git checkout -b JBTM-1412 tomjenkinson/JBTM-1412
./build.sh -f ArjunaJTS/integration/pom.xml
(Assuming you are relatively current with master, if you are quite out of date it will be
worth a full build)
testRecoverInflightTransaction failure (and others)
---------------------------------------------------
Key: JBTM-1412
URL:
https://issues.jboss.org/browse/JBTM-1412
Project: JBoss Transaction Manager
Issue Type: Feature Request
Security Level: Public(Everyone can see)
Components: Testing
Affects Versions: 5.0.0.M2
Environment: Raspberry Pi.
java version "1.7.0_10"
Java(TM) SE Runtime Environment (build 1.7.0_10-b18)
Java HotSpot(TM) Client VM (build 23.6-b04, mixed mode)
Latest "head" from repo.
Reporter: Mark Little
Assignee: Tom Jenkinson
At least three failures, but due to the verbosity of the build at this point it is hard
for me to say the cause of the other two failures.
[main] TestResource (1000) XA_START [< formatId=131077, gtrid_length=32,
bqual_length=36, tx_uid=0:ffff7f000101:3e8:50e505c6:4, node_name=1000,
branch_uid=0:ffff7f000101:3e8:50e505c6:5, subordinatenodename=null, eis_name=unknown eis
name >] Flags=0
[main] TestResource (2000) XA_START [< formatId=131077, gtrid_length=32,
bqual_length=64, tx_uid=0:ffff7f000101:3e8:50e505c6:4, node_name=1000,
branch_uid=0:ffff7f000101:7d0:50e50664:5, subordinatenodename=2000, eis_name=unknown eis
name >] Flags=0
[main] ProxyXAResource (1000:2000) XA_START [< formatId=131077, gtrid_length=32,
bqual_length=36, tx_uid=0:ffff7f000101:3e8:50e505c6:4, node_name=1000,
branch_uid=0:ffff7f000101:3e8:50e505c6:9, subordinatenodename=null,
eis_name=ProxyXAResource: 1000 2000 >]
[main] TestResource (1000) XA_END [< formatId=131077, gtrid_length=32,
bqual_length=36, tx_uid=0:ffff7f000101:3e8:50e505c6:4, node_name=1000,
branch_uid=0:ffff7f000101:3e8:50e505c6:5, subordinatenodename=null, eis_name=unknown eis
name >] Flags=67108864
[main] TestResource (1000) XA_PREPARE [< formatId=131077, gtrid_length=32,
bqual_length=36, tx_uid=0:ffff7f000101:3e8:50e505c6:4, node_name=1000,
branch_uid=0:ffff7f000101:3e8:50e505c6:5, subordinatenodename=null, eis_name=unknown eis
name >]
[main] ProxyXAResource (1000:2000) XA_END [< formatId=131077, gtrid_length=32,
bqual_length=36, tx_uid=0:ffff7f000101:3e8:50e505c6:4, node_name=1000,
branch_uid=0:ffff7f000101:3e8:50e505c6:9, subordinatenodename=null,
eis_name=ProxyXAResource: 1000 2000 >]
[main] ProxyXAResource (1000:2000) XA_PREPARE [< formatId=131077, gtrid_length=32,
bqual_length=36, tx_uid=0:ffff7f000101:3e8:50e505c6:4, node_name=1000,
branch_uid=0:ffff7f000101:3e8:50e505c6:9, subordinatenodename=null,
eis_name=ProxyXAResource: 1000 2000 >]
[main] TestResource (2000) XA_END [< formatId=131077, gtrid_length=32,
bqual_length=64, tx_uid=0:ffff7f000101:3e8:50e505c6:4, node_name=1000,
branch_uid=0:ffff7f000101:7d0:50e50664:5, subordinatenodename=2000, eis_name=unknown eis
name >] Flags=67108864
[main] TestResource (2000) XA_PREPARE [< formatId=131077, gtrid_length=32,
bqual_length=64, tx_uid=0:ffff7f000101:3e8:50e505c6:4, node_name=1000,
branch_uid=0:ffff7f000101:7d0:50e50664:5, subordinatenodename=2000, eis_name=unknown eis
name >]
[main] ProxyXAResource (1000:2000) XA_PREPARED
[main] TestResource (1000) XA_COMMIT [< formatId=131077, gtrid_length=32,
bqual_length=36, tx_uid=0:ffff7f000101:3e8:50e505c6:4, node_name=1000,
branch_uid=0:ffff7f000101:3e8:50e505c6:5, subordinatenodename=null, eis_name=unknown eis
name >]
[main] ProxyXAResource (1000:2000) XA_COMMIT [< formatId=131077, gtrid_length=32,
bqual_length=36, tx_uid=0:ffff7f000101:3e8:50e505c6:4, node_name=1000,
branch_uid=0:ffff7f000101:3e8:50e505c6:9, subordinatenodename=null,
eis_name=ProxyXAResource: 1000 2000 >]
[main] TestResource (2000) XA_COMMIT [< formatId=131077, gtrid_length=32,
bqual_length=64, tx_uid=0:ffff7f000101:3e8:50e505c6:4, node_name=1000,
branch_uid=0:ffff7f000101:7d0:50e50664:5, subordinatenodename=2000, eis_name=unknown eis
name >]
[main] ProxyXAResource (1000:2000) XA_COMMITED
Jan 03, 2013 4:17:52 AM com.arjuna.ats.jbossatx.jta.RecoveryManagerService stop
INFO: ARJUNA032014: Stopping transaction recovery manager
Jan 03, 2013 4:17:52 AM com.arjuna.ats.jbossatx.jta.RecoveryManagerService stop
INFO: ARJUNA032014: Stopping transaction recovery manager
Jan 03, 2013 4:17:52 AM com.arjuna.ats.jbossatx.jta.RecoveryManagerService stop
INFO: ARJUNA032014: Stopping transaction recovery manager
Tests run: 16, Failures: 3, Errors: 0, Skipped: 0, Time elapsed: 4,065.677 sec
<<< FAILURE!
Results :
Failed tests:
testRecoverInflightTransaction(com.arjuna.ats.jta.distributed.SimpleIsolatedServers):
Servers were not aborted
testRecovery(com.arjuna.ats.jta.distributed.SimpleIsolatedServers): Servers were not
aborted
testOnePhaseCommit(com.arjuna.ats.jta.distributed.SimpleIsolatedServers): 3
--
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: