[jbossts-issues] [JBoss JIRA] (JBTM-2782) XTS crash recovery test Byteman rules use wrong variable types

Gytis Trikleris (JIRA) issues at jboss.org
Tue Nov 22 04:35:00 EST 2016


     [ https://issues.jboss.org/browse/JBTM-2782?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Gytis Trikleris updated JBTM-2782:
----------------------------------
        Status: Resolved  (was: Pull Request Sent)
    Resolution: Done


> XTS crash recovery test Byteman rules use wrong variable types
> --------------------------------------------------------------
>
>                 Key: JBTM-2782
>                 URL: https://issues.jboss.org/browse/JBTM-2782
>             Project: JBoss Transaction Manager
>          Issue Type: Bug
>          Components: XTS
>            Reporter: Gytis Trikleris
>            Assignee: Gytis Trikleris
>
> After updating Byteman as part of the compensations recovery work, XTS tests started to fail Byteman type check:
> {code}
> [INFO] --- byteman-rulecheck-maven-plugin:3.0.6:rulecheck (rulecheck) @ localjunit-crash-recovery-tests ---
> [INFO] Checking 11 byteman scripts in /home/jenkins/workspace/btny-pulls-narayana-jdk8/PROFILE/MAIN/jdk/jdk8.latest/label/linux/XTS/localjunit/crash-recovery-tests/target/test-classes
> [ERROR] Checking byteman script rules failed with 23 errors
> [ERROR] ERROR : Failed to type check rule "trace prepared replay" loaded from /home/jenkins/workspace/btny-pulls-narayana-jdk8/PROFILE/MAIN/jdk/jdk8.latest/label/linux/XTS/localjunit/crash-recovery-tests/target/test-classes/scripts/ATCrashDuringCommit.btm line 322 against method replayPhase2() void
> org.jboss.byteman.rule.exception.TypeException: Binding.typecheck unknown type for binding uid
> [ERROR] ERROR : Failed to type check rule "trace prepared replay" loaded from /home/jenkins/workspace/btny-pulls-narayana-jdk8/PROFILE/MAIN/jdk/jdk8.latest/label/linux/XTS/localjunit/crash-recovery-tests/target/test-classes/scripts/ATHeuristicRecoveryAfterDelayedCommit.btm line 326 against method replayPhase2() void
> org.jboss.byteman.rule.exception.TypeException: Binding.typecheck unknown type for binding uid
> [ERROR] ERROR : Failed to type check rule "trace heuristic committed replay" loaded from /home/jenkins/workspace/btny-pulls-narayana-jdk8/PROFILE/MAIN/jdk/jdk8.latest/label/linux/XTS/localjunit/crash-recovery-tests/target/test-classes/scripts/ATHeuristicRecoveryAfterDelayedCommit.btm line 346 against method replayPhase2() void
> org.jboss.byteman.rule.exception.TypeException: Binding.typecheck unknown type for binding uid
> [ERROR] ERROR : Failed to type check rule "trace prepared replay" loaded from /home/jenkins/workspace/btny-pulls-narayana-jdk8/PROFILE/MAIN/jdk/jdk8.latest/label/linux/XTS/localjunit/crash-recovery-tests/target/test-classes/scripts/ATSubordinateCrashDuringCommit.btm line 543 against method replayPhase2() void
> org.jboss.byteman.rule.exception.TypeException: Binding.typecheck unknown type for binding uid
> [ERROR] ERROR : Failed to type check rule "trace subordinate prepared replay" loaded from /home/jenkins/workspace/btny-pulls-narayana-jdk8/PROFILE/MAIN/jdk/jdk8.latest/label/linux/XTS/localjunit/crash-recovery-tests/target/test-classes/scripts/ATSubordinateCrashDuringCommit.btm line 564 against method replayPhase2() void
> org.jboss.byteman.rule.exception.TypeException: Binding.typecheck unknown type for binding uid
> [ERROR] ERROR : Failed to type check rule "trace prepared replay" loaded from /home/jenkins/workspace/btny-pulls-narayana-jdk8/PROFILE/MAIN/jdk/jdk8.latest/label/linux/XTS/localjunit/crash-recovery-tests/target/test-classes/scripts/ATSubordinateCrashDuringPrepare.btm line 614 against method replayPhase2() void
> org.jboss.byteman.rule.exception.TypeException: Binding.typecheck unknown type for binding uid
> [ERROR] ERROR : Failed to type check rule "trace subordinate prepared replay" loaded from /home/jenkins/workspace/btny-pulls-narayana-jdk8/PROFILE/MAIN/jdk/jdk8.latest/label/linux/XTS/localjunit/crash-recovery-tests/target/test-classes/scripts/ATSubordinateCrashDuringPrepare.btm line 634 against method replayPhase2() void
> org.jboss.byteman.rule.exception.TypeException: Binding.typecheck unknown type for binding uid
> [ERROR] ERROR : Failed to type check rule "trace coordinator completion complete" loaded from /home/jenkins/workspace/btny-pulls-narayana-jdk8/PROFILE/MAIN/jdk/jdk8.latest/label/linux/XTS/localjunit/crash-recovery-tests/target/test-classes/scripts/BACrashDuringCommit.btm line 490 against method complete() com.arjuna.webservices11.wsba.State
> org.jboss.byteman.rule.exception.TypeException: Variable.typeCheck : unable to derive type for variable engine file /home/jenkins/workspace/btny-pulls-narayana-jdk8/PROFILE/MAIN/jdk/jdk8.latest/label/linux/XTS/localjunit/crash-recovery-tests/target/test-classes/scripts/BACrashDuringCommit.btm line 491
> [ERROR] ERROR : Failed to type check rule "trace participant completion completed" loaded from /home/jenkins/workspace/btny-pulls-narayana-jdk8/PROFILE/MAIN/jdk/jdk8.latest/label/linux/XTS/localjunit/crash-recovery-tests/target/test-classes/scripts/BACrashDuringCommit.btm line 507 against method completed(org.oasis_open.docs.ws_tx.wsba._2006._06.NotificationType,org.jboss.ws.api.addressing.MAP,com.arjuna.webservices11.wsarj.ArjunaContext) void
> org.jboss.byteman.rule.exception.TypeException: Variable.typeCheck : unable to derive type for variable engine file /home/jenkins/workspace/btny-pulls-narayana-jdk8/PROFILE/MAIN/jdk/jdk8.latest/label/linux/XTS/localjunit/crash-recovery-tests/target/test-classes/scripts/BACrashDuringCommit.btm line 508
> [ERROR] ERROR : Failed to type check rule "trace coordinator completion completed" loaded from /home/jenkins/workspace/btny-pulls-narayana-jdk8/PROFILE/MAIN/jdk/jdk8.latest/label/linux/XTS/localjunit/crash-recovery-tests/target/test-classes/scripts/BACrashDuringCommit.btm line 524 against method completed(org.oasis_open.docs.ws_tx.wsba._2006._06.NotificationType,org.jboss.ws.api.addressing.MAP,com.arjuna.webservices11.wsarj.ArjunaContext) void
> org.jboss.byteman.rule.exception.TypeException: Variable.typeCheck : unable to derive type for variable engine file /home/jenkins/workspace/btny-pulls-narayana-jdk8/PROFILE/MAIN/jdk/jdk8.latest/label/linux/XTS/localjunit/crash-recovery-tests/target/test-classes/scripts/BACrashDuringCommit.btm line 525
> [ERROR] ERROR : Failed to type check rule "trace participant completion exit" loaded from /home/jenkins/workspace/btny-pulls-narayana-jdk8/PROFILE/MAIN/jdk/jdk8.latest/label/linux/XTS/localjunit/crash-recovery-tests/target/test-classes/scripts/BACrashDuringCommit.btm line 541 against method exit(org.oasis_open.docs.ws_tx.wsba._2006._06.NotificationType,org.jboss.ws.api.addressing.MAP,com.arjuna.webservices11.wsarj.ArjunaContext) void
> org.jboss.byteman.rule.exception.TypeException: Variable.typeCheck : unable to derive type for variable engine file /home/jenkins/workspace/btny-pulls-narayana-jdk8/PROFILE/MAIN/jdk/jdk8.latest/label/linux/XTS/localjunit/crash-recovery-tests/target/test-classes/scripts/BACrashDuringCommit.btm line 542
> [ERROR] ERROR : Failed to type check rule "trace coordinator completion exit" loaded from /home/jenkins/workspace/btny-pulls-narayana-jdk8/PROFILE/MAIN/jdk/jdk8.latest/label/linux/XTS/localjunit/crash-recovery-tests/target/test-classes/scripts/BACrashDuringCommit.btm line 558 against method exit(org.oasis_open.docs.ws_tx.wsba._2006._06.NotificationType,org.jboss.ws.api.addressing.MAP,com.arjuna.webservices11.wsarj.ArjunaContext) void
> org.jboss.byteman.rule.exception.TypeException: Variable.typeCheck : unable to derive type for variable engine file /home/jenkins/workspace/btny-pulls-narayana-jdk8/PROFILE/MAIN/jdk/jdk8.latest/label/linux/XTS/localjunit/crash-recovery-tests/target/test-classes/scripts/BACrashDuringCommit.btm line 559
> [ERROR] ERROR : Failed to type check rule "trace participant completion close" loaded from /home/jenkins/workspace/btny-pulls-narayana-jdk8/PROFILE/MAIN/jdk/jdk8.latest/label/linux/XTS/localjunit/crash-recovery-tests/target/test-classes/scripts/BACrashDuringCommit.btm line 615 against method close() com.arjuna.webservices11.wsba.State
> org.jboss.byteman.rule.exception.TypeException: Variable.typeCheck : unable to derive type for variable engine file /home/jenkins/workspace/btny-pulls-narayana-jdk8/PROFILE/MAIN/jdk/jdk8.latest/label/linux/XTS/localjunit/crash-recovery-tests/target/test-classes/scripts/BACrashDuringCommit.btm line 616
> [ERROR] ERROR : Failed to type check rule "trace coordinator completion close" loaded from /home/jenkins/workspace/btny-pulls-narayana-jdk8/PROFILE/MAIN/jdk/jdk8.latest/label/linux/XTS/localjunit/crash-recovery-tests/target/test-classes/scripts/BACrashDuringCommit.btm line 633 against method close() com.arjuna.webservices11.wsba.State
> org.jboss.byteman.rule.exception.TypeException: Variable.typeCheck : unable to derive type for variable engine file /home/jenkins/workspace/btny-pulls-narayana-jdk8/PROFILE/MAIN/jdk/jdk8.latest/label/linux/XTS/localjunit/crash-recovery-tests/target/test-classes/scripts/BACrashDuringCommit.btm line 634
> [ERROR] ERROR : Failed to type check rule "trace participant completion closed" loaded from /home/jenkins/workspace/btny-pulls-narayana-jdk8/PROFILE/MAIN/jdk/jdk8.latest/label/linux/XTS/localjunit/crash-recovery-tests/target/test-classes/scripts/BACrashDuringCommit.btm line 650 against method closed(org.oasis_open.docs.ws_tx.wsba._2006._06.NotificationType,org.jboss.ws.api.addressing.MAP,com.arjuna.webservices11.wsarj.ArjunaContext) void
> org.jboss.byteman.rule.exception.TypeException: Variable.typeCheck : unable to derive type for variable engine file /home/jenkins/workspace/btny-pulls-narayana-jdk8/PROFILE/MAIN/jdk/jdk8.latest/label/linux/XTS/localjunit/crash-recovery-tests/target/test-classes/scripts/BACrashDuringCommit.btm line 651
> [ERROR] ERROR : Failed to type check rule "trace coordinator completion closed" loaded from /home/jenkins/workspace/btny-pulls-narayana-jdk8/PROFILE/MAIN/jdk/jdk8.latest/label/linux/XTS/localjunit/crash-recovery-tests/target/test-classes/scripts/BACrashDuringCommit.btm line 667 against method closed(org.oasis_open.docs.ws_tx.wsba._2006._06.NotificationType,org.jboss.ws.api.addressing.MAP,com.arjuna.webservices11.wsarj.ArjunaContext) void
> org.jboss.byteman.rule.exception.TypeException: Variable.typeCheck : unable to derive type for variable engine file /home/jenkins/workspace/btny-pulls-narayana-jdk8/PROFILE/MAIN/jdk/jdk8.latest/label/linux/XTS/localjunit/crash-recovery-tests/target/test-classes/scripts/BACrashDuringCommit.btm line 668
> [ERROR] ERROR : Failed to type check rule "trace prepared replay" loaded from /home/jenkins/workspace/btny-pulls-narayana-jdk8/PROFILE/MAIN/jdk/jdk8.latest/label/linux/XTS/localjunit/crash-recovery-tests/target/test-classes/scripts/BACrashDuringCommit.btm line 685 against method replayPhase2() void
> org.jboss.byteman.rule.exception.TypeException: Binding.typecheck unknown type for binding uid
> [ERROR] ERROR : Failed to type check rule "trace prepared replay" loaded from /home/jenkins/workspace/btny-pulls-narayana-jdk8/PROFILE/MAIN/jdk/jdk8.latest/label/linux/XTS/localjunit/crash-recovery-tests/target/test-classes/scripts/BASubordinateCrashDuringCommit.btm line 911 against method replayPhase2() void
> org.jboss.byteman.rule.exception.TypeException: Binding.typecheck unknown type for binding uid
> [ERROR] ERROR : Failed to type check rule "trace subordinate prepared replay" loaded from /home/jenkins/workspace/btny-pulls-narayana-jdk8/PROFILE/MAIN/jdk/jdk8.latest/label/linux/XTS/localjunit/crash-recovery-tests/target/test-classes/scripts/BASubordinateCrashDuringCommit.btm line 931 against method replayPhase2() void
> org.jboss.byteman.rule.exception.TypeException: Binding.typecheck unknown type for binding uid
> [ERROR] ERROR : Failed to type check rule "trace prepared replay" loaded from /home/jenkins/workspace/btny-pulls-narayana-jdk8/PROFILE/MAIN/jdk/jdk8.latest/label/linux/XTS/localjunit/crash-recovery-tests/target/test-classes/scripts/BASubordinateCrashDuringCommitAfterSubordinateExit.btm line 944 against method replayPhase2() void
> org.jboss.byteman.rule.exception.TypeException: Binding.typecheck unknown type for binding uid
> [ERROR] ERROR : Failed to type check rule "trace subordinate prepared replay" loaded from /home/jenkins/workspace/btny-pulls-narayana-jdk8/PROFILE/MAIN/jdk/jdk8.latest/label/linux/XTS/localjunit/crash-recovery-tests/target/test-classes/scripts/BASubordinateCrashDuringCommitAfterSubordinateExit.btm line 963 against method replayPhase2() void
> org.jboss.byteman.rule.exception.TypeException: Binding.typecheck unknown type for binding uid
> [ERROR] ERROR : Failed to type check rule "trace prepared replay" loaded from /home/jenkins/workspace/btny-pulls-narayana-jdk8/PROFILE/MAIN/jdk/jdk8.latest/label/linux/XTS/localjunit/crash-recovery-tests/target/test-classes/scripts/BASubordinateCrashDuringComplete.btm line 1017 against method replayPhase2() void
> org.jboss.byteman.rule.exception.TypeException: Binding.typecheck unknown type for binding uid
> [ERROR] ERROR : Failed to type check rule "trace subordinate prepared replay" loaded from /home/jenkins/workspace/btny-pulls-narayana-jdk8/PROFILE/MAIN/jdk/jdk8.latest/label/linux/XTS/localjunit/crash-recovery-tests/target/test-classes/scripts/BASubordinateCrashDuringComplete.btm line 1037 against method replayPhase2() void
> org.jboss.byteman.rule.exception.TypeException: Binding.typecheck unknown type for binding uid
> {code}



--
This message was sent by Atlassian JIRA
(v7.2.3#72005)


More information about the jbossts-issues mailing list