Thanks to visit codestin.com
Credit goes to github.com

Skip to content

[wasm] at System.Net.Http.BrowserHttpInterop.CancellationHelper #112533

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

Open
lewing opened this issue Feb 13, 2025 · 3 comments
Open

[wasm] at System.Net.Http.BrowserHttpInterop.CancellationHelper #112533

lewing opened this issue Feb 13, 2025 · 3 comments
Assignees
Labels
arch-wasm WebAssembly architecture area-System.Net.Http blocking-clean-ci Blocking PR or rolling runs of 'runtime' or 'runtime-extra-platforms' Known Build Error Use this to report build issues in the .NET Helix tab os-browser Browser variant of arch-wasm
Milestone

Comments

@lewing
Copy link
Member

lewing commented Feb 13, 2025

Build Information

Build: https://dev.azure.com/dnceng-public/cbb18261-c48f-4abb-8651-8cdcb5474649/_build/results?buildId=951332
Build error leg or test failing: System.Net.Http.Functional.Tests.HttpContentTest.ReadAsStringAsync_Unbuffered_CanBeCanceled_AlreadyCanceledCts
Pull request: #112295

Error Message

Fill the error message using step by step known issues guidance.

{
  "ErrorMessage": "at System.Net.Http.BrowserHttpInterop.CancellationHelper",
  "ErrorPattern": "",
  "BuildRetry": false,
  "ExcludeConsoleLog": false
}

Known issue validation

Build: 🔎 https://dev.azure.com/dnceng-public/public/_build/results?buildId=951332
Error message validated: [at System.Net.Http.BrowserHttpInterop.CancellationHelper]
Result validation: ✅ Known issue matched with the provided build.
Validation performed at: 2/13/2025 6:46:50 PM UTC

Report

Build Definition Test Pull Request
1034105 dotnet/runtime WasmTestOnFirefox-ST-System.Net.Http.Functional.Tests.WorkItemExecution #114702
1033711 dotnet/runtime WasmTestOnChrome-ST-System.Net.Http.Functional.Tests.WorkItemExecution #115062
1033650 dotnet/runtime WasmTestOnChrome-ST-System.Net.Http.Functional.Tests.WorkItemExecution #115204
1032992 dotnet/runtime WasmTestOnChrome-ST-System.Net.Http.Functional.Tests.WorkItemExecution
1032542 dotnet/runtime WasmTestOnChrome-ST-System.Net.Http.Functional.Tests.WorkItemExecution #114800
1029780 dotnet/runtime WasmTestOnChrome-ST-System.Net.Http.Functional.Tests.WorkItemExecution #114800
1029571 dotnet/runtime WasmTestOnChrome-ST-System.Net.Http.Functional.Tests.WorkItemExecution #114629
1029422 dotnet/runtime WasmTestOnChrome-ST-System.Net.Http.Functional.Tests.WorkItemExecution #113956
1029273 dotnet/runtime WasmTestOnChrome-ST-System.Net.Http.Functional.Tests.WorkItemExecution #115066
1028849 dotnet/runtime WasmTestOnChrome-ST-System.Net.Http.Functional.Tests.WorkItemExecution #115128
1028559 dotnet/runtime WasmTestOnChrome-ST-System.Net.Http.Functional.Tests.WorkItemExecution #115113
1028026 dotnet/runtime WasmTestOnChrome-ST-System.Net.Http.Functional.Tests.WorkItemExecution #115105
1026916 dotnet/runtime WasmTestOnChrome-ST-System.Net.Http.Functional.Tests.WorkItemExecution #115009
1026312 dotnet/runtime WasmTestOnChrome-ST-System.Net.Http.Functional.Tests.WorkItemExecution #114672
1026222 dotnet/runtime WasmTestOnChrome-ST-System.Net.Http.Functional.Tests.WorkItemExecution #115034
1025865 dotnet/runtime WasmTestOnChrome-ST-System.Net.Http.Functional.Tests.WorkItemExecution
1026080 dotnet/runtime WasmTestOnChrome-ST-System.Net.Http.Functional.Tests.WorkItemExecution
1025934 dotnet/runtime System.Net.Http.Functional.Tests.SocketsHttpHandler_HttpClientHandlerTest.ReadAsStreamAsync_HandlerProducesWellBehavedResponseStream
1025255 dotnet/runtime WasmTestOnChrome-ST-System.Net.Http.Functional.Tests.WorkItemExecution #114989
1025134 dotnet/runtime WasmTestOnChrome-ST-System.Net.Http.Functional.Tests.WorkItemExecution #114961
1024764 dotnet/runtime WasmTestOnChrome-ST-System.Net.Http.Functional.Tests.WorkItemExecution #114675
1024821 dotnet/runtime WasmTestOnChrome-ST-System.Net.Http.Functional.Tests.WorkItemExecution #114285
1022414 dotnet/runtime WasmTestOnChrome-ST-System.Net.Http.Functional.Tests.WorkItemExecution #114881
1021156 dotnet/runtime WasmTestOnChrome-ST-System.Net.Http.Functional.Tests.WorkItemExecution #114048
1020688 dotnet/runtime WasmTestOnChrome-ST-System.Net.Http.Functional.Tests.WorkItemExecution #114148
1019108 dotnet/runtime WasmTestOnChrome-ST-System.Net.Http.Functional.Tests.WorkItemExecution #114761
1017726 dotnet/runtime WasmTestOnChrome-ST-System.Net.Http.Functional.Tests.WorkItemExecution #114725
1017206 dotnet/runtime WasmTestOnChrome-ST-System.Net.Http.Functional.Tests.WorkItemExecution #114636
1017110 dotnet/runtime WasmTestOnChrome-ST-System.Net.Http.Functional.Tests.WorkItemExecution #114687
1015145 dotnet/runtime WasmTestOnChrome-ST-System.Net.Http.Functional.Tests.WorkItemExecution #114057
1014931 dotnet/runtime WasmTestOnChrome-ST-System.Net.Http.Functional.Tests.WorkItemExecution
1014675 dotnet/runtime WasmTestOnChrome-ST-System.Net.Http.Functional.Tests.WorkItemExecution #114598
1014414 dotnet/runtime WasmTestOnChrome-ST-System.Net.Http.Functional.Tests.WorkItemExecution
1013962 dotnet/runtime WasmTestOnChrome-ST-System.Net.Http.Functional.Tests.WorkItemExecution #114495
1012362 dotnet/runtime System.Net.Http.Functional.Tests.SocketsHttpHandler_ResponseStreamTest.BrowserHttpHandler_StreamingRequest #111050
1011853 dotnet/runtime WasmTestOnChrome-ST-System.Net.Http.Functional.Tests.WorkItemExecution #114432
1009074 dotnet/runtime WasmTestOnChrome-ST-System.Net.Http.Functional.Tests.WorkItemExecution #110818
1008277 dotnet/runtime WasmTestOnChrome-ST-System.Net.Http.Functional.Tests.WorkItemExecution #114293
1007764 dotnet/runtime WasmTestOnChrome-ST-System.Net.Http.Functional.Tests.WorkItemExecution #114148

Summary

24-Hour Hit Count 7-Day Hit Count 1-Month Count
0 5 39
@lewing lewing added blocking-clean-ci Blocking PR or rolling runs of 'runtime' or 'runtime-extra-platforms' Known Build Error Use this to report build issues in the .NET Helix tab labels Feb 13, 2025
@dotnet-policy-service dotnet-policy-service bot added the untriaged New issue has not been triaged by the area owner label Feb 13, 2025
@lewing lewing added arch-wasm WebAssembly architecture os-browser Browser variant of arch-wasm area-System.Net.Http and removed area-System.Net.Http blocking-clean-ci Blocking PR or rolling runs of 'runtime' or 'runtime-extra-platforms' untriaged New issue has not been triaged by the area owner Known Build Error Use this to report build issues in the .NET Helix tab labels Feb 13, 2025
Copy link
Contributor

Tagging subscribers to 'arch-wasm': @lewing
See info in area-owners.md if you want to be subscribed.

Copy link
Contributor

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

@lewing lewing added blocking-clean-ci Blocking PR or rolling runs of 'runtime' or 'runtime-extra-platforms' Known Build Error Use this to report build issues in the .NET Helix tab labels Feb 14, 2025
@pavelsavara
Copy link
Member

Log

[09:27:39] info: [FAIL] System.Net.Http.Functional.Tests.HttpClientTest.GetStringAsync_Success
[09:27:39] info: System.Threading.Tasks.TaskCanceledException : The request was canceled due to the configured HttpClient.Timeout of 100 seconds elapsing.
[09:27:39] info: ---- System.TimeoutException : The operation was canceled.
[09:27:39] info: -------- System.Threading.Tasks.TaskCanceledException : The operation was canceled.
[09:27:39] info: ------------ System.Runtime.InteropServices.JavaScript.JSException : Error: OperationCanceledException
[09:27:39] info:    at System.Net.Http.HttpClient.HandleFailure(Exception e, Boolean telemetryStarted, HttpResponseMessage response, CancellationTokenSource cts, CancellationToken cancellationToken, CancellationTokenSource pendingRequestsCts)
[09:27:39] info:    at System.Net.Http.HttpClient.GetStringAsyncCore(HttpRequestMessage request, CancellationToken cancellationToken)
[09:27:39] info:    at System.Net.Http.Functional.Tests.HttpClientTest.<>c__DisplayClass24_0.<<GetStringAsync_Success>b__0>d.MoveNext()
[09:27:39] info: --- End of stack trace from previous location ---
[09:27:39] info:    at System.Threading.Tasks.TaskTimeoutExtensions.GetRealException(Task task)
[09:27:39] info: --- End of stack trace from previous location ---
[09:27:39] info:    at System.Threading.Tasks.TaskTimeoutExtensions.WhenAllOrAnyFailed(Task[] tasks)
[09:27:39] info:    at System.Net.Test.Common.LoopbackServer.<>c__DisplayClass15_0.<<CreateClientAndServerAsync>b__0>d.MoveNext()
[09:27:39] info: --- End of stack trace from previous location ---
[09:27:39] info:    at System.Net.Test.Common.LoopbackServer.CreateServerAsync(Func`2 funcAsync, Options options)
[09:27:39] info:    at System.Net.Http.Functional.Tests.HttpClientTest.GetStringAsync_Success()
[09:27:39] info: --- End of stack trace from previous location ---
[09:27:39] info: ----- Inner Stack Trace -----
[09:27:39] info: 
[09:27:39] info: ----- Inner Stack Trace -----
[09:27:39] info:    at System.Net.Http.CancellationHelper.ThrowOperationCanceledException(Exception innerException, CancellationToken cancellationToken)
[09:27:39] info:    at System.Net.Http.CancellationHelper.ThrowIfCancellationRequested(Exception innerException, CancellationToken cancellationToken)
[09:27:39] info:    at System.Net.Http.BrowserHttpInterop.CancellationHelper(Task promise, CancellationToken cancellationToken, JSObject jsController)
[09:27:39] info:    at System.Net.Http.BrowserHttpController.CallFetch()
[09:27:39] info:    at System.Net.Http.HttpClient.GetStringAsyncCore(HttpRequestMessage request, CancellationToken cancellationToken)
[09:27:39] info: ----- Inner Stack Trace -----
[09:27:39] info:    at System.Net.Http.BrowserHttpInterop.CancellationHelper(Task promise, CancellationToken cancellationToken, JSObject jsController)
[09:27:39] info:     at Qr.cancel (http://127.0.0.1:49255/_framework/dotnet.runtime.js:3:43796)
[09:27:39] info:     at http://127.0.0.1:49255/_framework/dotnet.runtime.js:3:175950
[09:27:39] info:     at http://127.0.0.1:49255/_framework/dotnet.runtime.js:3:175959
[09:27:39] info:     at mr (http://127.0.0.1:49255/_framework/dotnet.runtime.js:3:35574)
[09:27:39] info:     at Fc (http://127.0.0.1:49255/_framework/dotnet.runtime.js:3:175737)
[09:27:39] info:     at http://127.0.0.1:49255/_framework/dotnet.native.wasm:wasm-function[293]:0x20099
[09:27:39] info:     at http://127.0.0.1:49255/_framework/dotnet.native.wasm:wasm-function[221]:0x1d34c
[09:27:39] info:     at http://127.0.0.1:49255/_framework/dotnet.native.wasm:wasm-function[212]:0xf14f
[09:27:39] info:     at http://127.0.0.1:49255/_framework/dotnet.native.wasm:wasm-function[286]:0x1fb3e
[09:27:39] info:     at http://127.0.0.1:49255/_framework/dotnet.native.wasm:wasm-function[322]:0x20ce4
[09:27:39] info:     at http://127.0.0.1:49255/_framework/dotnet.native.wasm:wasm-function[191]:0xcd99
[09:27:39] info:     at http://127.0.0.1:49255/_framework/dotnet.native.wasm:wasm-function[3567]:0x1139c7
[09:27:39] info:     at mono_wasm_schedule_timer_tick (http://127.0.0.1:49255/_framework/dotnet.runtime.js:3:56853)
[09:27:39] info:     at callUserCallback (http://127.0.0.1:49255/_framework/dotnet.native.js:8:106478)
[09:27:39] info:     at http://127.0.0.1:49255/_framework/dotnet.native.js:8:106746

@pavelsavara pavelsavara added this to the 10.0.0 milestone Apr 1, 2025
@pavelsavara pavelsavara self-assigned this Apr 1, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
arch-wasm WebAssembly architecture area-System.Net.Http blocking-clean-ci Blocking PR or rolling runs of 'runtime' or 'runtime-extra-platforms' Known Build Error Use this to report build issues in the .NET Helix tab os-browser Browser variant of arch-wasm
Projects
None yet
Development

No branches or pull requests

2 participants