You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@ignite.apache.org by "ASF GitHub Bot (JIRA)" <ji...@apache.org> on 2018/03/14 10:34:00 UTC

[jira] [Commented] (IGNITE-7946) IgniteCacheClientQueryReplicatedNodeRestartSelfTest#testRestarts can hang on TC

    [ https://issues.apache.org/jira/browse/IGNITE-7946?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16398374#comment-16398374 ] 

ASF GitHub Bot commented on IGNITE-7946:
----------------------------------------

GitHub user Jokser opened a pull request:

    https://github.com/apache/ignite/pull/3631

    IGNITE-7946 Fail test with known issue

    

You can merge this pull request into a Git repository by running:

    $ git pull https://github.com/gridgain/apache-ignite ignite-7946

Alternatively you can review and apply these changes as the patch at:

    https://github.com/apache/ignite/pull/3631.patch

To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:

    This closes #3631
    
----
commit 2dbc5efe69a02a07f670149c7ed2acfe507d6e9c
Author: Pavel Kovalenko <jo...@...>
Date:   2018-03-14T10:32:23Z

    IGNITE-7946 Fail test with known issue

----


> IgniteCacheClientQueryReplicatedNodeRestartSelfTest#testRestarts can hang on TC
> -------------------------------------------------------------------------------
>
>                 Key: IGNITE-7946
>                 URL: https://issues.apache.org/jira/browse/IGNITE-7946
>             Project: Ignite
>          Issue Type: Bug
>          Components: cache
>    Affects Versions: 2.4
>            Reporter: Pavel Kovalenko
>            Priority: Major
>              Labels: MakeTeamcityGreenAgain
>
> According to test logs there can be unfinished rebalance:
> {noformat}
> [01:21:23] :	 [Step 4/5] [2018-03-13 22:21:23,327][INFO ][exchange-worker-#456665%near.IgniteCacheClientQueryReplicatedNodeRestartSelfTest3%][GridDhtPartitionDemander] Cancelled rebalancing from all nodes [topology=AffinityTopologyVersion [topVer=103, minorTopVer=0]]
> [01:21:23] :	 [Step 4/5] [2018-03-13 22:21:23,327][INFO ][exchange-worker-#456665%near.IgniteCacheClientQueryReplicatedNodeRestartSelfTest3%][GridDhtPartitionDemander] Completed rebalance future: RebalanceFuture [grp=CacheGroupContext [grp=pr], topVer=AffinityTopologyVersion [topVer=103, minorTopVer=0], rebalanceId=1]
> [01:21:23] :	 [Step 4/5] [2018-03-13 22:21:23,328][INFO ][exchange-worker-#456665%near.IgniteCacheClientQueryReplicatedNodeRestartSelfTest3%][GridCachePartitionExchangeManager] Rebalancing scheduled [order=[pe, pr]]
> [01:21:23] :	 [Step 4/5] [2018-03-13 22:21:23,328][INFO ][exchange-worker-#456665%near.IgniteCacheClientQueryReplicatedNodeRestartSelfTest3%][GridCachePartitionExchangeManager] Rebalancing started [top=AffinityTopologyVersion [topVer=104, minorTopVer=0], evt=NODE_LEFT, node=04d02ea1-286c-4d8c-8870-e147c5500002]
> [01:21:23] :	 [Step 4/5] [2018-03-13 22:21:23,328][INFO ][exchange-worker-#456665%near.IgniteCacheClientQueryReplicatedNodeRestartSelfTest3%][GridDhtPartitionDemander] Starting rebalancing [grp=pe, mode=SYNC, fromNode=31193890-bf8f-4c85-af76-342efb300001, partitionsCount=15, topology=AffinityTopologyVersion [topVer=104, minorTopVer=0], rebalanceId=2]
> [01:21:23] :	 [Step 4/5] [2018-03-13 22:21:23,328][INFO ][exchange-worker-#456665%near.IgniteCacheClientQueryReplicatedNodeRestartSelfTest3%][GridDhtPartitionDemander] Starting rebalancing [grp=pe, mode=SYNC, fromNode=517f4efb-4433-489a-8c8e-e91f9e700000, partitionsCount=16, topology=AffinityTopologyVersion [topVer=104, minorTopVer=0], rebalanceId=2]
> [01:21:23] :	 [Step 4/5] [2018-03-13 22:21:23,328][INFO ][exchange-worker-#455983%near.IgniteCacheClientQueryReplicatedNodeRestartSelfTest0%][GridCachePartitionExchangeManager] Skipping rebalancing (nothing scheduled) [top=AffinityTopologyVersion [topVer=104, minorTopVer=0], evt=NODE_LEFT, node=04d02ea1-286c-4d8c-8870-e147c5500002]
> [01:21:23] :	 [Step 4/5] [2018-03-13 22:21:23,332][INFO ][sys-#456730%near.IgniteCacheClientQueryReplicatedNodeRestartSelfTest3%][GridDhtPartitionDemander] Completed rebalancing [fromNode=517f4efb-4433-489a-8c8e-e91f9e700000, cacheOrGroup=pe, topology=AffinityTopologyVersion [topVer=104, minorTopVer=0], time=0 ms]
> {noformat}
> It can be cause of test hanging.
> {noformat}
> "restart-thread-2" #441778 prio=5 os_prio=0 tid=0x00007fd030003800 nid=0x3b8c waiting on condition [0x00007fce5092f000]
>    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.GridCacheProcessor.onKernalStart(GridCacheProcessor.java:861)
>     at org.apache.ignite.internal.IgniteKernal.start(IgniteKernal.java:1059)
>     at org.apache.ignite.internal.IgnitionEx$IgniteNamedInstance.start0(IgnitionEx.java:1973)
>     at org.apache.ignite.internal.IgnitionEx$IgniteNamedInstance.start(IgnitionEx.java:1716)
>     - locked <0x000000070d8a1830> (a org.apache.ignite.internal.IgnitionEx$IgniteNamedInstance)
>     at org.apache.ignite.internal.IgnitionEx.start0(IgnitionEx.java:1144)
>     at org.apache.ignite.internal.IgnitionEx.start(IgnitionEx.java:642)
>     at org.apache.ignite.testframework.junits.GridAbstractTest.startGrid(GridAbstractTest.java:849)
>     at org.apache.ignite.testframework.junits.GridAbstractTest.startGrid(GridAbstractTest.java:833)
>     at org.apache.ignite.testframework.junits.GridAbstractTest.startGrid(GridAbstractTest.java:821)
>     at org.apache.ignite.testframework.junits.GridAbstractTest.startGrid(GridAbstractTest.java:787)
>     at org.apache.ignite.internal.processors.cache.distributed.near.IgniteCacheClientQueryReplicatedNodeRestartSelfTest.access$600(IgniteCacheClientQueryReplicatedNodeRestartSelfTest.java:60)
>     at org.apache.ignite.internal.processors.cache.distributed.near.IgniteCacheClientQueryReplicatedNodeRestartSelfTest$3.call(IgniteCacheClientQueryReplicatedNodeRestartSelfTest.java:352)
>     at org.apache.ignite.testframework.GridTestThread.run(GridTestThread.java:86)
> "restart-thread-1" #441777 prio=5 os_prio=0 tid=0x00007fd03000b800 nid=0x3b8b waiting on condition [0x00007fce50a31000]
>    java.lang.Thread.State: WAITING (parking)
>     at sun.misc.Unsafe.park(Native Method)
>     - parking to wait for  <0x000000070d8a17a0> (a java.util.concurrent.CountDownLatch$Sync)
>     at java.util.concurrent.locks.LockSupport.park(LockSupport.java:175)
>     at java.util.concurrent.locks.AbstractQueuedSynchronizer.parkAndCheckInterrupt(AbstractQueuedSynchronizer.java:836)
>     at java.util.concurrent.locks.AbstractQueuedSynchronizer.doAcquireSharedInterruptibly(AbstractQueuedSynchronizer.java:997)
>     at java.util.concurrent.locks.AbstractQueuedSynchronizer.acquireSharedInterruptibly(AbstractQueuedSynchronizer.java:1304)
>     at java.util.concurrent.CountDownLatch.await(CountDownLatch.java:231)
>     at org.apache.ignite.internal.util.IgniteUtils.awaitQuiet(IgniteUtils.java:7504)
>     at org.apache.ignite.internal.IgnitionEx$IgniteNamedInstance.grid(IgnitionEx.java:1657)
>     at org.apache.ignite.internal.IgnitionEx.allGrids(IgnitionEx.java:1275)
>     at org.apache.ignite.internal.IgnitionEx.allGrids(IgnitionEx.java:1253)
>     at org.apache.ignite.Ignition.allGrids(Ignition.java:497)
>     at org.apache.ignite.testframework.junits.GridAbstractTest.awaitTopologyChange(GridAbstractTest.java:2103)
>     at org.apache.ignite.testframework.junits.GridAbstractTest.stopGrid(GridAbstractTest.java:1031)
>     at org.apache.ignite.testframework.junits.GridAbstractTest.stopGrid(GridAbstractTest.java:1007)
>     at org.apache.ignite.testframework.junits.GridAbstractTest.stopGrid(GridAbstractTest.java:1290)
>     at org.apache.ignite.internal.processors.cache.distributed.near.IgniteCacheClientQueryReplicatedNodeRestartSelfTest.access$400(IgniteCacheClientQueryReplicatedNodeRestartSelfTest.java:60)
>     at org.apache.ignite.internal.processors.cache.distributed.near.IgniteCacheClientQueryReplicatedNodeRestartSelfTest$3.call(IgniteCacheClientQueryReplicatedNodeRestartSelfTest.java:346)
>     at org.apache.ignite.testframework.GridTestThread.run(GridTestThread.java:86)
> {noformat}



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)