Uploaded image for project: 'JBoss Transaction Manager'
  1. JBoss Transaction Manager
  2. JBTM-1138

crashrecovery12 tests intermittently fail when running in ExecutionWrapper mode


    • Type: Bug
    • Status: Closed (View Workflow)
    • Priority: Major
    • Resolution: Done
    • Affects Version/s: 4.16.3
    • Fix Version/s: 4.16.4
    • Component/s: Testing
    • Labels:


      The crashrecovery12 tests intermittently fail when running on HornetQ journal based object store, i.e. in ExecutionWrapper mode.

      Without any patch Test03 and Test06 fail. With my patch, see attached file, the tests fail intermittently, i.e. once they fail on Test02 [1], once on Test04 [2] or on Test03 [3]. The Test06 seems to be fixed with my patch.

      I did the patch according to instructions by Jonathan, but apparently I missed something.

      Jonathan's instruction:

      The tests are wrong.

      When in ExecutionWrapper mode, each spawned task gets its own store
      unless it's explicitly told to reuse an earlier one. Most crash rec
      tests that need to 'share' a store between consecutive processes for
      before/after crash state have a final param to createTask that gives the
      shared name, see e.g. TestGroup_crashrecovery02_01. That's missing in
      the failing tests. Change the tests to add the same string as a final
      param to the createTask calls and to ensure the client task is
      terminated before the outcome task starts. It should be anyhow as it
      commits suicide, but the framework does not necessarily know that and
      may get unhappy if it think you're trying to make concurrent processes
      use the same store.


      [1] https://hudson.qa.jboss.com/hudson/view/JBoss%20TS/view/JBossTS-EAP6-CI/job/jbossts-test-4.16.x-hqobjectstore/12/
      [2] https://hudson.qa.jboss.com/hudson/view/JBoss%20TS/view/JBossTS-EAP6-CI/job/jbossts-test-4.16.x-hqobjectstore/11/
      [3] https://hudson.qa.jboss.com/hudson/view/JBoss%20TS/view/JBossTS-EAP6-CI/job/jbossts-test-4.16.x-hqobjectstore/8/

        Gliffy Diagrams




              • Assignee:
                tomjenkinson Thomas Jenkinson
                istudens Ivo Studensky
              • Votes:
                0 Vote for this issue
                2 Start watching this issue


                • Created: