ignite-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Semen Boikov (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (IGNITE-6467) Ignite cache 6: new tests CacheExchangeMergeTest.testConcurrentStartServersAndClients() and testDelayExchangeMessages() have flaky junit assertion after cache get
Date Tue, 24 Jul 2018 10:33:00 GMT

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

Semen Boikov commented on IGNITE-6467:
--------------------------------------

Fixed simple bug in the test (it should not check data if tx failed, 81d04a5b61722bd62ee647ef46d3872bc71fbaaa).
But locally got another failure: 

CacheException: class org.apache.ignite.IgniteCheckedException: Adding entry to partition
that is concurrently evicted [grp=c6, part=554, shouldBeMoving=, belongs=true, topVer=AffinityTopologyVersion
[topVer=11, minorTopVer=0], curTopVer=AffinityTopologyVersion [topVer=11, minorTopVer=1]]CacheException:
class org.apache.ignite.IgniteCheckedException: Adding entry to partition that is concurrently
evicted [grp=c6, part=554, shouldBeMoving=, belongs=true, topVer=AffinityTopologyVersion [topVer=11,
minorTopVer=0], curTopVer=AffinityTopologyVersion [topVer=11, minorTopVer=1]]. 

 

Trying to add more simple test reproducing this.

> Ignite cache 6: new tests CacheExchangeMergeTest.testConcurrentStartServersAndClients()
and testDelayExchangeMessages() have flaky junit assertion after cache get
> ------------------------------------------------------------------------------------------------------------------------------------------------------------------
>
>                 Key: IGNITE-6467
>                 URL: https://issues.apache.org/jira/browse/IGNITE-6467
>             Project: Ignite
>          Issue Type: Bug
>            Reporter: Dmitriy Pavlov
>            Assignee: Semen Boikov
>            Priority: Major
>              Labels: MakeTeamcityGreenAgain, Muted_test
>
> Ignite cache 6: CacheExchangeMergeTest: 3 tests fails with probability >10% in master
and in PRs
> IgniteCacheTestSuite6: CacheExchangeMergeTest.testConcurrentStartServersAndClients()

> IgniteCacheTestSuite6: CacheExchangeMergeTest.testDelayExchangeMessages() 
> IgniteCacheTestSuite6: CacheExchangeMergeTest.testMergeServersFail1_2 (fail rate 22,6%)

> https://ci.ignite.apache.org/project.html?projectId=Ignite20Tests&testNameId=741151191800314619&tab=testDetails
> https://ci.ignite.apache.org/project.html?projectId=IgniteTests24Java8&testNameId=-8990224019412265556&tab=testDetails
> latest failure from master
> https://ci.ignite.apache.org/viewLog.html?buildId=843261&tab=buildResultsDiv&buildTypeId=Ignite20Tests_IgniteCache6#testNameId741151191800314619
> {noformat}
> Invalid value [node=distributed.CacheExchangeMergeTest0, client=false, order=1, cache=c1]
expected:<0> but was:<null>
>     at java.util.concurrent.FutureTask.report(FutureTask.java:122)
>     at java.util.concurrent.FutureTask.get(FutureTask.java:188)
>     at org.apache.ignite.internal.processors.cache.distributed.CacheExchangeMergeTest.checkNodeCaches(CacheExchangeMergeTest.java:1343)
>     at org.apache.ignite.internal.processors.cache.distributed.CacheExchangeMergeTest.checkCaches0(CacheExchangeMergeTest.java:1213)
>     at org.apache.ignite.internal.processors.cache.distributed.CacheExchangeMergeTest.checkCaches(CacheExchangeMergeTest.java:1195)
>     at org.apache.ignite.internal.processors.cache.distributed.CacheExchangeMergeTest.concurrentStart(CacheExchangeMergeTest.java:446)
>     at org.apache.ignite.internal.processors.cache.distributed.CacheExchangeMergeTest.testConcurrentStartServersAndClients(CacheExchangeMergeTest.java:414)
> Caused by: junit.framework.AssertionFailedError: Invalid value [node=distributed.CacheExchangeMergeTest0,
client=false, order=1, cache=c1] expected:<0> but was:<null>
>     at junit.framework.Assert.fail(Assert.java:57)
>     at junit.framework.Assert.failNotEquals(Assert.java:329)
>     at junit.framework.Assert.assertEquals(Assert.java:78)
>     at junit.framework.TestCase.assertEquals(TestCase.java:244)
>     at org.apache.ignite.internal.processors.cache.distributed.CacheExchangeMergeTest$16.run(CacheExchangeMergeTest.java:1312)
>     at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:471)
>     at java.util.concurrent.FutureTask.run(FutureTask.java:262)
>     at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)
>     at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
>     at java.lang.Thread.run(Thread.java:745)
> {noformat}



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

Mime
View raw message