Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Test failure: System.Net.Http.Functional.Tests.SyncHttpHandler_HttpClientHandler_Cancellation_Test.Expect100Continue_WaitsExpectedPeriodOfTimeBeforeSendingContent #41953

Closed
v-haren opened this issue Sep 8, 2020 · 5 comments · Fixed by #44053
Labels
area-System.Net.Http test-bug Problem in test source code (most likely)
Milestone

Comments

@v-haren
Copy link

v-haren commented Sep 8, 2020

failed in job: runtime-libraries-coreclr outerloop 20200907.3

net5.0-Windows_NT-Release-x86-CoreCLR_release-Windows.10.Amd64.Server19H1.Open
net5.0-Windows_NT-Release-x64-CoreCLR_release-Windows.10.Amd64.Server19H1.Open

failed tests:
System.Net.Http.Functional.Tests.SyncHttpHandler_HttpClientHandler_Cancellation_Test.Expect100Continue_WaitsExpectedPeriodOfTimeBeforeSendingContent
System.Net.Http.Functional.Tests.SocketsHttpHandler_HttpClientHandler_Cancellation_Test.ConnectTimeout_TimesOutSSLAuth_Throws

Error message

Assert.InRange() Failure
Range:  (00:00:02.5000000 - 00:01:00)
Actual: 00:01:01.6047733


Stack trace
   at System.Net.Http.Functional.Tests.HttpClientHandler_Http11_Cancellation_Test.<Expect100Continue_WaitsExpectedPeriodOfTimeBeforeSendingContent>b__2_0(Uri uri) in /_/src/libraries/System.Net.Http/tests/FunctionalTests/HttpClientHandlerTest.Cancellation.cs:line 67
   at System.Threading.Tasks.TaskTimeoutExtensions.WhenAllOrAnyFailed(Task[] tasks) in /_/src/libraries/Common/tests/System/Threading/Tasks/TaskTimeoutExtensions.cs:line 96
   at System.Threading.Tasks.TaskTimeoutExtensions.WhenAllOrAnyFailed(Task[] tasks) in /_/src/libraries/Common/tests/System/Threading/Tasks/TaskTimeoutExtensions.cs:line 124
   at System.Net.Test.Common.LoopbackServer.<>c__DisplayClass13_0.<<CreateClientAndServerAsync>b__0>d.MoveNext() in /_/src/libraries/Common/tests/System/Net/Http/LoopbackServer.cs:line 87
--- End of stack trace from previous location ---
   at System.Net.Test.Common.LoopbackServer.CreateServerAsync(Func`2 funcAsync, Options options) in /_/src/libraries/Common/tests/System/Net/Http/LoopbackServer.cs:line 71
   at System.Net.Http.Functional.Tests.HttpClientHandler_Http11_Cancellation_Test.Expect100Continue_WaitsExpectedPeriodOfTimeBeforeSendingContent() in /_/src/libraries/System.Net.Http/tests/FunctionalTests/HttpClientHandlerTest.Cancellation.cs:line 50
--- End of stack trace from previous location ---
@ghost
Copy link

ghost commented Sep 8, 2020

Tagging subscribers to this area: @dotnet/ncl
See info in area-owners.md if you want to be subscribed.

@Dotnet-GitSync-Bot Dotnet-GitSync-Bot added the untriaged New issue has not been triaged by the area owner label Sep 8, 2020
@ManickaP ManickaP added test-bug Problem in test source code (most likely) and removed untriaged New issue has not been triaged by the area owner labels Sep 18, 2020
@ManickaP ManickaP added this to the 6.0.0 milestone Sep 18, 2020
@ManickaP
Copy link
Member

Triage: probably test issue, duration of the test is up to 30s according to Kusto. Increasing the expected range might be a fix.

@v-haren
Copy link
Author

v-haren commented Sep 29, 2020

failed again in job: runtime-libraries-coreclr outerloop 20200928.2

failed test: System.Net.Http.Functional.Tests.SyncHttpHandler_HttpClientHandler_Cancellation_Test.Expect100Continue_WaitsExpectedPeriodOfTimeBeforeSendingContent

net5.0-Linux-Release-x64-CoreCLR_release-(Alpine.312.Amd64.Open)ubuntu.1604.amd64.open@mcr.microsoft.com/dotnet-buildtools/prereqs:alpine-3.12-helix-20200601195603-e06dc59

Error message

Assert.InRange() Failure
Range:  (00:00:02.5000000 - 00:01:00)
Actual: 00:01:00.1476340


Stack trace
   at System.Net.Http.Functional.Tests.HttpClientHandler_Http11_Cancellation_Test.<Expect100Continue_WaitsExpectedPeriodOfTimeBeforeSendingContent>b__2_0(Uri uri) in /_/src/libraries/System.Net.Http/tests/FunctionalTests/HttpClientHandlerTest.Cancellation.cs:line 67
   at System.Threading.Tasks.TaskTimeoutExtensions.WhenAllOrAnyFailed(Task[] tasks) in /_/src/libraries/Common/tests/System/Threading/Tasks/TaskTimeoutExtensions.cs:line 96
   at System.Threading.Tasks.TaskTimeoutExtensions.WhenAllOrAnyFailed(Task[] tasks) in /_/src/libraries/Common/tests/System/Threading/Tasks/TaskTimeoutExtensions.cs:line 124
   at System.Net.Test.Common.LoopbackServer.<>c__DisplayClass13_0.<<CreateClientAndServerAsync>b__0>d.MoveNext() in /_/src/libraries/Common/tests/System/Net/Http/LoopbackServer.cs:line 87
--- End of stack trace from previous location ---
   at System.Net.Test.Common.LoopbackServer.CreateServerAsync(Func`2 funcAsync, Options options) in /_/src/libraries/Common/tests/System/Net/Http/LoopbackServer.cs:line 71
   at System.Net.Http.Functional.Tests.HttpClientHandler_Http11_Cancellation_Test.Expect100Continue_WaitsExpectedPeriodOfTimeBeforeSendingContent() in /_/src/libraries/System.Net.Http/tests/FunctionalTests/HttpClientHandlerTest.Cancellation.cs:line 50
--- End of stack trace from previous location ---

@v-haren
Copy link
Author

v-haren commented Oct 9, 2020

failed again in job: runtime-libraries-coreclr outerloop 20201008.1

failed test: System.Net.Http.Functional.Tests.SocketsHttpHandler_HttpClientHandler_Cancellation_Test.ConnectTimeout_TimesOutSSLAuth_Throws

net6.0-Linux-Release-x64-CoreCLR_release-Centos.7.Amd64.Open

Error message

Assert.InRange() Failure
Range:  (500 - 60000)
Actual: 71243

Stack trace
   at System.Net.Http.Functional.Tests.HttpClientHandler_Http11_Cancellation_Test.<>c__DisplayClass1_0.<<ConnectTimeout_TimesOutSSLAuth_Throws>b__0>d.MoveNext() in /_/src/libraries/System.Net.Http/tests/FunctionalTests/HttpClientHandlerTest.Cancellation.cs:line 40
--- End of stack trace from previous location ---
   at System.Threading.Tasks.TaskTimeoutExtensions.WhenAllOrAnyFailed(Task[] tasks) in /_/src/libraries/Common/tests/System/Threading/Tasks/TaskTimeoutExtensions.cs:line 96
   at System.Threading.Tasks.TaskTimeoutExtensions.WhenAllOrAnyFailed(Task[] tasks) in /_/src/libraries/Common/tests/System/Threading/Tasks/TaskTimeoutExtensions.cs:line 124
   at System.Net.Test.Common.LoopbackServer.<>c__DisplayClass13_0.<<CreateClientAndServerAsync>b__0>d.MoveNext() in /_/src/libraries/Common/tests/System/Net/Http/LoopbackServer.cs:line 88
--- End of stack trace from previous location ---
   at System.Net.Test.Common.LoopbackServer.CreateServerAsync(Func`2 funcAsync, Options options) in /_/src/libraries/Common/tests/System/Net/Http/LoopbackServer.cs:line 72
   at System.Net.Http.Functional.Tests.HttpClientHandler_Http11_Cancellation_Test.ConnectTimeout_TimesOutSSLAuth_Throws() in /_/src/libraries/System.Net.Http/tests/FunctionalTests/HttpClientHandlerTest.Cancellation.cs:line 27
--- End of stack trace from previous location ---

@v-haren
Copy link
Author

v-haren commented Oct 27, 2020

failed again in job: runtime-libraries-coreclr outerloop 20201026.3

failed test: System.Net.Http.Functional.Tests.SocketsHttpHandler_HttpClientHandler_Cancellation_Test.ConnectTimeout_TimesOutSSLAuth_Throws

net6.0-Linux-Release-arm64-CoreCLR_release-(Alpine.312.Arm64.Open)ubuntu.1804.armarch.open@mcr.microsoft.com/dotnet-buildtools/prereqs:alpine-3.12-helix-arm64v8-20200602002604-25f8a3e

Error message

Assert.InRange() Failure
Range:  (500 - 60000)
Actual: 61524


Stack trace
   at System.Net.Http.Functional.Tests.HttpClientHandler_Http11_Cancellation_Test.<>c__DisplayClass1_0.<<ConnectTimeout_TimesOutSSLAuth_Throws>b__0>d.MoveNext() in /_/src/libraries/System.Net.Http/tests/FunctionalTests/HttpClientHandlerTest.Cancellation.cs:line 40
--- End of stack trace from previous location ---
   at System.Threading.Tasks.TaskTimeoutExtensions.WhenAllOrAnyFailed(Task[] tasks) in /_/src/libraries/Common/tests/System/Threading/Tasks/TaskTimeoutExtensions.cs:line 96
   at System.Threading.Tasks.TaskTimeoutExtensions.WhenAllOrAnyFailed(Task[] tasks) in /_/src/libraries/Common/tests/System/Threading/Tasks/TaskTimeoutExtensions.cs:line 124
   at System.Net.Test.Common.LoopbackServer.<>c__DisplayClass13_0.<<CreateClientAndServerAsync>b__0>d.MoveNext() in /_/src/libraries/Common/tests/System/Net/Http/LoopbackServer.cs:line 88
--- End of stack trace from previous location ---
   at System.Net.Test.Common.LoopbackServer.CreateServerAsync(Func`2 funcAsync, Options options) in /_/src/libraries/Common/tests/System/Net/Http/LoopbackServer.cs:line 74
   at System.Net.Http.Functional.Tests.HttpClientHandler_Http11_Cancellation_Test.ConnectTimeout_TimesOutSSLAuth_Throws() in /_/src/libraries/System.Net.Http/tests/FunctionalTests/HttpClientHandlerTest.Cancellation.cs:line 27
--- End of stack trace from previous location ---

@ghost ghost locked as resolved and limited conversation to collaborators Dec 7, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
area-System.Net.Http test-bug Problem in test source code (most likely)
Projects
None yet
3 participants