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

Dmitriy Pavlov edited comment on IGNITE-3950 at 7/20/17 10:14 AM:
------------------------------------------------------------------

[~VitaliyB], thank you for this researh!

offtop to this issue: could you please share your experience how to run 
multiple launches? As far as I know, if you run one build configuration few 
times they will be merged and only 1 will be in a queue. Did you use REST API?

About this issue: I see 40 launces and 6 execution timeouts in pull/2322/head. 
This problably related to this issue and probably not. Each of this timeouts 
requires detailed full build log investigation to find out which  was last 
"started test" which testh was hang up. Probability declared in this issue 
(10%) likes similar as current results.


was (Author: dpavlov):
[~VitaliyB], thank you for this researh!

offtop to this issue: could you please share your experience how to you did 
multiple launches? As far as I know, if you run one build configuration few 
times they will be merged and only 1 will be in a queue. Did you use REST API?

About this issue: I see 40 launces and 6 execution timeouts in pull/2322/head. 
This problably related to this issue and probably not. Each of this timeouts 
requires detailed full build log investigation to find out which  was last 
"started test" which testh was hang up. Probability declared in this issue 
(10%) likes similar as current results.

> Deadlock when exchange starts with pending explicit lock
> --------------------------------------------------------
>
>                 Key: IGNITE-3950
>                 URL: https://issues.apache.org/jira/browse/IGNITE-3950
>             Project: Ignite
>          Issue Type: Bug
>            Reporter: Ilya Lantukh
>            Assignee: Vitaliy Biryukov 
>              Labels: Muted_test, test-fail
>
> Reproduced by IgniteCacheMultiLockSelfTest#testExplicitLockManyKeysWithClient 
> (hangs with ~10% probability).
> Exchange worker waits for lock to be released:
> {noformat}
> Thread [name="exchange-worker-#155%dht.IgniteCacheMultiTxLockSelfTest3%", 
> id=195, state=TIMED_WAITING, blockCnt=0, waitCnt=44]
>     Lock 
> [object=o.a.i.i.processors.cache.GridCacheMvccManager$FinishLockFuture@2638011,
>  ownerName=null, ownerId=-1]
>         at sun.misc.Unsafe.park(Native Method)
>         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 
> o.a.i.i.util.future.GridFutureAdapter.get0(GridFutureAdapter.java:187)
>         at 
> o.a.i.i.util.future.GridFutureAdapter.get(GridFutureAdapter.java:137)
>         at 
> o.a.i.i.processors.cache.distributed.dht.preloader.GridDhtPartitionsExchangeFuture.waitPartitionRelease(GridDhtPartitionsExchangeFuture.java:835)
>         at 
> o.a.i.i.processors.cache.distributed.dht.preloader.GridDhtPartitionsExchangeFuture.distributedExchange(GridDhtPartitionsExchangeFuture.java:763)
>         at 
> o.a.i.i.processors.cache.distributed.dht.preloader.GridDhtPartitionsExchangeFuture.init(GridDhtPartitionsExchangeFuture.java:516)
>         at 
> o.a.i.i.processors.cache.GridCachePartitionExchangeManager$ExchangeWorker.body(GridCachePartitionExchangeManager.java:1464)
>         at o.a.i.i.util.worker.GridWorker.run(GridWorker.java:110)
>         at java.lang.Thread.run(Thread.java:745)
> {noformat}
> while thread that holds lock cannot finish cache operation:
> {noformat}
> "Thread-9@3645" prio=5 tid=0x11a nid=NA waiting
>   java.lang.Thread.State: WAITING
>         at sun.misc.Unsafe.park(Unsafe.java:-1)
>         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.doAcquireShared(AbstractQueuedSynchronizer.java:967)
>         at 
> java.util.concurrent.locks.AbstractQueuedSynchronizer.acquireShared(AbstractQueuedSynchronizer.java:1283)
>         at 
> org.apache.ignite.internal.util.future.GridFutureAdapter.get0(GridFutureAdapter.java:157)
>         at 
> org.apache.ignite.internal.util.future.GridFutureAdapter.get(GridFutureAdapter.java:117)
>         at 
> org.apache.ignite.internal.processors.cache.GridCacheAdapter$45.inOp(GridCacheAdapter.java:2849)
>         at 
> org.apache.ignite.internal.processors.cache.GridCacheAdapter$SyncInOp.op(GridCacheAdapter.java:5303)
>         at 
> org.apache.ignite.internal.processors.cache.GridCacheAdapter.syncOp(GridCacheAdapter.java:4351)
>         at 
> org.apache.ignite.internal.processors.cache.GridCacheAdapter.putAll(GridCacheAdapter.java:2847)
>         at 
> org.apache.ignite.internal.processors.cache.GridCacheProxyImpl.putAll(GridCacheProxyImpl.java:838)
>         at 
> org.apache.ignite.internal.processors.cache.distributed.dht.IgniteCacheMultiTxLockSelfTest$1.run(IgniteCacheMultiTxLockSelfTest.java:218)
> {noformat}



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)

Reply via email to