[jira] [Commented] (IGNITE-5682) GridCacheRabalancingDelayedPartitionMapExchangeSelfTest fails

2017-10-04 Thread ASF GitHub Bot (JIRA)

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

ASF GitHub Bot commented on IGNITE-5682:


Github user dspavlov closed the pull request at:

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


> GridCacheRabalancingDelayedPartitionMapExchangeSelfTest fails
> -
>
> Key: IGNITE-5682
> URL: https://issues.apache.org/jira/browse/IGNITE-5682
> Project: Ignite
>  Issue Type: Bug
>  Components: cache
>Reporter: Vladimir Ozerov
>Assignee: Dmitriy Pavlov
>  Labels: MakeTeamcityGreenAgain, Muted_test, test-fail
> Fix For: 2.3
>
> Attachments: ignite-5682.dump.txt
>
>
> This appears to be a regression introduced during persistent store migration. 
> {code}
> class org.apache.ignite.IgniteException: Timeout of waiting for topology map 
> update 
> [igniteInstanceName=rebalancing.GridCacheRabalancingDelayedPartitionMapExchangeSelfTest1,
>  cache=default, cacheId=1544803905, topVer=AffinityTopologyVersion 
> [topVer=10, minorTopVer=0], p=0, readVer=AffinityTopologyVersion [topVer=10, 
> minorTopVer=0], locNode=TcpDiscoveryNode 
> [id=c53cc66c-05ea-4441-825c-23d99ef1, addrs=[127.0.0.1], 
> sockAddrs=[/127.0.0.1:47501], discPort=47501, order=2, intOrder=2, 
> lastExchangeTime=1499156862204, loc=true, ver=2.1.0#19700101-sha1:, 
> isClient=false]]
>   at 
> org.apache.ignite.testframework.junits.common.GridCommonAbstractTest.awaitPartitionMapExchange(GridCommonAbstractTest.java:698)
>   at 
> org.apache.ignite.testframework.junits.common.GridCommonAbstractTest.awaitPartitionMapExchange(GridCommonAbstractTest.java:532)
>   at 
> org.apache.ignite.testframework.junits.common.GridCommonAbstractTest.awaitPartitionMapExchange(GridCommonAbstractTest.java:517)
>   at 
> org.apache.ignite.internal.processors.cache.distributed.rebalancing.GridCacheRabalancingDelayedPartitionMapExchangeSelfTest.test(GridCacheRabalancingDelayedPartitionMapExchangeSelfTest.java:154)
>   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 junit.framework.TestCase.runTest(TestCase.java:176)
>   at 
> org.apache.ignite.testframework.junits.GridAbstractTest.runTestInternal(GridAbstractTest.java:1997)
>   at 
> org.apache.ignite.testframework.junits.GridAbstractTest.access$000(GridAbstractTest.java:132)
>   at 
> org.apache.ignite.testframework.junits.GridAbstractTest$5.run(GridAbstractTest.java:1912)
>   at java.lang.Thread.run(Thread.java:745)
> {code}



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


[jira] [Commented] (IGNITE-5682) GridCacheRabalancingDelayedPartitionMapExchangeSelfTest fails

2017-07-26 Thread Dmitriy Pavlov (JIRA)

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

Dmitriy Pavlov commented on IGNITE-5682:


[~sboikov], I've updated PR according latest changes in master.

Could you please review this change?

> GridCacheRabalancingDelayedPartitionMapExchangeSelfTest fails
> -
>
> Key: IGNITE-5682
> URL: https://issues.apache.org/jira/browse/IGNITE-5682
> Project: Ignite
>  Issue Type: Bug
>  Components: cache
>Reporter: Vladimir Ozerov
>Assignee: Dmitriy Pavlov
>  Labels: MakeTeamcityGreenAgain, Muted_test, test-fail
> Fix For: 2.2
>
> Attachments: ignite-5682.dump.txt
>
>
> This appears to be a regression introduced during persistent store migration. 
> {code}
> class org.apache.ignite.IgniteException: Timeout of waiting for topology map 
> update 
> [igniteInstanceName=rebalancing.GridCacheRabalancingDelayedPartitionMapExchangeSelfTest1,
>  cache=default, cacheId=1544803905, topVer=AffinityTopologyVersion 
> [topVer=10, minorTopVer=0], p=0, readVer=AffinityTopologyVersion [topVer=10, 
> minorTopVer=0], locNode=TcpDiscoveryNode 
> [id=c53cc66c-05ea-4441-825c-23d99ef1, addrs=[127.0.0.1], 
> sockAddrs=[/127.0.0.1:47501], discPort=47501, order=2, intOrder=2, 
> lastExchangeTime=1499156862204, loc=true, ver=2.1.0#19700101-sha1:, 
> isClient=false]]
>   at 
> org.apache.ignite.testframework.junits.common.GridCommonAbstractTest.awaitPartitionMapExchange(GridCommonAbstractTest.java:698)
>   at 
> org.apache.ignite.testframework.junits.common.GridCommonAbstractTest.awaitPartitionMapExchange(GridCommonAbstractTest.java:532)
>   at 
> org.apache.ignite.testframework.junits.common.GridCommonAbstractTest.awaitPartitionMapExchange(GridCommonAbstractTest.java:517)
>   at 
> org.apache.ignite.internal.processors.cache.distributed.rebalancing.GridCacheRabalancingDelayedPartitionMapExchangeSelfTest.test(GridCacheRabalancingDelayedPartitionMapExchangeSelfTest.java:154)
>   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 junit.framework.TestCase.runTest(TestCase.java:176)
>   at 
> org.apache.ignite.testframework.junits.GridAbstractTest.runTestInternal(GridAbstractTest.java:1997)
>   at 
> org.apache.ignite.testframework.junits.GridAbstractTest.access$000(GridAbstractTest.java:132)
>   at 
> org.apache.ignite.testframework.junits.GridAbstractTest$5.run(GridAbstractTest.java:1912)
>   at java.lang.Thread.run(Thread.java:745)
> {code}



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


[jira] [Commented] (IGNITE-5682) GridCacheRabalancingDelayedPartitionMapExchangeSelfTest fails

2017-07-13 Thread Dmitriy Pavlov (JIRA)

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

Dmitriy Pavlov commented on IGNITE-5682:


[~agoncharuk], could you please review my changes?

https://github.com/apache/ignite/pull/2274
http://ci.ignite.apache.org/viewLog.html?buildId=721846=buildResultsDiv=Ignite20Tests_RunAll


> GridCacheRabalancingDelayedPartitionMapExchangeSelfTest fails
> -
>
> Key: IGNITE-5682
> URL: https://issues.apache.org/jira/browse/IGNITE-5682
> Project: Ignite
>  Issue Type: Bug
>  Components: cache
>Reporter: Vladimir Ozerov
>Assignee: Dmitriy Pavlov
>  Labels: test-fail
> Fix For: 2.2
>
> Attachments: ignite-5682.dump.txt
>
>
> This appears to be a regression introduced during persistent store migration. 
> {code}
> class org.apache.ignite.IgniteException: Timeout of waiting for topology map 
> update 
> [igniteInstanceName=rebalancing.GridCacheRabalancingDelayedPartitionMapExchangeSelfTest1,
>  cache=default, cacheId=1544803905, topVer=AffinityTopologyVersion 
> [topVer=10, minorTopVer=0], p=0, readVer=AffinityTopologyVersion [topVer=10, 
> minorTopVer=0], locNode=TcpDiscoveryNode 
> [id=c53cc66c-05ea-4441-825c-23d99ef1, addrs=[127.0.0.1], 
> sockAddrs=[/127.0.0.1:47501], discPort=47501, order=2, intOrder=2, 
> lastExchangeTime=1499156862204, loc=true, ver=2.1.0#19700101-sha1:, 
> isClient=false]]
>   at 
> org.apache.ignite.testframework.junits.common.GridCommonAbstractTest.awaitPartitionMapExchange(GridCommonAbstractTest.java:698)
>   at 
> org.apache.ignite.testframework.junits.common.GridCommonAbstractTest.awaitPartitionMapExchange(GridCommonAbstractTest.java:532)
>   at 
> org.apache.ignite.testframework.junits.common.GridCommonAbstractTest.awaitPartitionMapExchange(GridCommonAbstractTest.java:517)
>   at 
> org.apache.ignite.internal.processors.cache.distributed.rebalancing.GridCacheRabalancingDelayedPartitionMapExchangeSelfTest.test(GridCacheRabalancingDelayedPartitionMapExchangeSelfTest.java:154)
>   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 junit.framework.TestCase.runTest(TestCase.java:176)
>   at 
> org.apache.ignite.testframework.junits.GridAbstractTest.runTestInternal(GridAbstractTest.java:1997)
>   at 
> org.apache.ignite.testframework.junits.GridAbstractTest.access$000(GridAbstractTest.java:132)
>   at 
> org.apache.ignite.testframework.junits.GridAbstractTest$5.run(GridAbstractTest.java:1912)
>   at java.lang.Thread.run(Thread.java:745)
> {code}



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


[jira] [Commented] (IGNITE-5682) GridCacheRabalancingDelayedPartitionMapExchangeSelfTest fails

2017-07-11 Thread Dmitriy Pavlov (JIRA)

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

Dmitriy Pavlov commented on IGNITE-5682:


 
For this test delayed and then replayed messages contains top.version=-1 and 
partCntrs are null
For example for cache 1544803905 map is node 099b4... is owner according to 
this message
{noformat}
Replay: GridIoMessage [plc=2, topic=TOPIC_CACHE, topicOrd=8, ordered=false, 
timeout=0, skipOnTimeout=false, msg=GridDhtPartitionsFullMessage [parts={
1544803905=GridDhtPartitionFullMap 
[nodeId=099b4d86-a9c4-44aa-998d-693a71e0, nodeOrder=1, updateSeq=463, 
size=5], 
-2100569601=GridDhtPartitionFullMap 
[nodeId=099b4d86-a9c4-44aa-998d-693a71e0, nodeOrder=1, updateSeq=87, 
size=5]}, 
partCntrs=null, partHistSuppliers=null, partsToReload=null, 
topVer=AffinityTopologyVersion [topVer=-1, minorTopVer=0], 
errs=null, compress=true, partCnt=2, 
super=GridDhtPartitionsAbstractMessage [exchId=null, lastVer=null, flags=1, 
super=GridCacheMessage [msgId=222, depInfo=null, err=null, skipPrepare=false
{noformat}
 
Then code supposes affNodes should include this node 099b4... 
{noformat}
1, cache=default, 
cacheId=1544803905, 
topVer=AffinityTopologyVersion [topVer=10, minorTopVer=0], p=0, affNodesCnt=2, 
ownersCnt=1, 
affNodes=[b36088d1-22d2-4aff-aacc-c8ea02b4, 
099b4d86-a9c4-44aa-998d-693a71e0], 
  owners=[b36088d1-22d2-4aff-aacc-c8ea02b4], 
{noformat}

It seems for this test passing we require some mark that delayed message may be 
ignored: Either partition counter or toplogy version

> GridCacheRabalancingDelayedPartitionMapExchangeSelfTest fails
> -
>
> Key: IGNITE-5682
> URL: https://issues.apache.org/jira/browse/IGNITE-5682
> Project: Ignite
>  Issue Type: Bug
>  Components: cache
>Reporter: Vladimir Ozerov
>Assignee: Dmitriy Pavlov
>  Labels: test-fail
> Fix For: 2.1
>
> Attachments: ignite-5682.dump.txt
>
>
> This appears to be a regression introduced during persistent store migration. 
> {code}
> class org.apache.ignite.IgniteException: Timeout of waiting for topology map 
> update 
> [igniteInstanceName=rebalancing.GridCacheRabalancingDelayedPartitionMapExchangeSelfTest1,
>  cache=default, cacheId=1544803905, topVer=AffinityTopologyVersion 
> [topVer=10, minorTopVer=0], p=0, readVer=AffinityTopologyVersion [topVer=10, 
> minorTopVer=0], locNode=TcpDiscoveryNode 
> [id=c53cc66c-05ea-4441-825c-23d99ef1, addrs=[127.0.0.1], 
> sockAddrs=[/127.0.0.1:47501], discPort=47501, order=2, intOrder=2, 
> lastExchangeTime=1499156862204, loc=true, ver=2.1.0#19700101-sha1:, 
> isClient=false]]
>   at 
> org.apache.ignite.testframework.junits.common.GridCommonAbstractTest.awaitPartitionMapExchange(GridCommonAbstractTest.java:698)
>   at 
> org.apache.ignite.testframework.junits.common.GridCommonAbstractTest.awaitPartitionMapExchange(GridCommonAbstractTest.java:532)
>   at 
> org.apache.ignite.testframework.junits.common.GridCommonAbstractTest.awaitPartitionMapExchange(GridCommonAbstractTest.java:517)
>   at 
> org.apache.ignite.internal.processors.cache.distributed.rebalancing.GridCacheRabalancingDelayedPartitionMapExchangeSelfTest.test(GridCacheRabalancingDelayedPartitionMapExchangeSelfTest.java:154)
>   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 junit.framework.TestCase.runTest(TestCase.java:176)
>   at 
> org.apache.ignite.testframework.junits.GridAbstractTest.runTestInternal(GridAbstractTest.java:1997)
>   at 
> org.apache.ignite.testframework.junits.GridAbstractTest.access$000(GridAbstractTest.java:132)
>   at 
> org.apache.ignite.testframework.junits.GridAbstractTest$5.run(GridAbstractTest.java:1912)
>   at java.lang.Thread.run(Thread.java:745)
> {code}



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


[jira] [Commented] (IGNITE-5682) GridCacheRabalancingDelayedPartitionMapExchangeSelfTest fails

2017-07-10 Thread Dmitriy Pavlov (JIRA)

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

Dmitriy Pavlov commented on IGNITE-5682:


Test fails on Stopping grid 3: stopGrid(3);
4 nodes, 3 single messages were sent to crd. 

{noformat}
init() from crd: 
[rebalancing.GridCacheRabalancingDelayedPartitionMapExchangeSelfTest0] 
remaining: nodes [
B43d9218-07d8-4028-bc69-4b582af2,
22687770-013b-4987-a4a5-80394891, 
86667a24-ea4d-4b74-a375-f783f7a4]

sendLocalPartitions(): from nodeid [ec705e77-fc89-4faa-a432-6aee56c0]; 
instance=rebalancing.GridCacheRabalancingDelayedPartitionMapExchangeSelfTest2 
sent single map
MMM: GridDhtPartitionsSingleMessage [parts={1544803905=GridDhtPartitionMap 
[moving=0, top=AffinityTopologyVersion [topVer=10, minorTopVer=0], 
updateSeq=468, size=507], -2100569601=GridDhtPartitionMap [moving=0, 
top=AffinityTopologyVersion [topVer=10, minorTopVer=0], updateSeq=164, 
size=100]}, partCntrs={1544803905={}, -2100569601={}}, partHistCntrs=null, 
err=null, client=false, compress=true, super=GridDhtPartitionsAbstractMessage 
[exchId=GridDhtPartitionExchangeId [topVer=AffinityTopologyVersion [topVer=10, 
minorTopVer=0], nodeId=4196a84b, evt=NODE_LEFT], lastVer=GridCacheVersion 
[topVer=0, order=1499710025573, nodeOrder=0], flags=1, super=GridCacheMessage 
[msgId=237, depInfo=null, err=null, skipPrepare=false]]]


sendLocalPartitions(): from nodeid [ec705e77-fc89-4faa-a432-6aee56c0]; 
instance=rebalancing.GridCacheRabalancingDelayedPartitionMapExchangeSelfTest1 
sent single map
MMM: GridDhtPartitionsSingleMessage [parts={1544803905=GridDhtPartitionMap 
[moving=0, top=AffinityTopologyVersion [topVer=10, minorTopVer=0], 
updateSeq=468, size=530], -2100569601=GridDhtPartitionMap [moving=0, 
top=AffinityTopologyVersion [topVer=10, minorTopVer=0], updateSeq=171, 
size=100]}, partCntrs={1544803905={}, -2100569601={}}, partHistCntrs=null, 
err=null, client=false, compress=true, super=GridDhtPartitionsAbstractMessage 
[exchId=GridDhtPartitionExchangeId [topVer=AffinityTopologyVersion [topVer=10, 
minorTopVer=0], nodeId=4196a84b, evt=NODE_LEFT], lastVer=GridCacheVersion 
[topVer=0, order=1499710023815, nodeOrder=0], flags=1, super=GridCacheMessage 
[msgId=238, depInfo=null, err=null, skipPrepare=false]]]

sendLocalPartitions(): from nodeid [ec705e77-fc89-4faa-a432-6aee56c0]; 
instance=rebalancing.GridCacheRabalancingDelayedPartitionMapExchangeSelfTest4 
sent single map
MMM: GridDhtPartitionsSingleMessage [parts={1544803905=GridDhtPartitionMap 
[moving=0, top=AffinityTopologyVersion [topVer=10, minorTopVer=0], 
updateSeq=468, size=525], -2100569601=GridDhtPartitionMap [moving=0, 
top=AffinityTopologyVersion [topVer=10, minorTopVer=0], updateSeq=118, 
size=100]}, partCntrs={1544803905={}, -2100569601={}}, partHistCntrs=null, 
err=null, client=false, compress=true, super=GridDhtPartitionsAbstractMessage 
[exchId=GridDhtPartitionExchangeId [topVer=AffinityTopologyVersion [topVer=10, 
minorTopVer=0], nodeId=4196a84b, evt=NODE_LEFT], lastVer=GridCacheVersion 
[topVer=0, order=1499710051946, nodeOrder=0], flags=1, super=GridCacheMessage 
[msgId=239, depInfo=null, err=null, skipPrepare=false]]]


[2017-07-10 21:07:49,708][INFO 
][test-runner-#1%rebalancing.GridCacheRabalancingDelayedPartitionMapExchangeSelfTest%][root]
 Topology version mismatch 
[node=rebalancing.GridCacheRabalancingDelayedPartitionMapExchangeSelfTest1, 
exchVer=AffinityTopologyVersion [topVer=9, minorTopVer=3], 
topVer=AffinityTopologyVersion [topVer=10, minorTopVer=0]]
 
MMM: GridDhtPartitionsFullMessage [parts={1544803905=GridDhtPartitionFullMap 
[nodeId=ec705e77-fc89-4faa-a432-6aee56c0, nodeOrder=1, updateSeq=117, 
size=4], -2100569601=GridDhtPartitionFullMap 
[nodeId=ec705e77-fc89-4faa-a432-6aee56c0, nodeOrder=1, updateSeq=108, 
size=4]}, partCntrs=null, partHistSuppliers=null, partsToReload=null, 
topVer=AffinityTopologyVersion [topVer=-1, minorTopVer=0], errs=null, 
compress=true, partCnt=2, super=GridDhtPartitionsAbstractMessage [exchId=null, 
lastVer=null, flags=1, super=GridCacheMessage [msgId=272, depInfo=null, 
err=null, skipPrepare=false]]]
MMM: GridDhtPartitionsFullMessage [parts={1544803905=GridDhtPartitionFullMap 
[nodeId=ec705e77-fc89-4faa-a432-6aee56c0, nodeOrder=1, updateSeq=117, 
size=4], -2100569601=GridDhtPartitionFullMap 
[nodeId=ec705e77-fc89-4faa-a432-6aee56c0, nodeOrder=1, updateSeq=108, 
size=4]}, partCntrs=null, partHistSuppliers=null, partsToReload=null, 
topVer=AffinityTopologyVersion [topVer=-1, minorTopVer=0], errs=null, 
compress=true, partCnt=2, super=GridDhtPartitionsAbstractMessage [exchId=null, 
lastVer=null, flags=1, super=GridCacheMessage [msgId=272, depInfo=null, 
err=null, skipPrepare=false]]]
MMM: GridDhtPartitionsFullMessage [parts={1544803905=GridDhtPartitionFullMap 
[nodeId=ec705e77-fc89-4faa-a432-6aee56c0, nodeOrder=1, updateSeq=117, 
size=4],