Repository navigation
Test Failed: GetAsync_SetCookieContainer_CookieSent failed #12043
Description
Activity
@karelz Could you take a look?
@wfurt to help
The test was disabled in dotnet/coreclr#22697.
- changed the title
[-][arm64] Sending request failed[/-][+][arm64] Test Failed: Sending request failed[/+]on Aug 22, 2019 - addedtest-run-coreTest failures in .NET Core test runsTest failures in .NET Core test runsand removed
on Feb 23, 2020 ystem.Net.Http.Functional.Tests.PlatformHandlerTest_Cookies_Http2.GetAsync_SetCookieContainer_CookieSent(cookieName: "foo", cookieValue: "aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa"..., useCookies: True) [FAIL] System.Net.Http.HttpRequestException : Error while copying content to a stream. ---- System.IO.IOException : The read operation failed, see inner exception. -------- System.Net.Http.WinHttpException : Error 12030 calling WINHTTP_CALLBACK_STATUS_REQUEST_ERROR, 'La conexion con el servidor finalizo anormalmente'. Stack Trace: /_/src/libraries/System.Net.Http/src/System/Net/Http/HttpContent.cs(460,0): at System.Net.Http.HttpContent.LoadIntoBufferAsyncCore(Task serializeToStreamTask, MemoryStream tempBuffer) /_/src/libraries/System.Net.Http/src/System/Net/Http/HttpClient.cs(574,0): at System.Net.Http.HttpClient.FinishSendAsyncBuffered(Task`1 sendTask, HttpRequestMessage request, CancellationTokenSource cts, Boolean disposeCts, CancellationToken callerToken, Int64 timeoutTime) /_/src/libraries/Common/tests/System/Net/Http/HttpClientHandlerTest.Cookies.cs(78,0): at System.Net.Http.Functional.Tests.HttpClientHandlerTest_Cookies.<>c__DisplayClass10_0.<<GetAsync_SetCookieContainer_CookieSent>b__0>d.MoveNext() --- End of stack trace from previous location --- /_/src/libraries/Common/tests/System/Threading/Tasks/TaskTimeoutExtensions.cs(83,0): at System.Threading.Tasks.TaskTimeoutExtensions.WhenAllOrAnyFailed(Task[] tasks) /_/src/libraries/Common/tests/System/Threading/Tasks/TaskTimeoutExtensions.cs(111,0): at System.Threading.Tasks.TaskTimeoutExtensions.WhenAllOrAnyFailed(Task[] tasks) /_/src/libraries/Common/tests/System/Net/Http/GenericLoopbackServer.cs(32,0): at System.Net.Test.Common.LoopbackServerFactory.<>c__DisplayClass4_0.<<CreateClientAndServerAsync>b__0>d.MoveNext() --- End of stack trace from previous location --- /_/src/libraries/Common/tests/System/Threading/Tasks/TaskTimeoutExtensions.cs(38,0): at System.Threading.Tasks.TaskTimeoutExtensions.TimeoutAfter(Task task, TimeSpan timeout) /_/src/libraries/Common/tests/System/Net/Http/Http2LoopbackServer.cs(243,0): at System.Net.Test.Common.Http2LoopbackServerFactory.CreateServerAsync(Func`3 funcAsync, Int32 millisecondsTimeout, GenericLoopbackOptions options) /_/src/libraries/Common/tests/System/Threading/Tasks/TaskTimeoutExtensions.cs(38,0): at System.Threading.Tasks.TaskTimeoutExtensions.TimeoutAfter(Task task, TimeSpan timeout) /_/src/libraries/Common/tests/System/Net/Http/HttpClientHandlerTest.Cookies.cs(69,0): at System.Net.Http.Functional.Tests.HttpClientHandlerTest_Cookies.GetAsync_SetCookieContainer_CookieSent(String cookieName, String cookieValue, Boolean useCookies) --- End of stack trace from previous location --- ----- Inner Stack Trace ----- /_/src/libraries/Common/src/System/Threading/Tasks/RendezvousAwaitable.cs(64,0): at System.Threading.Tasks.RendezvousAwaitable`1.GetResult() /_/src/libraries/System.Net.Http.WinHttpHandler/src/System/Net/Http/WinHttpResponseStream.cs(127,0): at System.Net.Http.WinHttpResponseStream.CopyToAsyncCore(Stream destination, Byte[] buffer, CancellationToken cancellationToken) /_/src/libraries/System.Net.Http/src/System/Net/Http/HttpContent.cs(460,0): at System.Net.Http.HttpContent.LoadIntoBufferAsyncCore(Task serializeToStreamTask, MemoryStream tempBuffer) ----- Inner Stack Trace ------ changed the title
[-][arm64] Test Failed: Sending request failed[/-][+]Test Failed: GetAsync_SetCookieContainer_CookieSent failed[/+]on Mar 25, 2020 - addedblocking-clean-ciBlocking PR or rolling runs of 'runtime' or 'runtime-extra-platforms'Blocking PR or rolling runs of 'runtime' or 'runtime-extra-platforms'
on Mar 25, 2020 This test is now having a pretty significant impact on the build. If we can't fix we should look to disable soon.
Console Log Summary
System.Net.Http.Functional.Tests.PlatformHandlerTest_Cookies_Http2.GetAsync_SetCookieContainer_CookieSent(cookieName: "ABC", cookieValue: "123", useCookies: False) [FAIL] System.Net.Http.HttpRequestException : Error while copying content to a stream. ---- System.IO.IOException : The read operation failed, see inner exception. -------- System.Net.Http.WinHttpException : Error 12030 calling WINHTTP_CALLBACK_STATUS_REQUEST_ERROR, 'La conexion con el servidor finalizo anormalmente'. Stack Trace: /_/src/libraries/System.Net.Http/src/System/Net/Http/HttpContent.cs(460,0): at System.Net.Http.HttpContent.LoadIntoBufferAsyncCore(Task serializeToStreamTask, MemoryStream tempBuffer) /_/src/libraries/System.Net.Http/src/System/Net/Http/HttpClient.cs(574,0): at System.Net.Http.HttpClient.FinishSendAsyncBuffered(Task`1 sendTask, HttpRequestMessage request, CancellationTokenSource cts, Boolean disposeCts, CancellationToken callerToken, Int64 timeoutTime) /_/src/libraries/Common/tests/System/Net/Http/HttpClientHandlerTest.Cookies.cs(78,0): at System.Net.Http.Functional.Tests.HttpClientHandlerTest_Cookies.<>c__DisplayClass10_0.<<GetAsync_SetCookieContainer_CookieSent>b__0>d.MoveNext() --- End of stack trace from previous location --- /_/src/libraries/Common/tests/System/Threading/Tasks/TaskTimeoutExtensions.cs(83,0): at System.Threading.Tasks.TaskTimeoutExtensions.WhenAllOrAnyFailed(Task[] tasks) /_/src/libraries/Common/tests/System/Threading/Tasks/TaskTimeoutExtensions.cs(111,0): at System.Threading.Tasks.TaskTimeoutExtensions.WhenAllOrAnyFailed(Task[] tasks) /_/src/libraries/Common/tests/System/Net/Http/GenericLoopbackServer.cs(32,0): at System.Net.Test.Common.LoopbackServerFactory.<>c__DisplayClass4_0.<<CreateClientAndServerAsync>b__0>d.MoveNext() --- End of stack trace from previous location --- /_/src/libraries/Common/tests/System/Threading/Tasks/TaskTimeoutExtensions.cs(38,0): at System.Threading.Tasks.TaskTimeoutExtensions.TimeoutAfter(Task task, TimeSpan timeout) /_/src/libraries/Common/tests/System/Net/Http/Http2LoopbackServer.cs(243,0): at System.Net.Test.Common.Http2LoopbackServerFactory.CreateServerAsync(Func`3 funcAsync, Int32 millisecondsTimeout, GenericLoopbackOptions options) /_/src/libraries/Common/tests/System/Threading/Tasks/TaskTimeoutExtensions.cs(38,0): at System.Threading.Tasks.TaskTimeoutExtensions.TimeoutAfter(Task task, TimeSpan timeout) /_/src/libraries/Common/tests/System/Net/Http/HttpClientHandlerTest.Cookies.cs(69,0): at System.Net.Http.Functional.Tests.HttpClientHandlerTest_Cookies.GetAsync_SetCookieContainer_CookieSent(String cookieName, String cookieValue, Boolean useCookies) --- End of stack trace from previous location --- ----- Inner Stack Trace ----- /_/src/libraries/Common/src/System/Threading/Tasks/RendezvousAwaitable.cs(64,0): at System.Threading.Tasks.RendezvousAwaitable`1.GetResult() /_/src/libraries/System.Net.Http.WinHttpHandler/src/System/Net/Http/WinHttpResponseStream.cs(127,0): at System.Net.Http.WinHttpResponseStream.CopyToAsyncCore(Stream destination, Byte[] buffer, CancellationToken cancellationToken) /_/src/libraries/System.Net.Http/src/System/Net/Http/HttpContent.cs(460,0): at System.Net.Http.HttpContent.LoadIntoBufferAsyncCore(Task serializeToStreamTask, MemoryStream tempBuffer) ----- Inner Stack Trace -----Builds
Build Pull Request Test Failure Count #571145 #33485 1 #571242 #33990 1 #571351 #33881 2 #571369 #33831 1 #571410 #34032 1 #571488 #34040 1 #571536 #33175 1 #571546 #33459 1 #571555 #34022 1 #571580 #34029 1 #571835 Rolling 2 #571875 #34046 1 #571900 #33515 1 #571973 #34000 2 #572023 #34050 1 #572061 Rolling 1 #572108 #33459 2 #572194 Rolling 2 #572256 #33953 1 #572283 Rolling 1 #572349 Rolling 2 #572415 Rolling 1 #572535 #34065 4 #572573 #34022 1 #572708 Rolling 1 #572726 #33820 1 #572811 Rolling 1 #572998 #33732 1 #573124 #33984 1 #573152 #34050 1 Configurations
- netcoreapp5.0-Windows_NT-Debug-x64-CoreCLR_checked-Windows.10.Amd64.Open
- netcoreapp5.0-Windows_NT-Debug-x64-CoreCLR_release-(Windows.Nano.1809.Amd64.Open)windows.10.amd64.serverrs5.open@mcr.microsoft.com/dotnet-buildtools/prereqs:nanoserver-1809-helix-amd64-08e8e40-20200107182504
- netcoreapp5.0-Windows_NT-Debug-x64-CoreCLR_release-Windows.10.Amd64.Server19H1.ES.Open
- netcoreapp5.0-Windows_NT-Debug-x86-CoreCLR_release-Windows.10.Amd64.Server19H1.Open
- netcoreapp5.0-Windows_NT-Release-x64-CoreCLR_release-(Windows.Nano.1809.Amd64.Open)windows.10.amd64.serverrs5.open@mcr.microsoft.com/dotnet-buildtools/prereqs:nanoserver-1809-helix-amd64-08e8e40-20200107182504
- netcoreapp5.0-Windows_NT-Release-x64-CoreCLR_release-Windows.10.Amd64.Server19H1.Open
- netcoreapp5.0-Windows_NT-Release-x64-CoreCLR_release-Windows.10.Amd64.ServerRS5.Open
- netcoreapp5.0-Windows_NT-Release-x86-CoreCLR_checked-Windows.10.Amd64.Open
- netcoreapp5.0-Windows_NT-Release-x86-CoreCLR_release-Windows.10.Amd64.Server19H1.ES.Open
- netcoreapp5.0-Windows_NT-Release-x86-CoreCLR_release-Windows.10.Amd64.ServerRS5.Open
Helix Logs
System.Net.Http.Functional.Tests.SocketsHttpHandlerTest_Cookies_Http2.GetAsync_SetCookieContainer_CookieSent
Console Log Summary
Builds
Build Pull Request Test Failure Count #572535 #34065 13 Configurations
- netcoreapp5.0-Linux-Debug-x64-CoreCLR_release-(Alpine.311.Amd64.Open)ubuntu.1604.amd64.Open@mcr.microsoft.com/dotnet-buildtools/prereqs:alpine-3.11-helix-bfcd90a-20200123191053
- netcoreapp5.0-Linux-Debug-x64-CoreCLR_release-(Fedora.29.Amd64.Open)ubuntu.1604.amd64.open@mcr.microsoft.com/dotnet-buildtools/prereqs:fedora-29-helix-a12566d-20191210224553
- netcoreapp5.0-Linux-Debug-x64-CoreCLR_release-Centos.7.Amd64.Open
- netcoreapp5.0-Linux-Debug-x64-CoreCLR_release-Debian.9.Amd64.Open
- netcoreapp5.0-Linux-Debug-x64-CoreCLR_release-RedHat.7.Amd64.Open
- netcoreapp5.0-Linux-Debug-x64-CoreCLR_release-SLES.15.Amd64.Open
- netcoreapp5.0-Linux-Debug-x64-CoreCLR_release-Ubuntu.1604.Amd64.Open
- netcoreapp5.0-Linux-Debug-x64-CoreCLR_release-Ubuntu.1804.Amd64.Open
- netcoreapp5.0-Windows_NT-Debug-x64-CoreCLR_release-(Windows.Nano.1809.Amd64.Open)windows.10.amd64.serverrs5.open@mcr.microsoft.com/dotnet-buildtools/prereqs:nanoserver-1809-helix-amd64-08e8e40-20200107182504
- netcoreapp5.0-Windows_NT-Debug-x64-CoreCLR_release-Windows.10.Amd64.Server19H1.ES.Open
- netcoreapp5.0-Windows_NT-Debug-x64-CoreCLR_release-Windows.81.Amd64.Open
- netcoreapp5.0-Windows_NT-Debug-x86-CoreCLR_release-Windows.10.Amd64.Server19H1.Open
- netcoreapp5.0-Windows_NT-Release-x86-CoreCLR_release-Windows.10.Amd64.Server19H1.ES.Open
Helix Logs
runfo tests -d runtime -c 100 -pr -n "GetAsync_SetCookieContainer_CookieSent" -m -g tests
7 remaining items
@karelz
System.Net.Http.Functional.Tests.PlatformHandlerTest_Cookies_Http2.GetAsync_SetCookieContainer_CookieSenttest was never executed before for WinHttpHandler until the last week when I enabled as much HTTP/2 tests as I could to have at least some coverage. I tried to disable all failing ones, but must have overlooked this one. @ManickaP will disable it.Do we have an ETA for a fix or disable? This test is the #1 source of CI reliability issues for runtime for last two days. If the fix is not imminent can we disable ASAP?
@ManickaP great thanks!
Ah it just got merged an hour ago hence no rolling builds have completed since the merge. That's why I'm still seeing it as atop issue. Should fade out now.
Duplicate of #33930
- marked this as a duplicate of [WinHttpHandler] PlatformHandlerTest_Cookies_Http2.GetAsync_ReceiveSetCookieHeader test failure #33930
on Mar 26, 2020 - ghost locked as resolved and limited conversation to collaborators
on Dec 14, 2020
Job: (JitStress - arm64)
https://ci.dot.net/job/dotnet_coreclr/job/master/view/arm64/job/jitstress/job/arm64_cross_checked_ubuntu16.04_corefx_tieredcompilation_tst/122/
Failed tests:
System.Net.Http.Functional.Tests.SocketsHttpHandlerTest_Cookies_Http2.GetAsync_SetCookieContainer_CookieSent
Log: