-
Task
-
Resolution: Done
-
Major
-
None
-
None
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