[JBoss JIRA] (ISPN-6446) Byteman tests fail on IBM JDK
by Gustavo Fernandes (JIRA)
Gustavo Fernandes created ISPN-6446:
---------------------------------------
Summary: 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
Fix For: 9.0.0.Alpha1
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}
--
This message was sent by Atlassian JIRA
(v6.4.11#64026)
10 years
[JBoss JIRA] (ISPN-6404) Add missing schemas into docs/schemas for ISPN
by Sebastian Łaskawiec (JIRA)
[ https://issues.jboss.org/browse/ISPN-6404?page=com.atlassian.jira.plugin.... ]
Sebastian Łaskawiec commented on ISPN-6404:
-------------------------------------------
Some of them are missing from WF10 release:
{code}
jboss-infinispan-endpoint_*.xsd (but we have jboss-as-infinispan_*.xsd instead)
jboss-infinispan-jgroups_*.xsd
jboss-infinispan-core_*.xsd
{code}
> Add missing schemas into docs/schemas for ISPN
> ----------------------------------------------
>
> Key: ISPN-6404
> URL: https://issues.jboss.org/browse/ISPN-6404
> Project: Infinispan
> Issue Type: Enhancement
> Components: Build process, Server
> Reporter: Sebastian Łaskawiec
> Assignee: Sebastian Łaskawiec
>
> ISPN server is missing some important schemas. We need to add them since they are mentioned in the configuration.
> We need the following:
> jboss-as-jgroups_1_0.xsd
> jboss-as-jgroups_1_1.xsd
> jboss-as-jgroups_1_2.xsd
> jboss-as-jgroups_2_0.xsd
> jboss-as-jgroups_3_0.xsd
> jboss-infinispan-endpoint_5_2.xsd
> jboss-infinispan-endpoint_6_0.xsd
> jboss-infinispan-endpoint_7_0.xsd
> jboss-infinispan-endpoint_7_2.xsd
> jboss-infinispan-endpoint_8_0.xsd
> jboss-infinispan-jgroups_7_0.xsd
> jboss-infinispan-jgroups_8_0.xsd
> jboss-infinispan-core_6_0.xsd
> jboss-infinispan-core_7_1.xsd
> jboss-infinispan-core_8_0.xsd
> jboss-infinispan-core_8_2.xsd
> jboss-infinispan-core_7_0.xsd
> jboss-infinispan-core_7_2.xsd
> jboss-infinispan-core_8_1.xsd
> jboss-infinispan-core_9_0.xsd
> jboss-as-cli_1_0.xsd
> jboss-as-cli_1_1.xsd
> jboss-as-cli_1_2.xsd
> jboss-as-cli_2_0.xsd
> jboss-as-config_1_0.xsd
> jboss-as-config_1_1.xsd
> jboss-as-config_1_2.xsd
> jboss-as-config_1_3.xsd
> jboss-as-config_1_4.xsd
> jboss-as-config_1_5.xsd
> jboss-as-config_2_0.xsd
> jboss-as-config_2_1.xsd
> jboss-as-datasources_1_0.xsd
> jboss-as-datasources_1_1.xsd
> jboss-as-datasources_1_2.xsd
> jboss-as-jmx_1_0.xsd
> jboss-as-jmx_1_1.xsd
> jboss-as-jmx_1_2.xsd
> jboss-as-jmx_1_3.xsd
> jboss-as-logging_1_0.xsd
> jboss-as-logging_1_1.xsd
> jboss-as-logging_1_2.xsd
> jboss-as-logging_1_3.xsd
> jboss-as-logging_2_0.xsd
> jboss-as-txn_1_0.xsd
> jboss-as-txn_1_1.xsd
> jboss-as-txn_1_2.xsd
> jboss-as-txn_1_3.xsd
> jboss-as-txn_1_4.xsd
> jboss-as-txn_1_5.xsd
> jboss-as-txn_2_0.xsd
> jboss-as-xts_1_0.xsd
> jboss-as-xts_2_0.xsd
> wildfly-cli_3_0.xsd
> wildfly-config_3_0.xsd
> wildfly-config_4_0.xsd
> module-1_0.xsd
> module-1_1.xsd
> module-1_2.xsd
> module-1_3.xsd
> module-1_5.xsd
> jboss-as-deployment-scanner_1_0.xsd
> jboss-as-deployment-scanner_1_1.xsd
> jboss-as-deployment-scanner_2_0.xsd
> wildfly-txn_3_0.xsd
> wildfly-datasources_2_0.xsd
> wildfly-datasources_3_0.xsd
> wildfly-datasources_4_0.xsd
--
This message was sent by Atlassian JIRA
(v6.4.11#64026)
10 years
[JBoss JIRA] (ISPN-6445) PreloadingWithWriteBehindTest.testIfCanLoadKeysConcurrently random failures
by Dan Berindei (JIRA)
Dan Berindei created ISPN-6445:
----------------------------------
Summary: PreloadingWithWriteBehindTest.testIfCanLoadKeysConcurrently random failures
Key: ISPN-6445
URL: https://issues.jboss.org/browse/ISPN-6445
Project: Infinispan
Issue Type: Bug
Components: Test Suite - Core
Affects Versions: 8.2.0.Final
Reporter: Dan Berindei
Assignee: Dan Berindei
Priority: Critical
Fix For: 9.0.0.Alpha1
The test assumes that the {{AdvancedAsyncCacheLoader.size()}} is accurate, but the implementation actually ignores the in-memory changes and just delegates to the real loader's {{size()}}.
Also, the method doesn't really belong in this test, because it doesn't use preloading.
--
This message was sent by Atlassian JIRA
(v6.4.11#64026)
10 years
[JBoss JIRA] (ISPN-6445) PreloadingWithWriteBehindTest.testIfCanLoadKeysConcurrently random failures
by Dan Berindei (JIRA)
[ https://issues.jboss.org/browse/ISPN-6445?page=com.atlassian.jira.plugin.... ]
Dan Berindei updated ISPN-6445:
-------------------------------
Status: Open (was: New)
> PreloadingWithWriteBehindTest.testIfCanLoadKeysConcurrently random failures
> ---------------------------------------------------------------------------
>
> Key: ISPN-6445
> URL: https://issues.jboss.org/browse/ISPN-6445
> Project: Infinispan
> Issue Type: Bug
> Components: Test Suite - Core
> Affects Versions: 8.2.0.Final
> Reporter: Dan Berindei
> Assignee: Dan Berindei
> Priority: Critical
> Labels: testsuite_stability
> Fix For: 9.0.0.Alpha1
>
>
> The test assumes that the {{AdvancedAsyncCacheLoader.size()}} is accurate, but the implementation actually ignores the in-memory changes and just delegates to the real loader's {{size()}}.
> Also, the method doesn't really belong in this test, because it doesn't use preloading.
--
This message was sent by Atlassian JIRA
(v6.4.11#64026)
10 years
[JBoss JIRA] (ISPN-6444) AsyncReplExtendedStatisticTest.testReplace random failures
by Dan Berindei (JIRA)
[ https://issues.jboss.org/browse/ISPN-6444?page=com.atlassian.jira.plugin.... ]
Dan Berindei updated ISPN-6444:
-------------------------------
Status: Open (was: New)
> AsyncReplExtendedStatisticTest.testReplace random failures
> ----------------------------------------------------------
>
> Key: ISPN-6444
> URL: https://issues.jboss.org/browse/ISPN-6444
> Project: Infinispan
> Issue Type: Bug
> Components: Test Suite - Core
> Affects Versions: 8.2.0.Final
> Reporter: Dan Berindei
> Assignee: Pedro Ruivo
> Priority: Critical
> Labels: testsuite_stability
> Fix For: 9.0.0.Alpha1
>
>
> The prepare command from {{testRemoveUnexistingEntry}} can execute during the next test method, {{testReplace}}, causing random failures.
> {noformat}
> 16:32:39,725 TRACE (testng-AsyncReplExtendedStatisticTest:[___defaultcache]) [InvocationContextInterceptor] Invoked with command PrepareCommand {modifications=[RemoveCommand{key=key_1, value=null, flags=[], valueMatcher=MATCH_ALWAYS}], onePhaseCommit=true, retried=false, gtx=GlobalTx:NodeA-13326:391, cacheName='___defaultcache', topologyId=-1} and InvocationContext [org.infinispan.context.impl.LocalTxInvocationContext@242fb621]
> 16:32:39,757 INFO (testng-AsyncReplExtendedStatisticTest:[]) [UnitTestTestNGListener] Test testRemoveUnexistingEntry(org.infinispan.stats.simple.AsyncReplExtendedStatisticTest) succeeded.
> 16:32:39,758 INFO (testng-AsyncReplExtendedStatisticTest:[]) [UnitTestTestNGListener] Starting test testReplace(org.infinispan.stats.simple.AsyncReplExtendedStatisticTest)
> 16:32:39,759 TRACE (testng-AsyncReplExtendedStatisticTest:[___defaultcache]) [ReadCommittedEntry] Updating entry (key=key_1 removed=false valid=true changed=true created=true value=value_1 metadata=EmbeddedExpirableMetadata{lifespan=-1, maxIdle=-1, version=null}, providedMetadata=null)
> 16:32:39,771 TRACE (Incoming-1,NodeB-13809:[___defaultcache]) [InvocationContextInterceptor] Invoked with command PrepareCommand {modifications=[RemoveCommand{key=key_1, value=null, flags=[], valueMatcher=MATCH_ALWAYS}], onePhaseCommit=true, retried=false, gtx=GlobalTx:NodeA-13326:391, cacheName='___defaultcache', topologyId=2} and InvocationContext [org.infinispan.context.impl.RemoteTxInvocationContext@7c97b3fd]
> 16:32:39,778 TRACE (Incoming-1,NodeB-13809:[___defaultcache]) [ReadCommittedEntry] Updating entry (key=key_1 removed=true valid=false changed=true created=false value=value_1 metadata=EmbeddedMetadata{version=null}, providedMetadata=null)
> 16:32:39,786 TRACE (Incoming-1,NodeA-13326:[___defaultcache]) [ReadCommittedEntry] Updating entry (key=key_1 removed=false valid=true changed=true created=true value=value_1 metadata=EmbeddedExpirableMetadata{lifespan=-1, maxIdle=-1, version=null}, providedMetadata=null)
> 16:32:49,853 ERROR (testng-AsyncReplExtendedStatisticTest:[]) [UnitTestTestNGListener] Test testReplace(org.infinispan.stats.simple.AsyncReplExtendedStatisticTest) failed.
> java.lang.AssertionError:
> at org.testng.AssertJUnit.fail(AssertJUnit.java:59) ~[testng-6.8.8.jar:?]
> at org.testng.AssertJUnit.assertTrue(AssertJUnit.java:24) ~[testng-6.8.8.jar:?]
> at org.infinispan.test.AbstractInfinispanTest.eventually(AbstractInfinispanTest.java:170) ~[infinispan-core-9.0.0-SNAPSHOT-tests.jar:9.0.0-SNAPSHOT]
> at org.infinispan.test.AbstractInfinispanTest.eventually(AbstractInfinispanTest.java:152) ~[infinispan-core-9.0.0-SNAPSHOT-tests.jar:9.0.0-SNAPSHOT]
> at org.infinispan.test.AbstractInfinispanTest.eventually(AbstractInfinispanTest.java:128) ~[infinispan-core-9.0.0-SNAPSHOT-tests.jar:9.0.0-SNAPSHOT]
> at org.infinispan.test.AbstractInfinispanTest.eventually(AbstractInfinispanTest.java:462) ~[infinispan-core-9.0.0-SNAPSHOT-tests.jar:9.0.0-SNAPSHOT]
> at org.infinispan.test.MultipleCacheManagersTest.assertEventuallyEquals(MultipleCacheManagersTest.java:586) ~[infinispan-core-9.0.0-SNAPSHOT-tests.jar:9.0.0-SNAPSHOT]
> at org.infinispan.stats.BaseClusteredExtendedStatisticTest.assertCacheValue(BaseClusteredExtendedStatisticTest.java:307) ~[test-classes/:?]
> at org.infinispan.stats.BaseClusteredExtendedStatisticTest.testReplace(BaseClusteredExtendedStatisticTest.java:208) ~[test-classes/:?]
> {noformat}
--
This message was sent by Atlassian JIRA
(v6.4.11#64026)
10 years
[JBoss JIRA] (ISPN-6444) AsyncReplExtendedStatisticTest.testReplace random failures
by Dan Berindei (JIRA)
Dan Berindei created ISPN-6444:
----------------------------------
Summary: AsyncReplExtendedStatisticTest.testReplace random failures
Key: ISPN-6444
URL: https://issues.jboss.org/browse/ISPN-6444
Project: Infinispan
Issue Type: Bug
Components: Test Suite - Core
Affects Versions: 8.2.0.Final
Reporter: Dan Berindei
Assignee: Pedro Ruivo
Priority: Critical
Fix For: 9.0.0.Alpha1
The prepare command from {{testRemoveUnexistingEntry}} can execute during the next test method, {{testReplace}}, causing random failures.
{noformat}
16:32:39,725 TRACE (testng-AsyncReplExtendedStatisticTest:[___defaultcache]) [InvocationContextInterceptor] Invoked with command PrepareCommand {modifications=[RemoveCommand{key=key_1, value=null, flags=[], valueMatcher=MATCH_ALWAYS}], onePhaseCommit=true, retried=false, gtx=GlobalTx:NodeA-13326:391, cacheName='___defaultcache', topologyId=-1} and InvocationContext [org.infinispan.context.impl.LocalTxInvocationContext@242fb621]
16:32:39,757 INFO (testng-AsyncReplExtendedStatisticTest:[]) [UnitTestTestNGListener] Test testRemoveUnexistingEntry(org.infinispan.stats.simple.AsyncReplExtendedStatisticTest) succeeded.
16:32:39,758 INFO (testng-AsyncReplExtendedStatisticTest:[]) [UnitTestTestNGListener] Starting test testReplace(org.infinispan.stats.simple.AsyncReplExtendedStatisticTest)
16:32:39,759 TRACE (testng-AsyncReplExtendedStatisticTest:[___defaultcache]) [ReadCommittedEntry] Updating entry (key=key_1 removed=false valid=true changed=true created=true value=value_1 metadata=EmbeddedExpirableMetadata{lifespan=-1, maxIdle=-1, version=null}, providedMetadata=null)
16:32:39,771 TRACE (Incoming-1,NodeB-13809:[___defaultcache]) [InvocationContextInterceptor] Invoked with command PrepareCommand {modifications=[RemoveCommand{key=key_1, value=null, flags=[], valueMatcher=MATCH_ALWAYS}], onePhaseCommit=true, retried=false, gtx=GlobalTx:NodeA-13326:391, cacheName='___defaultcache', topologyId=2} and InvocationContext [org.infinispan.context.impl.RemoteTxInvocationContext@7c97b3fd]
16:32:39,778 TRACE (Incoming-1,NodeB-13809:[___defaultcache]) [ReadCommittedEntry] Updating entry (key=key_1 removed=true valid=false changed=true created=false value=value_1 metadata=EmbeddedMetadata{version=null}, providedMetadata=null)
16:32:39,786 TRACE (Incoming-1,NodeA-13326:[___defaultcache]) [ReadCommittedEntry] Updating entry (key=key_1 removed=false valid=true changed=true created=true value=value_1 metadata=EmbeddedExpirableMetadata{lifespan=-1, maxIdle=-1, version=null}, providedMetadata=null)
16:32:49,853 ERROR (testng-AsyncReplExtendedStatisticTest:[]) [UnitTestTestNGListener] Test testReplace(org.infinispan.stats.simple.AsyncReplExtendedStatisticTest) failed.
java.lang.AssertionError:
at org.testng.AssertJUnit.fail(AssertJUnit.java:59) ~[testng-6.8.8.jar:?]
at org.testng.AssertJUnit.assertTrue(AssertJUnit.java:24) ~[testng-6.8.8.jar:?]
at org.infinispan.test.AbstractInfinispanTest.eventually(AbstractInfinispanTest.java:170) ~[infinispan-core-9.0.0-SNAPSHOT-tests.jar:9.0.0-SNAPSHOT]
at org.infinispan.test.AbstractInfinispanTest.eventually(AbstractInfinispanTest.java:152) ~[infinispan-core-9.0.0-SNAPSHOT-tests.jar:9.0.0-SNAPSHOT]
at org.infinispan.test.AbstractInfinispanTest.eventually(AbstractInfinispanTest.java:128) ~[infinispan-core-9.0.0-SNAPSHOT-tests.jar:9.0.0-SNAPSHOT]
at org.infinispan.test.AbstractInfinispanTest.eventually(AbstractInfinispanTest.java:462) ~[infinispan-core-9.0.0-SNAPSHOT-tests.jar:9.0.0-SNAPSHOT]
at org.infinispan.test.MultipleCacheManagersTest.assertEventuallyEquals(MultipleCacheManagersTest.java:586) ~[infinispan-core-9.0.0-SNAPSHOT-tests.jar:9.0.0-SNAPSHOT]
at org.infinispan.stats.BaseClusteredExtendedStatisticTest.assertCacheValue(BaseClusteredExtendedStatisticTest.java:307) ~[test-classes/:?]
at org.infinispan.stats.BaseClusteredExtendedStatisticTest.testReplace(BaseClusteredExtendedStatisticTest.java:208) ~[test-classes/:?]
{noformat}
--
This message was sent by Atlassian JIRA
(v6.4.11#64026)
10 years