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

[Test Failed] IgniteServiceReassignmentTest.testZombieAssignmentsCleanup fails sometimes.

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Major
    • Resolution: Duplicate
    • Affects Version/s: 2.6
    • Fix Version/s: None
    • Component/s: None

      Description

      IgniteServiceReassignmentTest.testZombieAssignmentsCleanup has flaky failures on TC: https://ci.ignite.apache.org/project.html?projectId=IgniteTests24Java8&buildTypeId=&tab=testDetails&testNameId=-4702193284623513465&order=TEST_STATUS_DESC&branch_IgniteTests24Java8=__all_branches__&itemsCount=50

      Typical output:

      junit.framework.AssertionFailedError
          at org.apache.ignite.internal.processors.service.IgniteServiceReassignmentTest.testZombieAssignmentsCleanup(IgniteServiceReassignmentTest.java:237)
      

      Exception that triggers an assertion error:

      java.lang.IllegalStateException: Getting affinity for topology version earlier than affinity is calculated [locNode=TcpDiscoveryNode [id=dc037d7a-2882-478c-a944-56c661300001, addrs=[127.0.0.1], sockAddrs=[/127.0.0.1:47501], discPort=47501, order=2, intOrder=2, lastExchangeTime=1531485137994, loc=true, ver=2.7.0#19700101-sha1:00000000, isClient=false], grp=ignite-sys-cache, topVer=AffinityTopologyVersion [topVer=3, minorTopVer=0], head=AffinityTopologyVersion [topVer=4, minorTopVer=0], history=[AffinityTopologyVersion [topVer=2, minorTopVer=0], AffinityTopologyVersion [topVer=2, minorTopVer=1], AffinityTopologyVersion [topVer=4, minorTopVer=0]]]
      	at org.apache.ignite.internal.processors.affinity.GridAffinityAssignmentCache.cachedAffinity(GridAffinityAssignmentCache.java:694)
      	at org.apache.ignite.internal.processors.affinity.GridAffinityAssignmentCache.nodes(GridAffinityAssignmentCache.java:594)
      	at org.apache.ignite.internal.processors.cache.GridCacheAffinityManager.nodesByPartition(GridCacheAffinityManager.java:225)
      	at org.apache.ignite.internal.processors.cache.GridCacheAffinityManager.primaryByPartition(GridCacheAffinityManager.java:261)
      	at org.apache.ignite.internal.processors.cache.GridCacheAffinityManager.primaryByKey(GridCacheAffinityManager.java:252)
      	at org.apache.ignite.internal.processors.cache.GridCacheAffinityManager.primaryByKey(GridCacheAffinityManager.java:276)
      	at org.apache.ignite.internal.processors.service.GridServiceProcessor$TopologyListener$1.run0(GridServiceProcessor.java:1879)
      	at org.apache.ignite.internal.processors.service.GridServiceProcessor$DepRunnable.run(GridServiceProcessor.java:2066)
      	at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)
      	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
      	at java.lang.Thread.run(Thread.java:748)
      

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                Unassigned
                Reporter:
                xtern Pavel Pereslegin
              • Votes:
                0 Vote for this issue
                Watchers:
                2 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: