[
https://issues.jboss.org/browse/JBTM-2479?page=com.atlassian.jira.plugin....
]
Tom Jenkinson updated JBTM-2479:
--------------------------------
Component/s: Build System
Do not run maven rulecheck when -DskipTests is enabled
------------------------------------------------------
Key: JBTM-2479
URL:
https://issues.jboss.org/browse/JBTM-2479
Project: JBoss Transaction Manager
Issue Type: Task
Components: Build System
Reporter: Tom Jenkinson
Assignee: Tom Jenkinson
If you don't provide clean the rule check can easily fail:
{code}
[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
{code}
So it is advantageous not to run the rulecheck with skipTests as in:
./build.sh install -DskipTests
--
This message was sent by Atlassian JIRA
(v6.3.15#6346)