[JBoss JIRA] (ISPN-8140) Getting IndexOutOfBoundsException when retrieving WeakCounter
by Martin Gencur (JIRA)
[ https://issues.jboss.org/browse/ISPN-8140?page=com.atlassian.jira.plugin.... ]
Martin Gencur commented on ISPN-8140:
-------------------------------------
I've also tried with concurrency-level 2 and 64
> Getting IndexOutOfBoundsException when retrieving WeakCounter
> -------------------------------------------------------------
>
> Key: ISPN-8140
> URL: https://issues.jboss.org/browse/ISPN-8140
> Project: Infinispan
> Issue Type: Bug
> Components: Clustered Counter
> Affects Versions: 9.1.0.Final
> Reporter: Martin Gencur
> Assignee: Pedro Ruivo
>
> Calling getWeakCounter on EmbeddedCounterManager leads to the following exception:
> {code}
> java.lang.ArrayIndexOutOfBoundsException: 0
> at org.infinispan.counter.impl.weak.WeakCounterImpl.registerListener(WeakCounterImpl.java:228) ~[infinispan-clustered-counter-9.1.0.Final.jar:9.1.0.Final]
> at org.infinispan.counter.impl.weak.WeakCounterImpl.init(WeakCounterImpl.java:105) ~[infinispan-clustered-counter-9.1.0.Final.jar:9.1.0.Final]
> at org.infinispan.counter.impl.manager.EmbeddedCounterManager.createWeakCounter(EmbeddedCounterManager.java:66) ~[infinispan-clustered-counter-9.1.0.Final.jar:9.1.0.Final]
> at org.infinispan.counter.impl.manager.EmbeddedCounterManager.createCounter(EmbeddedCounterManager.java:129) ~[infinispan-clustered-counter-9.1.0.Final.jar:9.1.0.Final]
> at org.infinispan.counter.impl.manager.EmbeddedCounterManager$$Lambda$320/1622399598.apply(Unknown Source) ~[?:?]
> at java.util.concurrent.ConcurrentHashMap.computeIfAbsent(ConcurrentHashMap.java:1660) ~[?:1.8.0_40]
> at org.infinispan.counter.impl.manager.EmbeddedCounterManager.getWeakCounter(EmbeddedCounterManager.java:94) ~[infinispan-clustered-counter-9.1.0.Final.jar:9.1.0.Final]
> at org.radargun.service.Infinispan91WeakCounterOperations.getWeakCounter(Infinispan91WeakCounterOperations.java:22) ~[plugin-infinispan91-3.0.0-SNAPSHOT.jar:?]
> at org.radargun.stages.WeakCounterTestStage$WeakCounterLogic.init(WeakCounterTestStage.java:59) ~[radargun-counter-3.0.0-SNAPSHOT.jar:?]
> at org.radargun.stages.test.Stressor.run(Stressor.java:65) [radargun-core-3.0.0-SNAPSHOT.jar:?]
> {code}
> The counter has this configuration:
> {code}
> <counters xmlns="urn:infinispan:config:counters:9.0" num-owners="2" reliability="CONSISTENT">
> <weak-counter name="c5" initial-value="5" storage="VOLATILE" concurrency-level="1"/>
> </counters>
> {code}
--
This message was sent by Atlassian JIRA
(v7.2.3#72005)
7 years, 4 months
[JBoss JIRA] (ISPN-8140) Getting IndexOutOfBoundsException when retrieving WeakCounter
by Martin Gencur (JIRA)
Martin Gencur created ISPN-8140:
-----------------------------------
Summary: Getting IndexOutOfBoundsException when retrieving WeakCounter
Key: ISPN-8140
URL: https://issues.jboss.org/browse/ISPN-8140
Project: Infinispan
Issue Type: Bug
Components: Clustered Counter
Affects Versions: 9.1.0.Final
Reporter: Martin Gencur
Assignee: Pedro Ruivo
Calling getWeakCounter on EmbeddedCounterManager leads to the following exception:
{code}
java.lang.ArrayIndexOutOfBoundsException: 0
at org.infinispan.counter.impl.weak.WeakCounterImpl.registerListener(WeakCounterImpl.java:228) ~[infinispan-clustered-counter-9.1.0.Final.jar:9.1.0.Final]
at org.infinispan.counter.impl.weak.WeakCounterImpl.init(WeakCounterImpl.java:105) ~[infinispan-clustered-counter-9.1.0.Final.jar:9.1.0.Final]
at org.infinispan.counter.impl.manager.EmbeddedCounterManager.createWeakCounter(EmbeddedCounterManager.java:66) ~[infinispan-clustered-counter-9.1.0.Final.jar:9.1.0.Final]
at org.infinispan.counter.impl.manager.EmbeddedCounterManager.createCounter(EmbeddedCounterManager.java:129) ~[infinispan-clustered-counter-9.1.0.Final.jar:9.1.0.Final]
at org.infinispan.counter.impl.manager.EmbeddedCounterManager$$Lambda$320/1622399598.apply(Unknown Source) ~[?:?]
at java.util.concurrent.ConcurrentHashMap.computeIfAbsent(ConcurrentHashMap.java:1660) ~[?:1.8.0_40]
at org.infinispan.counter.impl.manager.EmbeddedCounterManager.getWeakCounter(EmbeddedCounterManager.java:94) ~[infinispan-clustered-counter-9.1.0.Final.jar:9.1.0.Final]
at org.radargun.service.Infinispan91WeakCounterOperations.getWeakCounter(Infinispan91WeakCounterOperations.java:22) ~[plugin-infinispan91-3.0.0-SNAPSHOT.jar:?]
at org.radargun.stages.WeakCounterTestStage$WeakCounterLogic.init(WeakCounterTestStage.java:59) ~[radargun-counter-3.0.0-SNAPSHOT.jar:?]
at org.radargun.stages.test.Stressor.run(Stressor.java:65) [radargun-core-3.0.0-SNAPSHOT.jar:?]
{code}
The counter has this configuration:
{code}
<counters xmlns="urn:infinispan:config:counters:9.0" num-owners="2" reliability="CONSISTENT">
<weak-counter name="c5" initial-value="5" storage="VOLATILE" concurrency-level="1"/>
</counters>
{code}
--
This message was sent by Atlassian JIRA
(v7.2.3#72005)
7 years, 4 months
[JBoss JIRA] (ISPN-6952) JCacheTwoCachesBasicOpsTest.testRemovedListener fails
by Sebastian Łaskawiec (JIRA)
[ https://issues.jboss.org/browse/ISPN-6952?page=com.atlassian.jira.plugin.... ]
Sebastian Łaskawiec reassigned ISPN-6952:
-----------------------------------------
Assignee: Sebastian Łaskawiec (was: William Burns)
> JCacheTwoCachesBasicOpsTest.testRemovedListener fails
> -----------------------------------------------------
>
> Key: ISPN-6952
> URL: https://issues.jboss.org/browse/ISPN-6952
> Project: Infinispan
> Issue Type: Bug
> Components: JCache
> Reporter: Sebastian Łaskawiec
> Assignee: Sebastian Łaskawiec
> Priority: Critical
> Labels: testsuite-stability
> Attachments: JCacheTwoCachesBasicOpsTest_20161106.log.gz
>
>
> http://ci.infinispan.org/project.html?projectId=Infinispan&testNameId=804...
> {noformat}
> java.lang.AssertionError: expected [1] but found [2]
> at org.testng.Assert.fail(Assert.java:94)
> at org.testng.Assert.failNotEquals(Assert.java:494)
> at org.testng.Assert.assertEquals(Assert.java:123)
> at org.testng.Assert.assertEquals(Assert.java:370)
> at org.testng.Assert.assertEquals(Assert.java:380)
> at org.infinispan.jcache.AbstractTwoCachesBasicOpsTest.testRemovedListener(AbstractTwoCachesBasicOpsTest.java:302)
> at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
> at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
> at java.lang.reflect.Method.invoke(Method.java:497)
> at org.testng.internal.MethodInvocationHelper.invokeMethod(MethodInvocationHelper.java:84)
> at org.testng.internal.Invoker.invokeMethod(Invoker.java:714)
> at org.testng.internal.Invoker.invokeTestMethod(Invoker.java:901)
> at org.testng.internal.Invoker.invokeTestMethods(Invoker.java:1231)
> at org.testng.internal.TestMethodWorker.invokeTestMethods(TestMethodWorker.java:127)
> at org.testng.internal.TestMethodWorker.run(TestMethodWorker.java:111)
> at org.testng.TestRunner.privateRun(TestRunner.java:767)
> at org.testng.TestRunner.run(TestRunner.java:617)
> at org.testng.SuiteRunner.runTest(SuiteRunner.java:348)
> at org.testng.SuiteRunner.runSequentially(SuiteRunner.java:343)
> at org.testng.SuiteRunner.privateRun(SuiteRunner.java:305)
> at org.testng.SuiteRunner.run(SuiteRunner.java:254)
> at org.testng.SuiteRunnerWorker.runSuite(SuiteRunnerWorker.java:52)
> at org.testng.SuiteRunnerWorker.run(SuiteRunnerWorker.java:86)
> at org.testng.TestNG.runSuitesSequentially(TestNG.java:1224)
> at org.testng.TestNG.runSuitesLocally(TestNG.java:1149)
> at org.testng.TestNG.run(TestNG.java:1057)
> at org.apache.maven.surefire.testng.TestNGExecutor.run(TestNGExecutor.java:115)
> at org.apache.maven.surefire.testng.TestNGDirectoryTestSuite.executeMulti(TestNGDirectoryTestSuite.java:205)
> at org.apache.maven.surefire.testng.TestNGDirectoryTestSuite.execute(TestNGDirectoryTestSuite.java:108)
> at org.apache.maven.surefire.testng.TestNGProvider.invoke(TestNGProvider.java:111)
> 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: -------
> [TestSuiteProgress] Test starting: org.infinispan.jcache.JCacheTwoCachesBasicOpsTest.testRemovedListener
> [TestSuiteProgress] Test failed: org.infinispan.jcache.JCacheTwoCachesBasicOpsTest.testRemovedListener
> 12:50:19,634 ERROR (testng-JCacheTwoCachesBasicOpsTest) [TestSuiteProgress] Test failed: org.infinispan.jcache.JCacheTwoCachesBasicOpsTest.testRemovedListener
> java.lang.AssertionError: expected [1] but found [2]
> at org.testng.Assert.fail(Assert.java:94)
> at org.testng.Assert.failNotEquals(Assert.java:494)
> at org.testng.Assert.assertEquals(Assert.java:123)
> at org.testng.Assert.assertEquals(Assert.java:370)
> at org.testng.Assert.assertEquals(Assert.java:380)
> at org.infinispan.jcache.AbstractTwoCachesBasicOpsTest.testRemovedListener(AbstractTwoCachesBasicOpsTest.java:302)
> at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
> at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)[TestSuiteProgress] Tests succeeded: 19, failed: 1, skipped: 0
> {noformat}
--
This message was sent by Atlassian JIRA
(v7.2.3#72005)
7 years, 4 months
[JBoss JIRA] (ISPN-6952) JCacheTwoCachesBasicOpsTest.testRemovedListener fails
by Sebastian Łaskawiec (JIRA)
[ https://issues.jboss.org/browse/ISPN-6952?page=com.atlassian.jira.plugin.... ]
Sebastian Łaskawiec commented on ISPN-6952:
-------------------------------------------
>From the logs I can see that this is the remote one that has a problem. Diving in...
> JCacheTwoCachesBasicOpsTest.testRemovedListener fails
> -----------------------------------------------------
>
> Key: ISPN-6952
> URL: https://issues.jboss.org/browse/ISPN-6952
> Project: Infinispan
> Issue Type: Bug
> Components: JCache
> Reporter: Sebastian Łaskawiec
> Assignee: William Burns
> Priority: Critical
> Labels: testsuite-stability
> Attachments: JCacheTwoCachesBasicOpsTest_20161106.log.gz
>
>
> http://ci.infinispan.org/project.html?projectId=Infinispan&testNameId=804...
> {noformat}
> java.lang.AssertionError: expected [1] but found [2]
> at org.testng.Assert.fail(Assert.java:94)
> at org.testng.Assert.failNotEquals(Assert.java:494)
> at org.testng.Assert.assertEquals(Assert.java:123)
> at org.testng.Assert.assertEquals(Assert.java:370)
> at org.testng.Assert.assertEquals(Assert.java:380)
> at org.infinispan.jcache.AbstractTwoCachesBasicOpsTest.testRemovedListener(AbstractTwoCachesBasicOpsTest.java:302)
> at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
> at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
> at java.lang.reflect.Method.invoke(Method.java:497)
> at org.testng.internal.MethodInvocationHelper.invokeMethod(MethodInvocationHelper.java:84)
> at org.testng.internal.Invoker.invokeMethod(Invoker.java:714)
> at org.testng.internal.Invoker.invokeTestMethod(Invoker.java:901)
> at org.testng.internal.Invoker.invokeTestMethods(Invoker.java:1231)
> at org.testng.internal.TestMethodWorker.invokeTestMethods(TestMethodWorker.java:127)
> at org.testng.internal.TestMethodWorker.run(TestMethodWorker.java:111)
> at org.testng.TestRunner.privateRun(TestRunner.java:767)
> at org.testng.TestRunner.run(TestRunner.java:617)
> at org.testng.SuiteRunner.runTest(SuiteRunner.java:348)
> at org.testng.SuiteRunner.runSequentially(SuiteRunner.java:343)
> at org.testng.SuiteRunner.privateRun(SuiteRunner.java:305)
> at org.testng.SuiteRunner.run(SuiteRunner.java:254)
> at org.testng.SuiteRunnerWorker.runSuite(SuiteRunnerWorker.java:52)
> at org.testng.SuiteRunnerWorker.run(SuiteRunnerWorker.java:86)
> at org.testng.TestNG.runSuitesSequentially(TestNG.java:1224)
> at org.testng.TestNG.runSuitesLocally(TestNG.java:1149)
> at org.testng.TestNG.run(TestNG.java:1057)
> at org.apache.maven.surefire.testng.TestNGExecutor.run(TestNGExecutor.java:115)
> at org.apache.maven.surefire.testng.TestNGDirectoryTestSuite.executeMulti(TestNGDirectoryTestSuite.java:205)
> at org.apache.maven.surefire.testng.TestNGDirectoryTestSuite.execute(TestNGDirectoryTestSuite.java:108)
> at org.apache.maven.surefire.testng.TestNGProvider.invoke(TestNGProvider.java:111)
> 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: -------
> [TestSuiteProgress] Test starting: org.infinispan.jcache.JCacheTwoCachesBasicOpsTest.testRemovedListener
> [TestSuiteProgress] Test failed: org.infinispan.jcache.JCacheTwoCachesBasicOpsTest.testRemovedListener
> 12:50:19,634 ERROR (testng-JCacheTwoCachesBasicOpsTest) [TestSuiteProgress] Test failed: org.infinispan.jcache.JCacheTwoCachesBasicOpsTest.testRemovedListener
> java.lang.AssertionError: expected [1] but found [2]
> at org.testng.Assert.fail(Assert.java:94)
> at org.testng.Assert.failNotEquals(Assert.java:494)
> at org.testng.Assert.assertEquals(Assert.java:123)
> at org.testng.Assert.assertEquals(Assert.java:370)
> at org.testng.Assert.assertEquals(Assert.java:380)
> at org.infinispan.jcache.AbstractTwoCachesBasicOpsTest.testRemovedListener(AbstractTwoCachesBasicOpsTest.java:302)
> at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
> at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)[TestSuiteProgress] Tests succeeded: 19, failed: 1, skipped: 0
> {noformat}
--
This message was sent by Atlassian JIRA
(v7.2.3#72005)
7 years, 4 months