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: Expect100Continue_WaitsExpectedPeriodOfTimeBeforeSendingContent #58628

Closed
karelz opened this issue Sep 3, 2021 · 5 comments
Closed
Labels
area-System.Net.Http Known Build Error Use this to report build issues in the .NET Helix tab test-run-core Test failures in .NET Core test runs
Milestone

Comments

@karelz
Copy link
Member

karelz commented Sep 3, 2021

Test types:

  • System.Net.Http.Functional.Tests.SocketsHttpHandler_HttpClientHandler_Cancellation_Test_Http2
  • System.Net.Http.Functional.Tests.SyncHttpHandler_HttpClientHandler_Cancellation_Test

Failures 3/12-9/3 (incl. PRs):

Day Run OS Test
8/25 Official run - release/6.0-rc1 SLES.12.Amd64.Open SocketsHttpHandler_HttpClientHandler_Cancellation_Test_Http2
8/27 PR #58092 (main = 7.0) Ubuntu.1804.Amd64.Open SyncHttpHandler_HttpClientHandler_Cancellation_Test
9/2 PR #58336 (release/6.0) Ubuntu.1604.Amd64.Open SyncHttpHandler_HttpClientHandler_Cancellation_Test

Failure:

System.TimeoutException : The operation has timed out.

   at System.Net.Http.Functional.Tests.SocketsHttpHandler_Cancellation_Test.Expect100Continue_WaitsExpectedPeriodOfTimeBeforeSendingContent() in /_/src/libraries/System.Net.Http/tests/FunctionalTests/SocketsHttpHandlerTest.Cancellation.cs:line 111
--- End of stack trace from previous location ---
{
  "ErrorMessage": "Expect100Continue_WaitsExpectedPeriodOfTimeBeforeSendingContent [FAIL]",
  "BuildRetry": false,
  "ExcludeConsoleLog": false
}

Build Information

Build: https://dev.azure.com/dnceng-public/public/_build/results?buildId=438937
Build error leg or test failing: Expect100Continue_WaitsExpectedPeriodOfTimeBeforeSendingContent

Known issue validation

Build: 🔎 https://dev.azure.com/dnceng-public/public/_build/results?buildId=438937
Error message validated: Expect100Continue_WaitsExpectedPeriodOfTimeBeforeSendingContent [FAIL]
Result validation: ✅ Known issue matched with the provided build.
Validation performed at: 10/17/2023 7:26:38 AM UTC

Report

Build Definition Test Pull Request
705030 dotnet/runtime System.Net.Http.Functional.Tests.SyncHttpHandler_HttpClientHandler_Cancellation_Test.Expect100Continue_WaitsExpectedPeriodOfTimeBeforeSendingContent
698071 dotnet/runtime System.Net.Http.Functional.Tests.SocketsHttpHandler_HttpClientHandler_Http11_Cancellation_Test.ConnectTimeout_TimesOutSSLAuth_Throws

Summary

24-Hour Hit Count 7-Day Hit Count 1-Month Count
0 0 2
@karelz karelz added area-System.Net.Http test-run-core Test failures in .NET Core test runs labels Sep 3, 2021
@karelz karelz added this to the Future milestone Sep 3, 2021
@dotnet-issue-labeler dotnet-issue-labeler bot added the untriaged New issue has not been triaged by the area owner label Sep 3, 2021
@ghost
Copy link

ghost commented Sep 3, 2021

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

Issue Details

Test types:

  • System.Net.Http.Functional.Tests.SocketsHttpHandler_HttpClientHandler_Cancellation_Test_Http2
  • System.Net.Http.Functional.Tests.SyncHttpHandler_HttpClientHandler_Cancellation_Test
Day Run OS Test
8/28 Official run - release/6.0-rc1 SLES.12.Amd64.Open SocketsHttpHandler_HttpClientHandler_Cancellation_Test_Http2
8/27 PR #58092 (main = 7.0) Ubuntu.1804.Amd64.Open SyncHttpHandler_HttpClientHandler_Cancellation_Test
9/2 PR #58336 (release/6.0) Ubuntu.1604.Amd64.Open SyncHttpHandler_HttpClientHandler_Cancellation_Test

Failure:

System.TimeoutException : The operation has timed out.

   at System.Net.Http.Functional.Tests.SocketsHttpHandler_Cancellation_Test.Expect100Continue_WaitsExpectedPeriodOfTimeBeforeSendingContent() in /_/src/libraries/System.Net.Http/tests/FunctionalTests/SocketsHttpHandlerTest.Cancellation.cs:line 111
--- End of stack trace from previous location ---
Author: karelz
Assignees: -
Labels:

area-System.Net.Http, test-run-core

Milestone: Future

@karelz karelz removed the untriaged New issue has not been triaged by the area owner label Sep 3, 2021
@carlossanlop
Copy link
Member

This issue seems to be a bit old but the failure message is the same I'm seeing every now and then.

This release/7.0-rc2 PR hit it: #75932

System.Net.Http.Functional.Tests.SyncHttpHandler_HttpClientHandler_Cancellation_Test.GetAsync_CancelDuringResponseBodyReceived_Unbuffered_TaskCanceledQuickly(chunkedTransfer: True, connectionClose: False, readOrCopyToAsync: False) [FAIL]
      System.TimeoutException : The operation has timed out.
      Stack Trace:
        /_/src/libraries/Common/tests/System/Net/Http/HttpClientHandlerTest.Cancellation.cs(260,0): at System.Net.Http.Functional.Tests.HttpClientHandler_Cancellation_Test.<>c__DisplayClass4_2.<<GetAsync_CancelDuringResponseBodyReceived_Unbuffered_TaskCanceledQuickly>b__0>d.MoveNext()
        --- End of stack trace from previous location ---
        /_/src/libraries/Common/tests/System/Net/Http/LoopbackServer.cs(101,0): at System.Net.Test.Common.LoopbackServer.CreateServerAsync(Func`2 funcAsync, Options options)
        /_/src/libraries/Common/tests/System/Net/Http/HttpClientHandlerTest.Cancellation.cs(228,0): at System.Net.Http.Functional.Tests.HttpClientHandler_Cancellation_Test.GetAsync_CancelDuringResponseBodyReceived_Unbuffered_TaskCanceledQuickly(Boolean chunkedTransfer, Boolean connectionClose, Boolean readOrCopyToAsync)
        --- End of stack trace from previous location ---

@ManickaP
Copy link
Member

Triage: this looks quite active, we should look into it.

@ManickaP ManickaP modified the milestones: Future, 9.0.0 Sep 20, 2023
@rzikm rzikm added the Known Build Error Use this to report build issues in the .NET Helix tab label Oct 17, 2023
@build-analysis build-analysis bot removed this from the 9.0.0 milestone Nov 15, 2023
@ghost ghost added the untriaged New issue has not been triaged by the area owner label Nov 15, 2023
@akoeplinger akoeplinger added this to the 9.0.0 milestone Nov 24, 2023
@ghost ghost removed the untriaged New issue has not been triaged by the area owner label Nov 24, 2023
@liveans
Copy link
Member

liveans commented Jul 3, 2024

This should be fixed by #102699. I don't see any TimeoutException on Kusto in main within last 30 day as well (only handshake timeouts on QUIC which can be too short in some cases), and both reported issues are from release/6.0 and release/8.0 branches. I'd say let's close this and track this handshake timeout issue under another issue.

/cc @ManickaP

@liveans
Copy link
Member

liveans commented Jul 4, 2024

Original bug fixed by #102699 in main.
For handshake timeouts closing this in favor of #104426.

@liveans liveans closed this as completed Jul 4, 2024
@github-actions github-actions bot locked and limited conversation to collaborators Aug 4, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
area-System.Net.Http Known Build Error Use this to report build issues in the .NET Helix tab test-run-core Test failures in .NET Core test runs
Projects
None yet
Development

No branches or pull requests

6 participants