Skip to content

[ci-scan] Test failure: DnsGetHostEntry_LocalhostSubdomain_RespectsAddressFamily on android-arm64 NativeAOT #67

Description

@github-actions

Build Information

Build: https://dev.azure.com/dnceng-public/public/_build/results?buildId=1423593
Build error leg or test failing: android-arm64 Release NativeAOT - System.Net.NameResolution.Functional.Tests

Error Details

DnsGetHostEntry_LocalhostSubdomain_RespectsAddressFamily(addressFamily: InterNetwork) and DnsGetHostAddresses_LocalhostSubdomain_RespectsAddressFamily(addressFamily: InterNetwork) fail on android because the DNS resolver returns IPv6 addresses (link-local fe80:: addresses) when only IPv4 (InterNetwork) was requested.

[FAIL] System.Net.NameResolution.Tests.GetHostEntryTest.DnsGetHostEntry_LocalhostSubdomain_RespectsAddressFamily(addressFamily: InterNetwork)
Assert.All() Failure: 10 out of 12 items in the collection did not pass.
[1]:  Item:  fe80::f051:a9ff:fe8c:708a%47

Error Message

{
  "ErrorMessage": ["DnsGetHostEntry_LocalhostSubdomain_RespectsAddressFamily(addressFamily: InterNetwork)", "Assert.All() Failure: 10 out of 12 items in the collection did not pass."],
  "ErrorPattern": "",
  "BuildRetry": false,
  "ExcludeConsoleLog": false
}

Impact on platforms

  • runtime-extra-platforms (def 154) - android-arm64 Release NativeAOT - Windows.11.Amd64.Android.Open - exit code 1

First build it occurred

Recommended action

The Android emulator's DNS resolver returns IPv6 link-local addresses even when AddressFamily.InterNetwork is specified. This may be an Android-specific DNS resolution behavior or a missing platform filter in the test. Consider adding [ActiveIssue] for Android or adjusting the test to account for platform DNS behavior.

Note

🔒 Integrity filter blocked 2 items

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

  • #125825 search_issues: has lower integrity than agent requires. The agent cannot read data with integrity below "approved".
  • #128392 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 · ● 31.6M ·

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions