Skip to content

[ci-scan] Skip DnsGetHost*_LocalhostSubdomain_RespectsAddressFamily on Android (refs #128253)#128353

Draft
github-actions[bot] wants to merge 2 commits into
mainfrom
ci-scan/disable-dns-localhost-subdomain-android-128253-c5b4bb84f6bda72e
Draft

[ci-scan] Skip DnsGetHost*_LocalhostSubdomain_RespectsAddressFamily on Android (refs #128253)#128353
github-actions[bot] wants to merge 2 commits into
mainfrom
ci-scan/disable-dns-localhost-subdomain-android-128253-c5b4bb84f6bda72e

Conversation

@github-actions
Copy link
Copy Markdown
Contributor

Reasoning

The tests DnsGetHostEntry_LocalhostSubdomain_RespectsAddressFamily and DnsGetHostAddresses_LocalhostSubdomain_RespectsAddressFamily fail on Android because Dns.GetHostEntry/GetHostAddresses returns IPv6 addresses when only IPv4 (InterNetwork) is requested. The Android resolver does not filter by address family for localhost subdomains. The [ActiveIssue] attribute is the narrowest correct fix — Android-only, matching the observed failure scope.

Linked KBE: #128253

Match verification (from Step 4.8):

  1. Same test/family: yes — GetHostEntryTest.DnsGetHostEntry_LocalhostSubdomain_RespectsAddressFamily and sibling GetHostAddresses variant
  2. Same failure signature: yes — Assert.All() Failure with Expected: InterNetwork, Actual: InterNetworkV6
  3. Same OS: yes — Android
  4. Same architecture: yes — arm64

Impact on platforms

  • runtime-extra-platforms / android-arm64 Release AllSubsets_Mono / Windows.11.Amd64.Android.Open — exit code 1
  • runtime-extra-platforms / android-arm64 Release AllSubsets_CoreCLR / Windows.11.Amd64.Android.Open — exit code 1

Errors log

[FAIL] System.Net.NameResolution.Tests.GetHostEntryTest.DnsGetHostEntry_LocalhostSubdomain_RespectsAddressFamily(addressFamily: InterNetwork)
Assert.All() Failure: 5 out of 7 items in the collection did not pass.
[1]: Item:  fe80::244c:96ff:fe41:5910%47
     Error: Assert.Equal() Failure: Values differ
            Expected: InterNetwork
            Actual:   InterNetworkV6

[FAIL] System.Net.NameResolution.Tests.GetHostAddressesTest.DnsGetHostAddresses_LocalhostSubdomain_RespectsAddressFamily(addressFamily: InterNetwork)
Assert.All() Failure: 5 out of 7 items in the collection did not pass.

First build it occurred

Linked issue

#128253

Note

🔒 Integrity filter blocked 1 item

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

  • #125825 search_issues: 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 · ● 30M ·

…(refs #128253)

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
@dotnet-policy-service
Copy link
Copy Markdown
Contributor

Tagging subscribers to this area: @karelz, @dotnet/ncl
See info in area-owners.md if you want to be subscribed.

Sign up for free to 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