]
Sebastian Łaskawiec closed ISPN-6446.
-------------------------------------
Byteman tests fail on IBM JDK
-----------------------------
Key: ISPN-6446
URL:
https://issues.jboss.org/browse/ISPN-6446
Project: Infinispan
Issue Type: Bug
Components: Test Suite - Query
Affects Versions: 8.2.0.Final
Reporter: Gustavo Fernandes
Assignee: Gustavo Fernandes
Fix For: 8.2.1.Final, 9.0.0.Alpha1, 9.0.0.Final
The following tests are failing:
{noformat}
org.infinispan.hibernate.search.AsyncMetadataConfigurationTest
org.infinispan.query.distributed.MassIndexerAsyncBackendTest.testMassIndexOnAsync
{noformat}
Stack trace:
{noformat}
java.net.ConnectException: Connection refused
at java.net.AbstractPlainSocketImpl.doConnect(AbstractPlainSocketImpl.java:375)
at
java.net.AbstractPlainSocketImpl.connectToAddress(AbstractPlainSocketImpl.java:236)
at java.net.AbstractPlainSocketImpl.connect(AbstractPlainSocketImpl.java:218)
at java.net.SocksSocketImpl.connect(SocksSocketImpl.java:403)
at java.net.Socket.connect(Socket.java:658)
at java.net.Socket.connect(Socket.java:604)
at java.net.Socket.<init>(Socket.java:466)
at java.net.Socket.<init>(Socket.java:237)
at org.jboss.byteman.agent.submit.Submit$Comm.<init>(Submit.java:881)
at org.jboss.byteman.agent.submit.Submit.submitRequest(Submit.java:787)
at org.jboss.byteman.agent.submit.Submit.addScripts(Submit.java:603)
at org.jboss.byteman.contrib.bmunit.BMUnit.loadScriptText(BMUnit.java:485)
at org.jboss.byteman.contrib.bmunit.BMUnitRunner$8.evaluate(BMUnitRunner.java:344)
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.junit.runners.ParentRunner.run(ParentRunner.java:309)
at org.apache.maven.surefire.junit4.JUnit4Provider.execute(JUnit4Provider.java:283)
at
org.apache.maven.surefire.junit4.JUnit4Provider.executeWithRerun(JUnit4Provider.java:173)
at
org.apache.maven.surefire.junit4.JUnit4Provider.executeTestSet(JUnit4Provider.java:153)
at org.apache.maven.surefire.junit4.JUnit4Provider.invoke(JUnit4Provider.java:128)
at
org.apache.maven.surefire.booter.ForkedBooter.invokeProviderInSameClassLoader(ForkedBooter.java:203)
at
org.apache.maven.surefire.booter.ForkedBooter.runSuitesInProcess(ForkedBooter.java:155)
at org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:103)
------- Stdout: -------
byteman jar is
/opt/buildAgent/system/jetbrains.maven.runner/maven.repo.local-bt32/org/jboss/byteman/byteman/2.1.4/byteman-2.1.4.jar
------- Stderr: -------
java.lang.reflect.InvocationTargetException
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:95)
at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:55)
at java.lang.reflect.Method.invoke(Method.java:507)
at
sun.instrument.InstrumentationImpl.loadClassAndStartAgent(InstrumentationImpl.java:408)
at
sun.instrument.InstrumentationImpl.loadClassAndCallAgentmain(InstrumentationImpl.java:433)
at com.ibm.tools.attach.javaSE.Attachment.loadAgentLibraryImpl(Native Method)
at com.ibm.tools.attach.javaSE.Attachment.loadAgentLibrary(Attachment.java:252)
at com.ibm.tools.attach.javaSE.Attachment.parseLoadAgent(Attachment.java:230)
at com.ibm.tools.attach.javaSE.Attachment.doCommand(Attachment.java:140)
at com.ibm.tools.attach.javaSE.Attachment.run(Attachment.java:101)
Caused by: java.lang.UnsupportedOperationException: adding retransformable transformers
is not supported in this environment
at sun.instrument.InstrumentationImpl.addTransformer(InstrumentationImpl.java:100)
at org.jboss.byteman.agent.Main.premain(Main.java:237)
at org.jboss.byteman.agent.Main.agentmain(Main.java:260)
... 11 more
{noformat}