[JBoss JIRA] (JBTM-2409) XARecoveryModuleHelpersUnitTest hang
by Tom Jenkinson (JIRA)
[ https://issues.jboss.org/browse/JBTM-2409?page=com.atlassian.jira.plugin.... ]
Tom Jenkinson updated JBTM-2409:
--------------------------------
Fix Version/s: 5.next
(was: 5.2.5.Final)
> 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
> Fix For: 5.next
>
> Attachments: 32287.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
(v6.4.11#64026)
9 years, 2 months
[JBoss JIRA] (JBTM-2526) Create pre-release checking script
by Tom Jenkinson (JIRA)
[ https://issues.jboss.org/browse/JBTM-2526?page=com.atlassian.jira.plugin.... ]
Tom Jenkinson updated JBTM-2526:
--------------------------------
Fix Version/s: 5.next
(was: 5.2.5.Final)
> Create pre-release checking script
> ----------------------------------
>
> Key: JBTM-2526
> URL: https://issues.jboss.org/browse/JBTM-2526
> Project: JBoss Transaction Manager
> Issue Type: Sub-task
> Components: Build System, Release Process
> Reporter: Gytis Trikleris
> Assignee: Gytis Trikleris
> Fix For: 5.next
>
>
> Write script to do tests, deprecation, and blockers checking before executing the release.
> There are example bash scripts for deprecation and tests checking already, but they should be merged into one and be configurable.
--
This message was sent by Atlassian JIRA
(v6.4.11#64026)
9 years, 2 months
[JBoss JIRA] (JBTM-2526) Create pre-release checking script
by Gytis Trikleris (JIRA)
[ https://issues.jboss.org/browse/JBTM-2526?page=com.atlassian.jira.plugin.... ]
Gytis Trikleris commented on JBTM-2526:
---------------------------------------
I was also thinking of adding the attribute to enable/disable failing of the build because of deprecation/test failure/blocker. In case you know them in advance, and you want to execute the script without interruptions. It would just print the warning in that case.
But I'll add interactive confirmation as the default, in case the script is being run by the human.
> Create pre-release checking script
> ----------------------------------
>
> Key: JBTM-2526
> URL: https://issues.jboss.org/browse/JBTM-2526
> Project: JBoss Transaction Manager
> Issue Type: Sub-task
> Components: Build System, Release Process
> Reporter: Gytis Trikleris
> Assignee: Gytis Trikleris
> Fix For: 5.next
>
>
> Write script to do tests, deprecation, and blockers checking before executing the release.
> There are example bash scripts for deprecation and tests checking already, but they should be merged into one and be configurable.
--
This message was sent by Atlassian JIRA
(v6.4.11#64026)
9 years, 2 months
[JBoss JIRA] (JBTM-2526) Create pre-release checking script
by Tom Jenkinson (JIRA)
[ https://issues.jboss.org/browse/JBTM-2526?page=com.atlassian.jira.plugin.... ]
Tom Jenkinson commented on JBTM-2526:
-------------------------------------
I think the deprecation script would be useful to print out the list of deprecated code and ask if its OK to continue. It is probably not worth doing the deprecation check for versions that do not match a pattern
[0-9].\.0\.0\..* (i.e. no point in doing regression checks on minor/micro versions.
> Create pre-release checking script
> ----------------------------------
>
> Key: JBTM-2526
> URL: https://issues.jboss.org/browse/JBTM-2526
> Project: JBoss Transaction Manager
> Issue Type: Sub-task
> Components: Build System, Release Process
> Reporter: Gytis Trikleris
> Assignee: Gytis Trikleris
> Fix For: 5.next
>
>
> Write script to do tests, deprecation, and blockers checking before executing the release.
> There are example bash scripts for deprecation and tests checking already, but they should be merged into one and be configurable.
--
This message was sent by Atlassian JIRA
(v6.4.11#64026)
9 years, 2 months