Uploaded image for project: 'Ignite'
  1. Ignite
  2. IGNITE-6467

Ignite cache 6: new tests CacheExchangeMergeTest.testConcurrentStartServersAndClients() and testDelayExchangeMessages() have flaky junit assertion after cache get

    XMLWordPrintableJSON

    Details

      Description

      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

      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)
      

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                sboikov Semen Boikov
                Reporter:
                dpavlov Dmitry Pavlov
              • Votes:
                0 Vote for this issue
                Watchers:
                4 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: