[
https://issues.apache.org/jira/browse/IGNITE-29239?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=18136167#comment-18136167
]
Ignite TC Bot commented on IGNITE-29239:
----------------------------------------
{panel:title=Branch: [pull/13776/head] Base: [master] : No blockers
found!|borderStyle=dashed|borderColor=#ccc|titleBGColor=#D6F7C1}{panel}
{panel:title=Branch: [pull/13776/head] Base: [master] : No new tests
found!|borderStyle=dashed|borderColor=#ccc|titleBGColor=#F7D6C1}{panel}
[TeamCity *--> Run :: All*
Results|https://ci2.ignite.apache.org/viewLog.html?buildId=9459767&buildTypeId=IgniteTests24Java8_RunAll]
{color:#ffffff}tcbot-analysis-comment chainBuildId=9459767
rerunBuildIds=none{color}
> Fix flaky
> TcpDiscoverySelfTest.testGetEffectiveNodeAddressesFiltersUnresolvedAddressWithoutNpe
> ----------------------------------------------------------------------------------------------
>
> Key: IGNITE-29239
> URL: https://issues.apache.org/jira/browse/IGNITE-29239
> Project: Ignite
> Issue Type: Bug
> Reporter: Dmitry Werner
> Assignee: Dmitry Werner
> Priority: Minor
> Labels: MakeTeamcityGreenAgain
> Fix For: 2.20
>
> Time Spent: 10m
> Remaining Estimate: 0h
>
> TcpDiscoverySelfTest#testGetEffectiveNodeAddressesFiltersUnresolvedAddressWithoutNpe
> intermittently fails:
> java.lang.AssertionError: Test node should have at least one unresolved
> address at TcpDiscoverySelfTest.java:2403
> *Root cause*
> The fixture creates the "unresolved" address via: new
> InetSocketAddress("unresolved-host-name-that-does-not-resolve-xyz", 47500).
> This constructor performs a live DNS lookup; the address is unresolved
> (getAddress() == null) only if the lookup fails. On CI agents with
> wildcard/sinkhole DNS or search-domain resolution the bogus name may resolve,
> so the injected address is not unresolved and the assert fails. Resolver
> behavior is intermittent, hence the flakiness.
> *Fix*
> Use InetSocketAddress.createUnresolved(...) instead — deterministic, no DNS
> lookup, getAddress() is always null.
--
This message was sent by Atlassian Jira
(v10.3.26#10030026)