Skip to content

[ci-scan] Test failure: System.Net.NameResolution.Tests.GetHostEntryTest.DnsGetHostEntry_LocalhostSubdomain_RespectsAddressFamil [Content truncated due to length] #128253

@github-actions

Description

@github-actions

Build Information

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

Error Details

The test DnsGetHostEntry_LocalhostSubdomain_RespectsAddressFamily(addressFamily: InterNetwork) fails on Android because Dns.GetHostEntry returns IPv6 addresses when only IPv4 (InterNetwork) addresses are expected. The Assert.All() check validates each returned address matches the requested address family.

[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::50fc:71ff:fee7:54f2%47
      Error: Assert.Equal() Failure: Values differ
             Expected: InterNetwork
             Actual:   InterNetworkV6

Note: The prior KBE #124751 covered a different failure mode on the same test (SocketException: hostname nor servname provided) and is now closed. This is a new failure where the DNS resolution succeeds but returns addresses of the wrong family.

Error Message

{
  "ErrorMessage": ["DnsGetHostEntry_LocalhostSubdomain_RespectsAddressFamily(addressFamily: InterNetwork)", "Assert.All() Failure"],
  "BuildRetry": false,
  "ExcludeConsoleLog": false
}

Note

🔒 Integrity filter blocked 4 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".
  • #125825 issue_read: has lower integrity than agent requires. The agent cannot read data with integrity below "approved".
  • #74555 search_issues: has lower integrity than agent requires. The agent cannot read data with integrity below "approved".
  • #85747 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 · ● 39.8M ·

Report

Build Definition Test Pull Request
1423053 dotnet/runtime System.Net.NameResolution.Functional.Tests.WorkItemExecution
1422120 dotnet/runtime System.Net.NameResolution.Tests.GetHostEntryTest.DnsGetHostEntry_LocalhostSubdomain_RespectsAddressFamily #127498
1421640 dotnet/runtime System.Net.NameResolution.Tests.GetHostEntryTest.DnsGetHostEntry_LocalhostSubdomain_RespectsAddressFamily
1422048 dotnet/runtime System.Net.NameResolution.Tests.GetHostEntryTest.DnsGetHostEntry_LocalhostSubdomain_RespectsAddressFamily #128068

Summary

24-Hour Hit Count 7-Day Hit Count 1-Month Count
1 4 4

Metadata

Metadata

Assignees

No one assigned

    Labels

    Known Build ErrorUse this to report build issues in the .NET Helix tabagentic-workflowsarea-System.Netblocking-clean-ciBlocking PR or rolling runs of 'runtime' or 'runtime-extra-platforms'untriagedNew issue has not been triaged by the area owner

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions