[jira] [Created] (IGNITE-8646) Setting different MAC addresses to nodes in test environment causes mass test fail

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

[jira] [Created] (IGNITE-8646) Setting different MAC addresses to nodes in test environment causes mass test fail

Anton Vinogradov (Jira)
Ivan Rakov created IGNITE-8646:
----------------------------------

             Summary: Setting different MAC addresses to nodes in test environment causes mass test fail
                 Key: IGNITE-8646
                 URL: https://issues.apache.org/jira/browse/IGNITE-8646
             Project: Ignite
          Issue Type: Bug
            Reporter: Ivan Rakov
             Fix For: 2.6


There are some parts of logic in Ignite that check whether two nodes are actually hosted on the same physical machine (e.g. excludeNeighbors flag in affinity function, load balancing for replicated cache, etc) and choose the appropriate behavior. These part can be tracked by usages of IgniteNodeAttributes#ATTR_MACS attribute.
I've tried to emulate distributed environment in tests by overriding ATTR_MACS with random UUID. This caused mass consistency failures in basic and Full API tests. We should investigate this: probably, many bugs are hidden by the fact that nodes are always started on the same physical machine in our TeamCity tests.

PR with macs override: https://github.com/apache/ignite/pull/4084
TC run: https://ci.ignite.apache.org/viewLog.html?buildId=1342076&tab=buildResultsDiv&buildTypeId=IgniteTests24Java8_RunAll



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