[infinispan-issues] [JBoss JIRA] (ISPN-8608) GetAllCacheNotFoundResponseTest fails
Dan Berindei (JIRA)
issues at jboss.org
Fri Dec 15 02:17:00 EST 2017
[ https://issues.jboss.org/browse/ISPN-8608?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13505770#comment-13505770 ]
Dan Berindei commented on ISPN-8608:
------------------------------------
With a controlled CHF, a segment can have fewer than numOwners owners while the cluster is smaller than expected. That means MultipleCacheManagersTest.createClusteredCaches() should call waitForClusterToForm() only after starting all the nodes, not in each iteration, or it will time out waiting for all segments to have numOwners owners.
> GetAllCacheNotFoundResponseTest fails
> -------------------------------------
>
> Key: ISPN-8608
> URL: https://issues.jboss.org/browse/ISPN-8608
> Project: Infinispan
> Issue Type: Bug
> Components: Core
> Affects Versions: 9.2.0.Beta1
> Reporter: Gustavo Fernandes
> Assignee: Dan Berindei
>
> {noformat}
> Error Message
> Timed out waiting for rebalancing to complete on node
> GetAllCacheNotFoundResponseTest-NodeA-12369, current topology is
> CacheTopology{id=5, rebalanceId=2, currentCH=PartitionerConsistentHash:DefaultConsistentHash{ns=3, owners =
> (2)[GetAllCacheNotFoundResponseTest-NodeA-12369: 3+0,
> GetAllCacheNotFoundResponseTest-NodeB-43554: 0+1]}, pendingCH=null, unionCH=null,
> phase=NO_REBALANCE, actualMembers=[GetAllCacheNotFoundResponseTest-NodeA-
> 12369, GetAllCacheNotFoundResponseTest-NodeB-43554], persistentUUIDs=[dea9edf3-
> cd8a-443e-8dc6-dcc208161f39, 77a3980e-a95a-4044-a9ba-293e29f7d25a]}.
> rebalanceInProgress=false, currentChIsBalanced=false
> {noformat}
> Stacktrace:
> {noformat}
> java.lang.RuntimeException: Timed out waiting for rebalancing to complete on node GetAllCacheNotFoundResponseTest-NodeA-12369, current topology is CacheTopology{id=5, rebalanceId=2, currentCH=PartitionerConsistentHash:DefaultConsistentHash{ns=3, owners = (2)[GetAllCacheNotFoundResponseTest-NodeA-12369: 3+0, GetAllCacheNotFoundResponseTest-NodeB-43554: 0+1]}, pendingCH=null, unionCH=null, phase=NO_REBALANCE, actualMembers=[GetAllCacheNotFoundResponseTest-NodeA-12369, GetAllCacheNotFoundResponseTest-NodeB-43554], persistentUUIDs=[dea9edf3-cd8a-443e-8dc6-dcc208161f39, 77a3980e-a95a-4044-a9ba-293e29f7d25a]}. rebalanceInProgress=false, currentChIsBalanced=false
> at org.infinispan.test.TestingUtil.waitForNoRebalance(TestingUtil.java:385)
> at org.infinispan.test.TestingUtil.waitForNoRebalance(TestingUtil.java:421)
> at org.infinispan.test.MultipleCacheManagersTest.waitForClusterToForm(MultipleCacheManagersTest.java:291)
> at org.infinispan.test.MultipleCacheManagersTest.waitForClusterToForm(MultipleCacheManagersTest.java:296)
> at org.infinispan.test.MultipleCacheManagersTest.createClusteredCaches(MultipleCacheManagersTest.java:360)
> at org.infinispan.test.MultipleCacheManagersTest.createClusteredCaches(MultipleCacheManagersTest.java:374)
> at org.infinispan.commands.GetAllCacheNotFoundResponseTest.createCacheManagers(GetAllCacheNotFoundResponseTest.java:58)
> at org.infinispan.test.MultipleCacheManagersTest.callCreateCacheManagers(MultipleCacheManagersTest.java:113)
> at org.infinispan.test.MultipleCacheManagersTest.createBeforeClass(MultipleCacheManagersTest.java:107)
> at java.util.concurrent.FutureTask.run(FutureTask.java:266)
> at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)
> at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
> at java.lang.Thread.run(Thread.java:748)
> ... Removed 15 stack frames
> {noformat}
--
This message was sent by Atlassian JIRA
(v7.5.0#75005)
More information about the infinispan-issues
mailing list