Repository navigation
Assertion failure in ConnectAsync_WithBuffer_Succeeds on Android/MacCatalyst/tvOS (Mono/CoreCLR/NativeAOT) #125825
Description
Suggested labels: Known Build Error, test-failure, os-android, os-tvos, os-maccatalyst, arch-x64, arch-x86, arch-arm64, untriaged
Note: This issue was automatically generated by AI-Test-Triage. Please review and triage accordingly.
Build Information
Build: 20260317.4, 20260318.5
Build error leg or test failing: System.Net.Sockets.Tests.SocketBlockingModeTransitionTests.ConnectAsync_WithBuffer_Succeeds, System.Net.Sockets.Tests.WorkItemExecution
Affected CI jobs: build_Android_x86_Release_AllSubsets_Mono, build_Android_x64_Release_AllSubsets_Mono, build_android_x64_Release_AllSubsets_CoreCLR, build_maccatalyst_arm64_Release_AllSubsets_CoreCLR_Smoke, build_tvos_arm64_Release_AllSubsets_CoreCLR, build_MacCatalyst_x64_Release_AllSubsets_Mono, build_MacCatalyst_arm64_Release_AllSubsets_Mono, build_tvOS_arm64_Release_AllSubsets_Mono, build_android_x64_Release_NativeAOT
Causing Commit Range Information
Commit range: {TODO: Insert commit range or link to changes}
Summary
- xUnit assertion failure (Assert.False) in SocketBlockingModeTransitionTests.ConnectAsync_WithBuffer_Succeeds; not a managed crash or timeout.
- Observed on Android (x86/x64), MacCatalyst and tvOS across Mono, CoreCLR and NativeAOT jobs.
- Failures are isolated single-test flakes in large runs; tests complete quickly (~0.006–0.03s), suggesting flakiness or test logic issue.
- On Android some runs show the test host terminated by SIGKILL and instrumentation/MonoRunner returning non-zero (exit code 1).
Failure Statistics
Note: These statistics are based on the configured time range and might not reflect the full history of the failure.
- Occurrence Count: 28
- First Failure: 2026-03-18 08:02:00 UTC
- Last Failure: 2026-03-19 09:53:20 UTC
Work Items
Showing 10 most recent of 28 occurrences
| Work Item | Console Log | Build | Job Name |
|---|---|---|---|
| System.Net.Sockets.Tests.SocketBlockingModeTransitionTests.ConnectAsync_WithBuffer_Succeeds | View Extract03-19 04:33:49.479 10403 11037 I DOTNET : Test collection for System.Net.Sockets.Tests.SocketBlockingModeTransitionTests |
20260318.5 | build_android_x64_Release_AllSubsets_CoreCLR |
| System.Net.Sockets.Tests Work Item | View Extract03-19 04:33:49.471 10403 11037 I DOTNET : [PASS] System.Net.Sockets.Tests.Disconnect_Eap.Disconnect_Success |
20260318.5 | build_android_x64_Release_AllSubsets_CoreCLR |
| System.Net.Sockets.Tests Work Item | View Extract03-19 05:12:37.947 4435 4458 I DOTNET : [SKIP] System.Net.Sockets.Tests.AcceptApm.AbortedByDispose_LeaksNoUnobservedExceptions |
20260318.5 | build_android_x64_Release_NativeAOT |
| System.Net.Sockets.Tests.SocketBlockingModeTransitionTests.ConnectAsync_WithBuffer_Succeeds | View Extract03-19 08:44:01.193 7898 9923 I DOTNET : Test collection for System.Net.Sockets.Tests.SocketBlockingModeTransitionTests |
20260318.5 | build_Android_x86_Release_AllSubsets_Mono |
| System.Net.Sockets.Tests Work Item | View Extract03-19 08:44:01.193 7898 9923 I DOTNET : Test collection for System.Net.Sockets.Tests.SocketBlockingModeTransitionTests |
20260318.5 | build_Android_x86_Release_AllSubsets_Mono |
| System.Net.Sockets.Tests.SocketBlockingModeTransitionTests.ConnectAsync_WithBuffer_Succeeds | View Extract03-19 08:46:21.930 9210 11096 I DOTNET : |
20260318.5 | build_Android_x64_Release_AllSubsets_Mono |
| System.Net.Sockets.Tests Work Item | View Extract03-19 08:46:21.939 9210 11096 I DOTNET : [FAIL] System.Net.Sockets.Tests.SocketBlockingModeTransitionTests.ConnectAsync_WithBuffer_Succeeds |
20260318.5 | build_Android_x64_Release_AllSubsets_Mono |
| System.Net.Sockets.Tests.SocketBlockingModeTransitionTests.ConnectAsync_WithBuffer_Succeeds | View Extract03-19 08:54:13.106 9376 11163 I DOTNET : Test collection for System.Net.Sockets.Tests.SocketBlockingModeTransitionTests |
20260318.5 | build_android_x64_Release_AllSubsets_CoreCLR |
| System.Net.Sockets.Tests Work Item | View Extract03-19 08:54:13.106 9376 11163 I DOTNET : Test collection for System.Net.Sockets.Tests.SocketBlockingModeTransitionTests |
20260318.5 | build_android_x64_Release_AllSubsets_CoreCLR |
| System.Net.Sockets.Tests Work Item | View Extract03-19 09:44:11.937 15284 15307 I DOTNET : [SKIP] System.Net.Sockets.Tests.SocketAsyncEventArgsTest.Connect_Parallel_Fails |
20260318.5 | build_android_x64_Release_NativeAOT |
Error Message
{
"ErrorMessage": "System.Net.Sockets.Tests.SocketBlockingModeTransitionTests.ConnectAsync_WithBuffer_Succeeds",
"BuildRetry": false,
"ExcludeConsoleLog": false
}Report
Summary
| 24-Hour Hit Count | 7-Day Hit Count | 1-Month Count |
|---|---|---|
| 19 | 97 | 216 |
Activity
dotnet-policy-service commentedon Mar 20, 2026
Tagging subscribers to this area: @karelz, @dotnet/ncl
See info in area-owners.md if you want to be subscribed.
dotnet-policy-service commentedon Mar 20, 2026
Tagging subscribers to 'arch-android': @vitek-karas, @simonrozsival, @steveisok, @akoeplinger
See info in area-owners.md if you want to be subscribed.
dotnet-policy-service commentedon Mar 20, 2026
Tagging subscribers to 'os-maccatalyst': @vitek-karas, @kotlarmilos, @steveisok, @akoeplinger
See info in area-owners.md if you want to be subscribed.
dotnet-policy-service commentedon Mar 20, 2026
Tagging subscribers to 'os-tvos': @vitek-karas, @kotlarmilos, @steveisok, @akoeplinger
See info in area-owners.md if you want to be subscribed.
wfurt commentedon Mar 20, 2026
Can you take a look @liveans ? Seems related to #124200
5 remaining items
[ci-scan] Skip SocketBlockingModeTransitionTests.ConnectAsync_WithBuf…
[ci-scan] Skip HostTests Moq tests on iossimulator (refs #128405) (#1…
[mobile] Fix SocketBlockingModeTransitionTests on Android (#127140)
[ci-scan] Skip System.Formats.Nrbf.Tests on Mono CI (#128112)
[ci-scan] Skip SocketBlockingModeTransitionTests.ConnectAsync_WithBuf…
[ci-scan] Skip HostTests Moq tests on iossimulator (refs #128405) (#1…
steveisok commentedon Sep 3, 2026
Keeping this open to track the Android-disabled test from #128584. The KBE matcher here overlaps #133012, and the recent matches sampled here are Linux failures covered by that issue, so I removed the duplicate
Known Build Errorandblocking-clean-ciclassification.Note
This comment was generated by GitHub Copilot.