Skip to content

[ci-scan] Skip DnsGetHostAddresses/Entry_LocalhostSubdomain_RespectsAddressFamily on Android (refs #128371)#81

Draft
github-actions[bot] wants to merge 1 commit into
mainfrom
ci-scan/disable-dns-localhost-android-20cf1d6cf284f293
Draft

[ci-scan] Skip DnsGetHostAddresses/Entry_LocalhostSubdomain_RespectsAddressFamily on Android (refs #128371)#81
github-actions[bot] wants to merge 1 commit into
mainfrom
ci-scan/disable-dns-localhost-android-20cf1d6cf284f293

Conversation

@github-actions

Copy link
Copy Markdown

Reasoning

Android resolvers return IPv6 addresses (e.g. fe80::dc30:2cff:feca:33f4%47) when AddressFamily.InterNetwork is explicitly requested via Dns.GetHostAddresses("test.localhost", AddressFamily.InterNetwork). The Assert.All() then fails because the returned addresses have AddressFamily.InterNetworkV6 instead of the expected InterNetwork. This is an Android resolver behavior difference, not a product bug in System.Net.NameResolution.

Linked KBE: dotnet#128371

Match verification (from Step 4.8):

  1. Same test/family: yes — both DnsGetHostAddresses_LocalhostSubdomain_RespectsAddressFamily and DnsGetHostEntry_LocalhostSubdomain_RespectsAddressFamily match the KBE
  2. Same failure signature: yes — Assert.All() Failure with Values differ Expected: InterNetwork Actual: InterNetworkV6
  3. Same OS: yes — Android
  4. Same architecture: yes — arm64 (also x64 via NativeAOT leg)

Impact on platforms

  • runtime-extra-platforms / android-arm64 Release AllSubsets_CoreCLR @ windows.11.amd64.android.open — exit code 1
  • runtime-extra-platforms / android-arm64 Release NativeAOT @ windows.11.amd64.android.open — 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.
      Error: Assert.Equal() Failure: Values differ
            Expected: InterNetwork
            Actual:   InterNetworkV6

First build it occurred

Linked issue

dotnet#128371

Note

🔒 Integrity filter blocked 10 items

The following items were blocked because they don't meet the GitHub integrity level.

  • #5158 search_issues: has lower integrity than agent requires. The agent cannot read data with integrity below "approved".
  • #7096 search_issues: has lower integrity than agent requires. The agent cannot read data with integrity below "approved".
  • #5984 search_issues: has lower integrity than agent requires. The agent cannot read data with integrity below "approved".
  • #5101 search_issues: has lower integrity than agent requires. The agent cannot read data with integrity below "approved".
  • #5318 search_issues: has lower integrity than agent requires. The agent cannot read data with integrity below "approved".
  • #44158 search_issues: has lower integrity than agent requires. The agent cannot read data with integrity below "approved".
  • #5637 search_issues: has lower integrity than agent requires. The agent cannot read data with integrity below "approved".
  • #7231 search_issues: has lower integrity than agent requires. The agent cannot read data with integrity below "approved".
  • #5130 search_issues: has lower integrity than agent requires. The agent cannot read data with integrity below "approved".
  • #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.4M ·

…ly on Android (refs dotnet#128371)

Android resolvers return IPv6 addresses when InterNetwork is requested,
causing Assert.All() failures. Disable on Android pending investigation.

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.

0 participants