]
Tom Jenkinson reassigned JBTM-3068:
-----------------------------------
Assignee: Tom Jenkinson (was: Amos Feng)
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: Tom Jenkinson
Priority: Minor
{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}