[JBoss JIRA] (JBTM-3068) Byteman can not submit or remove the scripts when running TestCommitMarkableResourceFailActivate
by Amos Feng (Jira)
Amos Feng created JBTM-3068:
-------------------------------
Summary: Byteman can not submit or remove the scripts when running TestCommitMarkableResourceFailActivate
Key: JBTM-3068
URL: https://issues.jboss.org/browse/JBTM-3068
Project: JBoss Transaction Manager
Issue Type: Bug
Components: JTA, Testing
Reporter: Amos Feng
Assignee: Amos Feng
{code}
[ERROR] testFailAfterPrepare(com.hp.mwtests.ts.jta.commitmarkable.TestCommitMarkableResourceFailActivate) Time elapsed: 2.782 s <<< ERROR!
java.lang.Exception:
The remote byteman agent reported an error:
ERROR failed to find loaded rule with name Fail first phase2Commit
ERROR failed to find loaded rule with name Return not inflight
ERROR No rule scripts to remove
at org.jboss.byteman.agent.submit.Submit$Comm.readResponse(Submit.java:966)
at org.jboss.byteman.agent.submit.Submit.submitRequest(Submit.java:790)
at org.jboss.byteman.agent.submit.Submit.deleteScripts(Submit.java:697)
at org.jboss.byteman.agent.submit.Submit.deleteRulesFromFiles(Submit.java:649)
at org.jboss.byteman.contrib.bmunit.BMUnit.unloadScriptFile(BMUnit.java:259)
at org.jboss.byteman.contrib.bmunit.BMUnitRunner$7.evaluate(BMUnitRunner.java:296)
at org.jboss.byteman.contrib.bmunit.BMUnitRunner$6.evaluate(BMUnitRunner.java:263)
at org.junit.internal.runners.statements.RunBefores.evaluate(RunBefores.java:26)
at org.junit.internal.runners.statements.RunAfters.evaluate(RunAfters.java:27)
at org.junit.runners.ParentRunner.runLeaf(ParentRunner.java:271)
at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:70)
at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:50)
at org.junit.runners.ParentRunner$3.run(ParentRunner.java:238)
at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:63)
at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:236)
at org.junit.runners.ParentRunner.access$000(ParentRunner.java:53)
at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:229)
at org.jboss.byteman.contrib.bmunit.BMUnitRunner$1.evaluate(BMUnitRunner.java:97)
at org.junit.runners.ParentRunner.run(ParentRunner.java:309)
at org.apache.maven.surefire.junit4.JUnit4Provider.execute(JUnit4Provider.java:365)
at org.apache.maven.surefire.junit4.JUnit4Provider.executeWithRerun(JUnit4Provider.java:272)
at org.apache.maven.surefire.junit4.JUnit4Provider.executeTestSet(JUnit4Provider.java:236)
at org.apache.maven.surefire.junit4.JUnit4Provider.invoke(JUnit4Provider.java:159)
at org.apache.maven.surefire.booter.ForkedBooter.invokeProviderInSameClassLoader(ForkedBooter.java:386)
at org.apache.maven.surefire.booter.ForkedBooter.runSuitesInProcess(ForkedBooter.java:323)
at org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:143)
{code}
--
This message was sent by Atlassian Jira
(v7.12.1#712002)
6 years, 1 month
[JBoss JIRA] (JBTM-3066) Starting a nested LRA via the client API leaves the parent as the current context
by Michael Musgrove (Jira)
[ https://issues.jboss.org/browse/JBTM-3066?page=com.atlassian.jira.plugin.... ]
Issue was automatically transitioned when Michael Musgrove created pull request #1372 in GitHub
-----------------------------------------------------------------------------------------------
Status: Pull Request Sent (was: Open)
> Starting a nested LRA via the client API leaves the parent as the current context
> ---------------------------------------------------------------------------------
>
> Key: JBTM-3066
> URL: https://issues.jboss.org/browse/JBTM-3066
> Project: JBoss Transaction Manager
> Issue Type: Bug
> Components: LRA
> Affects Versions: 5.9.0.Final
> Reporter: Michael Musgrove
> Assignee: Michael Musgrove
> Priority: Major
> Fix For: 5.next
>
>
> If an LRA is associated with a thread and that thread then starts a new LRA then the new one is nested under the first. When using the LRAClient API to start the child LRA the resulting context is left as the parent. This is wrong since the thread should now operate in the context of the nested LRA.
--
This message was sent by Atlassian Jira
(v7.12.1#712002)
6 years, 1 month
[JBoss JIRA] (JBTM-3066) Starting a nested LRA via the client API leaves the parent as the current context
by Michael Musgrove (Jira)
Michael Musgrove created JBTM-3066:
--------------------------------------
Summary: Starting a nested LRA via the client API leaves the parent as the current context
Key: JBTM-3066
URL: https://issues.jboss.org/browse/JBTM-3066
Project: JBoss Transaction Manager
Issue Type: Bug
Components: LRA
Affects Versions: 5.9.0.Final
Reporter: Michael Musgrove
Assignee: Michael Musgrove
Fix For: 5.next
If an LRA is associated with a thread and that thread then starts a new LRA then the new one is nested under the first. When using the LRAClient API to start the child LRA the resulting context is left as the parent. This is wrong since the thread should now operate in the context of the nested LRA.
--
This message was sent by Atlassian Jira
(v7.12.1#712002)
6 years, 1 month
[JBoss JIRA] (JBTM-3064) After a crash active LRA's are left in a limbo state
by Michael Musgrove (Jira)
[ https://issues.jboss.org/browse/JBTM-3064?page=com.atlassian.jira.plugin.... ]
Michael Musgrove updated JBTM-3064:
-----------------------------------
Status: Resolved (was: Pull Request Sent)
Resolution: Done
> After a crash active LRA's are left in a limbo state
> ----------------------------------------------------
>
> Key: JBTM-3064
> URL: https://issues.jboss.org/browse/JBTM-3064
> Project: JBoss Transaction Manager
> Issue Type: Bug
> Components: LRA
> Affects Versions: 5.9.0.Final
> Reporter: Michael Musgrove
> Assignee: Michael Musgrove
> Priority: Major
> Fix For: 5.next
>
>
> If an LRA coordinator crashes with active LRA's (ie ones that have not yet been asked to finish) then when the coordinator is restarted they do not appear in the coordinators list so they cannot be ended.
> The fix is to ensure that the LRA periodic recovery module adds them back into the coordinators list of active LRA's.
--
This message was sent by Atlassian Jira
(v7.12.1#712002)
6 years, 1 month