[JBoss JIRA] (JBTM-1071) XTS crash recovery tests hang periodically
by Paul Robinson (JIRA)
Paul Robinson created JBTM-1071:
-----------------------------------
Summary: XTS crash recovery tests hang periodically
Key: JBTM-1071
URL: https://issues.jboss.org/browse/JBTM-1071
Project: JBoss Transaction Manager
Issue Type: Bug
Security Level: Public (Everyone can see)
Components: XTS
Reporter: Paul Robinson
Assignee: Paul Robinson
Fix For: 4.16.3, 5.0.0.M2
I ran the crash recovery tests 3 times, they all hung at different times. It wasn't clear to me what the server was doing when it hung. For example, it wasn't being polled for a crash, or re-attempting recovery in a cycle. The problem can be recreated by running all the tests in one go:
{code}
cd ./XTS/sar/crash-recovery-tests
mvn test
{code}
I tried running each JUnit test one at a time, and none of them hung. This can be done as follows:
{code}
for i in $(ls src/test/java/com/arjuna/qa/junit/Test*); do TEST=$(echo $i | awk -F '.' '{ print $1 }' | sed 's/\//\./g' | cut -c 15-); mvn test -Dtest=$TEST; done
cat target/surefire-reports/*.txt | grep "Tests run"
{code}
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.jboss.org/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira
12 years, 1 month
[JBoss JIRA] (JBTM-1027) Create a script to simplify XTS crash-recovery logs
by Paul Robinson (JIRA)
Paul Robinson created JBTM-1027:
-----------------------------------
Summary: Create a script to simplify XTS crash-recovery logs
Key: JBTM-1027
URL: https://issues.jboss.org/browse/JBTM-1027
Project: JBoss Transaction Manager
Issue Type: Enhancement
Security Level: Public (Everyone can see)
Components: XTS
Reporter: Paul Robinson
Assignee: Paul Robinson
Fix For: 5.0.0.M2
Currently the crash-recovery logs are very cumbersome to check. I propose we create a post-processing script that:
* Replaces transaction and participant IDs with uniq integers.
* Remove duplicate messages, keeping the last occurance
* Spilt log into clear before and after crash sections
* Add a title to log file, stating the name of the test
* Add a link to the original log file
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.jboss.org/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira
12 years, 1 month