{
"ErrorMessage": "[FAIL] System.Net.NameResolution.Tests.GetHostAddressesTest.DnsGetHostAddresses_",
"ErrorPattern": "",
"BuildRetry": false,
"ExcludeConsoleLog": false
}
runtime-extra-platforms (android-arm64 Release AllSubsets_CoreCLR)
- Windows.11.Amd64.Android.Open
- System.Net.NameResolution.Tests.GetHostAddressesTest.DnsGetHostAddresses_LocalhostSubdomainWithTrailingDot_ReturnsLoopback(hostName: "foo.localhost.")
- System.Net.NameResolution.Tests.GetHostAddressesTest.DnsGetHostAddresses_LocalhostSubdomainWithTrailingDot_ReturnsLoopback(hostName: "bar.test.localhost.")
[FAIL] System.Net.NameResolution.Tests.GetHostAddressesTest.DnsGetHostAddresses_LocalhostSubdomainWithTrailingDot_ReturnsLoopback(hostName: "foo.localhost.")
Assert.All() Failure: 7 out of 8 items in the collection did not pass.
Error: Expected loopback address but got: fe80::2dd7:ff44:eff:c764%30
Error: Expected loopback address but got: 10.64.33.196
Build Information
Build: https://dev.azure.com/dnceng-public/public/_build/results?buildId=1413202
Build error leg or test failing: android-arm64 Release AllSubsets_CoreCLR - System.Net.NameResolution.Functional.Tests
Error Message
{ "ErrorMessage": "[FAIL] System.Net.NameResolution.Tests.GetHostAddressesTest.DnsGetHostAddresses_", "ErrorPattern": "", "BuildRetry": false, "ExcludeConsoleLog": false }Additional Context
Summary:
GetHostAddressesTest.DnsGetHostAddresses_LocalhostSubdomainWithTrailingDot_ReturnsLoopbackfails on android-arm64 because DNS resolution offoo.localhost.andbar.test.localhost.returns non-loopback addresses (host network interfaces) instead of loopback.Failed in (10+):
Console Log: android-arm64 Console Log
Failed tests:
Error Message:
Impact on platforms:
First build it occurred: First seen in build 1396313 (2026-04-25) within the scanned window. 10/10 builds affected. Note: this is the earliest in the scanned window and may not be the true origin.
Recommended action: Android DNS resolution does not treat
*.localhostsubdomains as loopback per RFC 6761 the same way desktop OSes do. The test assumptions aboutfoo.localhost.resolving to loopback are not valid on Android. The test should be annotated with[ActiveIssue]for Android or the test should skip whenPlatformDetection.IsAndroidis true. Area owners:@dotnet/ncl.Report
Summary