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

Timeout: OuterLoop SocketsHttpHandler_HttpClientHandler_ClientCertificates_Test.Manual_CertificateSentMatchesCertificateReceived_Success #41606

Closed
antonfirsov opened this issue Aug 31, 2020 · 9 comments
Labels
area-System.Net.Http test-bug Problem in test source code (most likely) test-run-core Test failures in .NET Core test runs
Milestone

Comments

@antonfirsov
Copy link
Member

antonfirsov commented Aug 31, 2020

Test Case

System.Net.Http.Functional.Tests.SocketsHttpHandler_HttpClientHandler_ClientCertificates_Test.Manual_CertificateSentMatchesCertificateReceived_Success(numberOfRequests: 6, reuseClient: False)

Failed on

net5.0-Linux-Debug-x64-CoreCLR_release-Ubuntu.1804.Amd64.Open
https://dev.azure.com/dnceng/public/_build/results?buildId=794770&view=ms.vss-test-web.build-test-results-tab&runId=25143524&resultId=104050&paneView=debug

With

System.TimeoutException : WhenAllOrAnyFailed timed out after 60000ms

Stack trace

at System.Threading.Tasks.TaskTimeoutExtensions.WhenAllOrAnyFailed(Task[] tasks, Int32 millisecondsTimeout) in /_/src/libraries/Common/tests/System/Threading/Tasks/TaskTimeoutExtensions.cs:line 88
   at System.Net.Http.Functional.Tests.HttpClientHandler_ClientCertificates_Test.<Manual_CertificateSentMatchesCertificateReceived_Success>g__MakeAndValidateRequest|7_0(HttpClient client, LoopbackServer server, Uri url, X509Certificate2 cert) in /_/src/libraries/Common/tests/System/Net/Http/HttpClientHandlerTest.ClientCertificates.cs:line 140
   at System.Net.Http.Functional.Tests.HttpClientHandler_ClientCertificates_Test.<>c__DisplayClass7_0.<<Manual_CertificateSentMatchesCertificateReceived_Success>b__1>d.MoveNext() in /_/src/libraries/Common/tests/System/Net/Http/HttpClientHandlerTest.ClientCertificates.cs:line 174
--- 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_ClientCertificates_Test.Manual_CertificateSentMatchesCertificateReceived_Success(Int32 numberOfRequests, Boolean reuseClient) in /_/src/libraries/Common/tests/System/Net/Http/HttpClientHandlerTest.ClientCertificates.cs:line 151
--- End of stack trace from previous location ---
@Dotnet-GitSync-Bot Dotnet-GitSync-Bot added area-System.Net.Http untriaged New issue has not been triaged by the area owner labels Aug 31, 2020
@ghost
Copy link

ghost commented Aug 31, 2020

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

@antonfirsov antonfirsov changed the title Timeout: System.Net.Http.Functional.Tests.SocketsHttpHandler_HttpClientHandler_ClientCertificates_Test.Manual_CertificateSentMatchesCertificateReceived_Success Timeout: OuterLoop SocketsHttpHandler_HttpClientHandler_ClientCertificates_Test.Manual_CertificateSentMatchesCertificateReceived_Success Aug 31, 2020
@v-haren
Copy link

v-haren commented Sep 10, 2020

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

failed test: System.Net.Http.Functional.Tests.SocketsHttpHandler_HttpClientHandler_ClientCertificates_Test.Manual_CertificateSentMatchesCertificateReceived_Success(numberOfRequests: 6, reuseClient: False)

net5.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

Error message

System.TimeoutException : WhenAllOrAnyFailed timed out after 60000ms


Stack trace
   at System.Threading.Tasks.TaskTimeoutExtensions.WhenAllOrAnyFailed(Task[] tasks, Int32 millisecondsTimeout) in /_/src/libraries/Common/tests/System/Threading/Tasks/TaskTimeoutExtensions.cs:line 88
   at System.Net.Http.Functional.Tests.HttpClientHandler_ClientCertificates_Test.<Manual_CertificateSentMatchesCertificateReceived_Success>g__MakeAndValidateRequest|7_0(HttpClient client, LoopbackServer server, Uri url, X509Certificate2 cert) in /_/src/libraries/Common/tests/System/Net/Http/HttpClientHandlerTest.ClientCertificates.cs:line 140
   at System.Net.Http.Functional.Tests.HttpClientHandler_ClientCertificates_Test.<>c__DisplayClass7_0.<<Manual_CertificateSentMatchesCertificateReceived_Success>b__1>d.MoveNext() in /_/src/libraries/Common/tests/System/Net/Http/HttpClientHandlerTest.ClientCertificates.cs:line 174
--- 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_ClientCertificates_Test.Manual_CertificateSentMatchesCertificateReceived_Success(Int32 numberOfRequests, Boolean reuseClient) in /_/src/libraries/Common/tests/System/Net/Http/HttpClientHandlerTest.ClientCertificates.cs:line 151
--- End of stack trace from previous location ---

@ManickaP
Copy link
Member

Triage: probably a test issue, duration of this test has been all over the place (from ms to 100s).

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

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_ClientCertificates_Test.Manual_CertificateSentMatchesCertificateReceived_Success(numberOfRequests: 6, reuseClient: False)

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

Error message

System.TimeoutException : WhenAllOrAnyFailed timed out after 60000ms

Stack trace
   at System.Threading.Tasks.TaskTimeoutExtensions.WhenAllOrAnyFailed(Task[] tasks, Int32 millisecondsTimeout) in /_/src/libraries/Common/tests/System/Threading/Tasks/TaskTimeoutExtensions.cs:line 88
   at System.Net.Http.Functional.Tests.HttpClientHandler_ClientCertificates_Test.<Manual_CertificateSentMatchesCertificateReceived_Success>g__MakeAndValidateRequest|7_0(HttpClient client, LoopbackServer server, Uri url, X509Certificate2 cert) in /_/src/libraries/Common/tests/System/Net/Http/HttpClientHandlerTest.ClientCertificates.cs:line 140
   at System.Net.Http.Functional.Tests.HttpClientHandler_ClientCertificates_Test.<>c__DisplayClass7_0.<<Manual_CertificateSentMatchesCertificateReceived_Success>b__1>d.MoveNext() in /_/src/libraries/Common/tests/System/Net/Http/HttpClientHandlerTest.ClientCertificates.cs:line 174
--- 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_ClientCertificates_Test.Manual_CertificateSentMatchesCertificateReceived_Success(Int32 numberOfRequests, Boolean reuseClient) in /_/src/libraries/Common/tests/System/Net/Http/HttpClientHandlerTest.ClientCertificates.cs:line 151
--- End of stack trace from previous location ---

@v-haren
Copy link

v-haren commented Dec 25, 2020

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

failed test: System.Net.Http.Functional.Tests.SocketsHttpHandler_HttpClientHandler_ClientCertificates_Test.Manual_CertificateSentMatchesCertificateReceived_Success(numberOfRequests: 6, reuseClient: False)

net6.0-windows-Release-x64-CoreCLR_release-(Windows.Server.Core.1909.Amd64.Open)windows.10.amd64.server20h1.open@mcr.microsoft.com/dotnet-buildtools/prereqs:windowsservercore-2004-helix-amd64-20200904200251-272704c

Error message

System.TimeoutException : WhenAllOrAnyFailed timed out after 60000ms


Stack trace
   at System.Threading.Tasks.TaskTimeoutExtensions.WhenAllOrAnyFailed(Task[] tasks, Int32 millisecondsTimeout) in /_/src/libraries/Common/tests/System/Threading/Tasks/TaskTimeoutExtensions.cs:line 88
   at System.Net.Http.Functional.Tests.HttpClientHandler_ClientCertificates_Test.<Manual_CertificateSentMatchesCertificateReceived_Success>g__MakeAndValidateRequest|7_0(HttpClient client, LoopbackServer server, Uri url, X509Certificate2 cert) in /_/src/libraries/Common/tests/System/Net/Http/HttpClientHandlerTest.ClientCertificates.cs:line 140
   at System.Net.Http.Functional.Tests.HttpClientHandler_ClientCertificates_Test.<>c__DisplayClass7_0.<<Manual_CertificateSentMatchesCertificateReceived_Success>b__1>d.MoveNext() in /_/src/libraries/Common/tests/System/Net/Http/HttpClientHandlerTest.ClientCertificates.cs:line 174
--- 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_ClientCertificates_Test.Manual_CertificateSentMatchesCertificateReceived_Success(Int32 numberOfRequests, Boolean reuseClient) in /_/src/libraries/Common/tests/System/Net/Http/HttpClientHandlerTest.ClientCertificates.cs:line 151
--- End of stack trace from previous location ---

@VincentBu
Copy link
Contributor

Failed again in run runtime-libraries-coreclr outerloop 20210209.3

Failed test:

net6.0-Linux-Release-x64-CoreCLR_release-Ubuntu.1604.Amd64.Open
  -System.Net.Http.Functional.Tests.SocketsHttpHandler_HttpClientHandler_ClientCertificates_Test.Manual_CertificateSentMatchesCertificateReceived_Success(numberOfRequests: 6, reuseClient: False)

Error message:

System.TimeoutException : WhenAllOrAnyFailed timed out after 60000ms


Stack trace
   at System.Threading.Tasks.TaskTimeoutExtensions.WhenAllOrAnyFailed(Task[] tasks, Int32 millisecondsTimeout) in /_/src/libraries/Common/tests/System/Threading/Tasks/TaskTimeoutExtensions.cs:line 88
   at System.Net.Http.Functional.Tests.HttpClientHandler_ClientCertificates_Test.<Manual_CertificateSentMatchesCertificateReceived_Success>g__MakeAndValidateRequest|7_0(HttpClient client, LoopbackServer server, Uri url, X509Certificate2 cert) in /_/src/libraries/Common/tests/System/Net/Http/HttpClientHandlerTest.ClientCertificates.cs:line 140
   at System.Net.Http.Functional.Tests.HttpClientHandler_ClientCertificates_Test.<>c__DisplayClass7_0.<<Manual_CertificateSentMatchesCertificateReceived_Success>b__1>d.MoveNext() in /_/src/libraries/Common/tests/System/Net/Http/HttpClientHandlerTest.ClientCertificates.cs:line 174
--- 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_ClientCertificates_Test.Manual_CertificateSentMatchesCertificateReceived_Success(Int32 numberOfRequests, Boolean reuseClient) in /_/src/libraries/Common/tests/System/Net/Http/HttpClientHandlerTest.ClientCertificates.cs:line 151
--- End of stack trace from previous location ---

@karelz
Copy link
Member

karelz commented Apr 23, 2021

Failures: 2/23-4/23 (main/master branch only)

When OS Exception
2021-03-02T12:23:15.559Z ubuntu.1604.amd64.open.rt System.TimeoutException : WhenAllOrAnyFailed timed out after 60000ms
2021-03-06T12:24:16.241Z windows.10.amd64.server20h1.open.rt System.TimeoutException : WhenAllOrAnyFailed timed out after 60000ms
2021-03-28T12:06:11.029Z ubuntu.1604.amd64.open.rt System.TimeoutException : The operation has timed out.
2021-04-06T11:53:15.309Z ubuntu.1604.amd64.open.rt System.TimeoutException : The operation has timed out.

@karelz karelz added the test-run-core Test failures in .NET Core test runs label Apr 23, 2021
@karelz karelz modified the milestones: 6.0.0, Future Apr 23, 2021
@ManickaP
Copy link
Member

Doesn't fail anymore.

@karelz karelz modified the milestones: Future, 9.0.0 Oct 11, 2023
@ghost ghost locked as resolved and limited conversation to collaborators Nov 10, 2023
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) test-run-core Test failures in .NET Core test runs
Projects
None yet
Development

No branches or pull requests

6 participants