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

XTS crash recovery test Byteman rules use wrong variable types

    XMLWordPrintable

Details

    • Task
    • Resolution: Done
    • Major
    • 5.5.0.Final
    • None
    • XTS
    • None

    Description

      After updating Byteman as part of the compensations recovery work, XTS tests started to fail Byteman type check:

      [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
      

      Attachments

        Issue Links

          Activity

            People

              gtrikler@redhat.com Gytis Trikleris (Inactive)
              gtrikler@redhat.com Gytis Trikleris (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: