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

Failing qa testcase org.jboss.jbossts.qa.junit.testgroup.TestGroup_crashrecovery02_2 on windows machines with jacorb


    • Type: Bug
    • Status: Closed (View Workflow)
    • Priority: Major
    • Resolution: Done
    • Affects Version/s: 4.17.3, 5.0.0.M2
    • Fix Version/s: 4.17.0
    • Component/s: Testing
    • Labels:


      I'm hitting an issue on qa tests for windows machines. I'm currently testing EAP 6.1.0.ER3.
      Testcase org.jboss.jbossts.qa.junit.testgroup.TestGroup_crashrecovery02_2 is failing when it's run on windows machines. It does not matter which JDK is used. It fails on 4.17 branch and master as well.
      This happens for jacorb.

      The fails consistently occur on 5 tests from the testcase - that are from CrashRecovery02_2_Test26 till CrashRecovery02_2_Test30.
      All of them throw assertion:

      junit.framework.AssertionFailedError: task client1 printed Failed.

      These details apply to test CrashRecovery02_2_Test27:
      The client implementation is org.jboss.jbossts.qa.CrashRecovery02.Client02a and the fail comes from line 114 (branch 4.17).

      correct = correct && (resourceTrace1 == ResourceTrace.ResourceTraceCommit);

      Where the value of resourceTrace1 is ResourceTraceNone.

      I didn't get with investigation further so far.

      Steps for reproducing could be handy (using narayana.sh script first):
      1. export NARAYANA_BUILD=0
      export NARAYANA_TESTS=0
      export CP_NARAYANA_AS=0
      export AS_BUILD=0
      export XTS_AS_TESTS=0
      export TXF_TESTS=0
      export XTS_TESTS=0
      export txbridge=0
      export QA_TESTS=1

      export SUN_ORB=0
      export QA_TARGET=test
      export QA_PROFILE="-Dtest=crashrecovery02_2"
      export WORKSPACE=$PWD
      2. run naryana.sh - there was problem with paths for me so the command looks like this at the end

      sh scripts/hudson/narayana.sh -Demma.jar.location=c:\\tmp\\ochaloup
      ext -Demma.enabled=false -Dorson.jar.location=\\tmp\\ochaloup

      You can check whole stacktrace from job on jenkins:

      Do you think that you could check this?

        Gliffy Diagrams




              • Assignee:
                mmusgrov Michael Musgrove
                ochaloup Ondrej Chaloupka
              • Votes:
                0 Vote for this issue
                3 Start watching this issue


                • Created: