[FAIL] System.Net.Sockets.Tests.AcceptDualStackResetTests.Accept_DualStackListener_PeerImmediatelyResets_ListenerStaysHealthy(useAsync: True)
System.Net.Sockets.SocketException : An existing connection was forcibly closed by the remote host.
at System.Net.Sockets.Socket.AwaitableSocketAsyncEventArgs.ThrowException(SocketError error, CancellationToken cancellationToken)
at System.Net.Sockets.Socket.AwaitableSocketAsyncEventArgs.System.Threading.Tasks.Sources.IValueTaskSource<System.Net.Sockets.Socket>.GetResult(Int16 token)
at System.Runtime.CompilerServices.RuntimeAsyncTaskContinuation.GetResult[T](Task task, Byte& result)
at System.Net.Sockets.Tests.AcceptDualStackResetTests.Accept_DualStackListener_PeerImmediatelyResets_ListenerStaysHealthy(Boolean useAsync) in /_/src/libraries/System.Net.Sockets/tests/FunctionalTests/Accept.cs:line 527
{
"ErrorMessage": [
"System.Net.Sockets.Tests.AcceptDualStackResetTests.Accept_DualStackListener_PeerImmediatelyResets_ListenerStaysHealthy",
"System.Net.Sockets.SocketException : An existing connection was forcibly closed by the remote host."
],
"ErrorPattern": "",
"BuildRetry": false,
"ExcludeConsoleLog": false
}
Build Information
Build: https://dev.azure.com/dnceng-public/public/_build/results?buildId=1594526
Build error leg or test failing: windows-x64 Release TestReadyToRun_Libraries-System.Net.Sockets.Tests
KBE authoring guidance (ci-failure-scan)
Error Detailsis for readers. Paste the full exception, stack trace, or build error excerpt so the failure is understandable without opening the raw log.Error Message.ErrorMessageis a case-sensitive ordinalString.Containssubstring copied verbatim from the failing log.BuildRetrytotrueonly for a clear infrastructure retry case.ExcludeConsoleLogdisables Helix console-log scanning.Error Details
On the
runtime-coreclr crossgen2pipeline the Sockets testSystem.Net.Sockets.Tests.AcceptDualStackResetTests.Accept_DualStackListener_PeerImmediatelyResets_ListenerStaysHealthy(useAsync: True)fails: after a peer immediately resets the connection the accept awaitable surfaces aSocketException("An existing connection was forcibly closed by the remote host") through the runtime-async continuation instead of the listener staying healthy. Observed in source build 1594526 (finished 2026-09-13) and still reproduces in follow-up build 1595155 (finished 2026-09-14).Error Message
{ "ErrorMessage": [ "System.Net.Sockets.Tests.AcceptDualStackResetTests.Accept_DualStackListener_PeerImmediatelyResets_ListenerStaysHealthy", "System.Net.Sockets.SocketException : An existing connection was forcibly closed by the remote host." ], "ErrorPattern": "", "BuildRetry": false, "ExcludeConsoleLog": false }Agentic workflow metadata (ci-failure-scan)
Workflow artifact: ci-failure-scan
Artifact kind: kbe-verification
Verified match count: 2 hits in failure.log
Filed by
ci-failure-scan(detection only).ci-failure-fixwalks open[ci-scan]KBEs and either opens a small fix PR or comments here to loop in owners — it never disables the test.Report
Summary