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

Do not run maven rulecheck when -DskipTests is enabled

    XMLWordPrintable

Details

    • Task
    • Resolution: Done
    • Major
    • 5.2.1
    • None
    • Build System
    • None

    Description

      If you don't provide clean the rule check can easily fail:

      [INFO] Checking 3 byteman scripts in C:\Users\tom\projects\jbosstm\narayana\ArjunaCore\arjuna\target\test-classes
      CFG.carryForward: unexpected! invalid open enters count for block L1402599109 in method com.arjuna.ats.arjuna.coordinator.TransactionReaper.check()V
      CFG.carryForward: unexpected! invalid open enters count for block L1402599109 in method com.arjuna.ats.arjuna.coordinator.TransactionReaper.check()V
      CFG.carryForward: unexpected! invalid open enters count for block L173783788 in method com.arjuna.ats.arjuna.coordinator.TransactionReaper.check()V
      CFG.carryForward: unexpected! invalid open enters count for block L173783788 in method com.arjuna.ats.arjuna.coordinator.TransactionReaper.check()V
      CFG.carryForward: unexpected! invalid open enters count for block L818209618 in method com.arjuna.ats.arjuna.coordinator.TransactionReaper.check()V
      CFG.carryForward: unexpected! invalid open enters count for block L818209618 in method com.arjuna.ats.arjuna.coordinator.TransactionReaper.check()V
      CFG.carryForward: unexpected! invalid open enters count for block L1465146431 in method com.arjuna.ats.arjuna.coordinator.TransactionReaper.check()V
      CFG.carryForward: unexpected! invalid open enters count for block L1465146431 in method com.arjuna.ats.arjuna.coordinator.TransactionReaper.check()V
      CFG.carryForward: unexpected! invalid open enters count for block L1725885575 in method com.arjuna.ats.arjuna.coordinator.TransactionReaper.check()V
      CFG.carryForward: unexpected! invalid open enters count for block L1725885575 in method com.arjuna.ats.arjuna.coordinator.TransactionReaper.check()V
      CFG.carryForward: unexpected! invalid open enters count for block L1320809135 in method com.arjuna.ats.arjuna.coordinator.TransactionReaper.check()V
      CFG.carryForward: unexpected! invalid open enters count for block L1320809135 in method com.arjuna.ats.arjuna.coordinator.TransactionReaper.check()V
      CFG.carryForward: unexpected! invalid open enters count for block L152937115 in method com.arjuna.ats.arjuna.coordinator.TransactionReaper.check()V
      CFG.carryForward: unexpected! invalid open enters count for block L152937115 in method com.arjuna.ats.arjuna.coordinator.TransactionReaper.check()V
      CFG.carryForward: unexpected! invalid open enters count for block L1699637904 in method com.arjuna.ats.arjuna.coordinator.TransactionReaper.check()V
      CFG.carryForward: unexpected! invalid open enters count for block L1699637904 in method com.arjuna.ats.arjuna.coordinator.TransactionReaper.check()V
      CFG.carryForward: unexpected! invalid open enters count for block L242951774 in method com.arjuna.ats.arjuna.coordinator.TransactionReaper.shutdown(Z)V
      exits unaccounted for in block B4
      [ERROR] Checking byteman script rules failed with 1 errors
      [ERROR] ERROR : Unexpected exception transforming class com.arjuna.ats.arjuna.coordinator.TransactionReaper using  rule "ReaperTestCase3 unlatch reaper and reaper worker" loaded from C:\Users\tom\projects\jbosstm\narayana\ArjunaCore\arjuna\target\test-classes\reaper.btm line 326
      java.lang.NullPointerException
      

      So it is advantageous not to run the rulecheck with skipTests as in:

      ./build.sh install -DskipTests

      Attachments

        Activity

          People

            thjenkin@redhat.com Tom Jenkinson
            thjenkin@redhat.com Tom Jenkinson
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: