Skip to content

[ci-scan] Skip DnsGetHost*_LocalhostSubdomain on Android (refs #128371) - #72

Draft
github-actions[bot] wants to merge 1 commit into
mainfrom
ci-scan/skip-dns-localhost-android-128371-1462f720869a4771
Draft

[ci-scan] Skip DnsGetHost*_LocalhostSubdomain on Android (refs #128371)#72
github-actions[bot] wants to merge 1 commit into
mainfrom
ci-scan/skip-dns-localhost-android-128371-1462f720869a4771

Conversation

@github-actions

Copy link
Copy Markdown

Reasoning

DnsGetHostAddresses_LocalhostSubdomain_RespectsAddressFamily and DnsGetHostEntry_LocalhostSubdomain_RespectsAddressFamily fail on Android because the Android resolver returns IPv6 addresses when AddressFamily.InterNetwork is requested. The [ActiveIssue(..., TestPlatforms.Android)] attribute is the narrowest condition matching the observed failure scope (only Android).

Linked KBE: dotnet#128371

Match verification (from Step 4.8):

  1. Same test/family: yes — DnsGetHostAddresses_LocalhostSubdomain_RespectsAddressFamily and DnsGetHostEntry_LocalhostSubdomain_RespectsAddressFamily
  2. Same failure signature: yes — Assert.All() Failure: items did not pass / Expected: InterNetwork Actual: InterNetworkV6
  3. Same OS: yes — Android
  4. Same architecture: yes — arm64 (and all Android archs based on issue hits)

Impact on platforms

  • runtime-extra-platforms (def 154) / android-arm64 Release AllSubsets_CoreCLR @ windows.11.amd64.android.open — exit code 1
  • runtime-extra-platforms (def 154) / android-arm64 Release NativeAOT — exit code 1

Errors log

[FAIL] System.Net.NameResolution.Tests.GetHostAddressesTest.DnsGetHostAddresses_LocalhostSubdomain_RespectsAddressFamily(addressFamily: InterNetwork)
Assert.All() Failure: 10 out of 12 items in the collection did not pass.
[1]: Item: fe80::f09f:ff:fe73:75e3%47
Error: Assert.Equal() Failure: Values differ
Expected: InterNetwork
Actual: InterNetworkV6

First build it occurred

Linked issue

dotnet#128371

Note

🔒 Integrity filter blocked 1 item

The following item was blocked because it doesn't meet the GitHub integrity level.

  • #105207search_pull_requests: has lower integrity than agent requires. The agent cannot read data with integrity below "approved".

To allow these resources, lower min-integrity in your GitHub frontmatter:

tools:
github:
min-integrity: approved # merged | approved | unapproved | none

Generated by CI Outer-Loop Failure Scanner · ● 35.3M ·

…(refs dotnet#128371)
Android resolver returns IPv6 addresses when InterNetwork is requested,
causing Assert.All() failures in the localhost subdomain tests.
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Sign up for freeto join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

0 participants