From 9ba2cda1e37e599005841d44cacdd91b27c425ff Mon Sep 17 00:00:00 2001 From: "github-actions[bot]" <41898282+github-actions[bot]@users.noreply.github.com> Date: Sat, 25 Apr 2026 11:09:03 +0000 Subject: [PATCH 1/3] Skip DnsGetHostEntry_LocalHost test on Android Android Helix machines have network interfaces with non-loopback addresses that are returned when querying localhost, causing this test to fail. The test assumes localhost resolves only to loopback addresses (127.0.0.1 and ::1), but Android emulators return actual network interfaces. This is consistent with existing skips on iOS, tvOS, and MacCatalyst for similar reasons. Fixes android-arm64 Release AllSubsets_Mono failure in build 1396313: https://dev.azure.com/dnceng-public/public/_build/results?buildId=1396313 Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com> --- .../tests/FunctionalTests/GetHostEntryTest.cs | 1 + 1 file changed, 1 insertion(+) diff --git a/src/libraries/System.Net.NameResolution/tests/FunctionalTests/GetHostEntryTest.cs b/src/libraries/System.Net.NameResolution/tests/FunctionalTests/GetHostEntryTest.cs index b5145795893247..671a5d4baf0ed6 100644 --- a/src/libraries/System.Net.NameResolution/tests/FunctionalTests/GetHostEntryTest.cs +++ b/src/libraries/System.Net.NameResolution/tests/FunctionalTests/GetHostEntryTest.cs @@ -261,6 +261,7 @@ public async Task DnsGetHostEntry_BadName_ThrowsArgumentOutOfRangeException_Obso [InlineData(2)] [ActiveIssue("https://github.com/dotnet/runtime/issues/107339", TestPlatforms.Wasi)] [ActiveIssue("https://github.com/dotnet/runtime/issues/124079", TestPlatforms.iOS | TestPlatforms.tvOS | TestPlatforms.MacCatalyst)] + [SkipOnPlatform(TestPlatforms.Android, "Android Helix machines return non-loopback addresses for localhost DNS resolution")] public async Task DnsGetHostEntry_LocalHost_ReturnsFqdnAndLoopbackIPs(int mode) { IPHostEntry entry = mode switch From 1e94d03535ebd69de15a054d4d6772e58bbce271 Mon Sep 17 00:00:00 2001 From: "github-actions[bot]" Date: Sat, 25 Apr 2026 11:09:07 +0000 Subject: [PATCH 2/3] ci: trigger checks From 88e4d2f042ab46a0ba5788cb1915ea8f3e548c9d Mon Sep 17 00:00:00 2001 From: "copilot-swe-agent[bot]" <198982749+Copilot@users.noreply.github.com> Date: Mon, 27 Apr 2026 08:59:34 +0000 Subject: [PATCH 3/3] Extend ActiveIssue attribute to include Android instead of SkipOnPlatform Agent-Logs-Url: https://github.com/dotnet/runtime/sessions/f795cf35-3bf1-4b28-978a-6d34276dcdb6 Co-authored-by: kotlarmilos <11523312+kotlarmilos@users.noreply.github.com> --- .../tests/FunctionalTests/GetHostEntryTest.cs | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/libraries/System.Net.NameResolution/tests/FunctionalTests/GetHostEntryTest.cs b/src/libraries/System.Net.NameResolution/tests/FunctionalTests/GetHostEntryTest.cs index 671a5d4baf0ed6..6403b7dcb9195e 100644 --- a/src/libraries/System.Net.NameResolution/tests/FunctionalTests/GetHostEntryTest.cs +++ b/src/libraries/System.Net.NameResolution/tests/FunctionalTests/GetHostEntryTest.cs @@ -260,8 +260,7 @@ public async Task DnsGetHostEntry_BadName_ThrowsArgumentOutOfRangeException_Obso [InlineData(1)] [InlineData(2)] [ActiveIssue("https://github.com/dotnet/runtime/issues/107339", TestPlatforms.Wasi)] - [ActiveIssue("https://github.com/dotnet/runtime/issues/124079", TestPlatforms.iOS | TestPlatforms.tvOS | TestPlatforms.MacCatalyst)] - [SkipOnPlatform(TestPlatforms.Android, "Android Helix machines return non-loopback addresses for localhost DNS resolution")] + [ActiveIssue("https://github.com/dotnet/runtime/issues/124079", TestPlatforms.iOS | TestPlatforms.tvOS | TestPlatforms.MacCatalyst | TestPlatforms.Android)] public async Task DnsGetHostEntry_LocalHost_ReturnsFqdnAndLoopbackIPs(int mode) { IPHostEntry entry = mode switch