[jbossts-issues] [JBoss JIRA] (JBTM-1211) Fix qa suite failure: org.jboss.jbossts.qa.junit.testgroup.TestGroup_jtsremote

Michael Musgrove (JIRA) jira-events at lists.jboss.org
Tue Jan 22 05:38:21 EST 2013


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

Michael Musgrove commented on JBTM-1211:
----------------------------------------

As alluded to in an earlier comment the test is as follows:

- client creates references to two remote objects (HammerObject)
- a HammerObject performs arithmetic operations on a numeric value
- the client hands off the test to two threads (DHThreadObject2) each of which does a 100 random ops. A worker (DistributedHammerWorker2) starts a transaction and invokes the op on both remote objects
- each remote object does interposition and starts a subtransaction and performs the op
- at the end of the test the client makes sure that the resulting value maintained by both remote objects are consistent

The issue in the latest batch of failures is that the remote object does not return until the transaction times out (after about 4 mins). My guess is that setlock (in HammerObject) is hanging and the transaction timing out unwedges the thread. To test this theory I have turned on trace logging in the particular QA test. I'll also investigate how to trigger stack traces before the timeout (using byteman or otherwise).  
                
> Fix qa suite failure: org.jboss.jbossts.qa.junit.testgroup.TestGroup_jtsremote
> ------------------------------------------------------------------------------
>
>                 Key: JBTM-1211
>                 URL: https://issues.jboss.org/browse/JBTM-1211
>             Project: JBoss Transaction Manager
>          Issue Type: Bug
>      Security Level: Public(Everyone can see) 
>          Components: JTS, Testing, Transaction Core
>    Affects Versions: 4.16.4
>            Reporter: Paul Robinson
>            Assignee: Michael Musgrove
>             Fix For: 4.17.4, 5.0.0.M2
>
>         Attachments: jbossts-narayana-java6-ipv6-dualstack.57.tar, jtsremote(1).zip, jtsremote.zip
>
>   Original Estimate: 1 week
>  Remaining Estimate: 1 week
>
> See: http://172.17.131.2/view/Narayana+BlackTie/job/jbossts-branch416-java6/232
> {code}
> Running org.jboss.jbossts.qa.junit.testgroup.TestGroup_jtsremote
>     [junit] Tests run: 9, Failures: 1, Errors: 0, Time elapsed: 169.235 sec
> {code}

--
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