[jira] [Commented] (IGNITE-8033) Flaky failure TxOptimisticDeadlockDetectionCrossCacheTest.testDeadlock on TC

2018-04-17 Thread ASF GitHub Bot (JIRA)

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

ASF GitHub Bot commented on IGNITE-8033:


Github user alex-plekhanov closed the pull request at:

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


> Flaky failure TxOptimisticDeadlockDetectionCrossCacheTest.testDeadlock on TC
> 
>
> Key: IGNITE-8033
> URL: https://issues.apache.org/jira/browse/IGNITE-8033
> Project: Ignite
>  Issue Type: Bug
>Reporter: Aleksey Plekhanov
>Assignee: Aleksey Plekhanov
>Priority: Major
>  Labels: MakeTeamcityGreenAgain
> Fix For: 2.5
>
>
> Test TxOptimisticDeadlockDetectionCrossCacheTest.testDeadlock flakily fail on 
> TC. Sometimes with timeout, sometimes with the following error:
> {noformat}
> [2018-03-21 12:06:23,469][ERROR][main][root] Test failed. 
>   
>
> junit.framework.AssertionFailedError  
>   
>
>   at junit.framework.Assert.fail(Assert.java:55)
>   at junit.framework.Assert.assertTrue(Assert.java:22)
>   at junit.framework.Assert.assertTrue(Assert.java:31)
>   at junit.framework.TestCase.assertTrue(TestCase.java:201)
>   at 
> org.apache.ignite.internal.processors.cache.transactions.TxOptimisticDeadlockDetectionCrossCacheTest.doTestDeadlock(TxOptimisticDeadlockDetectionCrossCacheTest.java:186)
>   at 
> org.apache.ignite.internal.processors.cache.transactions.TxOptimisticDeadlockDetectionCrossCacheTest.testDeadlock(TxOptimisticDeadlockDetectionCrossCacheTest.java:118)
>   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:2001)
>   at 
> org.apache.ignite.testframework.junits.GridAbstractTest.access$000(GridAbstractTest.java:133)
>   at 
> org.apache.ignite.testframework.junits.GridAbstractTest$5.run(GridAbstractTest.java:1916)
>   at java.lang.Thread.run(Thread.java:745)
> {noformat}



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


[jira] [Commented] (IGNITE-8033) Flaky failure TxOptimisticDeadlockDetectionCrossCacheTest.testDeadlock on TC

2018-04-17 Thread Dmitriy Pavlov (JIRA)

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

Dmitriy Pavlov commented on IGNITE-8033:


[~agura] sorry, I've found commit cd59c8e64f05ca03c7da8dc35d027a14fcebf250 in 
2.5

> Flaky failure TxOptimisticDeadlockDetectionCrossCacheTest.testDeadlock on TC
> 
>
> Key: IGNITE-8033
> URL: https://issues.apache.org/jira/browse/IGNITE-8033
> Project: Ignite
>  Issue Type: Bug
>Reporter: Aleksey Plekhanov
>Assignee: Aleksey Plekhanov
>Priority: Major
>  Labels: MakeTeamcityGreenAgain
> Fix For: 2.5
>
>
> Test TxOptimisticDeadlockDetectionCrossCacheTest.testDeadlock flakily fail on 
> TC. Sometimes with timeout, sometimes with the following error:
> {noformat}
> [2018-03-21 12:06:23,469][ERROR][main][root] Test failed. 
>   
>
> junit.framework.AssertionFailedError  
>   
>
>   at junit.framework.Assert.fail(Assert.java:55)
>   at junit.framework.Assert.assertTrue(Assert.java:22)
>   at junit.framework.Assert.assertTrue(Assert.java:31)
>   at junit.framework.TestCase.assertTrue(TestCase.java:201)
>   at 
> org.apache.ignite.internal.processors.cache.transactions.TxOptimisticDeadlockDetectionCrossCacheTest.doTestDeadlock(TxOptimisticDeadlockDetectionCrossCacheTest.java:186)
>   at 
> org.apache.ignite.internal.processors.cache.transactions.TxOptimisticDeadlockDetectionCrossCacheTest.testDeadlock(TxOptimisticDeadlockDetectionCrossCacheTest.java:118)
>   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:2001)
>   at 
> org.apache.ignite.testframework.junits.GridAbstractTest.access$000(GridAbstractTest.java:133)
>   at 
> org.apache.ignite.testframework.junits.GridAbstractTest$5.run(GridAbstractTest.java:1916)
>   at java.lang.Thread.run(Thread.java:745)
> {noformat}



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


[jira] [Commented] (IGNITE-8033) Flaky failure TxOptimisticDeadlockDetectionCrossCacheTest.testDeadlock on TC

2018-04-17 Thread Dmitriy Pavlov (JIRA)

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

Dmitriy Pavlov commented on IGNITE-8033:


[~alex_pl] thank you for contribution from me too.

[~agura] probably we need to update version 2.5 -> 2.6, needn't we ?

> Flaky failure TxOptimisticDeadlockDetectionCrossCacheTest.testDeadlock on TC
> 
>
> Key: IGNITE-8033
> URL: https://issues.apache.org/jira/browse/IGNITE-8033
> Project: Ignite
>  Issue Type: Bug
>Reporter: Aleksey Plekhanov
>Assignee: Aleksey Plekhanov
>Priority: Major
>  Labels: MakeTeamcityGreenAgain
> Fix For: 2.5
>
>
> Test TxOptimisticDeadlockDetectionCrossCacheTest.testDeadlock flakily fail on 
> TC. Sometimes with timeout, sometimes with the following error:
> {noformat}
> [2018-03-21 12:06:23,469][ERROR][main][root] Test failed. 
>   
>
> junit.framework.AssertionFailedError  
>   
>
>   at junit.framework.Assert.fail(Assert.java:55)
>   at junit.framework.Assert.assertTrue(Assert.java:22)
>   at junit.framework.Assert.assertTrue(Assert.java:31)
>   at junit.framework.TestCase.assertTrue(TestCase.java:201)
>   at 
> org.apache.ignite.internal.processors.cache.transactions.TxOptimisticDeadlockDetectionCrossCacheTest.doTestDeadlock(TxOptimisticDeadlockDetectionCrossCacheTest.java:186)
>   at 
> org.apache.ignite.internal.processors.cache.transactions.TxOptimisticDeadlockDetectionCrossCacheTest.testDeadlock(TxOptimisticDeadlockDetectionCrossCacheTest.java:118)
>   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:2001)
>   at 
> org.apache.ignite.testframework.junits.GridAbstractTest.access$000(GridAbstractTest.java:133)
>   at 
> org.apache.ignite.testframework.junits.GridAbstractTest$5.run(GridAbstractTest.java:1916)
>   at java.lang.Thread.run(Thread.java:745)
> {noformat}



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


[jira] [Commented] (IGNITE-8033) Flaky failure TxOptimisticDeadlockDetectionCrossCacheTest.testDeadlock on TC

2018-04-16 Thread Aleksey Plekhanov (JIRA)

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

Aleksey Plekhanov commented on IGNITE-8033:
---

Another problem was with waiting for exchange. Method 
{{awaitPartitionMapExchange}} waited for 2.0 topology version, even with 
{{waitEvicts}} and {{waitNode2PartUpdate}} flags set. But it was topology 
version change (version 2.1) after rebalance triggered by 
{{CacheAffinityChangeMessage}} which affects affinity. Ticket is ready for 
review now, [~agura] please have a look.

> Flaky failure TxOptimisticDeadlockDetectionCrossCacheTest.testDeadlock on TC
> 
>
> Key: IGNITE-8033
> URL: https://issues.apache.org/jira/browse/IGNITE-8033
> Project: Ignite
>  Issue Type: Bug
>Reporter: Aleksey Plekhanov
>Assignee: Aleksey Plekhanov
>Priority: Major
>  Labels: MakeTeamcityGreenAgain
> Fix For: 2.6
>
>
> Test TxOptimisticDeadlockDetectionCrossCacheTest.testDeadlock flakily fail on 
> TC. Sometimes with timeout, sometimes with the following error:
> {noformat}
> [2018-03-21 12:06:23,469][ERROR][main][root] Test failed. 
>   
>
> junit.framework.AssertionFailedError  
>   
>
>   at junit.framework.Assert.fail(Assert.java:55)
>   at junit.framework.Assert.assertTrue(Assert.java:22)
>   at junit.framework.Assert.assertTrue(Assert.java:31)
>   at junit.framework.TestCase.assertTrue(TestCase.java:201)
>   at 
> org.apache.ignite.internal.processors.cache.transactions.TxOptimisticDeadlockDetectionCrossCacheTest.doTestDeadlock(TxOptimisticDeadlockDetectionCrossCacheTest.java:186)
>   at 
> org.apache.ignite.internal.processors.cache.transactions.TxOptimisticDeadlockDetectionCrossCacheTest.testDeadlock(TxOptimisticDeadlockDetectionCrossCacheTest.java:118)
>   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:2001)
>   at 
> org.apache.ignite.testframework.junits.GridAbstractTest.access$000(GridAbstractTest.java:133)
>   at 
> org.apache.ignite.testframework.junits.GridAbstractTest$5.run(GridAbstractTest.java:1916)
>   at java.lang.Thread.run(Thread.java:745)
> {noformat}



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


[jira] [Commented] (IGNITE-8033) Flaky failure TxOptimisticDeadlockDetectionCrossCacheTest.testDeadlock on TC

2018-03-28 Thread ASF GitHub Bot (JIRA)

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

ASF GitHub Bot commented on IGNITE-8033:


GitHub user alex-plekhanov opened a pull request:

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

IGNITE-8033 Flaky failure of TxOptimisticDeadlockDetectionCrossCacheTest



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

$ git pull https://github.com/alex-plekhanov/ignite ignite-8033

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

https://github.com/apache/ignite/pull/3713.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 #3713


commit 7f86bf4362aad0460f41629ed57cac8afa8b1cc3
Author: Aleksey Plekhanov 
Date:   2018-03-23T14:43:34Z

IGNITE-8033 Flaky failure of TxOptimisticDeadlockDetectionCrossCacheTest

commit 0f75504008dcb712d52ad913ce80f911e4711138
Author: Aleksey Plekhanov 
Date:   2018-03-28T14:59:43Z

IGNITE-8033 Event listener

commit c09868cfc90827fe7ed92a855ef1547e60953f71
Author: Aleksey Plekhanov 
Date:   2018-03-28T15:00:47Z

IGNITE-8033 Event listener




> Flaky failure TxOptimisticDeadlockDetectionCrossCacheTest.testDeadlock on TC
> 
>
> Key: IGNITE-8033
> URL: https://issues.apache.org/jira/browse/IGNITE-8033
> Project: Ignite
>  Issue Type: Bug
>Reporter: Aleksey Plekhanov
>Assignee: Aleksey Plekhanov
>Priority: Major
>  Labels: MakeTeamcityGreenAgain
> Fix For: 2.5
>
>
> Test TxOptimisticDeadlockDetectionCrossCacheTest.testDeadlock flakily fail on 
> TC. Sometimes with timeout, sometimes with the following error:
> {noformat}
> [2018-03-21 12:06:23,469][ERROR][main][root] Test failed. 
>   
>
> junit.framework.AssertionFailedError  
>   
>
>   at junit.framework.Assert.fail(Assert.java:55)
>   at junit.framework.Assert.assertTrue(Assert.java:22)
>   at junit.framework.Assert.assertTrue(Assert.java:31)
>   at junit.framework.TestCase.assertTrue(TestCase.java:201)
>   at 
> org.apache.ignite.internal.processors.cache.transactions.TxOptimisticDeadlockDetectionCrossCacheTest.doTestDeadlock(TxOptimisticDeadlockDetectionCrossCacheTest.java:186)
>   at 
> org.apache.ignite.internal.processors.cache.transactions.TxOptimisticDeadlockDetectionCrossCacheTest.testDeadlock(TxOptimisticDeadlockDetectionCrossCacheTest.java:118)
>   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:2001)
>   at 
> org.apache.ignite.testframework.junits.GridAbstractTest.access$000(GridAbstractTest.java:133)
>   at 
> org.apache.ignite.testframework.junits.GridAbstractTest$5.run(GridAbstractTest.java:1916)
>   at java.lang.Thread.run(Thread.java:745)
> {noformat}



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