]
Tristan Tarrant closed ISPN-6285.
---------------------------------
Resolution: Out of Date
SharedReplMassIndexTest hanging during cluster shutdown
-------------------------------------------------------
Key: ISPN-6285
URL:
https://issues.jboss.org/browse/ISPN-6285
Project: Infinispan
Issue Type: Bug
Components: Test Suite - Query
Affects Versions: 8.2.0.Beta2
Reporter: Dan Berindei
Labels: testsuite_stability
No logs for now, just a log from CI showing the query test suite hanging for 2+ hours,
and this is the only active thread at the end:
{noformat}
"testng-SharedReplMassIndexTest" #15 prio=5 os_prio=0 tid=0x00007fc4a07ca000
nid=0x7314 waiting on condition [0x00007fc465efb000]
java.lang.Thread.State: TIMED_WAITING (parking)
at sun.misc.Unsafe.park(Native Method)
- parking to wait for <0x00000000d9d092b8> (a
java.util.concurrent.CountDownLatch$Sync)
at java.util.concurrent.locks.LockSupport.parkNanos(LockSupport.java:215)
at
java.util.concurrent.locks.AbstractQueuedSynchronizer.doAcquireSharedNanos(AbstractQueuedSynchronizer.java:1037)
at
java.util.concurrent.locks.AbstractQueuedSynchronizer.tryAcquireSharedNanos(AbstractQueuedSynchronizer.java:1328)
at java.util.concurrent.CountDownLatch.await(CountDownLatch.java:277)
at
org.hibernate.search.backend.impl.lucene.SyncWorkProcessor.shutdown(SyncWorkProcessor.java:117)
at
org.hibernate.search.backend.impl.lucene.LuceneBackendQueueProcessor.close(LuceneBackendQueueProcessor.java:69)
at
org.infinispan.query.indexmanager.LocalIndexingBackend.flushAndClose(LocalIndexingBackend.java:48)
at
org.infinispan.query.indexmanager.ClusteredSwitchingBackend.closeBackend(ClusteredSwitchingBackend.java:227)
at
org.infinispan.query.indexmanager.ClusteredSwitchingBackend.shutdown(ClusteredSwitchingBackend.java:216)
at
org.infinispan.query.indexmanager.InfinispanBackendQueueProcessor.close(InfinispanBackendQueueProcessor.java:79)
at
org.hibernate.search.indexes.spi.DirectoryBasedIndexManager.destroy(DirectoryBasedIndexManager.java:78)
at
org.hibernate.search.indexes.impl.IndexManagerHolder.stop(IndexManagerHolder.java:197)
- locked <0x00000000a3832138> (a
org.hibernate.search.indexes.impl.IndexManagerHolder)
at
org.hibernate.search.engine.impl.ImmutableSearchFactory.close(ImmutableSearchFactory.java:230)
at
org.hibernate.search.engine.impl.MutableSearchFactory.close(MutableSearchFactory.java:137)
at org.infinispan.query.impl.LifecycleManager.cacheStopping(LifecycleManager.java:296)
at org.infinispan.factories.ComponentRegistry.stop(ComponentRegistry.java:244)
at org.infinispan.cache.impl.CacheImpl.stop(CacheImpl.java:869)
at org.infinispan.cache.impl.CacheImpl.stop(CacheImpl.java:864)
at org.infinispan.test.TestingUtil.killCaches(TestingUtil.java:798)
at org.infinispan.test.TestingUtil.killCacheManagers(TestingUtil.java:633)
at org.infinispan.test.TestingUtil.killCacheManagers(TestingUtil.java:626)
at org.infinispan.test.TestingUtil.killCacheManagers(TestingUtil.java:622)
at
org.infinispan.test.MultipleCacheManagersTest.destroy(MultipleCacheManagersTest.java:87)
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.invokeConfigurationMethod(Invoker.java:564)
at org.testng.internal.Invoker.invokeConfigurations(Invoker.java:213)
at org.testng.internal.Invoker.invokeConfigurations(Invoker.java:138)
at
org.testng.internal.TestMethodWorker.invokeAfterClassMethods(TestMethodWorker.java:225)
at org.testng.internal.TestMethodWorker.run(TestMethodWorker.java:114)
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.access$000(SuiteRunner.java:38)
at org.testng.SuiteRunner$SuiteWorker.run(SuiteRunner.java:382)
at org.testng.internal.thread.ThreadUtil$2.call(ThreadUtil.java:64)
at java.util.concurrent.FutureTask.run(FutureTask.java:266)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
at java.lang.Thread.run(Thread.java:745)
{noformat}