You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
[ci-scan] Test failure: System.Net.NameResolution.Tests.GetHostEntryTest.DnsGetHostEntry_LocalhostSubdomain_RespectsAddressFamil
[Content truncated due to length] #128253
The test DnsGetHostEntry_LocalhostSubdomain_RespectsAddressFamily(addressFamily: InterNetwork) fails on Android because Dns.GetHostEntry returns IPv6 addresses when only IPv4 (InterNetwork) addresses are expected. The Assert.All() check validates each returned address matches the requested address family.
[FAIL] System.Net.NameResolution.Tests.GetHostEntryTest.DnsGetHostEntry_LocalhostSubdomain_RespectsAddressFamily(addressFamily: InterNetwork)
Assert.All() Failure: 10 out of 12 items in the collection did not pass.
[1]: Item: fe80::50fc:71ff:fee7:54f2%47
Error: Assert.Equal() Failure: Values differ
Expected: InterNetwork
Actual: InterNetworkV6
Note: The prior KBE #124751 covered a different failure mode on the same test (SocketException: hostname nor servname provided) and is now closed. This is a new failure where the DNS resolution succeeds but returns addresses of the wrong family.
Build Information
Build: https://dev.azure.com/dnceng-public/public/_build/results?buildId=1420047
Build error leg or test failing: android-arm64 Release AllSubsets_CoreCLR - System.Net.NameResolution.Functional.Tests
Error Details
The test
DnsGetHostEntry_LocalhostSubdomain_RespectsAddressFamily(addressFamily: InterNetwork)fails on Android becauseDns.GetHostEntryreturns IPv6 addresses when only IPv4 (InterNetwork) addresses are expected. TheAssert.All()check validates each returned address matches the requested address family.Note: The prior KBE #124751 covered a different failure mode on the same test (
SocketException: hostname nor servname provided) and is now closed. This is a new failure where the DNS resolution succeeds but returns addresses of the wrong family.Error Message
{ "ErrorMessage": ["DnsGetHostEntry_LocalhostSubdomain_RespectsAddressFamily(addressFamily: InterNetwork)", "Assert.All() Failure"], "BuildRetry": false, "ExcludeConsoleLog": false }Note
🔒 Integrity filter blocked 4 items
The following items were blocked because they don't meet the GitHub integrity level.
search_issues: has lower integrity than agent requires. The agent cannot read data with integrity below "approved".issue_read: has lower integrity than agent requires. The agent cannot read data with integrity below "approved".search_issues: has lower integrity than agent requires. The agent cannot read data with integrity below "approved".search_issues: has lower integrity than agent requires. The agent cannot read data with integrity below "approved".To allow these resources, lower
min-integrityin your GitHub frontmatter:Report
Summary