[ https://issues.apache.org/jira/browse/IGNITE-9213?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16721502#comment-16721502 ]
Alexey Goncharuk commented on IGNITE-9213: ------------------------------------------ [~sboikov], can you attach a TC bot visa please? > CacheLockReleaseNodeLeaveTest.testLockTopologyChange hangs sometimes, leading > to TC timeout > ------------------------------------------------------------------------------------------- > > Key: IGNITE-9213 > URL: https://issues.apache.org/jira/browse/IGNITE-9213 > Project: Ignite > Issue Type: Bug > Reporter: Ilya Lantukh > Assignee: Semen Boikov > Priority: Major > Labels: MakeTeamcityGreenAgain > Fix For: 2.8 > > Attachments: ignite-9213-threaddump.txt > > > Probability is quite low, < 5%. > One thread gets stuck in GridCacheAdapter.lockAll(...), holding gw readlock > and waiting for future that never completes. Another one cannot acquire gw > writelock. > {code} > "test-runner-#123405%distributed.CacheLockReleaseNodeLeaveTest%" #136172 > prio=5 os_prio=0 tid=0x00007f20cd3d7000 nid=0x356f > sleeping[0x00007f1eae48b000] > java.lang.Thread.State: TIMED_WAITING (sleeping) > at java.lang.Thread.sleep(Native Method) > at > org.apache.ignite.internal.util.IgniteUtils.sleep(IgniteUtils.java:7678) > at > org.apache.ignite.internal.processors.cache.GridCacheGateway.onStopped(GridCacheGateway.java:318) > at > org.apache.ignite.internal.processors.cache.GridCacheProcessor.blockGateways(GridCacheProcessor.java:970) > at org.apache.ignite.internal.IgniteKernal.stop0(IgniteKernal.java:2195) > at org.apache.ignite.internal.IgniteKernal.stop(IgniteKernal.java:2082) > at > org.apache.ignite.internal.IgnitionEx$IgniteNamedInstance.stop0(IgnitionEx.java:2595) > - locked <0x00000000c2e69580> (a > org.apache.ignite.internal.IgnitionEx$IgniteNamedInstance) > at > org.apache.ignite.internal.IgnitionEx$IgniteNamedInstance.stop(IgnitionEx.java:2558) > at org.apache.ignite.internal.IgnitionEx.stop(IgnitionEx.java:374) > at org.apache.ignite.Ignition.stop(Ignition.java:229) > at > org.apache.ignite.testframework.junits.GridAbstractTest.stopGrid(GridAbstractTest.java:1153) > at > org.apache.ignite.testframework.junits.GridAbstractTest.stopAllGrids(GridAbstractTest.java:1196) > at > org.apache.ignite.testframework.junits.GridAbstractTest.stopAllGrids(GridAbstractTest.java:1174) > at > org.apache.ignite.internal.processors.cache.distributed.CacheLockReleaseNodeLeaveTest.testLockTopologyChange(CacheLockReleaseNodeLeaveTest.java:177) > 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:498) > at junit.framework.TestCase.runTest(TestCase.java:176) > at > org.apache.ignite.testframework.junits.GridAbstractTest.runTestInternal(GridAbstractTest.java:2156) > at > org.apache.ignite.testframework.junits.GridAbstractTest.access$000(GridAbstractTest.java:143) > at > org.apache.ignite.testframework.junits.GridAbstractTest$5.run(GridAbstractTest.java:2071) > at java.lang.Thread.run(Thread.java:745) > "test-lock-thread-4" #136488 prio=5 os_prio=0 tid=0x00007f208802a000 > nid=0x36a5 waiting on condition [0x00007f1ea81c3000] > java.lang.Thread.State: WAITING (parking) > at sun.misc.Unsafe.park(Native Method) > at java.util.concurrent.locks.LockSupport.park(LockSupport.java:304) > at > org.apache.ignite.internal.util.future.GridFutureAdapter.get0(GridFutureAdapter.java:177) > at > org.apache.ignite.internal.util.future.GridFutureAdapter.get(GridFutureAdapter.java:140) > at > org.apache.ignite.internal.processors.cache.GridCacheAdapter.lockAll(GridCacheAdapter.java:3405) > at > org.apache.ignite.internal.processors.cache.CacheLockImpl.lock(CacheLockImpl.java:74) > at > org.apache.ignite.internal.processors.cache.distributed.CacheLockReleaseNodeLeaveTest$3.run(CacheLockReleaseNodeLeaveTest.java:154) > at > org.apache.ignite.testframework.GridTestUtils$6.call(GridTestUtils.java:1254) > at > org.apache.ignite.testframework.GridTestThread.run(GridTestThread.java:86) > {code} -- This message was sent by Atlassian JIRA (v7.6.3#76005)