Skip to content

[ci-scan] Skip LocalhostSubdomain_RespectsAddressFamily tests on Android (refs #128253)#128327

Closed
github-actions[bot] wants to merge 2 commits into
mainfrom
ci-scan/disable-nameresolution-android-128253-2bf568aacb0de092
Closed

[ci-scan] Skip LocalhostSubdomain_RespectsAddressFamily tests on Android (refs #128253)#128327
github-actions[bot] wants to merge 2 commits into
mainfrom
ci-scan/disable-nameresolution-android-128253-2bf568aacb0de092

Conversation

@github-actions
Copy link
Copy Markdown
Contributor

Reasoning

The tests DnsGetHostEntry_LocalhostSubdomain_RespectsAddressFamily and DnsGetHostAddresses_LocalhostSubdomain_RespectsAddressFamily consistently fail on Android because Dns.GetHostEntry returns IPv6 addresses when only IPv4 (InterNetwork) addresses are requested via the AddressFamily parameter. The Assert.All() check validates each returned address matches the requested family, but Android's resolver returns mixed-family results.

The [ActiveIssue] attribute is the right fix because it narrows the skip to Android only, matching the observed failure scope exactly.

Linked KBE: #128253

Match verification (from Step 4.8):

  1. Same test/family: yes — both LocalhostSubdomain_RespectsAddressFamily tests match
  2. Same failure signature: yes — Assert.All() Failure with Expected: InterNetwork / Actual: InterNetworkV6
  3. Same OS: yes — Android (android-arm64 Release AllSubsets_Mono)
  4. Same architecture: yes — arm64

Impact on platforms

  • runtime-extra-platforms / android-arm64 Release AllSubsets_Mono / 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 · ● 25.9M ·

…128253)

These tests consistently fail on Android because Dns.GetHostEntry returns
IPv6 addresses when only IPv4 (InterNetwork) addresses are requested.

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
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.

1 participant