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

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done
    • Major
    • 4.17.0
    • 4.17.3, 5.0.0.M2
    • Testing
    • None

    Description

      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
      ext

      You can check whole stacktrace from job on jenkins:

      Do you think that you could check this?

      Attachments

        Activity

          People

            rhn-engineering-mmusgrov Michael Musgrove
            ochaloup@redhat.com Ondrej Chaloupka (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: