[JBoss JIRA] (ISPN-4384) CacheNotifierImplInitialTransferDistTest test instability
by William Burns (JIRA)
[ https://issues.jboss.org/browse/ISPN-4384?page=com.atlassian.jira.plugin.... ]
Work on ISPN-4384 started by William Burns.
> CacheNotifierImplInitialTransferDistTest test instability
> ---------------------------------------------------------
>
> Key: ISPN-4384
> URL: https://issues.jboss.org/browse/ISPN-4384
> Project: Infinispan
> Issue Type: Bug
> Components: Core
> Reporter: William Burns
> Assignee: William Burns
>
> There was an issue that was just recently fixed for
> However there are some other inconsistent failures as seen here
> http://ci.infinispan.org/viewLog.html?buildId=8820&tab=buildResultsDiv&bu...
> CacheNotifierImplInitialTransferDistTest.testCreateAfterIterationBeganAndSegmentNotCompleteValueNonOwnerClustered
> {code}
> java.lang.AssertionError: expected [11] but found [6]
> 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.notifications.cachelistener.CacheNotifierImplInitialTransferDistTest.testIterationBeganAndSegmentNotComplete(CacheNotifierImplInitialTransferDistTest.java:510)
> at org.infinispan.notifications.cachelistener.CacheNotifierImplInitialTransferDistTest.testCreateAfterIterationBeganAndSegmentNotCompleteValueNonOwnerClustered(CacheNotifierImplInitialTransferDistTest.java:600)
> at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
> at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
> at java.lang.reflect.Method.invoke(Method.java:606)
> at org.testng.internal.MethodInvocationHelper.invokeMethod(MethodInvocationHelper.java:80)
> 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:334)
> at org.testng.SuiteRunner.access$000(SuiteRunner.java:37)
> at org.testng.SuiteRunner$SuiteWorker.run(SuiteRunner.java:368)
> at org.testng.internal.thread.ThreadUtil$2.call(ThreadUtil.java:64)
> at java.util.concurrent.FutureTask.run(FutureTask.java:262)
> at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)
> at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
> at java.lang.Thread.run(Thread.java:724)
> {code}
> and CacheNotifierImplInitialTransferDistTest.testCreateAfterIterationBeganAndSegmentNotCompleteValueOwnerClustered has the same stack trace.
--
This message was sent by Atlassian JIRA
(v6.2.3#6260)
11 years, 10 months
[JBoss JIRA] (ISPN-4384) CacheNotifierImplInitialTransferDistTest test instability
by William Burns (JIRA)
[ https://issues.jboss.org/browse/ISPN-4384?page=com.atlassian.jira.plugin.... ]
William Burns reassigned ISPN-4384:
-----------------------------------
Assignee: William Burns (was: Dan Berindei)
> CacheNotifierImplInitialTransferDistTest test instability
> ---------------------------------------------------------
>
> Key: ISPN-4384
> URL: https://issues.jboss.org/browse/ISPN-4384
> Project: Infinispan
> Issue Type: Bug
> Components: Core
> Reporter: William Burns
> Assignee: William Burns
>
> There was an issue that was just recently fixed for
> However there are some other inconsistent failures as seen here
> http://ci.infinispan.org/viewLog.html?buildId=8820&tab=buildResultsDiv&bu...
> CacheNotifierImplInitialTransferDistTest.testCreateAfterIterationBeganAndSegmentNotCompleteValueNonOwnerClustered
> {code}
> java.lang.AssertionError: expected [11] but found [6]
> 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.notifications.cachelistener.CacheNotifierImplInitialTransferDistTest.testIterationBeganAndSegmentNotComplete(CacheNotifierImplInitialTransferDistTest.java:510)
> at org.infinispan.notifications.cachelistener.CacheNotifierImplInitialTransferDistTest.testCreateAfterIterationBeganAndSegmentNotCompleteValueNonOwnerClustered(CacheNotifierImplInitialTransferDistTest.java:600)
> at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
> at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
> at java.lang.reflect.Method.invoke(Method.java:606)
> at org.testng.internal.MethodInvocationHelper.invokeMethod(MethodInvocationHelper.java:80)
> 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:334)
> at org.testng.SuiteRunner.access$000(SuiteRunner.java:37)
> at org.testng.SuiteRunner$SuiteWorker.run(SuiteRunner.java:368)
> at org.testng.internal.thread.ThreadUtil$2.call(ThreadUtil.java:64)
> at java.util.concurrent.FutureTask.run(FutureTask.java:262)
> at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)
> at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
> at java.lang.Thread.run(Thread.java:724)
> {code}
> and CacheNotifierImplInitialTransferDistTest.testCreateAfterIterationBeganAndSegmentNotCompleteValueOwnerClustered has the same stack trace.
--
This message was sent by Atlassian JIRA
(v6.2.3#6260)
11 years, 10 months
[JBoss JIRA] (ISPN-4372) Map/Reduce performance is dependent on cache value size
by Vladimir Blagojevic (JIRA)
[ https://issues.jboss.org/browse/ISPN-4372?page=com.atlassian.jira.plugin.... ]
Vladimir Blagojevic commented on ISPN-4372:
-------------------------------------------
I am working on another algorithm that uses consumer/producer pattern with bounded queue. Collectors are put in the bounded queue and each threads grabs one, does map (and possibly combine) and returns collector to the queue again. This way we do not have to have all these collector synchronization blocks and copying of collector contents. There is certainly a bit more thread coordination around this queue and more memory is used. Initial testing shows performance equal to current algorithm - at least for local execution. The ongoing work is at https://github.com/vblagoje/infinispan/commits/t_4372 branch
> Map/Reduce performance is dependent on cache value size
> -------------------------------------------------------
>
> Key: ISPN-4372
> URL: https://issues.jboss.org/browse/ISPN-4372
> Project: Infinispan
> Issue Type: Feature Request
> Components: Distributed Execution and Map/Reduce
> Affects Versions: 7.0.0.Alpha4
> Reporter: Alan Field
> Assignee: Vladimir Blagojevic
> Labels: performance
>
> Performance testing the Map/Reduce changes has shown that the performance improvements vary based on the size of the values in the cache. [1] Using values from 8kB to 128kB shows a large performance increase over Infinispan 6, but smaller and larger values are the same or slower than Infinispan 6.
> http://blog.infinispan.org/2014/06/mapreduce-performance-improvements.html
--
This message was sent by Atlassian JIRA
(v6.2.3#6260)
11 years, 10 months
[JBoss JIRA] (ISPN-4384) CacheNotifierImplInitialTransferDistTest test instability
by William Burns (JIRA)
William Burns created ISPN-4384:
-----------------------------------
Summary: CacheNotifierImplInitialTransferDistTest test instability
Key: ISPN-4384
URL: https://issues.jboss.org/browse/ISPN-4384
Project: Infinispan
Issue Type: Bug
Components: Core
Reporter: William Burns
Assignee: Dan Berindei
There was an issue that was just recently fixed for
However there are some other inconsistent failures as seen here
http://ci.infinispan.org/viewLog.html?buildId=8820&tab=buildResultsDiv&bu...
CacheNotifierImplInitialTransferDistTest.testCreateAfterIterationBeganAndSegmentNotCompleteValueNonOwnerClustered
{code}
java.lang.AssertionError: expected [11] but found [6]
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.notifications.cachelistener.CacheNotifierImplInitialTransferDistTest.testIterationBeganAndSegmentNotComplete(CacheNotifierImplInitialTransferDistTest.java:510)
at org.infinispan.notifications.cachelistener.CacheNotifierImplInitialTransferDistTest.testCreateAfterIterationBeganAndSegmentNotCompleteValueNonOwnerClustered(CacheNotifierImplInitialTransferDistTest.java:600)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:606)
at org.testng.internal.MethodInvocationHelper.invokeMethod(MethodInvocationHelper.java:80)
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:334)
at org.testng.SuiteRunner.access$000(SuiteRunner.java:37)
at org.testng.SuiteRunner$SuiteWorker.run(SuiteRunner.java:368)
at org.testng.internal.thread.ThreadUtil$2.call(ThreadUtil.java:64)
at java.util.concurrent.FutureTask.run(FutureTask.java:262)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
at java.lang.Thread.run(Thread.java:724)
{code}
and CacheNotifierImplInitialTransferDistTest.testCreateAfterIterationBeganAndSegmentNotCompleteValueOwnerClustered has the same stack trace.
--
This message was sent by Atlassian JIRA
(v6.2.3#6260)
11 years, 10 months
[JBoss JIRA] (ISPN-4383) Clustered PrincipalRoleMapper
by Tristan Tarrant (JIRA)
Tristan Tarrant created ISPN-4383:
-------------------------------------
Summary: Clustered PrincipalRoleMapper
Key: ISPN-4383
URL: https://issues.jboss.org/browse/ISPN-4383
Project: Infinispan
Issue Type: Sub-task
Components: Security
Reporter: Tristan Tarrant
Assignee: Tristan Tarrant
Fix For: 7.0.0.Final
Introduce a clustered principalrolemapper based on the clusterregistry to ease authorization manipulation in certain contexts. Also clean up the declarative configurations to avoid using class names for the out-of-the-box prms
--
This message was sent by Atlassian JIRA
(v6.2.3#6260)
11 years, 10 months
[JBoss JIRA] (ISPN-4368) StateTransferOverwriteTest random failures
by Sanne Grinovero (JIRA)
[ https://issues.jboss.org/browse/ISPN-4368?page=com.atlassian.jira.plugin.... ]
Sanne Grinovero updated ISPN-4368:
----------------------------------
Status: Resolved (was: Pull Request Sent)
Resolution: Done
> StateTransferOverwriteTest random failures
> ------------------------------------------
>
> Key: ISPN-4368
> URL: https://issues.jboss.org/browse/ISPN-4368
> Project: Infinispan
> Issue Type: Bug
> Components: Core, Test Suite - Core
> Affects Versions: 7.0.0.Alpha4
> Reporter: Dan Berindei
> Assignee: William Burns
> Labels: testsuite_stability
> Fix For: 7.0.0.Beta1
>
> Attachments: StateTransferOverwriteTest_pr_pruivo_ISPN-4025_xsite-st-failures_20140605.log.gz
>
>
> {{testStateTransferInBetweenPrepareCommitWithPutCreate}} sometimes fails because the state transfer doesn't finish in time:
> {noformat}
> java.lang.RuntimeException: Timed out waiting for rebalancing to complete on node NodeBN-23267, current topology is CacheTopology{id=6, currentCH=DefaultConsistentHash{numSegments=60, numOwners=2, members=[NodeBM-52725, NodeBN-23267]}, pendingCH=DefaultConsistentHash{numSegments=60, numOwners=2, members=[NodeBM-52725, NodeBN-23267]}, unionCH=DefaultConsistentHash{numSegments=60, numOwners=2, members=[NodeBM-52725, NodeBN-23267]}}
> at org.infinispan.test.TestingUtil.waitForRehashToComplete(TestingUtil.java:214)
> at org.infinispan.distribution.rehash.BaseTxStateTransferOverwriteTest.doStateTransferInBetweenPrepareCommit(BaseTxStateTransferOverwriteTest.java:265)
> at org.infinispan.distribution.rehash.BaseTxStateTransferOverwriteTest.testStateTransferInBetweenPrepareCommitWithPutCreate(BaseTxStateTransferOverwriteTest.java:94)
> {noformat}
> The problem seems to be that the test intends to block the {{PUT_CREATE}} command on the primary owner of the test key, but it sometimes also blocks the state transfer put for the {{placeholder}} key - depending on which node was the backup owner of the {{placeholder}} key.
> The purpose of the {{placeholder}} key is also not very clear, we should add a comment how we expect the presence of another entry to interact with the tx / operation in progress.
--
This message was sent by Atlassian JIRA
(v6.2.3#6260)
11 years, 10 months