[jbossts-issues] [JBoss JIRA] (JBTM-2409) XARecoveryModuleHelpersUnitTest hang

Michael Musgrove (JIRA) issues at jboss.org
Tue Dec 1 07:37:00 EST 2015

     [ https://issues.jboss.org/browse/JBTM-2409?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Michael Musgrove updated JBTM-2409:
    Attachment: hang.jstack

> XARecoveryModuleHelpersUnitTest hang
> ------------------------------------
>                 Key: JBTM-2409
>                 URL: https://issues.jboss.org/browse/JBTM-2409
>             Project: JBoss Transaction Manager
>          Issue Type: Bug
>          Components: Recovery
>    Affects Versions: 5.1.1
>            Reporter: Michael Musgrove
>            Assignee: Tom Jenkinson
>         Attachments: 32287.jstack, hang.jstack
> The test checks that recovery helpers can be removed at the correct stages during recovery scans. The CI job http://albany.eng.hst.ams2.redhat.com/job/narayana-codeCoverage/196 shows the hang.
> The junit test thread:
> - starts 2 threads that will remove a recovery helper
> - triggers xaRecoveryModule.periodicWorkFirstPass()
> - triggers xaRecoveryModule.periodicWorkSecondPass()
> - joins with remover threads
> The jstack output shows:
> - the two threads in the process of removing a recovery helper and are waiting for the first pass to finish;
> - the junit test thread is waiting to join with these two threads;
> Since both recovery passes must have completed it looks like the remover threads weren't notified when the first pass completed. 

This message was sent by Atlassian JIRA

More information about the jbossts-issues mailing list