Console log: 'System.Net.Http.Functional.Tests' from job 4476e53b-55d3-40a7-9f9a-b7cfd896f1d2 (windows.10.amd64.serverrs5.open.rt) using docker image mcr.microsoft.com/dotnet-buildtools/prereqs:nanoserver-1809-helix-amd64@sha256:ad046c7c714e67836938c230b7b67dc1c59c137f25ce9d236da925c351c79743 on a00DAKX running %HELIX_CORRELATION_PAYLOAD%\scripts\c58baf8ccb1a432eaaeaf925ad668c68\execute.cmd in C:\h\w\A85B0989\w\AD100919\e max 1200 seconds Output: [BEGIN EXECUTION] C:\Work>cd /d C:\helix\work\workitem\e C:\helix\work\workitem\e>C:\helix\work\correlation\scripts\c58baf8ccb1a432eaaeaf925ad668c68\execute.cmd C:\helix\work\workitem\e>set _NT_SYMBOL_PATH=C:\helix\work\correlation;C:\helix\work\correlation\PDB;C:\helix\work\correlation\shared\Microsoft.NETCore.App\11.0.0 C:\helix\work\workitem\e>C:\helix\work\correlation\dotnet C:\helix\work\correlation\sos\tools\net6.0\any\dotnet-sos.dll install --architecture x64 Installing SOS to C:\Users\ContainerAdministrator\.dotnet\sos Creating installation directory... Copying files from C:\helix\work\correlation\sos\tools\net6.0\any\win-x64 Copying files from C:\helix\work\correlation\sos\tools\net6.0\any\lib Execute '.load C:\Users\ContainerAdministrator\.dotnet\sos\sos.dll' to load SOS in your Windows debugger. SOS install succeeded C:\helix\work\workitem\e>taskkill.exe /f /im corerun.exe 'taskkill.exe' is not recognized as an internal or external command, operable program or batch file. C:\helix\work\workitem\e>set __TestArchitecture=x64 C:\helix\work\workitem\e>call RunTests.cmd --runtime-path C:\helix\work\correlation ========================= Begin custom configuration settings ============================== set __IsXUnitLogCheckerSupported=1 set XUNIT_HIDE_PASSING_OUTPUT_DIAGNOSTICS=1 ========================== End custom configuration settings =============================== ----- start Mon 08/10/2026 12:47:22.95 =============== To repro directly: ===================================================== pushd C:\helix\work\workitem\e\ "C:\helix\work\correlation\dotnet.exe" exec --runtimeconfig System.Net.Http.Functional.Tests.runtimeconfig.json --depsfile System.Net.Http.Functional.Tests.deps.json xunit.console.dll System.Net.Http.Functional.Tests.dll -xml testResults.xml -nologo -nocolor -trait category=OuterLoop -notrait category=IgnoreForCI -notrait category=failing popd =========================================================================================================== C:\helix\work\workitem\e>"C:\helix\work\correlation\dotnet.exe" exec --runtimeconfig System.Net.Http.Functional.Tests.runtimeconfig.json --depsfile System.Net.Http.Functional.Tests.deps.json xunit.console.dll System.Net.Http.Functional.Tests.dll -xml testResults.xml -nologo -nocolor -trait category=OuterLoop -notrait category=IgnoreForCI -notrait category=failing Discovering: System.Net.Http.Functional.Tests (method display = ClassAndMethod, method display options = None) Discovered: System.Net.Http.Functional.Tests (found 265 of 2043 test cases) Starting: System.Net.Http.Functional.Tests (parallel test collections = on [2 threads], stop on fail = off) System.Net.Http.Functional.Tests.SocketsHttpHandler_HttpProtocolTests.GetAsync_Chunked_VaryingSizeChunks_ReceivedCorrectly(maxChunkSize: 1, lineEnding: "\n", useCopyToAsync: False) [FAIL] System.AggregateException : One or more errors occurred. (Received an invalid chunk line ending. Chunked encoding lines must be terminated by CRLF. (InvalidResponse)) (Unable to write data to the transport connection: An existing connection was forcibly closed by the remote host..) ---- System.Net.Http.HttpIOException : Received an invalid chunk line ending. Chunked encoding lines must be terminated by CRLF. (InvalidResponse) ---- System.IO.IOException : Unable to write data to the transport connection: An existing connection was forcibly closed by the remote host.. -------- System.Net.Sockets.SocketException : An existing connection was forcibly closed by the remote host. Stack Trace: /_/src/libraries/Common/tests/System/Threading/Tasks/TaskTimeoutExtensions.cs(87,0): at System.Threading.Tasks.TaskTimeoutExtensions.WhenAllOrAnyFailed(Task[] tasks) /_/src/libraries/Common/tests/System/Net/Http/LoopbackServer.cs(123,0): at System.Net.Test.Common.LoopbackServer.<>c__DisplayClass15_0.b__0(LoopbackServer server) /_/src/libraries/Common/tests/System/Net/Http/LoopbackServer.cs(107,0): at System.Net.Test.Common.LoopbackServer.CreateServerAsync(Func`2 funcAsync, Options options) /_/src/libraries/Common/tests/System/Net/Http/HttpProtocolTests.cs(406,0): at System.Net.Http.Functional.Tests.HttpProtocolTests.GetAsync_Chunked_VaryingSizeChunks_ReceivedCorrectly(Int32 maxChunkSize, String lineEnding, Boolean useCopyToAsync) --- End of stack trace from previous location --- ----- Inner Stack Trace #1 (System.Net.Http.HttpIOException) ----- /_/src/libraries/System.Net.Http/src/System/Net/Http/SocketsHttpHandler/ChunkedEncodingReadStream.cs(326,0): at System.Net.Http.HttpConnection.ChunkedEncodingReadStream.ReadChunkFromConnectionBuffer(Int32 maxBytesToRead, CancellationTokenRegistration cancellationRegistration) /_/src/libraries/System.Net.Http/src/System/Net/Http/SocketsHttpHandler/ChunkedEncodingReadStream.cs(168,0): at System.Net.Http.HttpConnection.ChunkedEncodingReadStream.ReadAsyncCore(Memory`1 buffer, CancellationToken cancellationToken) /_/src/libraries/System.Net.Http/src/System/Net/Http/SocketsHttpHandler/ChunkedEncodingReadStream.cs(159,0): at System.Net.Http.HttpConnection.ChunkedEncodingReadStream.ReadAsync(Memory`1 buffer, CancellationToken cancellationToken) /_/src/libraries/Common/tests/System/Net/Http/HttpProtocolTests.cs(423,0): at System.Net.Http.Functional.Tests.HttpProtocolTests.<>c__DisplayClass19_0.b__0(Uri uri) /_/src/libraries/Common/tests/System/Threading/Tasks/TaskTimeoutExtensions.cs(119,0): at System.Threading.Tasks.TaskTimeoutExtensions.GetRealException(Task task) ----- Inner Stack Trace #2 (System.IO.IOException) ----- /_/src/libraries/Common/tests/System/Net/Http/HttpProtocolTests.cs(438,0): at System.Net.Http.Functional.Tests.HttpProtocolTests.<>c__DisplayClass19_0.b__2(Connection connection) /_/src/libraries/Common/tests/System/Net/Http/LoopbackServer.cs(170,0): at System.Net.Test.Common.LoopbackServer.AcceptConnectionAsync(Func`2 funcAsync) /_/src/libraries/Common/tests/System/Net/Http/LoopbackServer.cs(170,0): at System.Net.Test.Common.LoopbackServer.AcceptConnectionAsync(Func`2 funcAsync) /_/src/libraries/Common/tests/System/Net/Http/HttpProtocolTests.cs(436,0): at System.Net.Http.Functional.Tests.HttpProtocolTests.<>c__DisplayClass19_0.b__1(LoopbackServer server) /_/src/libraries/Common/tests/System/Threading/Tasks/TaskTimeoutExtensions.cs(119,0): at System.Threading.Tasks.TaskTimeoutExtensions.GetRealException(Task task) ----- Inner Stack Trace ----- /_/src/libraries/System.Net.Sockets/src/System/Net/Sockets/Socket.Tasks.cs(1374,0): at System.Net.Sockets.Socket.AwaitableSocketAsyncEventArgs.CreateException(SocketError error, Boolean forAsyncThrow) /_/src/libraries/Common/tests/System/Net/Http/HttpProtocolTests.cs(438,0): at System.Net.Http.Functional.Tests.HttpProtocolTests.<>c__DisplayClass19_0.b__2(Connection connection) /_/src/libraries/Common/tests/System/Net/Http/LoopbackServer.cs(170,0): at System.Net.Test.Common.LoopbackServer.AcceptConnectionAsync(Func`2 funcAsync) /_/src/libraries/System.Private.CoreLib/src/System/Threading/ThreadPoolBoundHandleOverlapped.cs(38,0): at System.Threading.ThreadPoolBoundHandleOverlapped.CompletionCallback(UInt32 errorCode, UInt32 numBytes, NativeOverlapped* nativeOverlapped) /_/src/libraries/System.Private.CoreLib/src/System/Threading/ThreadPoolWorkQueue.cs(1006,0): at System.Threading.ThreadPoolWorkQueue.Dispatch() /_/src/libraries/System.Private.CoreLib/src/System/Threading/PortableThreadPool.WorkerThread.cs(137,0): at System.Threading.PortableThreadPool.WorkerThread.WorkerDoWork(PortableThreadPool threadPoolInstance) /_/src/libraries/System.Private.CoreLib/src/System/Threading/PortableThreadPool.WorkerThread.cs(110,0): at System.Threading.PortableThreadPool.WorkerThread.WorkerThreadStart() /_/src/coreclr/System.Private.CoreLib/src/System/Threading/Thread.CoreCLR.cs(117,0): at System.Threading.Thread.StartCallback(Thread* pThread) --- End of stack trace from previous location --- System.Net.Http.Functional.Tests.SocketsHttpHandler_HttpProtocolTests.GetAsync_Chunked_VaryingSizeChunks_ReceivedCorrectly(maxChunkSize: 1, lineEnding: "\n", useCopyToAsync: True) [FAIL] System.AggregateException : One or more errors occurred. (Received an invalid chunk line ending. Chunked encoding lines must be terminated by CRLF. (InvalidResponse)) (Unable to write data to the transport connection: An existing connection was forcibly closed by the remote host..) ---- System.Net.Http.HttpIOException : Received an invalid chunk line ending. Chunked encoding lines must be terminated by CRLF. (InvalidResponse) ---- System.IO.IOException : Unable to write data to the transport connection: An existing connection was forcibly closed by the remote host.. -------- System.Net.Sockets.SocketException : An existing connection was forcibly closed by the remote host. Stack Trace: /_/src/libraries/Common/tests/System/Threading/Tasks/TaskTimeoutExtensions.cs(87,0): at System.Threading.Tasks.TaskTimeoutExtensions.WhenAllOrAnyFailed(Task[] tasks) /_/src/libraries/Common/tests/System/Net/Http/LoopbackServer.cs(123,0): at System.Net.Test.Common.LoopbackServer.<>c__DisplayClass15_0.b__0(LoopbackServer server) /_/src/libraries/Common/tests/System/Net/Http/LoopbackServer.cs(107,0): at System.Net.Test.Common.LoopbackServer.CreateServerAsync(Func`2 funcAsync, Options options) /_/src/libraries/Common/tests/System/Net/Http/HttpProtocolTests.cs(406,0): at System.Net.Http.Functional.Tests.HttpProtocolTests.GetAsync_Chunked_VaryingSizeChunks_ReceivedCorrectly(Int32 maxChunkSize, String lineEnding, Boolean useCopyToAsync) --- End of stack trace from previous location --- ----- Inner Stack Trace #1 (System.Net.Http.HttpIOException) ----- /_/src/libraries/System.Net.Http/src/System/Net/Http/SocketsHttpHandler/ChunkedEncodingReadStream.cs(326,0): at System.Net.Http.HttpConnection.ChunkedEncodingReadStream.ReadChunkFromConnectionBuffer(Int32 maxBytesToRead, CancellationTokenRegistration cancellationRegistration) /_/src/libraries/System.Net.Http/src/System/Net/Http/SocketsHttpHandler/ChunkedEncodingReadStream.cs(263,0): at System.Net.Http.HttpConnection.ChunkedEncodingReadStream.CopyToAsyncCore(Stream destination, CancellationToken cancellationToken) /_/src/libraries/System.Net.Http/src/System/Net/Http/SocketsHttpHandler/ChunkedEncodingReadStream.cs(248,0): at System.Net.Http.HttpConnection.ChunkedEncodingReadStream.CopyToAsync(Stream destination, Int32 bufferSize, CancellationToken cancellationToken) /_/src/libraries/System.Private.CoreLib/src/System/IO/Stream.cs(81,0): at System.IO.Stream.CopyToAsync(Stream destination, Int32 bufferSize) /_/src/libraries/System.Private.CoreLib/src/System/IO/Stream.cs(79,0): at System.IO.Stream.CopyToAsync(Stream destination) /_/src/libraries/Common/tests/System/Net/Http/HttpProtocolTests.cs(416,0): at System.Net.Http.Functional.Tests.HttpProtocolTests.<>c__DisplayClass19_0.b__0(Uri uri) /_/src/libraries/Common/tests/System/Threading/Tasks/TaskTimeoutExtensions.cs(119,0): at System.Threading.Tasks.TaskTimeoutExtensions.GetRealException(Task task) ----- Inner Stack Trace #2 (System.IO.IOException) ----- /_/src/libraries/System.Net.Sockets/src/System/Net/Sockets/NetworkStream.cs(644,0): at System.Net.Sockets.NetworkStream.WriteAsync(Byte[] buffer, Int32 offset, Int32 count, CancellationToken cancellationToken) /_/src/libraries/Common/tests/System/Net/Http/LoopbackServer.cs(746,0): at System.Net.Test.Common.LoopbackServer.Connection.WriteStringAsync(String s) /_/src/libraries/Common/tests/System/Net/Http/HttpProtocolTests.cs(447,0): at System.Net.Http.Functional.Tests.HttpProtocolTests.<>c__DisplayClass19_0.b__2(Connection connection) /_/src/libraries/Common/tests/System/Net/Http/LoopbackServer.cs(170,0): at System.Net.Test.Common.LoopbackServer.AcceptConnectionAsync(Func`2 funcAsync) /_/src/libraries/Common/tests/System/Net/Http/LoopbackServer.cs(170,0): at System.Net.Test.Common.LoopbackServer.AcceptConnectionAsync(Func`2 funcAsync) /_/src/libraries/Common/tests/System/Net/Http/HttpProtocolTests.cs(436,0): at System.Net.Http.Functional.Tests.HttpProtocolTests.<>c__DisplayClass19_0.b__1(LoopbackServer server) /_/src/libraries/Common/tests/System/Threading/Tasks/TaskTimeoutExtensions.cs(119,0): at System.Threading.Tasks.TaskTimeoutExtensions.GetRealException(Task task) ----- Inner Stack Trace ----- /_/src/libraries/System.Net.Sockets/src/System/Net/Sockets/Socket.Tasks.cs(1374,0): at System.Net.Sockets.Socket.AwaitableSocketAsyncEventArgs.CreateException(SocketError error, Boolean forAsyncThrow) /_/src/libraries/System.Net.Sockets/src/System/Net/Sockets/NetworkStream.cs(635,0): at System.Net.Sockets.NetworkStream.WriteAsync(Byte[] buffer, Int32 offset, Int32 count, CancellationToken cancellationToken) /_/src/libraries/Common/tests/System/Net/Http/LoopbackServer.cs(746,0): at System.Net.Test.Common.LoopbackServer.Connection.WriteStringAsync(String s) /_/src/libraries/Common/tests/System/Net/Http/HttpProtocolTests.cs(447,0): at System.Net.Http.Functional.Tests.HttpProtocolTests.<>c__DisplayClass19_0.b__2(Connection connection) /_/src/libraries/Common/tests/System/Net/Http/LoopbackServer.cs(170,0): at System.Net.Test.Common.LoopbackServer.AcceptConnectionAsync(Func`2 funcAsync) /_/src/libraries/System.Private.CoreLib/src/System/Threading/ThreadPoolBoundHandleOverlapped.cs(38,0): at System.Threading.ThreadPoolBoundHandleOverlapped.CompletionCallback(UInt32 errorCode, UInt32 numBytes, NativeOverlapped* nativeOverlapped) /_/src/libraries/System.Private.CoreLib/src/System/Threading/ThreadPoolWorkQueue.cs(1006,0): at System.Threading.ThreadPoolWorkQueue.Dispatch() /_/src/libraries/System.Private.CoreLib/src/System/Threading/PortableThreadPool.WorkerThread.cs(137,0): at System.Threading.PortableThreadPool.WorkerThread.WorkerDoWork(PortableThreadPool threadPoolInstance) /_/src/libraries/System.Private.CoreLib/src/System/Threading/PortableThreadPool.WorkerThread.cs(110,0): at System.Threading.PortableThreadPool.WorkerThread.WorkerThreadStart() /_/src/coreclr/System.Private.CoreLib/src/System/Threading/Thread.CoreCLR.cs(117,0): at System.Threading.Thread.StartCallback(Thread* pThread) --- End of stack trace from previous location --- System.Net.Http.Functional.Tests.SocketsHttpHandler_HttpProtocolTests.GetAsync_Chunked_VaryingSizeChunks_ReceivedCorrectly(maxChunkSize: 10000, lineEnding: "\n", useCopyToAsync: False) [FAIL] System.Net.Http.HttpIOException : Received an invalid chunk line ending. Chunked encoding lines must be terminated by CRLF. (InvalidResponse) Stack Trace: /_/src/libraries/System.Net.Http/src/System/Net/Http/SocketsHttpHandler/ChunkedEncodingReadStream.cs(326,0): at System.Net.Http.HttpConnection.ChunkedEncodingReadStream.ReadChunkFromConnectionBuffer(Int32 maxBytesToRead, CancellationTokenRegistration cancellationRegistration) /_/src/libraries/System.Net.Http/src/System/Net/Http/SocketsHttpHandler/ChunkedEncodingReadStream.cs(168,0): at System.Net.Http.HttpConnection.ChunkedEncodingReadStream.ReadAsyncCore(Memory`1 buffer, CancellationToken cancellationToken) /_/src/libraries/System.Net.Http/src/System/Net/Http/SocketsHttpHandler/ChunkedEncodingReadStream.cs(159,0): at System.Net.Http.HttpConnection.ChunkedEncodingReadStream.ReadAsync(Memory`1 buffer, CancellationToken cancellationToken) /_/src/libraries/Common/tests/System/Net/Http/HttpProtocolTests.cs(423,0): at System.Net.Http.Functional.Tests.HttpProtocolTests.<>c__DisplayClass19_0.b__0(Uri uri) /_/src/libraries/Common/tests/System/Threading/Tasks/TaskTimeoutExtensions.cs(119,0): at System.Threading.Tasks.TaskTimeoutExtensions.GetRealException(Task task) --- End of stack trace from previous location --- at System.Threading.Tasks.TaskTimeoutExtensions.WhenAllOrAnyFailed(Task[] tasks) /_/src/libraries/Common/tests/System/Net/Http/LoopbackServer.cs(123,0): at System.Net.Test.Common.LoopbackServer.<>c__DisplayClass15_0.b__0(LoopbackServer server) /_/src/libraries/Common/tests/System/Net/Http/LoopbackServer.cs(107,0): at System.Net.Test.Common.LoopbackServer.CreateServerAsync(Func`2 funcAsync, Options options) /_/src/libraries/Common/tests/System/Net/Http/HttpProtocolTests.cs(406,0): at System.Net.Http.Functional.Tests.HttpProtocolTests.GetAsync_Chunked_VaryingSizeChunks_ReceivedCorrectly(Int32 maxChunkSize, String lineEnding, Boolean useCopyToAsync) --- End of stack trace from previous location --- System.Net.Http.Functional.Tests.SocketsHttpHandler_HttpProtocolTests.GetAsync_Chunked_VaryingSizeChunks_ReceivedCorrectly(maxChunkSize: 10000, lineEnding: "\n", useCopyToAsync: True) [FAIL] System.Net.Http.HttpIOException : Received an invalid chunk line ending. Chunked encoding lines must be terminated by CRLF. (InvalidResponse) Stack Trace: /_/src/libraries/System.Net.Http/src/System/Net/Http/SocketsHttpHandler/ChunkedEncodingReadStream.cs(326,0): at System.Net.Http.HttpConnection.ChunkedEncodingReadStream.ReadChunkFromConnectionBuffer(Int32 maxBytesToRead, CancellationTokenRegistration cancellationRegistration) /_/src/libraries/System.Net.Http/src/System/Net/Http/SocketsHttpHandler/ChunkedEncodingReadStream.cs(263,0): at System.Net.Http.HttpConnection.ChunkedEncodingReadStream.CopyToAsyncCore(Stream destination, CancellationToken cancellationToken) /_/src/libraries/System.Net.Http/src/System/Net/Http/SocketsHttpHandler/ChunkedEncodingReadStream.cs(248,0): at System.Net.Http.HttpConnection.ChunkedEncodingReadStream.CopyToAsync(Stream destination, Int32 bufferSize, CancellationToken cancellationToken) /_/src/libraries/System.Private.CoreLib/src/System/IO/Stream.cs(81,0): at System.IO.Stream.CopyToAsync(Stream destination, Int32 bufferSize) /_/src/libraries/System.Private.CoreLib/src/System/IO/Stream.cs(79,0): at System.IO.Stream.CopyToAsync(Stream destination) /_/src/libraries/Common/tests/System/Net/Http/HttpProtocolTests.cs(416,0): at System.Net.Http.Functional.Tests.HttpProtocolTests.<>c__DisplayClass19_0.b__0(Uri uri) /_/src/libraries/Common/tests/System/Threading/Tasks/TaskTimeoutExtensions.cs(119,0): at System.Threading.Tasks.TaskTimeoutExtensions.GetRealException(Task task) --- End of stack trace from previous location --- at System.Threading.Tasks.TaskTimeoutExtensions.WhenAllOrAnyFailed(Task[] tasks) /_/src/libraries/Common/tests/System/Net/Http/LoopbackServer.cs(123,0): at System.Net.Test.Common.LoopbackServer.<>c__DisplayClass15_0.b__0(LoopbackServer server) /_/src/libraries/Common/tests/System/Net/Http/LoopbackServer.cs(107,0): at System.Net.Test.Common.LoopbackServer.CreateServerAsync(Func`2 funcAsync, Options options) /_/src/libraries/Common/tests/System/Net/Http/HttpProtocolTests.cs(406,0): at System.Net.Http.Functional.Tests.HttpProtocolTests.GetAsync_Chunked_VaryingSizeChunks_ReceivedCorrectly(Int32 maxChunkSize, String lineEnding, Boolean useCopyToAsync) --- End of stack trace from previous location --- System.Net.Http.Functional.Tests.SyncHttpHandler_HttpProtocolTests_Dribble.GetAsync_Chunked_VaryingSizeChunks_ReceivedCorrectly(maxChunkSize: 1, lineEnding: "\n", useCopyToAsync: False) [FAIL] System.AggregateException : One or more errors occurred. (Received an invalid chunk line ending. Chunked encoding lines must be terminated by CRLF. (InvalidResponse)) (Unable to write data to the transport connection: An existing connection was forcibly closed by the remote host..) ---- System.Net.Http.HttpIOException : Received an invalid chunk line ending. Chunked encoding lines must be terminated by CRLF. (InvalidResponse) ---- System.IO.IOException : Unable to write data to the transport connection: An existing connection was forcibly closed by the remote host.. -------- System.Net.Sockets.SocketException : An existing connection was forcibly closed by the remote host. Stack Trace: /_/src/libraries/Common/tests/System/Threading/Tasks/TaskTimeoutExtensions.cs(87,0): at System.Threading.Tasks.TaskTimeoutExtensions.WhenAllOrAnyFailed(Task[] tasks) /_/src/libraries/Common/tests/System/Net/Http/LoopbackServer.cs(123,0): at System.Net.Test.Common.LoopbackServer.<>c__DisplayClass15_0.b__0(LoopbackServer server) /_/src/libraries/Common/tests/System/Net/Http/LoopbackServer.cs(107,0): at System.Net.Test.Common.LoopbackServer.CreateServerAsync(Func`2 funcAsync, Options options) /_/src/libraries/Common/tests/System/Net/Http/HttpProtocolTests.cs(406,0): at System.Net.Http.Functional.Tests.HttpProtocolTests.GetAsync_Chunked_VaryingSizeChunks_ReceivedCorrectly(Int32 maxChunkSize, String lineEnding, Boolean useCopyToAsync) --- End of stack trace from previous location --- ----- Inner Stack Trace #1 (System.Net.Http.HttpIOException) ----- /_/src/libraries/System.Net.Http/src/System/Net/Http/SocketsHttpHandler/ChunkedEncodingReadStream.cs(326,0): at System.Net.Http.HttpConnection.ChunkedEncodingReadStream.ReadChunkFromConnectionBuffer(Int32 maxBytesToRead, CancellationTokenRegistration cancellationRegistration) /_/src/libraries/System.Net.Http/src/System/Net/Http/SocketsHttpHandler/ChunkedEncodingReadStream.cs(168,0): at System.Net.Http.HttpConnection.ChunkedEncodingReadStream.ReadAsyncCore(Memory`1 buffer, CancellationToken cancellationToken) /_/src/libraries/System.Net.Http/src/System/Net/Http/SocketsHttpHandler/ChunkedEncodingReadStream.cs(159,0): at System.Net.Http.HttpConnection.ChunkedEncodingReadStream.ReadAsync(Memory`1 buffer, CancellationToken cancellationToken) /_/src/libraries/Common/tests/System/Net/Http/HttpProtocolTests.cs(423,0): at System.Net.Http.Functional.Tests.HttpProtocolTests.<>c__DisplayClass19_0.b__0(Uri uri) /_/src/libraries/Common/tests/System/Threading/Tasks/TaskTimeoutExtensions.cs(119,0): at System.Threading.Tasks.TaskTimeoutExtensions.GetRealException(Task task) ----- Inner Stack Trace #2 (System.IO.IOException) ----- /_/src/libraries/Common/tests/System/Net/Http/HttpProtocolTests.cs(438,0): at System.Net.Http.Functional.Tests.HttpProtocolTests.<>c__DisplayClass19_0.b__2(Connection connection) /_/src/libraries/Common/tests/System/Net/Http/LoopbackServer.cs(170,0): at System.Net.Test.Common.LoopbackServer.AcceptConnectionAsync(Func`2 funcAsync) /_/src/libraries/Common/tests/System/Net/Http/LoopbackServer.cs(170,0): at System.Net.Test.Common.LoopbackServer.AcceptConnectionAsync(Func`2 funcAsync) /_/src/libraries/Common/tests/System/Net/Http/HttpProtocolTests.cs(436,0): at System.Net.Http.Functional.Tests.HttpProtocolTests.<>c__DisplayClass19_0.b__1(LoopbackServer server) /_/src/libraries/Common/tests/System/Threading/Tasks/TaskTimeoutExtensions.cs(119,0): at System.Threading.Tasks.TaskTimeoutExtensions.GetRealException(Task task) ----- Inner Stack Trace ----- /_/src/libraries/System.Net.Sockets/src/System/Net/Sockets/Socket.Tasks.cs(1374,0): at System.Net.Sockets.Socket.AwaitableSocketAsyncEventArgs.CreateException(SocketError error, Boolean forAsyncThrow) /_/src/libraries/Common/tests/System/Net/Http/HttpProtocolTests.cs(438,0): at System.Net.Http.Functional.Tests.HttpProtocolTests.<>c__DisplayClass19_0.b__2(Connection connection) /_/src/libraries/Common/tests/System/Net/Http/LoopbackServer.cs(170,0): at System.Net.Test.Common.LoopbackServer.AcceptConnectionAsync(Func`2 funcAsync) /_/src/libraries/System.Private.CoreLib/src/System/Threading/ThreadPoolBoundHandleOverlapped.cs(38,0): at System.Threading.ThreadPoolBoundHandleOverlapped.CompletionCallback(UInt32 errorCode, UInt32 numBytes, NativeOverlapped* nativeOverlapped) /_/src/libraries/System.Private.CoreLib/src/System/Threading/ThreadPoolWorkQueue.cs(1006,0): at System.Threading.ThreadPoolWorkQueue.Dispatch() /_/src/libraries/System.Private.CoreLib/src/System/Threading/PortableThreadPool.WorkerThread.cs(137,0): at System.Threading.PortableThreadPool.WorkerThread.WorkerDoWork(PortableThreadPool threadPoolInstance) /_/src/libraries/System.Private.CoreLib/src/System/Threading/PortableThreadPool.WorkerThread.cs(110,0): at System.Threading.PortableThreadPool.WorkerThread.WorkerThreadStart() /_/src/coreclr/System.Private.CoreLib/src/System/Threading/Thread.CoreCLR.cs(117,0): at System.Threading.Thread.StartCallback(Thread* pThread) --- End of stack trace from previous location --- System.Net.Http.Functional.Tests.SyncHttpHandler_HttpProtocolTests_Dribble.GetAsync_Chunked_VaryingSizeChunks_ReceivedCorrectly(maxChunkSize: 1, lineEnding: "\n", useCopyToAsync: True) [FAIL] System.AggregateException : One or more errors occurred. (Received an invalid chunk line ending. Chunked encoding lines must be terminated by CRLF. (InvalidResponse)) (Unable to write data to the transport connection: An existing connection was forcibly closed by the remote host..) ---- System.Net.Http.HttpIOException : Received an invalid chunk line ending. Chunked encoding lines must be terminated by CRLF. (InvalidResponse) ---- System.IO.IOException : Unable to write data to the transport connection: An existing connection was forcibly closed by the remote host.. -------- System.Net.Sockets.SocketException : An existing connection was forcibly closed by the remote host. Stack Trace: /_/src/libraries/Common/tests/System/Threading/Tasks/TaskTimeoutExtensions.cs(87,0): at System.Threading.Tasks.TaskTimeoutExtensions.WhenAllOrAnyFailed(Task[] tasks) /_/src/libraries/Common/tests/System/Net/Http/LoopbackServer.cs(123,0): at System.Net.Test.Common.LoopbackServer.<>c__DisplayClass15_0.b__0(LoopbackServer server) /_/src/libraries/Common/tests/System/Net/Http/LoopbackServer.cs(107,0): at System.Net.Test.Common.LoopbackServer.CreateServerAsync(Func`2 funcAsync, Options options) /_/src/libraries/Common/tests/System/Net/Http/HttpProtocolTests.cs(406,0): at System.Net.Http.Functional.Tests.HttpProtocolTests.GetAsync_Chunked_VaryingSizeChunks_ReceivedCorrectly(Int32 maxChunkSize, String lineEnding, Boolean useCopyToAsync) --- End of stack trace from previous location --- ----- Inner Stack Trace #1 (System.Net.Http.HttpIOException) ----- /_/src/libraries/System.Net.Http/src/System/Net/Http/SocketsHttpHandler/ChunkedEncodingReadStream.cs(326,0): at System.Net.Http.HttpConnection.ChunkedEncodingReadStream.ReadChunkFromConnectionBuffer(Int32 maxBytesToRead, CancellationTokenRegistration cancellationRegistration) /_/src/libraries/System.Net.Http/src/System/Net/Http/SocketsHttpHandler/ChunkedEncodingReadStream.cs(263,0): at System.Net.Http.HttpConnection.ChunkedEncodingReadStream.CopyToAsyncCore(Stream destination, CancellationToken cancellationToken) /_/src/libraries/System.Net.Http/src/System/Net/Http/SocketsHttpHandler/ChunkedEncodingReadStream.cs(248,0): at System.Net.Http.HttpConnection.ChunkedEncodingReadStream.CopyToAsync(Stream destination, Int32 bufferSize, CancellationToken cancellationToken) /_/src/libraries/System.Private.CoreLib/src/System/IO/Stream.cs(81,0): at System.IO.Stream.CopyToAsync(Stream destination, Int32 bufferSize) /_/src/libraries/System.Private.CoreLib/src/System/IO/Stream.cs(79,0): at System.IO.Stream.CopyToAsync(Stream destination) /_/src/libraries/Common/tests/System/Net/Http/HttpProtocolTests.cs(416,0): at System.Net.Http.Functional.Tests.HttpProtocolTests.<>c__DisplayClass19_0.b__0(Uri uri) /_/src/libraries/Common/tests/System/Threading/Tasks/TaskTimeoutExtensions.cs(119,0): at System.Threading.Tasks.TaskTimeoutExtensions.GetRealException(Task task) ----- Inner Stack Trace #2 (System.IO.IOException) ----- /_/src/libraries/System.Net.Sockets/src/System/Net/Sockets/NetworkStream.cs(644,0): at System.Net.Sockets.NetworkStream.WriteAsync(Byte[] buffer, Int32 offset, Int32 count, CancellationToken cancellationToken) /_/src/libraries/Common/tests/System/Net/Http/LoopbackServer.cs(746,0): at System.Net.Test.Common.LoopbackServer.Connection.WriteStringAsync(String s) /_/src/libraries/Common/tests/System/Net/Http/HttpProtocolTests.cs(445,0): at System.Net.Http.Functional.Tests.HttpProtocolTests.<>c__DisplayClass19_0.b__2(Connection connection) /_/src/libraries/Common/tests/System/Net/Http/LoopbackServer.cs(170,0): at System.Net.Test.Common.LoopbackServer.AcceptConnectionAsync(Func`2 funcAsync) /_/src/libraries/Common/tests/System/Net/Http/LoopbackServer.cs(170,0): at System.Net.Test.Common.LoopbackServer.AcceptConnectionAsync(Func`2 funcAsync) /_/src/libraries/Common/tests/System/Net/Http/HttpProtocolTests.cs(436,0): at System.Net.Http.Functional.Tests.HttpProtocolTests.<>c__DisplayClass19_0.b__1(LoopbackServer server) /_/src/libraries/Common/tests/System/Threading/Tasks/TaskTimeoutExtensions.cs(119,0): at System.Threading.Tasks.TaskTimeoutExtensions.GetRealException(Task task) ----- Inner Stack Trace ----- /_/src/libraries/System.Net.Sockets/src/System/Net/Sockets/Socket.Tasks.cs(1374,0): at System.Net.Sockets.Socket.AwaitableSocketAsyncEventArgs.CreateException(SocketError error, Boolean forAsyncThrow) /_/src/libraries/System.Net.Sockets/src/System/Net/Sockets/NetworkStream.cs(635,0): at System.Net.Sockets.NetworkStream.WriteAsync(Byte[] buffer, Int32 offset, Int32 count, CancellationToken cancellationToken) /_/src/libraries/Common/tests/System/Net/Http/LoopbackServer.cs(746,0): at System.Net.Test.Common.LoopbackServer.Connection.WriteStringAsync(String s) /_/src/libraries/Common/tests/System/Net/Http/HttpProtocolTests.cs(445,0): at System.Net.Http.Functional.Tests.HttpProtocolTests.<>c__DisplayClass19_0.b__2(Connection connection) /_/src/libraries/System.Private.CoreLib/src/System/Threading/Tasks/Task.cs(3636,0): at System.Threading.Tasks.Task.RunContinuations(Object continuationObject) /_/src/libraries/System.Private.CoreLib/src/System/Threading/Tasks/Task_T.cs(385,0): at System.Threading.Tasks.Task`1.TrySetResult(TResult result) /_/src/libraries/System.Private.CoreLib/src/System/Threading/Tasks/ValueTask.cs(676,0): at System.Threading.Tasks.ValueTask`1.ValueTaskSourceAsTask.<>c.<.cctor>b__4_0(Object state) /_/src/libraries/System.Private.CoreLib/src/System/Threading/ThreadPoolBoundHandleOverlapped.cs(38,0): at System.Threading.ThreadPoolBoundHandleOverlapped.CompletionCallback(UInt32 errorCode, UInt32 numBytes, NativeOverlapped* nativeOverlapped) /_/src/libraries/System.Private.CoreLib/src/System/Threading/ThreadPoolWorkQueue.cs(1006,0): at System.Threading.ThreadPoolWorkQueue.Dispatch() /_/src/libraries/System.Private.CoreLib/src/System/Threading/PortableThreadPool.WorkerThread.cs(137,0): at System.Threading.PortableThreadPool.WorkerThread.WorkerDoWork(PortableThreadPool threadPoolInstance) /_/src/libraries/System.Private.CoreLib/src/System/Threading/PortableThreadPool.WorkerThread.cs(110,0): at System.Threading.PortableThreadPool.WorkerThread.WorkerThreadStart() /_/src/coreclr/System.Private.CoreLib/src/System/Threading/Thread.CoreCLR.cs(117,0): at System.Threading.Thread.StartCallback(Thread* pThread) --- End of stack trace from previous location --- System.Net.Http.Functional.Tests.SyncHttpHandler_HttpProtocolTests_Dribble.GetAsync_Chunked_VaryingSizeChunks_ReceivedCorrectly(maxChunkSize: 10000, lineEnding: "\n", useCopyToAsync: False) [FAIL] System.AggregateException : One or more errors occurred. (Received an invalid chunk line ending. Chunked encoding lines must be terminated by CRLF. (InvalidResponse)) (Unable to write data to the transport connection: An existing connection was forcibly closed by the remote host..) ---- System.Net.Http.HttpIOException : Received an invalid chunk line ending. Chunked encoding lines must be terminated by CRLF. (InvalidResponse) ---- System.IO.IOException : Unable to write data to the transport connection: An existing connection was forcibly closed by the remote host.. -------- System.Net.Sockets.SocketException : An existing connection was forcibly closed by the remote host. Stack Trace: /_/src/libraries/Common/tests/System/Threading/Tasks/TaskTimeoutExtensions.cs(87,0): at System.Threading.Tasks.TaskTimeoutExtensions.WhenAllOrAnyFailed(Task[] tasks) /_/src/libraries/Common/tests/System/Net/Http/LoopbackServer.cs(123,0): at System.Net.Test.Common.LoopbackServer.<>c__DisplayClass15_0.b__0(LoopbackServer server) /_/src/libraries/Common/tests/System/Net/Http/LoopbackServer.cs(107,0): at System.Net.Test.Common.LoopbackServer.CreateServerAsync(Func`2 funcAsync, Options options) /_/src/libraries/Common/tests/System/Net/Http/HttpProtocolTests.cs(406,0): at System.Net.Http.Functional.Tests.HttpProtocolTests.GetAsync_Chunked_VaryingSizeChunks_ReceivedCorrectly(Int32 maxChunkSize, String lineEnding, Boolean useCopyToAsync) --- End of stack trace from previous location --- ----- Inner Stack Trace #1 (System.Net.Http.HttpIOException) ----- /_/src/libraries/System.Net.Http/src/System/Net/Http/SocketsHttpHandler/ChunkedEncodingReadStream.cs(326,0): at System.Net.Http.HttpConnection.ChunkedEncodingReadStream.ReadChunkFromConnectionBuffer(Int32 maxBytesToRead, CancellationTokenRegistration cancellationRegistration) /_/src/libraries/System.Net.Http/src/System/Net/Http/SocketsHttpHandler/ChunkedEncodingReadStream.cs(168,0): at System.Net.Http.HttpConnection.ChunkedEncodingReadStream.ReadAsyncCore(Memory`1 buffer, CancellationToken cancellationToken) /_/src/libraries/System.Net.Http/src/System/Net/Http/SocketsHttpHandler/ChunkedEncodingReadStream.cs(159,0): at System.Net.Http.HttpConnection.ChunkedEncodingReadStream.ReadAsync(Memory`1 buffer, CancellationToken cancellationToken) /_/src/libraries/Common/tests/System/Net/Http/HttpProtocolTests.cs(423,0): at System.Net.Http.Functional.Tests.HttpProtocolTests.<>c__DisplayClass19_0.b__0(Uri uri) /_/src/libraries/Common/tests/System/Threading/Tasks/TaskTimeoutExtensions.cs(119,0): at System.Threading.Tasks.TaskTimeoutExtensions.GetRealException(Task task) ----- Inner Stack Trace #2 (System.IO.IOException) ----- /_/src/libraries/System.Net.Sockets/src/System/Net/Sockets/NetworkStream.cs(644,0): at System.Net.Sockets.NetworkStream.WriteAsync(Byte[] buffer, Int32 offset, Int32 count, CancellationToken cancellationToken) /_/src/libraries/Common/tests/System/Net/Http/LoopbackServer.cs(746,0): at System.Net.Test.Common.LoopbackServer.Connection.WriteStringAsync(String s) /_/src/libraries/Common/tests/System/Net/Http/HttpProtocolTests.cs(445,0): at System.Net.Http.Functional.Tests.HttpProtocolTests.<>c__DisplayClass19_0.b__2(Connection connection) /_/src/libraries/Common/tests/System/Net/Http/LoopbackServer.cs(168,0): at System.Net.Test.Common.LoopbackServer.AcceptConnectionAsync(Func`2 funcAsync) /_/src/libraries/Common/tests/System/Net/Http/LoopbackServer.cs(170,0): at System.Net.Test.Common.LoopbackServer.AcceptConnectionAsync(Func`2 funcAsync) /_/src/libraries/Common/tests/System/Net/Http/HttpProtocolTests.cs(436,0): at System.Net.Http.Functional.Tests.HttpProtocolTests.<>c__DisplayClass19_0.b__1(LoopbackServer server) /_/src/libraries/Common/tests/System/Threading/Tasks/TaskTimeoutExtensions.cs(119,0): at System.Threading.Tasks.TaskTimeoutExtensions.GetRealException(Task task) ----- Inner Stack Trace ----- /_/src/libraries/System.Net.Sockets/src/System/Net/Sockets/Socket.Tasks.cs(1374,0): at System.Net.Sockets.Socket.AwaitableSocketAsyncEventArgs.CreateException(SocketError error, Boolean forAsyncThrow) /_/src/libraries/System.Net.Sockets/src/System/Net/Sockets/NetworkStream.cs(635,0): at System.Net.Sockets.NetworkStream.WriteAsync(Byte[] buffer, Int32 offset, Int32 count, CancellationToken cancellationToken) /_/src/libraries/Common/tests/System/Net/Http/LoopbackServer.cs(746,0): at System.Net.Test.Common.LoopbackServer.Connection.WriteStringAsync(String s) /_/src/libraries/Common/tests/System/Net/Http/HttpProtocolTests.cs(445,0): at System.Net.Http.Functional.Tests.HttpProtocolTests.<>c__DisplayClass19_0.b__2(Connection connection) /_/src/libraries/System.Private.CoreLib/src/System/Threading/Tasks/Task.cs(3636,0): at System.Threading.Tasks.Task.RunContinuations(Object continuationObject) /_/src/libraries/System.Private.CoreLib/src/System/Threading/Tasks/Task_T.cs(385,0): at System.Threading.Tasks.Task`1.TrySetResult(TResult result) /_/src/libraries/System.Private.CoreLib/src/System/Threading/Tasks/ValueTask.cs(676,0): at System.Threading.Tasks.ValueTask`1.ValueTaskSourceAsTask.<>c.<.cctor>b__4_0(Object state) /_/src/libraries/System.Private.CoreLib/src/System/Threading/ThreadPoolBoundHandleOverlapped.cs(38,0): at System.Threading.ThreadPoolBoundHandleOverlapped.CompletionCallback(UInt32 errorCode, UInt32 numBytes, NativeOverlapped* nativeOverlapped) /_/src/libraries/System.Private.CoreLib/src/System/Threading/ThreadPoolWorkQueue.cs(1006,0): at System.Threading.ThreadPoolWorkQueue.Dispatch() /_/src/libraries/System.Private.CoreLib/src/System/Threading/PortableThreadPool.WorkerThread.cs(137,0): at System.Threading.PortableThreadPool.WorkerThread.WorkerDoWork(PortableThreadPool threadPoolInstance) /_/src/libraries/System.Private.CoreLib/src/System/Threading/PortableThreadPool.WorkerThread.cs(110,0): at System.Threading.PortableThreadPool.WorkerThread.WorkerThreadStart() /_/src/coreclr/System.Private.CoreLib/src/System/Threading/Thread.CoreCLR.cs(117,0): at System.Threading.Thread.StartCallback(Thread* pThread) --- End of stack trace from previous location --- System.Net.Http.Functional.Tests.SyncHttpHandler_HttpProtocolTests_Dribble.GetAsync_Chunked_VaryingSizeChunks_ReceivedCorrectly(maxChunkSize: 10000, lineEnding: "\n", useCopyToAsync: True) [FAIL] System.AggregateException : One or more errors occurred. (Received an invalid chunk line ending. Chunked encoding lines must be terminated by CRLF. (InvalidResponse)) (Unable to write data to the transport connection: An existing connection was forcibly closed by the remote host..) ---- System.Net.Http.HttpIOException : Received an invalid chunk line ending. Chunked encoding lines must be terminated by CRLF. (InvalidResponse) ---- System.IO.IOException : Unable to write data to the transport connection: An existing connection was forcibly closed by the remote host.. -------- System.Net.Sockets.SocketException : An existing connection was forcibly closed by the remote host. Stack Trace: /_/src/libraries/Common/tests/System/Threading/Tasks/TaskTimeoutExtensions.cs(87,0): at System.Threading.Tasks.TaskTimeoutExtensions.WhenAllOrAnyFailed(Task[] tasks) /_/src/libraries/Common/tests/System/Net/Http/LoopbackServer.cs(123,0): at System.Net.Test.Common.LoopbackServer.<>c__DisplayClass15_0.b__0(LoopbackServer server) /_/src/libraries/Common/tests/System/Net/Http/LoopbackServer.cs(107,0): at System.Net.Test.Common.LoopbackServer.CreateServerAsync(Func`2 funcAsync, Options options) /_/src/libraries/Common/tests/System/Net/Http/HttpProtocolTests.cs(406,0): at System.Net.Http.Functional.Tests.HttpProtocolTests.GetAsync_Chunked_VaryingSizeChunks_ReceivedCorrectly(Int32 maxChunkSize, String lineEnding, Boolean useCopyToAsync) --- End of stack trace from previous location --- ----- Inner Stack Trace #1 (System.Net.Http.HttpIOException) ----- /_/src/libraries/System.Net.Http/src/System/Net/Http/SocketsHttpHandler/ChunkedEncodingReadStream.cs(326,0): at System.Net.Http.HttpConnection.ChunkedEncodingReadStream.ReadChunkFromConnectionBuffer(Int32 maxBytesToRead, CancellationTokenRegistration cancellationRegistration) /_/src/libraries/System.Net.Http/src/System/Net/Http/SocketsHttpHandler/ChunkedEncodingReadStream.cs(263,0): at System.Net.Http.HttpConnection.ChunkedEncodingReadStream.CopyToAsyncCore(Stream destination, CancellationToken cancellationToken) /_/src/libraries/System.Net.Http/src/System/Net/Http/SocketsHttpHandler/ChunkedEncodingReadStream.cs(248,0): at System.Net.Http.HttpConnection.ChunkedEncodingReadStream.CopyToAsync(Stream destination, Int32 bufferSize, CancellationToken cancellationToken) /_/src/libraries/System.Private.CoreLib/src/System/IO/Stream.cs(81,0): at System.IO.Stream.CopyToAsync(Stream destination, Int32 bufferSize) /_/src/libraries/System.Private.CoreLib/src/System/IO/Stream.cs(79,0): at System.IO.Stream.CopyToAsync(Stream destination) /_/src/libraries/Common/tests/System/Net/Http/HttpProtocolTests.cs(416,0): at System.Net.Http.Functional.Tests.HttpProtocolTests.<>c__DisplayClass19_0.b__0(Uri uri) /_/src/libraries/Common/tests/System/Threading/Tasks/TaskTimeoutExtensions.cs(119,0): at System.Threading.Tasks.TaskTimeoutExtensions.GetRealException(Task task) ----- Inner Stack Trace #2 (System.IO.IOException) ----- /_/src/libraries/System.Net.Sockets/src/System/Net/Sockets/NetworkStream.cs(644,0): at System.Net.Sockets.NetworkStream.WriteAsync(Byte[] buffer, Int32 offset, Int32 count, CancellationToken cancellationToken) /_/src/libraries/Common/tests/System/Net/Http/LoopbackServer.cs(746,0): at System.Net.Test.Common.LoopbackServer.Connection.WriteStringAsync(String s) /_/src/libraries/Common/tests/System/Net/Http/HttpProtocolTests.cs(445,0): at System.Net.Http.Functional.Tests.HttpProtocolTests.<>c__DisplayClass19_0.b__2(Connection connection) /_/src/libraries/Common/tests/System/Net/Http/LoopbackServer.cs(168,0): at System.Net.Test.Common.LoopbackServer.AcceptConnectionAsync(Func`2 funcAsync) /_/src/libraries/Common/tests/System/Net/Http/LoopbackServer.cs(170,0): at System.Net.Test.Common.LoopbackServer.AcceptConnectionAsync(Func`2 funcAsync) /_/src/libraries/Common/tests/System/Net/Http/HttpProtocolTests.cs(436,0): at System.Net.Http.Functional.Tests.HttpProtocolTests.<>c__DisplayClass19_0.b__1(LoopbackServer server) /_/src/libraries/Common/tests/System/Threading/Tasks/TaskTimeoutExtensions.cs(119,0): at System.Threading.Tasks.TaskTimeoutExtensions.GetRealException(Task task) ----- Inner Stack Trace ----- /_/src/libraries/System.Net.Sockets/src/System/Net/Sockets/Socket.Tasks.cs(1374,0): at System.Net.Sockets.Socket.AwaitableSocketAsyncEventArgs.CreateException(SocketError error, Boolean forAsyncThrow) /_/src/libraries/System.Net.Sockets/src/System/Net/Sockets/NetworkStream.cs(635,0): at System.Net.Sockets.NetworkStream.WriteAsync(Byte[] buffer, Int32 offset, Int32 count, CancellationToken cancellationToken) /_/src/libraries/Common/tests/System/Net/Http/LoopbackServer.cs(746,0): at System.Net.Test.Common.LoopbackServer.Connection.WriteStringAsync(String s) /_/src/libraries/Common/tests/System/Net/Http/HttpProtocolTests.cs(445,0): at System.Net.Http.Functional.Tests.HttpProtocolTests.<>c__DisplayClass19_0.b__2(Connection connection) /_/src/libraries/System.Private.CoreLib/src/System/Threading/Tasks/Task.cs(3636,0): at System.Threading.Tasks.Task.RunContinuations(Object continuationObject) /_/src/libraries/System.Private.CoreLib/src/System/Threading/Tasks/Task_T.cs(385,0): at System.Threading.Tasks.Task`1.TrySetResult(TResult result) /_/src/libraries/System.Private.CoreLib/src/System/Threading/Tasks/ValueTask.cs(676,0): at System.Threading.Tasks.ValueTask`1.ValueTaskSourceAsTask.<>c.<.cctor>b__4_0(Object state) /_/src/libraries/System.Private.CoreLib/src/System/Threading/ThreadPoolBoundHandleOverlapped.cs(38,0): at System.Threading.ThreadPoolBoundHandleOverlapped.CompletionCallback(UInt32 errorCode, UInt32 numBytes, NativeOverlapped* nativeOverlapped) /_/src/libraries/System.Private.CoreLib/src/System/Threading/ThreadPoolWorkQueue.cs(1006,0): at System.Threading.ThreadPoolWorkQueue.Dispatch() /_/src/libraries/System.Private.CoreLib/src/System/Threading/PortableThreadPool.WorkerThread.cs(137,0): at System.Threading.PortableThreadPool.WorkerThread.WorkerDoWork(PortableThreadPool threadPoolInstance) /_/src/libraries/System.Private.CoreLib/src/System/Threading/PortableThreadPool.WorkerThread.cs(110,0): at System.Threading.PortableThreadPool.WorkerThread.WorkerThreadStart() /_/src/coreclr/System.Private.CoreLib/src/System/Threading/Thread.CoreCLR.cs(117,0): at System.Threading.Thread.StartCallback(Thread* pThread) --- End of stack trace from previous location --- System.Net.Http.Functional.Tests.NtAuthTests.PostAsync_NtAuthServer_UseExpect100Header_Success [SKIP] Condition(s) not met: "IsNotWindowsNanoServer" System.Net.Http.Functional.Tests.NtAuthTests.GetAsync_NtAuthServer_ExpectedStatusCode [SKIP] Condition(s) not met: "IsNotWindowsNanoServer" System.Net.Http.Functional.Tests.SocketsHttpHandler_HttpProtocolTests_Dribble.GetAsync_Chunked_VaryingSizeChunks_ReceivedCorrectly(maxChunkSize: 1, lineEnding: "\n", useCopyToAsync: False) [FAIL] System.AggregateException : One or more errors occurred. (Received an invalid chunk line ending. Chunked encoding lines must be terminated by CRLF. (InvalidResponse)) (Unable to write data to the transport connection: An existing connection was forcibly closed by the remote host..) ---- System.Net.Http.HttpIOException : Received an invalid chunk line ending. Chunked encoding lines must be terminated by CRLF. (InvalidResponse) ---- System.IO.IOException : Unable to write data to the transport connection: An existing connection was forcibly closed by the remote host.. -------- System.Net.Sockets.SocketException : An existing connection was forcibly closed by the remote host. Stack Trace: /_/src/libraries/Common/tests/System/Threading/Tasks/TaskTimeoutExtensions.cs(87,0): at System.Threading.Tasks.TaskTimeoutExtensions.WhenAllOrAnyFailed(Task[] tasks) /_/src/libraries/Common/tests/System/Net/Http/LoopbackServer.cs(123,0): at System.Net.Test.Common.LoopbackServer.<>c__DisplayClass15_0.b__0(LoopbackServer server) /_/src/libraries/Common/tests/System/Net/Http/LoopbackServer.cs(107,0): at System.Net.Test.Common.LoopbackServer.CreateServerAsync(Func`2 funcAsync, Options options) /_/src/libraries/Common/tests/System/Net/Http/HttpProtocolTests.cs(406,0): at System.Net.Http.Functional.Tests.HttpProtocolTests.GetAsync_Chunked_VaryingSizeChunks_ReceivedCorrectly(Int32 maxChunkSize, String lineEnding, Boolean useCopyToAsync) --- End of stack trace from previous location --- ----- Inner Stack Trace #1 (System.Net.Http.HttpIOException) ----- /_/src/libraries/System.Net.Http/src/System/Net/Http/SocketsHttpHandler/ChunkedEncodingReadStream.cs(326,0): at System.Net.Http.HttpConnection.ChunkedEncodingReadStream.ReadChunkFromConnectionBuffer(Int32 maxBytesToRead, CancellationTokenRegistration cancellationRegistration) /_/src/libraries/System.Net.Http/src/System/Net/Http/SocketsHttpHandler/ChunkedEncodingReadStream.cs(168,0): at System.Net.Http.HttpConnection.ChunkedEncodingReadStream.ReadAsyncCore(Memory`1 buffer, CancellationToken cancellationToken) /_/src/libraries/System.Net.Http/src/System/Net/Http/SocketsHttpHandler/ChunkedEncodingReadStream.cs(159,0): at System.Net.Http.HttpConnection.ChunkedEncodingReadStream.ReadAsync(Memory`1 buffer, CancellationToken cancellationToken) /_/src/libraries/Common/tests/System/Net/Http/HttpProtocolTests.cs(423,0): at System.Net.Http.Functional.Tests.HttpProtocolTests.<>c__DisplayClass19_0.b__0(Uri uri) /_/src/libraries/Common/tests/System/Threading/Tasks/TaskTimeoutExtensions.cs(119,0): at System.Threading.Tasks.TaskTimeoutExtensions.GetRealException(Task task) ----- Inner Stack Trace #2 (System.IO.IOException) ----- /_/src/libraries/System.Net.Sockets/src/System/Net/Sockets/NetworkStream.cs(644,0): at System.Net.Sockets.NetworkStream.WriteAsync(Byte[] buffer, Int32 offset, Int32 count, CancellationToken cancellationToken) /_/src/libraries/Common/tests/System/Net/Http/LoopbackServer.cs(746,0): at System.Net.Test.Common.LoopbackServer.Connection.WriteStringAsync(String s) /_/src/libraries/Common/tests/System/Net/Http/HttpProtocolTests.cs(445,0): at System.Net.Http.Functional.Tests.HttpProtocolTests.<>c__DisplayClass19_0.b__2(Connection connection) /_/src/libraries/Common/tests/System/Net/Http/LoopbackServer.cs(168,0): at System.Net.Test.Common.LoopbackServer.AcceptConnectionAsync(Func`2 funcAsync) /_/src/libraries/Common/tests/System/Net/Http/LoopbackServer.cs(170,0): at System.Net.Test.Common.LoopbackServer.AcceptConnectionAsync(Func`2 funcAsync) /_/src/libraries/Common/tests/System/Net/Http/HttpProtocolTests.cs(436,0): at System.Net.Http.Functional.Tests.HttpProtocolTests.<>c__DisplayClass19_0.b__1(LoopbackServer server) /_/src/libraries/Common/tests/System/Threading/Tasks/TaskTimeoutExtensions.cs(119,0): at System.Threading.Tasks.TaskTimeoutExtensions.GetRealException(Task task) ----- Inner Stack Trace ----- /_/src/libraries/System.Net.Sockets/src/System/Net/Sockets/Socket.Tasks.cs(1374,0): at System.Net.Sockets.Socket.AwaitableSocketAsyncEventArgs.CreateException(SocketError error, Boolean forAsyncThrow) /_/src/libraries/System.Net.Sockets/src/System/Net/Sockets/NetworkStream.cs(635,0): at System.Net.Sockets.NetworkStream.WriteAsync(Byte[] buffer, Int32 offset, Int32 count, CancellationToken cancellationToken) /_/src/libraries/Common/tests/System/Net/Http/LoopbackServer.cs(746,0): at System.Net.Test.Common.LoopbackServer.Connection.WriteStringAsync(String s) /_/src/libraries/Common/tests/System/Net/Http/HttpProtocolTests.cs(445,0): at System.Net.Http.Functional.Tests.HttpProtocolTests.<>c__DisplayClass19_0.b__2(Connection connection) /_/src/libraries/Common/tests/System/Net/Http/LoopbackServer.cs(168,0): at System.Net.Test.Common.LoopbackServer.AcceptConnectionAsync(Func`2 funcAsync) /_/src/libraries/System.Private.CoreLib/src/System/Threading/ThreadPoolBoundHandleOverlapped.cs(38,0): at System.Threading.ThreadPoolBoundHandleOverlapped.CompletionCallback(UInt32 errorCode, UInt32 numBytes, NativeOverlapped* nativeOverlapped) /_/src/libraries/System.Private.CoreLib/src/System/Threading/ThreadPoolWorkQueue.cs(1006,0): at System.Threading.ThreadPoolWorkQueue.Dispatch() /_/src/libraries/System.Private.CoreLib/src/System/Threading/PortableThreadPool.WorkerThread.cs(137,0): at System.Threading.PortableThreadPool.WorkerThread.WorkerDoWork(PortableThreadPool threadPoolInstance) /_/src/libraries/System.Private.CoreLib/src/System/Threading/PortableThreadPool.WorkerThread.cs(110,0): at System.Threading.PortableThreadPool.WorkerThread.WorkerThreadStart() /_/src/coreclr/System.Private.CoreLib/src/System/Threading/Thread.CoreCLR.cs(117,0): at System.Threading.Thread.StartCallback(Thread* pThread) --- End of stack trace from previous location --- System.Net.Http.Functional.Tests.SocketsHttpHandler_HttpProtocolTests_Dribble.GetAsync_Chunked_VaryingSizeChunks_ReceivedCorrectly(maxChunkSize: 1, lineEnding: "\n", useCopyToAsync: True) [FAIL] System.AggregateException : One or more errors occurred. (Received an invalid chunk line ending. Chunked encoding lines must be terminated by CRLF. (InvalidResponse)) (Unable to write data to the transport connection: An existing connection was forcibly closed by the remote host..) ---- System.Net.Http.HttpIOException : Received an invalid chunk line ending. Chunked encoding lines must be terminated by CRLF. (InvalidResponse) ---- System.IO.IOException : Unable to write data to the transport connection: An existing connection was forcibly closed by the remote host.. -------- System.Net.Sockets.SocketException : An existing connection was forcibly closed by the remote host. Stack Trace: /_/src/libraries/Common/tests/System/Threading/Tasks/TaskTimeoutExtensions.cs(87,0): at System.Threading.Tasks.TaskTimeoutExtensions.WhenAllOrAnyFailed(Task[] tasks) /_/src/libraries/Common/tests/System/Net/Http/LoopbackServer.cs(123,0): at System.Net.Test.Common.LoopbackServer.<>c__DisplayClass15_0.b__0(LoopbackServer server) /_/src/libraries/Common/tests/System/Net/Http/LoopbackServer.cs(107,0): at System.Net.Test.Common.LoopbackServer.CreateServerAsync(Func`2 funcAsync, Options options) /_/src/libraries/Common/tests/System/Net/Http/HttpProtocolTests.cs(406,0): at System.Net.Http.Functional.Tests.HttpProtocolTests.GetAsync_Chunked_VaryingSizeChunks_ReceivedCorrectly(Int32 maxChunkSize, String lineEnding, Boolean useCopyToAsync) --- End of stack trace from previous location --- ----- Inner Stack Trace #1 (System.Net.Http.HttpIOException) ----- /_/src/libraries/System.Net.Http/src/System/Net/Http/SocketsHttpHandler/ChunkedEncodingReadStream.cs(326,0): at System.Net.Http.HttpConnection.ChunkedEncodingReadStream.ReadChunkFromConnectionBuffer(Int32 maxBytesToRead, CancellationTokenRegistration cancellationRegistration) /_/src/libraries/System.Net.Http/src/System/Net/Http/SocketsHttpHandler/ChunkedEncodingReadStream.cs(263,0): at System.Net.Http.HttpConnection.ChunkedEncodingReadStream.CopyToAsyncCore(Stream destination, CancellationToken cancellationToken) /_/src/libraries/System.Net.Http/src/System/Net/Http/SocketsHttpHandler/ChunkedEncodingReadStream.cs(248,0): at System.Net.Http.HttpConnection.ChunkedEncodingReadStream.CopyToAsync(Stream destination, Int32 bufferSize, CancellationToken cancellationToken) /_/src/libraries/System.Private.CoreLib/src/System/IO/Stream.cs(81,0): at System.IO.Stream.CopyToAsync(Stream destination, Int32 bufferSize) /_/src/libraries/System.Private.CoreLib/src/System/IO/Stream.cs(79,0): at System.IO.Stream.CopyToAsync(Stream destination) /_/src/libraries/Common/tests/System/Net/Http/HttpProtocolTests.cs(416,0): at System.Net.Http.Functional.Tests.HttpProtocolTests.<>c__DisplayClass19_0.b__0(Uri uri) /_/src/libraries/Common/tests/System/Threading/Tasks/TaskTimeoutExtensions.cs(119,0): at System.Threading.Tasks.TaskTimeoutExtensions.GetRealException(Task task) ----- Inner Stack Trace #2 (System.IO.IOException) ----- /_/src/libraries/System.Net.Sockets/src/System/Net/Sockets/NetworkStream.cs(666,0): at System.Net.Sockets.NetworkStream.WriteAsync(ReadOnlyMemory`1 buffer, CancellationToken cancellationToken) /_/src/libraries/Common/tests/System/Net/Http/HttpProtocolTests.cs(446,0): at System.Net.Http.Functional.Tests.HttpProtocolTests.<>c__DisplayClass19_0.b__2(Connection connection) /_/src/libraries/Common/tests/System/Net/Http/LoopbackServer.cs(168,0): at System.Net.Test.Common.LoopbackServer.AcceptConnectionAsync(Func`2 funcAsync) /_/src/libraries/Common/tests/System/Net/Http/LoopbackServer.cs(170,0): at System.Net.Test.Common.LoopbackServer.AcceptConnectionAsync(Func`2 funcAsync) /_/src/libraries/Common/tests/System/Net/Http/HttpProtocolTests.cs(436,0): at System.Net.Http.Functional.Tests.HttpProtocolTests.<>c__DisplayClass19_0.b__1(LoopbackServer server) /_/src/libraries/Common/tests/System/Threading/Tasks/TaskTimeoutExtensions.cs(119,0): at System.Threading.Tasks.TaskTimeoutExtensions.GetRealException(Task task) ----- Inner Stack Trace ----- /_/src/libraries/System.Net.Sockets/src/System/Net/Sockets/Socket.Tasks.cs(1374,0): at System.Net.Sockets.Socket.AwaitableSocketAsyncEventArgs.CreateException(SocketError error, Boolean forAsyncThrow) /_/src/libraries/System.Net.Sockets/src/System/Net/Sockets/NetworkStream.cs(657,0): at System.Net.Sockets.NetworkStream.WriteAsync(ReadOnlyMemory`1 buffer, CancellationToken cancellationToken) /_/src/libraries/Common/tests/System/Net/Http/HttpProtocolTests.cs(446,0): at System.Net.Http.Functional.Tests.HttpProtocolTests.<>c__DisplayClass19_0.b__2(Connection connection) /_/src/libraries/Common/tests/System/Net/Http/LoopbackServer.cs(168,0): at System.Net.Test.Common.LoopbackServer.AcceptConnectionAsync(Func`2 funcAsync) /_/src/libraries/System.Private.CoreLib/src/System/Threading/ThreadPoolBoundHandleOverlapped.cs(38,0): at System.Threading.ThreadPoolBoundHandleOverlapped.CompletionCallback(UInt32 errorCode, UInt32 numBytes, NativeOverlapped* nativeOverlapped) /_/src/libraries/System.Private.CoreLib/src/System/Threading/ThreadPoolWorkQueue.cs(1006,0): at System.Threading.ThreadPoolWorkQueue.Dispatch() /_/src/libraries/System.Private.CoreLib/src/System/Threading/PortableThreadPool.WorkerThread.cs(137,0): at System.Threading.PortableThreadPool.WorkerThread.WorkerDoWork(PortableThreadPool threadPoolInstance) /_/src/libraries/System.Private.CoreLib/src/System/Threading/PortableThreadPool.WorkerThread.cs(110,0): at System.Threading.PortableThreadPool.WorkerThread.WorkerThreadStart() /_/src/coreclr/System.Private.CoreLib/src/System/Threading/Thread.CoreCLR.cs(117,0): at System.Threading.Thread.StartCallback(Thread* pThread) --- End of stack trace from previous location --- System.Net.Http.Functional.Tests.SocketsHttpHandler_HttpProtocolTests_Dribble.GetAsync_Chunked_VaryingSizeChunks_ReceivedCorrectly(maxChunkSize: 10000, lineEnding: "\n", useCopyToAsync: False) [FAIL] System.Net.Http.HttpIOException : Received an invalid chunk line ending. Chunked encoding lines must be terminated by CRLF. (InvalidResponse) Stack Trace: /_/src/libraries/System.Net.Http/src/System/Net/Http/SocketsHttpHandler/ChunkedEncodingReadStream.cs(326,0): at System.Net.Http.HttpConnection.ChunkedEncodingReadStream.ReadChunkFromConnectionBuffer(Int32 maxBytesToRead, CancellationTokenRegistration cancellationRegistration) /_/src/libraries/System.Net.Http/src/System/Net/Http/SocketsHttpHandler/ChunkedEncodingReadStream.cs(168,0): at System.Net.Http.HttpConnection.ChunkedEncodingReadStream.ReadAsyncCore(Memory`1 buffer, CancellationToken cancellationToken) /_/src/libraries/System.Net.Http/src/System/Net/Http/SocketsHttpHandler/ChunkedEncodingReadStream.cs(159,0): at System.Net.Http.HttpConnection.ChunkedEncodingReadStream.ReadAsync(Memory`1 buffer, CancellationToken cancellationToken) /_/src/libraries/Common/tests/System/Net/Http/HttpProtocolTests.cs(423,0): at System.Net.Http.Functional.Tests.HttpProtocolTests.<>c__DisplayClass19_0.b__0(Uri uri) /_/src/libraries/Common/tests/System/Threading/Tasks/TaskTimeoutExtensions.cs(119,0): at System.Threading.Tasks.TaskTimeoutExtensions.GetRealException(Task task) --- End of stack trace from previous location --- /_/src/libraries/Common/tests/System/Threading/Tasks/TaskTimeoutExtensions.cs(89,0): at System.Threading.Tasks.TaskTimeoutExtensions.WhenAllOrAnyFailed(Task[] tasks) /_/src/libraries/Common/tests/System/Net/Http/LoopbackServer.cs(123,0): at System.Net.Test.Common.LoopbackServer.<>c__DisplayClass15_0.b__0(LoopbackServer server) /_/src/libraries/Common/tests/System/Net/Http/LoopbackServer.cs(104,0): at System.Net.Test.Common.LoopbackServer.CreateServerAsync(Func`2 funcAsync, Options options) /_/src/libraries/Common/tests/System/Net/Http/HttpProtocolTests.cs(406,0): at System.Net.Http.Functional.Tests.HttpProtocolTests.GetAsync_Chunked_VaryingSizeChunks_ReceivedCorrectly(Int32 maxChunkSize, String lineEnding, Boolean useCopyToAsync) --- End of stack trace from previous location --- System.Net.Http.Functional.Tests.SocketsHttpHandler_HttpProtocolTests_Dribble.GetAsync_Chunked_VaryingSizeChunks_ReceivedCorrectly(maxChunkSize: 10000, lineEnding: "\n", useCopyToAsync: True) [FAIL] System.Net.Http.HttpIOException : Received an invalid chunk line ending. Chunked encoding lines must be terminated by CRLF. (InvalidResponse) Stack Trace: /_/src/libraries/System.Net.Http/src/System/Net/Http/SocketsHttpHandler/ChunkedEncodingReadStream.cs(326,0): at System.Net.Http.HttpConnection.ChunkedEncodingReadStream.ReadChunkFromConnectionBuffer(Int32 maxBytesToRead, CancellationTokenRegistration cancellationRegistration) /_/src/libraries/System.Net.Http/src/System/Net/Http/SocketsHttpHandler/ChunkedEncodingReadStream.cs(263,0): at System.Net.Http.HttpConnection.ChunkedEncodingReadStream.CopyToAsyncCore(Stream destination, CancellationToken cancellationToken) /_/src/libraries/System.Net.Http/src/System/Net/Http/SocketsHttpHandler/ChunkedEncodingReadStream.cs(248,0): at System.Net.Http.HttpConnection.ChunkedEncodingReadStream.CopyToAsync(Stream destination, Int32 bufferSize, CancellationToken cancellationToken) /_/src/libraries/System.Private.CoreLib/src/System/IO/Stream.cs(81,0): at System.IO.Stream.CopyToAsync(Stream destination, Int32 bufferSize) /_/src/libraries/System.Private.CoreLib/src/System/IO/Stream.cs(79,0): at System.IO.Stream.CopyToAsync(Stream destination) /_/src/libraries/Common/tests/System/Net/Http/HttpProtocolTests.cs(416,0): at System.Net.Http.Functional.Tests.HttpProtocolTests.<>c__DisplayClass19_0.b__0(Uri uri) /_/src/libraries/Common/tests/System/Threading/Tasks/TaskTimeoutExtensions.cs(119,0): at System.Threading.Tasks.TaskTimeoutExtensions.GetRealException(Task task) --- End of stack trace from previous location --- /_/src/libraries/Common/tests/System/Threading/Tasks/TaskTimeoutExtensions.cs(89,0): at System.Threading.Tasks.TaskTimeoutExtensions.WhenAllOrAnyFailed(Task[] tasks) /_/src/libraries/Common/tests/System/Net/Http/LoopbackServer.cs(123,0): at System.Net.Test.Common.LoopbackServer.<>c__DisplayClass15_0.b__0(LoopbackServer server) /_/src/libraries/Common/tests/System/Net/Http/LoopbackServer.cs(104,0): at System.Net.Test.Common.LoopbackServer.CreateServerAsync(Func`2 funcAsync, Options options) /_/src/libraries/Common/tests/System/Net/Http/HttpProtocolTests.cs(406,0): at System.Net.Http.Functional.Tests.HttpProtocolTests.GetAsync_Chunked_VaryingSizeChunks_ReceivedCorrectly(Int32 maxChunkSize, String lineEnding, Boolean useCopyToAsync) --- End of stack trace from previous location --- System.Net.Http.Functional.Tests.HttpClientHandler_RemoteServerTest.SendAsync_RequestVersion20_ResponseVersion20(server: https://httpbin.org/get) [FAIL] Assert.Equal() Failure: Values differ Expected: OK Actual: ServiceUnavailable Stack Trace: /_/src/libraries/Common/tests/System/Net/Http/HttpClientHandlerTest.RemoteServer.cs(1383,0): at System.Net.Http.Functional.Tests.HttpClientHandler_RemoteServerTest.SendAsync_RequestVersion20_ResponseVersion20(Uri server) --- End of stack trace from previous location --- Output: https://httpbin.org/get System.Net.Http.Functional.Tests.SocketsHttpHandler_DefaultCredentialsTest.UseDefaultCredentials_SetFalse_Unauthorized [SKIP] Condition(s) not met: "ServerAuthenticationTestsEnabled" System.Net.Http.Functional.Tests.SocketsHttpHandler_DefaultCredentialsTest.Credentials_SetToWrappedDefaultCredential_ConnectAsCurrentIdentity [SKIP] Condition(s) not met: "ServerAuthenticationTestsEnabled" System.Net.Http.Functional.Tests.SocketsHttpHandler_DefaultCredentialsTest.UseDefaultCredentials_SetTrue_ConnectAsCurrentIdentity [SKIP] Condition(s) not met: "ServerAuthenticationTestsEnabled" System.Net.Http.Functional.Tests.SocketsHttpHandler_DefaultCredentialsTest.UseDefaultCredentials_DefaultValue_Unauthorized [SKIP] Condition(s) not met: "ServerAuthenticationTestsEnabled" System.Net.Http.Functional.Tests.SocketsHttpHandler_DefaultCredentialsTest.Credentials_SetToBadCredential_Unauthorized [SKIP] Condition(s) not met: "ServerAuthenticationTestsEnabled" System.Net.Http.Functional.Tests.SocketsHttpHandler_DefaultCredentialsTest.Proxy_UseAuthenticatedProxyWithWrappedDefaultCredentials_OK [SKIP] Condition(s) not met: "DomainProxyTestsEnabled" System.Net.Http.Functional.Tests.ImpersonatedAuthTests.DefaultHandler_ImpersonatedUser_Success [SKIP] Condition(s) not met: "CanRunImpersonatedTests" System.Net.Http.Functional.Tests.SocketsHttpHandler_ResponseStreamTest.BrowserHttpHandler_StreamingResponseLarge [SKIP] Condition(s) not met: "IsBrowser" System.Net.Http.Functional.Tests.SyncHttpHandler_HttpProtocolTests.GetAsync_Chunked_VaryingSizeChunks_ReceivedCorrectly(maxChunkSize: 1, lineEnding: "\n", useCopyToAsync: False) [FAIL] System.AggregateException : One or more errors occurred. (Received an invalid chunk line ending. Chunked encoding lines must be terminated by CRLF. (InvalidResponse)) (Unable to write data to the transport connection: An existing connection was forcibly closed by the remote host..) ---- System.Net.Http.HttpIOException : Received an invalid chunk line ending. Chunked encoding lines must be terminated by CRLF. (InvalidResponse) ---- System.IO.IOException : Unable to write data to the transport connection: An existing connection was forcibly closed by the remote host.. -------- System.Net.Sockets.SocketException : An existing connection was forcibly closed by the remote host. Stack Trace: /_/src/libraries/Common/tests/System/Threading/Tasks/TaskTimeoutExtensions.cs(87,0): at System.Threading.Tasks.TaskTimeoutExtensions.WhenAllOrAnyFailed(Task[] tasks) /_/src/libraries/Common/tests/System/Net/Http/LoopbackServer.cs(123,0): at System.Net.Test.Common.LoopbackServer.<>c__DisplayClass15_0.b__0(LoopbackServer server) /_/src/libraries/Common/tests/System/Net/Http/LoopbackServer.cs(104,0): at System.Net.Test.Common.LoopbackServer.CreateServerAsync(Func`2 funcAsync, Options options) /_/src/libraries/Common/tests/System/Net/Http/HttpProtocolTests.cs(406,0): at System.Net.Http.Functional.Tests.HttpProtocolTests.GetAsync_Chunked_VaryingSizeChunks_ReceivedCorrectly(Int32 maxChunkSize, String lineEnding, Boolean useCopyToAsync) --- End of stack trace from previous location --- ----- Inner Stack Trace #1 (System.Net.Http.HttpIOException) ----- /_/src/libraries/System.Net.Http/src/System/Net/Http/SocketsHttpHandler/ChunkedEncodingReadStream.cs(326,0): at System.Net.Http.HttpConnection.ChunkedEncodingReadStream.ReadChunkFromConnectionBuffer(Int32 maxBytesToRead, CancellationTokenRegistration cancellationRegistration) /_/src/libraries/System.Net.Http/src/System/Net/Http/SocketsHttpHandler/ChunkedEncodingReadStream.cs(168,0): at System.Net.Http.HttpConnection.ChunkedEncodingReadStream.ReadAsyncCore(Memory`1 buffer, CancellationToken cancellationToken) /_/src/libraries/System.Net.Http/src/System/Net/Http/SocketsHttpHandler/ChunkedEncodingReadStream.cs(159,0): at System.Net.Http.HttpConnection.ChunkedEncodingReadStream.ReadAsync(Memory`1 buffer, CancellationToken cancellationToken) /_/src/libraries/Common/tests/System/Net/Http/HttpProtocolTests.cs(423,0): at System.Net.Http.Functional.Tests.HttpProtocolTests.<>c__DisplayClass19_0.b__0(Uri uri) /_/src/libraries/Common/tests/System/Threading/Tasks/TaskTimeoutExtensions.cs(119,0): at System.Threading.Tasks.TaskTimeoutExtensions.GetRealException(Task task) ----- Inner Stack Trace #2 (System.IO.IOException) ----- /_/src/libraries/System.Net.Sockets/src/System/Net/Sockets/NetworkStream.cs(644,0): at System.Net.Sockets.NetworkStream.WriteAsync(Byte[] buffer, Int32 offset, Int32 count, CancellationToken cancellationToken) /_/src/libraries/Common/tests/System/Net/Http/LoopbackServer.cs(746,0): at System.Net.Test.Common.LoopbackServer.Connection.WriteStringAsync(String s) /_/src/libraries/Common/tests/System/Net/Http/HttpProtocolTests.cs(447,0): at System.Net.Http.Functional.Tests.HttpProtocolTests.<>c__DisplayClass19_0.b__2(Connection connection) /_/src/libraries/Common/tests/System/Net/Http/LoopbackServer.cs(168,0): at System.Net.Test.Common.LoopbackServer.AcceptConnectionAsync(Func`2 funcAsync) /_/src/libraries/Common/tests/System/Net/Http/LoopbackServer.cs(170,0): at System.Net.Test.Common.LoopbackServer.AcceptConnectionAsync(Func`2 funcAsync) /_/src/libraries/Common/tests/System/Net/Http/HttpProtocolTests.cs(436,0): at System.Net.Http.Functional.Tests.HttpProtocolTests.<>c__DisplayClass19_0.b__1(LoopbackServer server) /_/src/libraries/Common/tests/System/Threading/Tasks/TaskTimeoutExtensions.cs(119,0): at System.Threading.Tasks.TaskTimeoutExtensions.GetRealException(Task task) ----- Inner Stack Trace ----- /_/src/libraries/System.Net.Sockets/src/System/Net/Sockets/Socket.Tasks.cs(1374,0): at System.Net.Sockets.Socket.AwaitableSocketAsyncEventArgs.CreateException(SocketError error, Boolean forAsyncThrow) /_/src/libraries/System.Net.Sockets/src/System/Net/Sockets/NetworkStream.cs(635,0): at System.Net.Sockets.NetworkStream.WriteAsync(Byte[] buffer, Int32 offset, Int32 count, CancellationToken cancellationToken) /_/src/libraries/Common/tests/System/Net/Http/LoopbackServer.cs(746,0): at System.Net.Test.Common.LoopbackServer.Connection.WriteStringAsync(String s) /_/src/libraries/Common/tests/System/Net/Http/HttpProtocolTests.cs(447,0): at System.Net.Http.Functional.Tests.HttpProtocolTests.<>c__DisplayClass19_0.b__2(Connection connection) /_/src/libraries/Common/tests/System/Net/Http/LoopbackServer.cs(168,0): at System.Net.Test.Common.LoopbackServer.AcceptConnectionAsync(Func`2 funcAsync) /_/src/libraries/System.Private.CoreLib/src/System/Threading/ThreadPoolBoundHandleOverlapped.cs(38,0): at System.Threading.ThreadPoolBoundHandleOverlapped.CompletionCallback(UInt32 errorCode, UInt32 numBytes, NativeOverlapped* nativeOverlapped) /_/src/libraries/System.Private.CoreLib/src/System/Threading/ThreadPoolWorkQueue.cs(1006,0): at System.Threading.ThreadPoolWorkQueue.Dispatch() /_/src/libraries/System.Private.CoreLib/src/System/Threading/PortableThreadPool.WorkerThread.cs(137,0): at System.Threading.PortableThreadPool.WorkerThread.WorkerDoWork(PortableThreadPool threadPoolInstance) /_/src/libraries/System.Private.CoreLib/src/System/Threading/PortableThreadPool.WorkerThread.cs(110,0): at System.Threading.PortableThreadPool.WorkerThread.WorkerThreadStart() /_/src/coreclr/System.Private.CoreLib/src/System/Threading/Thread.CoreCLR.cs(117,0): at System.Threading.Thread.StartCallback(Thread* pThread) --- End of stack trace from previous location --- System.Net.Http.Functional.Tests.SyncHttpHandler_HttpProtocolTests.GetAsync_Chunked_VaryingSizeChunks_ReceivedCorrectly(maxChunkSize: 1, lineEnding: "\n", useCopyToAsync: True) [FAIL] System.AggregateException : One or more errors occurred. (Received an invalid chunk line ending. Chunked encoding lines must be terminated by CRLF. (InvalidResponse)) (Unable to write data to the transport connection: An existing connection was forcibly closed by the remote host..) ---- System.Net.Http.HttpIOException : Received an invalid chunk line ending. Chunked encoding lines must be terminated by CRLF. (InvalidResponse) ---- System.IO.IOException : Unable to write data to the transport connection: An existing connection was forcibly closed by the remote host.. -------- System.Net.Sockets.SocketException : An existing connection was forcibly closed by the remote host. Stack Trace: /_/src/libraries/Common/tests/System/Threading/Tasks/TaskTimeoutExtensions.cs(87,0): at System.Threading.Tasks.TaskTimeoutExtensions.WhenAllOrAnyFailed(Task[] tasks) /_/src/libraries/Common/tests/System/Net/Http/LoopbackServer.cs(123,0): at System.Net.Test.Common.LoopbackServer.<>c__DisplayClass15_0.b__0(LoopbackServer server) /_/src/libraries/Common/tests/System/Net/Http/LoopbackServer.cs(104,0): at System.Net.Test.Common.LoopbackServer.CreateServerAsync(Func`2 funcAsync, Options options) /_/src/libraries/Common/tests/System/Net/Http/HttpProtocolTests.cs(406,0): at System.Net.Http.Functional.Tests.HttpProtocolTests.GetAsync_Chunked_VaryingSizeChunks_ReceivedCorrectly(Int32 maxChunkSize, String lineEnding, Boolean useCopyToAsync) --- End of stack trace from previous location --- ----- Inner Stack Trace #1 (System.Net.Http.HttpIOException) ----- /_/src/libraries/System.Net.Http/src/System/Net/Http/SocketsHttpHandler/ChunkedEncodingReadStream.cs(326,0): at System.Net.Http.HttpConnection.ChunkedEncodingReadStream.ReadChunkFromConnectionBuffer(Int32 maxBytesToRead, CancellationTokenRegistration cancellationRegistration) /_/src/libraries/System.Net.Http/src/System/Net/Http/SocketsHttpHandler/ChunkedEncodingReadStream.cs(263,0): at System.Net.Http.HttpConnection.ChunkedEncodingReadStream.CopyToAsyncCore(Stream destination, CancellationToken cancellationToken) /_/src/libraries/System.Net.Http/src/System/Net/Http/SocketsHttpHandler/ChunkedEncodingReadStream.cs(248,0): at System.Net.Http.HttpConnection.ChunkedEncodingReadStream.CopyToAsync(Stream destination, Int32 bufferSize, CancellationToken cancellationToken) /_/src/libraries/System.Private.CoreLib/src/System/IO/Stream.cs(81,0): at System.IO.Stream.CopyToAsync(Stream destination, Int32 bufferSize) /_/src/libraries/System.Private.CoreLib/src/System/IO/Stream.cs(79,0): at System.IO.Stream.CopyToAsync(Stream destination) /_/src/libraries/Common/tests/System/Net/Http/HttpProtocolTests.cs(416,0): at System.Net.Http.Functional.Tests.HttpProtocolTests.<>c__DisplayClass19_0.b__0(Uri uri) /_/src/libraries/Common/tests/System/Threading/Tasks/TaskTimeoutExtensions.cs(119,0): at System.Threading.Tasks.TaskTimeoutExtensions.GetRealException(Task task) ----- Inner Stack Trace #2 (System.IO.IOException) ----- /_/src/libraries/System.Net.Sockets/src/System/Net/Sockets/NetworkStream.cs(666,0): at System.Net.Sockets.NetworkStream.WriteAsync(ReadOnlyMemory`1 buffer, CancellationToken cancellationToken) /_/src/libraries/Common/tests/System/Net/Http/HttpProtocolTests.cs(446,0): at System.Net.Http.Functional.Tests.HttpProtocolTests.<>c__DisplayClass19_0.b__2(Connection connection) /_/src/libraries/Common/tests/System/Net/Http/LoopbackServer.cs(168,0): at System.Net.Test.Common.LoopbackServer.AcceptConnectionAsync(Func`2 funcAsync) /_/src/libraries/Common/tests/System/Net/Http/LoopbackServer.cs(170,0): at System.Net.Test.Common.LoopbackServer.AcceptConnectionAsync(Func`2 funcAsync) /_/src/libraries/Common/tests/System/Net/Http/HttpProtocolTests.cs(436,0): at System.Net.Http.Functional.Tests.HttpProtocolTests.<>c__DisplayClass19_0.b__1(LoopbackServer server) /_/src/libraries/Common/tests/System/Threading/Tasks/TaskTimeoutExtensions.cs(119,0): at System.Threading.Tasks.TaskTimeoutExtensions.GetRealException(Task task) ----- Inner Stack Trace ----- /_/src/libraries/System.Net.Sockets/src/System/Net/Sockets/Socket.Tasks.cs(1374,0): at System.Net.Sockets.Socket.AwaitableSocketAsyncEventArgs.CreateException(SocketError error, Boolean forAsyncThrow) /_/src/libraries/System.Net.Sockets/src/System/Net/Sockets/NetworkStream.cs(657,0): at System.Net.Sockets.NetworkStream.WriteAsync(ReadOnlyMemory`1 buffer, CancellationToken cancellationToken) /_/src/libraries/Common/tests/System/Net/Http/HttpProtocolTests.cs(446,0): at System.Net.Http.Functional.Tests.HttpProtocolTests.<>c__DisplayClass19_0.b__2(Connection connection) /_/src/libraries/Common/tests/System/Net/Http/LoopbackServer.cs(168,0): at System.Net.Test.Common.LoopbackServer.AcceptConnectionAsync(Func`2 funcAsync) /_/src/libraries/System.Private.CoreLib/src/System/Threading/ThreadPoolBoundHandleOverlapped.cs(38,0): at System.Threading.ThreadPoolBoundHandleOverlapped.CompletionCallback(UInt32 errorCode, UInt32 numBytes, NativeOverlapped* nativeOverlapped) /_/src/libraries/System.Private.CoreLib/src/System/Threading/ThreadPoolWorkQueue.cs(1006,0): at System.Threading.ThreadPoolWorkQueue.Dispatch() /_/src/libraries/System.Private.CoreLib/src/System/Threading/PortableThreadPool.WorkerThread.cs(137,0): at System.Threading.PortableThreadPool.WorkerThread.WorkerDoWork(PortableThreadPool threadPoolInstance) /_/src/libraries/System.Private.CoreLib/src/System/Threading/PortableThreadPool.WorkerThread.cs(110,0): at System.Threading.PortableThreadPool.WorkerThread.WorkerThreadStart() /_/src/coreclr/System.Private.CoreLib/src/System/Threading/Thread.CoreCLR.cs(117,0): at System.Threading.Thread.StartCallback(Thread* pThread) --- End of stack trace from previous location --- System.Net.Http.Functional.Tests.SyncHttpHandler_HttpProtocolTests.GetAsync_Chunked_VaryingSizeChunks_ReceivedCorrectly(maxChunkSize: 10000, lineEnding: "\n", useCopyToAsync: False) [FAIL] System.Net.Http.HttpIOException : Received an invalid chunk line ending. Chunked encoding lines must be terminated by CRLF. (InvalidResponse) Stack Trace: /_/src/libraries/System.Net.Http/src/System/Net/Http/SocketsHttpHandler/ChunkedEncodingReadStream.cs(326,0): at System.Net.Http.HttpConnection.ChunkedEncodingReadStream.ReadChunkFromConnectionBuffer(Int32 maxBytesToRead, CancellationTokenRegistration cancellationRegistration) /_/src/libraries/System.Net.Http/src/System/Net/Http/SocketsHttpHandler/ChunkedEncodingReadStream.cs(168,0): at System.Net.Http.HttpConnection.ChunkedEncodingReadStream.ReadAsyncCore(Memory`1 buffer, CancellationToken cancellationToken) /_/src/libraries/System.Net.Http/src/System/Net/Http/SocketsHttpHandler/ChunkedEncodingReadStream.cs(159,0): at System.Net.Http.HttpConnection.ChunkedEncodingReadStream.ReadAsync(Memory`1 buffer, CancellationToken cancellationToken) /_/src/libraries/Common/tests/System/Net/Http/HttpProtocolTests.cs(423,0): at System.Net.Http.Functional.Tests.HttpProtocolTests.<>c__DisplayClass19_0.b__0(Uri uri) /_/src/libraries/Common/tests/System/Threading/Tasks/TaskTimeoutExtensions.cs(119,0): at System.Threading.Tasks.TaskTimeoutExtensions.GetRealException(Task task) --- End of stack trace from previous location --- /_/src/libraries/Common/tests/System/Threading/Tasks/TaskTimeoutExtensions.cs(89,0): at System.Threading.Tasks.TaskTimeoutExtensions.WhenAllOrAnyFailed(Task[] tasks) /_/src/libraries/Common/tests/System/Net/Http/LoopbackServer.cs(123,0): at System.Net.Test.Common.LoopbackServer.<>c__DisplayClass15_0.b__0(LoopbackServer server) /_/src/libraries/Common/tests/System/Net/Http/LoopbackServer.cs(104,0): at System.Net.Test.Common.LoopbackServer.CreateServerAsync(Func`2 funcAsync, Options options) /_/src/libraries/Common/tests/System/Net/Http/HttpProtocolTests.cs(406,0): at System.Net.Http.Functional.Tests.HttpProtocolTests.GetAsync_Chunked_VaryingSizeChunks_ReceivedCorrectly(Int32 maxChunkSize, String lineEnding, Boolean useCopyToAsync) --- End of stack trace from previous location --- System.Net.Http.Functional.Tests.SyncHttpHandler_HttpProtocolTests.GetAsync_Chunked_VaryingSizeChunks_ReceivedCorrectly(maxChunkSize: 10000, lineEnding: "\n", useCopyToAsync: True) [FAIL] System.AggregateException : One or more errors occurred. (Received an invalid chunk line ending. Chunked encoding lines must be terminated by CRLF. (InvalidResponse)) (Unable to write data to the transport connection: An existing connection was forcibly closed by the remote host..) ---- System.Net.Http.HttpIOException : Received an invalid chunk line ending. Chunked encoding lines must be terminated by CRLF. (InvalidResponse) ---- System.IO.IOException : Unable to write data to the transport connection: An existing connection was forcibly closed by the remote host.. -------- System.Net.Sockets.SocketException : An existing connection was forcibly closed by the remote host. Stack Trace: /_/src/libraries/Common/tests/System/Threading/Tasks/TaskTimeoutExtensions.cs(87,0): at System.Threading.Tasks.TaskTimeoutExtensions.WhenAllOrAnyFailed(Task[] tasks) /_/src/libraries/Common/tests/System/Net/Http/LoopbackServer.cs(123,0): at System.Net.Test.Common.LoopbackServer.<>c__DisplayClass15_0.b__0(LoopbackServer server) /_/src/libraries/Common/tests/System/Net/Http/LoopbackServer.cs(104,0): at System.Net.Test.Common.LoopbackServer.CreateServerAsync(Func`2 funcAsync, Options options) /_/src/libraries/Common/tests/System/Net/Http/HttpProtocolTests.cs(406,0): at System.Net.Http.Functional.Tests.HttpProtocolTests.GetAsync_Chunked_VaryingSizeChunks_ReceivedCorrectly(Int32 maxChunkSize, String lineEnding, Boolean useCopyToAsync) --- End of stack trace from previous location --- ----- Inner Stack Trace #1 (System.Net.Http.HttpIOException) ----- /_/src/libraries/System.Net.Http/src/System/Net/Http/SocketsHttpHandler/ChunkedEncodingReadStream.cs(326,0): at System.Net.Http.HttpConnection.ChunkedEncodingReadStream.ReadChunkFromConnectionBuffer(Int32 maxBytesToRead, CancellationTokenRegistration cancellationRegistration) /_/src/libraries/System.Net.Http/src/System/Net/Http/SocketsHttpHandler/ChunkedEncodingReadStream.cs(263,0): at System.Net.Http.HttpConnection.ChunkedEncodingReadStream.CopyToAsyncCore(Stream destination, CancellationToken cancellationToken) /_/src/libraries/System.Net.Http/src/System/Net/Http/SocketsHttpHandler/ChunkedEncodingReadStream.cs(248,0): at System.Net.Http.HttpConnection.ChunkedEncodingReadStream.CopyToAsync(Stream destination, Int32 bufferSize, CancellationToken cancellationToken) /_/src/libraries/System.Private.CoreLib/src/System/IO/Stream.cs(81,0): at System.IO.Stream.CopyToAsync(Stream destination, Int32 bufferSize) /_/src/libraries/System.Private.CoreLib/src/System/IO/Stream.cs(79,0): at System.IO.Stream.CopyToAsync(Stream destination) /_/src/libraries/Common/tests/System/Net/Http/HttpProtocolTests.cs(416,0): at System.Net.Http.Functional.Tests.HttpProtocolTests.<>c__DisplayClass19_0.b__0(Uri uri) /_/src/libraries/Common/tests/System/Threading/Tasks/TaskTimeoutExtensions.cs(119,0): at System.Threading.Tasks.TaskTimeoutExtensions.GetRealException(Task task) ----- Inner Stack Trace #2 (System.IO.IOException) ----- /_/src/libraries/System.Net.Sockets/src/System/Net/Sockets/NetworkStream.cs(644,0): at System.Net.Sockets.NetworkStream.WriteAsync(Byte[] buffer, Int32 offset, Int32 count, CancellationToken cancellationToken) /_/src/libraries/Common/tests/System/Net/Http/LoopbackServer.cs(746,0): at System.Net.Test.Common.LoopbackServer.Connection.WriteStringAsync(String s) /_/src/libraries/Common/tests/System/Net/Http/HttpProtocolTests.cs(447,0): at System.Net.Http.Functional.Tests.HttpProtocolTests.<>c__DisplayClass19_0.b__2(Connection connection) /_/src/libraries/Common/tests/System/Net/Http/LoopbackServer.cs(168,0): at System.Net.Test.Common.LoopbackServer.AcceptConnectionAsync(Func`2 funcAsync) /_/src/libraries/Common/tests/System/Net/Http/LoopbackServer.cs(170,0): at System.Net.Test.Common.LoopbackServer.AcceptConnectionAsync(Func`2 funcAsync) /_/src/libraries/Common/tests/System/Net/Http/HttpProtocolTests.cs(436,0): at System.Net.Http.Functional.Tests.HttpProtocolTests.<>c__DisplayClass19_0.b__1(LoopbackServer server) /_/src/libraries/Common/tests/System/Threading/Tasks/TaskTimeoutExtensions.cs(119,0): at System.Threading.Tasks.TaskTimeoutExtensions.GetRealException(Task task) ----- Inner Stack Trace ----- /_/src/libraries/System.Net.Sockets/src/System/Net/Sockets/Socket.Tasks.cs(1374,0): at System.Net.Sockets.Socket.AwaitableSocketAsyncEventArgs.CreateException(SocketError error, Boolean forAsyncThrow) /_/src/libraries/System.Net.Sockets/src/System/Net/Sockets/NetworkStream.cs(635,0): at System.Net.Sockets.NetworkStream.WriteAsync(Byte[] buffer, Int32 offset, Int32 count, CancellationToken cancellationToken) /_/src/libraries/Common/tests/System/Net/Http/LoopbackServer.cs(746,0): at System.Net.Test.Common.LoopbackServer.Connection.WriteStringAsync(String s) /_/src/libraries/Common/tests/System/Net/Http/HttpProtocolTests.cs(447,0): at System.Net.Http.Functional.Tests.HttpProtocolTests.<>c__DisplayClass19_0.b__2(Connection connection) /_/src/libraries/System.Private.CoreLib/src/System/Threading/Tasks/Task.cs(3636,0): at System.Threading.Tasks.Task.RunContinuations(Object continuationObject) /_/src/libraries/System.Private.CoreLib/src/System/Threading/Tasks/ValueTask.cs(676,0): at System.Threading.Tasks.ValueTask`1.ValueTaskSourceAsTask.<>c.<.cctor>b__4_0(Object state) /_/src/libraries/System.Private.CoreLib/src/System/Threading/ThreadPoolBoundHandleOverlapped.cs(38,0): at System.Threading.ThreadPoolBoundHandleOverlapped.CompletionCallback(UInt32 errorCode, UInt32 numBytes, NativeOverlapped* nativeOverlapped) /_/src/libraries/System.Private.CoreLib/src/System/Threading/ThreadPoolWorkQueue.cs(1006,0): at System.Threading.ThreadPoolWorkQueue.Dispatch() /_/src/libraries/System.Private.CoreLib/src/System/Threading/PortableThreadPool.WorkerThread.cs(137,0): at System.Threading.PortableThreadPool.WorkerThread.WorkerDoWork(PortableThreadPool threadPoolInstance) /_/src/libraries/System.Private.CoreLib/src/System/Threading/PortableThreadPool.WorkerThread.cs(110,0): at System.Threading.PortableThreadPool.WorkerThread.WorkerThreadStart() /_/src/coreclr/System.Private.CoreLib/src/System/Threading/Thread.CoreCLR.cs(117,0): at System.Threading.Thread.StartCallback(Thread* pThread) --- End of stack trace from previous location --- System.Net.Http.Functional.Tests.SocketsHttpHandler_HttpClientHandler_Proxy_Test.AuthProxy__ValidCreds_ProxySendsRequestToServer [SKIP] Condition(s) not met: "IsNotWindowsNanoServer" System.Net.Http.Functional.Tests.SocketsHttpHandler_HttpClientMiniStress_NoVersion.MakeAndFaultManyRequests [SKIP] Condition(s) not met: "IsStressModeEnabled" System.Net.Http.Functional.Tests.SocketsHttpHandler_HttpClientMiniStress_NoVersion.CreateAndDestroyManyClients [SKIP] Condition(s) not met: "IsStressModeEnabled" System.Net.Http.Functional.Tests.SocketsHttpHandler_HttpClientMiniStress_NoVersion.ManyClients_ManyGets [SKIP] Condition(s) not met: "IsStressModeEnabled" System.Net.Http.Functional.Tests.SocketsHttpHandler_HttpClientMiniStress_NoVersion.SingleClient_ManyGets_Sync [SKIP] Condition(s) not met: "IsStressModeEnabled" System.Net.Http.Functional.Tests.SocketsHttpHandler_HttpClientMiniStress_NoVersion.UnreadResponseMessage_Collectible [SKIP] Condition(s) not met: "IsStressModeEnabled" System.Net.Http.Functional.Tests.SocketsHttpHandler_HttpClientMiniStress_NoVersion.SingleClient_ManyGets_Async [SKIP] Condition(s) not met: "IsStressModeEnabled" System.Net.Http.Functional.Tests.SocketsHttpHandler_HttpClientMiniStress_Http2.UnreadResponseMessage_Collectible [SKIP] Condition(s) not met: "IsStressModeEnabled" System.Net.Http.Functional.Tests.SocketsHttpHandler_HttpClientMiniStress_Http2.ManyClients_ManyGets [SKIP] Condition(s) not met: "IsStressModeEnabled" System.Net.Http.Functional.Tests.SocketsHttpHandler_HttpClientMiniStress_Http2.SingleClient_ManyGets_Async [SKIP] Condition(s) not met: "IsStressModeEnabled" System.Net.Http.Functional.Tests.SocketsHttpHandler_HttpClientMiniStress_Http2.MakeAndFaultManyRequests [SKIP] Condition(s) not met: "IsStressModeEnabled" System.Net.Http.Functional.Tests.SocketsHttpHandler_HttpClientMiniStress_Http2.SingleClient_ManyGets_Sync [SKIP] Condition(s) not met: "IsStressModeEnabled" System.Net.Http.Functional.Tests.SocketsHttpHandler_HttpClientMiniStress_Http11.UnreadResponseMessage_Collectible [SKIP] Condition(s) not met: "IsStressModeEnabled" System.Net.Http.Functional.Tests.SocketsHttpHandler_HttpClientMiniStress_Http11.MakeAndFaultManyRequests [SKIP] Condition(s) not met: "IsStressModeEnabled" System.Net.Http.Functional.Tests.SocketsHttpHandler_HttpClientMiniStress_Http11.ManyClients_ManyPosts_Async [SKIP] Condition(s) not met: "IsStressModeEnabled" System.Net.Http.Functional.Tests.SocketsHttpHandler_HttpClientMiniStress_Http11.SingleClient_ManyGets_Async [SKIP] Condition(s) not met: "IsStressModeEnabled" System.Net.Http.Functional.Tests.SocketsHttpHandler_HttpClientMiniStress_Http11.SingleClient_ManyGets_Sync [SKIP] Condition(s) not met: "IsStressModeEnabled" System.Net.Http.Functional.Tests.SocketsHttpHandler_HttpClientMiniStress_Http11.ManyClients_ManyGets [SKIP] Condition(s) not met: "IsStressModeEnabled" Finished: System.Net.Http.Functional.Tests === TEST EXECUTION SUMMARY === System.Net.Http.Functional.Tests Total: 900, Errors: 0, Failed: 17, Skipped: 28, Time: 492.858s ----- end Mon 08/10/2026 12:55:37.37 ----- exit code 1 ---------------------------------------------------------- C:\Python-env\Lib\site-packages\azure\__init__.py:5: UserWarning: pkg_resources is deprecated as an API. See https://setuptools.pypa.io/en/latest/pkg_resources.html. The pkg_resources package is slated for removal as early as 2025-11-30. Refrain from using this package or pin to Setuptools<81. import pkg_resources 2026-08-10T12:55:41.125Z INFO run.py managed_identity(151) __init__ ManagedIdentityCredential will use IMDS with client_id: 3423231b-6b9e-4177-8817-76276b647404 2026-08-10T12:55:41.126Z INFO run.py azure_utils(32) get_credential_and_access_token VMSSManagedIdentity VmssMIClientIdForUpload Auth type will be used 2026-08-10T12:55:41.126Z INFO run.py _universal(535) on_request Request URL: 'http://169.254.169.254/metadata/identity/oauth2/token?api-version=2018-02-01&resource=REDACTED&client_id=REDACTED' Request method: 'GET' Request headers: 'Metadata': 'REDACTED' 'x-client-SKU': 'REDACTED' 'x-client-Ver': 'REDACTED' 'x-ms-client-request-id': '5bfa3eee-1274-4e93-a923-aed8efcbef2b' 'User-Agent': 'azsdk-python-identity/1.25.3 Python/3.14.5 (Windows-2019Server-10.0.17763-SP0)' No body was attached to the request 2026-08-10T12:55:43.135Z INFO run.py _universal(535) on_request Request URL: 'http://169.254.169.254/metadata/identity/oauth2/token?api-version=2018-02-01&resource=REDACTED&client_id=REDACTED' Request method: 'GET' Request headers: 'Metadata': 'REDACTED' 'x-client-SKU': 'REDACTED' 'x-client-Ver': 'REDACTED' 'x-ms-client-request-id': '5bfa3eee-1274-4e93-a923-aed8efcbef2b' 'User-Agent': 'azsdk-python-identity/1.25.3 Python/3.14.5 (Windows-2019Server-10.0.17763-SP0)' No body was attached to the request 2026-08-10T12:55:46.739Z INFO run.py _universal(535) on_request Request URL: 'http://169.254.169.254/metadata/identity/oauth2/token?api-version=2018-02-01&resource=REDACTED&client_id=REDACTED' Request method: 'GET' Request headers: 'Metadata': 'REDACTED' 'x-client-SKU': 'REDACTED' 'x-client-Ver': 'REDACTED' 'x-ms-client-request-id': '5bfa3eee-1274-4e93-a923-aed8efcbef2b' 'User-Agent': 'azsdk-python-identity/1.25.3 Python/3.14.5 (Windows-2019Server-10.0.17763-SP0)' No body was attached to the request 2026-08-10T12:55:51.955Z INFO run.py _universal(535) on_request Request URL: 'http://169.254.169.254/metadata/identity/oauth2/token?api-version=2018-02-01&resource=REDACTED&client_id=REDACTED' Request method: 'GET' Request headers: 'Metadata': 'REDACTED' 'x-client-SKU': 'REDACTED' 'x-client-Ver': 'REDACTED' 'x-ms-client-request-id': '5bfa3eee-1274-4e93-a923-aed8efcbef2b' 'User-Agent': 'azsdk-python-identity/1.25.3 Python/3.14.5 (Windows-2019Server-10.0.17763-SP0)' No body was attached to the request 2026-08-10T12:55:53.973Z WARNING run.py msal_managed_identity_client(191) _get_token_base ImdsCredential.get_token failed: ManagedIdentityCredential authentication unavailable, no response from the IMDS endpoint. 2026-08-10T12:55:53.973Z WARNING run.py decorators(51) wrapper ManagedIdentityCredential.get_token failed: ManagedIdentityCredential authentication unavailable, no response from the IMDS endpoint. 2026-08-10T12:55:53.973Z WARNING run.py azure_utils(66) get_credential_and_access_token Token was not retrieved: ManagedIdentityCredential authentication unavailable, no response from the IMDS endpoint. Server failed to authenticate the request. Please refer to the information in the www-authenticate header. RequestId:8c28b217-201e-0087-02c7-289121000000 Time:2026-08-10T12:55:54.3684036Z ErrorCode:NoAuthenticationInformation Error:None Content: NoAuthenticationInformationServer failed to authenticate the request. Please refer to the information in the www-authenticate header. RequestId:8c28b217-201e-0087-02c7-289121000000 Time:2026-08-10T12:55:54.3684036Z 2026-08-10T12:55:54.409Z INFO run.py run(67) main Beginning reading of test results. 2026-08-10T12:55:54.409Z INFO run.py __init__(49) read_results Searching 'C:\helix\work\workitem\e' for test results files 2026-08-10T12:55:54.409Z INFO run.py __init__(55) read_results Found results file C:\helix\work\workitem\e\testResults.xml with format xunit 2026-08-10T12:55:54.424Z INFO run.py __init__(49) read_results Searching 'C:\helix\work\workitem\uploads' for test results files 2026-08-10T12:55:54.425Z INFO run.py packing_test_reporter(30) report_results Packing 900 test reports to 'C:\helix\work\workitem\e\__test_report.json' 2026-08-10T12:55:54.428Z INFO run.py packing_test_reporter(33) report_results Packed 437157 bytes 2026-08-10T12:55:54.429Z INFO run.py _helix_compat(255) report_results Writing 0 test results to 'C:\helix\work\workitem\e\__test_report_v2.json' (JSON v1) 2026-08-10T12:55:54.430Z INFO run.py _helix_compat(261) report_results Wrote 2377 bytes to 'C:\helix\work\workitem\e\__test_report_v2.json' 'taskkill.exe' is not recognized as an internal or external command, operable program or batch file. gen-debug-dump-docs.py: Did not find dumps, skipping dump docs generation. [END EXECUTION] Exit Code:0