[JBoss JIRA] (JBTM-2794) Javadoc compensations framework
by Gytis Trikleris (JIRA)
[ https://issues.jboss.org/browse/JBTM-2794?page=com.atlassian.jira.plugin.... ]
Issue was automatically transitioned when Gytis Trikleris created pull request #1109 in GitHub
----------------------------------------------------------------------------------------------
Status: Pull Request Sent (was: Reopened)
> Javadoc compensations framework
> -------------------------------
>
> Key: JBTM-2794
> URL: https://issues.jboss.org/browse/JBTM-2794
> Project: JBoss Transaction Manager
> Issue Type: Task
> Components: Compensations
> Reporter: Gytis Trikleris
> Assignee: Gytis Trikleris
> Fix For: 5.later
>
>
> Compensations framework internal classes do not have javadocs. They should be documented to make maintenance easier in the future.
--
This message was sent by Atlassian JIRA
(v7.2.3#72005)
7 years, 11 months
[JBoss JIRA] (JBTM-2782) XTS crash recovery test Byteman rules use wrong variable types
by Tom Jenkinson (JIRA)
[ https://issues.jboss.org/browse/JBTM-2782?page=com.atlassian.jira.plugin.... ]
Tom Jenkinson closed JBTM-2782.
-------------------------------
> 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: Task
> Components: XTS
> Reporter: Gytis Trikleris
> Assignee: Gytis Trikleris
> Fix For: 5.4.1.Final
>
>
> 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)
7 years, 11 months
[JBoss JIRA] (JBTM-2798) Connection.isClosed throws NullPointerException or returns false after close
by Tom Jenkinson (JIRA)
[ https://issues.jboss.org/browse/JBTM-2798?page=com.atlassian.jira.plugin.... ]
Tom Jenkinson closed JBTM-2798.
-------------------------------
> Connection.isClosed throws NullPointerException or returns false after close
> ----------------------------------------------------------------------------
>
> Key: JBTM-2798
> URL: https://issues.jboss.org/browse/JBTM-2798
> Project: JBoss Transaction Manager
> Issue Type: Bug
> Affects Versions: 5.4.0.Final
> Reporter: Mirko Streckenbach
> Fix For: 5.4.1.Final
>
>
> The following snippet fails with a NullPointerException:
> {code}
> Connection c = ConnectionManager.create(dbUrl, properties);
> System.err.println("closed1=" + c.isClosed());
> c.close();
> System.err.println("closed2=" + c.isClosed());
> {code}
> output:
> {code}
> closed1=false
> java.lang.NullPointerException
> at com.arjuna.ats.internal.jdbc.ConnectionImple.closeImpl(ConnectionImple.java:389)
> at com.arjuna.ats.internal.jdbc.ConnectionImple.close(ConnectionImple.java:381)
> at org.jboss.narayana.quickstarts.jta.Main.main(Main.java:140)
> {code}
> If it is modified to "use" the init the physical connect before closing, it will not throw an
> exception, but returns false for isClosed after the close:
> {code}
> Connection c = ConnectionManager.create(dbUrl, properties);
> System.err.println("closed1=" + c.isClosed());
> c.createStatement().close();
> System.err.println("closed2=" + c.isClosed());
> c.close();
> System.err.println("closed3=" + c.isClosed());
> {code}
> output:
> {code}
> closed1=false
> closed2=false
> closed3=false
> {code}
--
This message was sent by Atlassian JIRA
(v7.2.3#72005)
7 years, 11 months
[JBoss JIRA] (JBTM-2787) TestGroup_txcore_recovery::Recovery_Crash_StateManager_Test004 fails with DB2
by Tom Jenkinson (JIRA)
[ https://issues.jboss.org/browse/JBTM-2787?page=com.atlassian.jira.plugin.... ]
Tom Jenkinson closed JBTM-2787.
-------------------------------
> TestGroup_txcore_recovery::Recovery_Crash_StateManager_Test004 fails with DB2
> -----------------------------------------------------------------------------
>
> Key: JBTM-2787
> URL: https://issues.jboss.org/browse/JBTM-2787
> Project: JBoss Transaction Manager
> Issue Type: Task
> Components: Testing
> Reporter: Tom Jenkinson
> Assignee: Tom Jenkinson
> Fix For: 5.4.1.Final
>
>
> When DB2 tests are running (this is a very slow configuration for CI) the recovery manager process appears to be interfering with the setup of the test.
> Set up of test:
> 2016-11-06 16:04:03,172 out: 2016-11-06 16:04:03,172 [main] WARN com.arjuna.ats.arjuna - ARJUNA012382: Action id 0:ffffac11000a:c397:581f5466:4 could not be transitioned to committed
> Recovery manager process:
> 2016-11-06 16:04:24,188 out: 2016-11-06 16:04:24,188 [Periodic Recovery] WARN com.arjuna.ats.arjuna - ARJUNA012382: Action id 0:ffffac11000a:c397:581f5466:1 could not be transitioned to committed
> 2016-11-06 16:04:24,225 out: 2016-11-06 16:04:24,225 [Periodic Recovery] WARN com.arjuna.ats.arjuna - ARJUNA012016: PersistenceRecord::topLevelCommit - commit_state call failed for 0:ffffac11000a:c397:581f5466:1
> 2016-11-06 16:04:24,225 out: 2016-11-06 16:04:24,225 [Periodic Recovery] WARN com.arjuna.ats.arjuna - ARJUNA012022: PersistenceRecord::topLevelCommit - commit_state error
> 2016-11-06 16:04:25,504 out: 2016-11-06 16:04:25,504 [Periodic Recovery] WARN com.arjuna.ats.arjuna - ARJUNA012382: Action id 0:ffffac11000a:c397:581f5466:3 could not be transitioned to committed
> 2016-11-06 16:04:25,549 out: 2016-11-06 16:04:25,549 [Periodic Recovery] WARN com.arjuna.ats.arjuna - ARJUNA012016: PersistenceRecord::topLevelCommit - commit_state call failed for 0:ffffac11000a:c397:581f5466:3
> 2016-11-06 16:04:25,549 out: 2016-11-06 16:04:25,549 [Periodic Recovery] WARN com.arjuna.ats.arjuna - ARJUNA012022: PersistenceRecord::topLevelCommit - commit_state error
> 2016-11-06 16:04:37,523 out: 2016-11-06 16:04:37,523 [Periodic Recovery] WARN com.arjuna.ats.arjuna - ARJUNA012382: Action id 0:ffffac11000a:c397:581f5466:4 could not be transitioned to committed
--
This message was sent by Atlassian JIRA
(v7.2.3#72005)
7 years, 11 months
[JBoss JIRA] (JBTM-2795) Quickstart can not build the karaf
by Tom Jenkinson (JIRA)
[ https://issues.jboss.org/browse/JBTM-2795?page=com.atlassian.jira.plugin.... ]
Tom Jenkinson closed JBTM-2795.
-------------------------------
> Quickstart can not build the karaf
> ----------------------------------
>
> Key: JBTM-2795
> URL: https://issues.jboss.org/browse/JBTM-2795
> Project: JBoss Transaction Manager
> Issue Type: Task
> Components: Build System, Demonstrator
> Reporter: Amos Feng
> Assignee: Amos Feng
> Fix For: 5.4.1.Final
>
>
> {code}
> [ERROR] Failed to execute goal org.apache.karaf.tooling:karaf-maven-plugin:4.1.0-SNAPSHOT:kar (package) on project framework: Execution package of goal org.apache.karaf.tooling:karaf-maven-plugin:4.1.0-SNAPSHOT:kar failed: An API incompatibility was encountered while executing org.apache.karaf.tooling:karaf-maven-plugin:4.1.0-SNAPSHOT:kar: java.lang.NoSuchMethodError: org.apache.maven.wagon.providers.http.AbstractHttpClientWagon.getReadTimeout()I
> {code}
> It looks like we need to upgrade the maven and to use the build.bat
--
This message was sent by Atlassian JIRA
(v7.2.3#72005)
7 years, 11 months