[infinispan-issues] [JBoss JIRA] (ISPN-11518) IndexingDuringStateTransferTest random failures
Dan Berindei (Jira)
issues at jboss.org
Wed Mar 25 09:23:33 EDT 2020
Dan Berindei created ISPN-11518:
-----------------------------------
Summary: IndexingDuringStateTransferTest random failures
Key: ISPN-11518
URL: https://issues.redhat.com/browse/ISPN-11518
Project: Infinispan
Issue Type: Bug
Components: Embedded Querying, Test Suite
Affects Versions: 11.0.0.Dev03
Reporter: Dan Berindei
Assignee: Dan Berindei
Fix For: 11.0.0.Dev04
{{IndexingDuringStateTransferTest.test}} blocks {{StateResponseCommand}} so that state transfer doesn't finish during the test. Since state transfer is now non-blocking, blocking the thread that's trying to send the {{StateResponseCommand}} also prevents it from sending the response to the {{StateTransferStartCommand}}.
Because the {{StateTransferStartCommand}} is blocked, the requestor can't complete the transaction data future in {{StateTransferLockImpl}}, and the test can't proceed to unblock the {{StateResumeCommand}}.
The {{RpcManager}} wrapper is supposed to send the command anyway, but it doesn't catch {{AssertionError}}, so the command isn't sent and the rebalance hangs.
Eventually the put times out, and the next test also fails because it can't add a new manager:
{noformat}
java.lang.RuntimeException: java.util.concurrent.TimeoutException
at org.infinispan.query.blackbox.IndexingDuringStateTransferTest.test(IndexingDuringStateTransferTest.java:189)
at org.infinispan.query.blackbox.IndexingDuringStateTransferTest.testPut(IndexingDuringStateTransferTest.java:78)
at org.infinispan.commons.test.TestNGLongTestsHook.run(TestNGLongTestsHook.java:24)
at java.base/java.util.concurrent.FutureTask.run(FutureTask.java:264)
at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1128)
at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:628)
at java.base/java.lang.Thread.run(Thread.java:834)
Caused by: java.util.concurrent.TimeoutException
{noformat}
{noformat}
org.infinispan.manager.EmbeddedCacheManagerStartupException: org.infinispan.commons.CacheException: Initial state transfer timed out for cache defaultcache on IndexingDuringStateTransferTest-NodeF
at org.infinispan.manager.DefaultCacheManager.internalStart(DefaultCacheManager.java:746)
at org.infinispan.manager.DefaultCacheManager.start(DefaultCacheManager.java:712)
at org.infinispan.test.MultipleCacheManagersTest.addClusterEnabledCacheManager(MultipleCacheManagersTest.java:268)
at org.infinispan.test.MultipleCacheManagersTest.addClusterEnabledCacheManager(MultipleCacheManagersTest.java:232)
at org.infinispan.test.MultipleCacheManagersTest.addClusterEnabledCacheManager(MultipleCacheManagersTest.java:225)
at org.infinispan.query.blackbox.IndexingDuringStateTransferTest.test(IndexingDuringStateTransferTest.java:144)
at org.infinispan.query.blackbox.IndexingDuringStateTransferTest.testPutIgnoreReturnValue(IndexingDuringStateTransferTest.java:82)
{noformat}
--
This message was sent by Atlassian Jira
(v7.13.8#713008)
More information about the infinispan-issues
mailing list