Note: This issue was automatically generated by AI-Test-Triage. Please review and triage accordingly.
Build Information
Build: 20251211.4, 20251214.1, 20251216.1, 20251216.2, 20260119.4, 20260120.1, 20260120.8
Build error leg or test failing: System.Net.Sockets.Tests.WorkItemExecution
Affected CI jobs: android_arm64_Release_NativeAOT, android_x64_Release_NativeAOT, build_android_arm64_Release_NativeAOT
Causing Commit Range Information
Commit range: Flaky/Intermittent (no stable transition found)
Summary
- Test failures caused by System.Net.Sockets.SocketException 'Connection reset by peer' during socket connect
- Failures occur in System.Net.Sockets.Tests suite on android_arm64_Release_NativeAOT and android_x64_Release_NativeAOT jobs
- Single test failures with connection reset errors observed in multi-connect and argument validation tests
- Test processes exit with code 1 indicating failure; one instance includes process killed by OS signal 9
- No infrastructure timeouts or crashes reported; failures linked to socket connection resets on Android platforms
Failure Statistics
Note: These statistics are based on the configured time range and might not reflect the full history of the failure.
- Occurrence Count: 8
- First Failure: 2025-12-11 21:00:00 UTC
- Last Failure: 2026-01-21 03:02:39 UTC
Work Items
| Work Item |
Console Log |
Build |
Job Name |
| System.Net.Sockets.Tests |
View Extract12-11 14:58:53.992 25858 25882 I DOTNET : [FAIL] System.Net.Sockets.Tests.ConnectSyncForceNonBlocking.MultiConnect_LingerState_Preserved(dnsConnect: True) 12-11 14:58:53.992 25858 25882 I DOTNET : System.Net.Sockets.SocketException : Connection reset by peer [::ffff:127.0.0.1]:38615 12-11 14:58:53.992 25858 25882 I DOTNET : at System.Net.Sockets.Socket.DoConnect(EndPoint endPointSnapshot, SocketAddress socketAddress) + 0x238 12-11 14:58:53.992 25858 25882 I DOTNET : at System.Net.Sockets.Socket.Connect(EndPoint remoteEP) + 0x150 12-11 14:58:53.992 25858 25882 I DOTNET : at System.Net.Sockets.Socket.Connect(IPAddress[] addresses, Int32 port) + 0x114 ... 12-11 14:59:01.904 1040 1040 I Zygote : Process 25858 exited due to signal 9 (Killed) 12-11 14:59:01.810 25858 25882 I DOTNET : Tests run: 2279, Errors: 0, Failures: 1, Skipped: 28. Time: 13.1907361s 12-11 14:59:01.811 25858 25877 I DOTNET : MonoRunner finished, return-code=1 Full Log |
20251211.4 |
android_arm64_Release_NativeAOT |
| System.Net.Sockets.Tests |
View Extract 12-11 23:16:37.136 3931 3954 I DOTNET : [FAIL] System.Net.Sockets.Tests.ArgumentValidation.SelectPoll_InfiniteTimeSpan_Ok 12-11 23:16:37.136 3931 3954 I DOTNET : System.Net.Sockets.SocketException : Connection reset by peer 127.0.0.1:38893 12-11 23:16:37.136 3931 3954 I DOTNET : at System.Net.Sockets.Socket.DoConnect(EndPoint endPointSnapshot, SocketAddress socketAddress) + 0x1f6 12-11 23:16:37.136 3931 3954 I DOTNET : at System.Net.Sockets.Socket.Connect(EndPoint remoteEP) + 0x149 12-11 23:16:37.136 3931 3954 I DOTNET : at System.Net.Sockets.Tests.ArgumentValidation.SelectPoll_InfiniteTimeSpan_Ok() + 0x10b 12-11 23:16:37.136 3931 3954 I DOTNET : at libSystem.Net.Sockets.Tests!<BaseAddress>+0x16209a3
12-11 23:17:26.235 3931 3954 I DOTNET : Tests run: 2279, Errors: 0, Failures: 1, Skipped: 28. Time: 54.1153283s 12-11 23:17:26.236 3931 3949 I DOTNET : MonoRunner finished, return-code=1
[23:17:29] fail: Non-success instrumentation exit code: 1, expected: 0
Full Log |
20251211.4 |
android_x64_Release_NativeAOT |
| System.Net.Sockets.Tests |
View Extract12-14 02:55:59.926 25223 25254 I DOTNET : [FAIL] System.Net.Sockets.Tests.ConnectTask.MultiConnect_MiscProperties_Preserved(dnsConnect: False) 12-14 02:55:59.926 25223 25254 I DOTNET : System.Net.Sockets.SocketException : Connection reset by peer 12-14 02:55:59.926 25223 25254 I DOTNET : at System.Net.Sockets.Socket.AwaitableSocketAsyncEventArgs.ThrowException(SocketError error, CancellationToken cancellationToken) + 0x40 12-14 02:55:59.926 25223 25254 I DOTNET : at System.Net.Sockets.Socket.AwaitableSocketAsyncEventArgs.System.Threading.Tasks.Sources.IValueTaskSource.GetResult(Int16 token) + 0x5c 12-14 02:55:59.926 25223 25254 I DOTNET : at System.Net.Sockets.Socket.<<ConnectAsync>g__Core|293_0>d.MoveNext() + 0x208 12-14 02:55:59.926 25223 25254 I DOTNET : --- End of stack trace from previous location --- Full Log |
20251214.1 |
android_arm64_Release_NativeAOT |
| System.Net.Sockets.Tests |
View Extract 12-16 14:53:04.999 8860 8884 I DOTNET : [FAIL] System.Net.Sockets.Tests.ConnectCancellableTask.Connect_ExposeHandle_FirstAttemptSucceeds(connectMode: "dns") 12-16 14:53:04.999 8860 8884 I DOTNET : System.Net.Sockets.SocketException : Connection reset by peer 12-16 14:53:04.999 8860 8884 I DOTNET : at System.Net.Sockets.Socket.AwaitableSocketAsyncEventArgs.ThrowException(SocketError error, CancellationToken cancellationToken) + 0x40 12-16 14:53:04.999 8860 8884 I DOTNET : at System.Net.Sockets.Socket.AwaitableSocketAsyncEventArgs.System.Threading.Tasks.Sources.IValueTaskSource.GetResult(Int16 token) + 0x5c 12-16 14:53:04.999 8860 8884 I DOTNET : at System.Threading.Tasks.ValueTask.ValueTaskSourceAsTask.<>c.<.cctor>b__4_0(Object state) + 0x7c 12-16 14:53:04.999 8860 8884 I DOTNET : --- End of stack trace from previous location --- Full Log |
20251216.2 |
android_arm64_Release_NativeAOT |
| System.Net.Sockets.Tests |
View Extract 12-16 02:57:23.136 6942 6969 I DOTNET : [FAIL] System.Net.Sockets.Tests.ConnectSyncForceNonBlocking.MultiConnect_MiscProperties_Preserved(dnsConnect: True) 12-16 02:57:23.136 6942 6969 I DOTNET : System.Net.Sockets.SocketException : Connection reset by peer [::ffff:127.0.0.1]:42173 12-16 02:57:23.208 6942 6969 I DOTNET : at System.Net.Sockets.Socket.DoConnect(EndPoint endPointSnapshot, SocketAddress socketAddress) + 0x238 12-16 02:57:23.208 6942 6969 I DOTNET : at System.Net.Sockets.Socket.Connect(EndPoint remoteEP) + 0x150 12-16 02:57:23.208 6942 6969 I DOTNET : at System.Net.Sockets.Socket.Connect(IPAddress[] addresses, Int32 port) + 0x114 12-16 02:57:23.208 6942 6969 I DOTNET : --- End of stack trace from previous location --- Full Log |
20251216.1 |
android_arm64_Release_NativeAOT |
| System.Net.Sockets.Tests Work Item |
View Extract01-19 14:54:56.526 7273 7300 I DOTNET : [FAIL] System.Net.Sockets.Tests.ConnectCancellableTask.Connect_ExposeHandle_FirstAttemptSucceeds(connectMode: "single") 01-19 14:54:56.526 7273 7300 I DOTNET : System.Net.Sockets.SocketException : Connection reset by peer 01-19 14:54:56.526 7273 7300 I DOTNET : at System.Net.Sockets.Socket.AwaitableSocketAsyncEventArgs.ThrowException(SocketError error, CancellationToken cancellationToken) in //src/libraries/System.Net.Sockets/src/System/Net/Sockets/Socket.Tasks.cs:line 1361 01-19 14:54:56.526 7273 7300 I DOTNET : at System.Net.Sockets.Socket.AwaitableSocketAsyncEventArgs.System.Threading.Tasks.Sources.IValueTaskSource.GetResult(Int16 token) in //src/libraries/System.Net.Sockets/src/System/Net/Sockets/Socket.Tasks.cs:line 1277 01-19 14:55:08.547 7273 7300 I DOTNET : Finished System.Net.Sockets.Tests, Version=11.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51 01-19 14:55:08.547 7273 7300 I DOTNET : Tests run: 2286, Errors: 0, Failures: 1, Skipped: 28. Time: 18.4498171s 01-19 14:55:08.548 7273 7292 I DOTNET : MonoRunner finished, return-code=1 01-19 14:55:08.681 1040 1040 I Zygote : Process 7273 exited due to signal 9 (Killed) INSTRUMENTATION_RESULT: return-code=1 [14:55:11] fail: Non-success instrumentation exit code: 1, expected: 0 XHarness exit code: 1 (TESTS_FAILED) Full Log |
20260119.4 |
build_android_arm64_Release_NativeAOT |
| System.Net.Sockets.Tests Work Item |
View Extract 01-20 03:01:52.759 18977 19087 I DOTNET : [FAIL] System.Net.Sockets.Tests.ConnectApm.MultiConnect_LingerState_Preserved(dnsConnect: True) 01-20 03:01:52.759 18977 19087 I DOTNET : System.Net.Sockets.SocketException : Connection reset by peer 01-20 03:01:52.759 18977 19087 I DOTNET : at System.Net.Sockets.Socket.AwaitableSocketAsyncEventArgs.ThrowException(SocketError error, CancellationToken cancellationToken) in //src/libraries/System.Net.Sockets/src/System/Net/Sockets/Socket.Tasks.cs:line 1361 01-20 03:01:52.759 18977 19087 I DOTNET : at System.Net.Sockets.Socket.AwaitableSocketAsyncEventArgs.System.Threading.Tasks.Sources.IValueTaskSource.GetResult(Int16 token) in //src/libraries/System.Net.Sockets/src/System/Net/Sockets/Socket.Tasks.cs:line 1277 01-20 03:02:05.568 1702 1721 V ActivityManager: Got obituary of 18977:net.dot.System.Net.Sockets.Tests 01-20 03:02:05.570 984 984 I Zygote : Process 18977 exited due to signal 9 (Killed) 01-20 03:02:05.571 1702 1828 I libprocessgroup: Successfully killed process cgroup uid 12907 pid 18977 in 207ms [03:02:10] fail: Non-success instrumentation exit code: 1, expected: 0 INSTRUMENTATION_RESULT: return-code=1 INSTRUMENTATION_CODE: 1 [03:02:10] info: Attempting to remove apk 'net.dot.System.Net.Sockets.Tests'.. Full Log |
20260120.1 |
build_android_arm64_Release_NativeAOT |
| System.Net.Sockets.Tests Work Item |
View Extract01-20 15:08:05.718 30874 30902 I DOTNET : [FAIL] System.Net.Sockets.Tests.ConnectCancellableTask.Connect_ExposeHandle_FirstAttemptSucceeds(connectMode: "dns") 01-20 15:08:05.718 30874 30902 I DOTNET : System.Net.Sockets.SocketException : Connection reset by peer 01-20 15:08:05.718 30874 30902 I DOTNET : at System.Net.Sockets.Socket.AwaitableSocketAsyncEventArgs.ThrowException(SocketError error, CancellationToken cancellationToken) in //src/libraries/System.Net.Sockets/src/System/Net/Sockets/Socket.Tasks.cs:line 1361 01-20 15:08:05.718 30874 30902 I DOTNET : at System.Net.Sockets.Socket.AwaitableSocketAsyncEventArgs.System.Threading.Tasks.Sources.IValueTaskSource.GetResult(Int16 token) in //src/libraries/System.Net.Sockets/src/System/Net/Sockets/Socket.Tasks.cs:line 1277 01-20 15:08:12.467 1789 2060 I libprocessgroup: Successfully killed process cgroup uid 16576 pid 30874 in 6ms 01-20 15:08:12.609 1087 1087 I Zygote : Process 30874 exited due to signal 9 (Killed) [15:08:13] fail: Non-success instrumentation exit code: 1, expected: 0 [15:08:13] info: Attempting to remove apk 'net.dot.System.Net.Sockets.Tests'.. XHarness exit code: 1 (TESTS_FAILED) INSTRUMENTATION_RESULT: return-code=1 INSTRUMENTATION_CODE: 1 Full Log |
20260120.8 |
build_android_arm64_Release_NativeAOT |
Error Message
{
"ErrorMessage": "System.Net.Sockets.SocketException : Connection reset by peer",
"BuildRetry": false,
"ExcludeConsoleLog": false
}
Report
Summary
| 24-Hour Hit Count |
7-Day Hit Count |
1-Month Count |
| 0 |
0 |
0 |
Report
Summary
| 24-Hour Hit Count |
7-Day Hit Count |
1-Month Count |
| 0 |
4 |
21 |