Skip to content

[ci-scan] Test failure: SocketAsyncEventArgsTest.Connect_Parallel_FailsOver on android #127954

@github-actions

Description

@github-actions

Build Information

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

Error Message

{
  "ErrorMessage": "[FAIL] System.Net.Sockets.Tests.SocketAsyncEventArgsTest.Connect_Parallel_FailsOver(preferIPv6: True)",
  "ErrorPattern": "",
  "BuildRetry": false,
  "ExcludeConsoleLog": false
}

Additional Context

Summary: SocketAsyncEventArgsTest.Connect_Parallel_FailsOver(preferIPv6: True) fails on android-arm64 with Assert.NotNull() failure, indicating the parallel connection failover logic does not work correctly on the Android emulator's IPv6 configuration.

Failed in (10+):

Console Log: android-arm64 Console Log

Failed tests:

runtime-extra-platforms (android-arm64 Release AllSubsets_CoreCLR)
- Windows.11.Amd64.Android.Open
  - System.Net.Sockets.Tests.SocketAsyncEventArgsTest.Connect_Parallel_FailsOver(preferIPv6: True)

Error Message:

[FAIL] System.Net.Sockets.Tests.SocketAsyncEventArgsTest.Connect_Parallel_FailsOver(preferIPv6: True)
Assert.NotNull() Failure: Value is null
   at System.Net.Sockets.Tests.SocketAsyncEventArgsTest.Connect_Parallel_FailsOver(Boolean preferIPv6)

Impact on platforms:

  • runtime-extra-platforms + android-arm64 + Windows.11.Amd64.Android.Open + exit code 1

First build it occurred: First seen in build 1396313 (2026-04-25) within the scanned window. 10/10 builds affected. Note: this is the earliest in the scanned window and may not be the true origin.

Recommended action: The parallel connection failover test relies on IPv6 dual-stack behavior that the Android emulator does not properly support. The preferIPv6: True parameter path returns a null socket, indicating the IPv6 connection attempt fails without proper failover. The test should be annotated with [ActiveIssue] for Android when preferIPv6 is true. Area owners: @dotnet/ncl.

Generated by CI Outer-Loop Failure Scanner · ● 26.1M ·

Metadata

Metadata

Assignees

No one assigned

    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