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

[browser][MT] System.Net.WebSockets.Client.Tests.ConnectTest.ConnectAsync_CancellationRequestedInflightConnect_ThrowsOperationCanceledException #97092

Closed
maraf opened this issue Jan 17, 2024 · 2 comments · Fixed by #97868
Assignees
Labels
arch-wasm WebAssembly architecture area-System.Runtime.InteropServices.JavaScript 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

@maraf
Copy link
Member

maraf commented Jan 17, 2024

Build Information

Build: https://dev.azure.com/dnceng-public/cbb18261-c48f-4abb-8651-8cdcb5474649/_build/results?buildId=529977
Build error leg or test failing: System.Net.WebSockets.Client.Tests.ConnectTest.ConnectAsync_CancellationRequestedInflightConnect_ThrowsOperationCanceledException
Pull request: #96018

Error Message

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

{
  "ErrorMessage": "[FAIL] System.Net.WebSockets.Client.Tests.ConnectTest.ConnectAsync_CancellationRequestedInflightConnect_ThrowsOperationCanceledException",
  "ErrorPattern": "",
  "BuildRetry": false,
  "ExcludeConsoleLog": false
}

Known issue validation

Build: 🔎 https://dev.azure.com/dnceng-public/public/_build/results?buildId=529977
Error message validated: [FAIL] System.Net.WebSockets.Client.Tests.ConnectTest.ConnectAsync_CancellationRequestedInflightConnect_ThrowsOperationCanceledException
Result validation: ✅ Known issue matched with the provided build.
Validation performed at: 1/17/2024 12:48:48 PM UTC

Report

Build Definition Test Pull Request
549093 dotnet/runtime WasmTestOnBrowser-System.Net.WebSockets.Client.Tests.WorkItemExecution #97589
537653 dotnet/runtime WasmTestOnBrowser-System.Net.WebSockets.Client.Tests.WorkItemExecution #97270
533230 dotnet/runtime WasmTestOnBrowser-System.Net.WebSockets.Client.Tests.WorkItemExecution #95370
530819 dotnet/runtime WasmTestOnBrowser-System.Net.WebSockets.Client.Tests.WorkItemExecution #97104
529977 dotnet/runtime WasmTestOnBrowser-System.Net.WebSockets.Client.Tests.WorkItemExecution #96018

Summary

24-Hour Hit Count 7-Day Hit Count 1-Month Count
0 1 5
@maraf maraf added arch-wasm WebAssembly architecture blocking-clean-ci Blocking PR or rolling runs of 'runtime' or 'runtime-extra-platforms' area-System.Runtime.InteropServices.JavaScript Known Build Error Use this to report build issues in the .NET Helix tab os-browser Browser variant of arch-wasm labels Jan 17, 2024
@maraf maraf added this to the 9.0.0 milestone Jan 17, 2024
@ghost
Copy link

ghost commented Jan 17, 2024

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

Issue Details

Error Blob

{
  "ErrorMessage": "[FAIL] System.Net.WebSockets.Client.Tests.ConnectTest.ConnectAsync_CancellationRequestedInflightConnect_ThrowsOperationCanceledException",
  "BuildRetry": false,
  "ErrorPattern": "",
  "ExcludeConsoleLog": true
}

Reproduction Steps

No response

Author: maraf
Assignees: -
Labels:

arch-wasm, blocking-clean-ci, area-System.Runtime.InteropServices.JavaScript, Known Build Error, os-browser

Milestone: 9.0.0

@maraf
Copy link
Member Author

maraf commented Jan 17, 2024

[11:02:01] info: [2024-01-17T11:02:01.371Z] [FAIL] System.Net.WebSockets.Client.Tests.ConnectTest.ConnectAsync_CancellationRequestedInflightConnect_ThrowsOperationCanceledException
[11:02:01] info: Assert.ThrowsAny() Failure: Exception type was not compatible
[11:02:01] info: Expected: typeof(System.OperationCanceledException)
[11:02:01] info: Actual:   typeof(System.Net.WebSockets.WebSocketException)
[11:02:01] info: ---- System.Net.WebSockets.WebSocketException : Unable to connect to the remote server
[11:02:01] info: -------- System.Runtime.InteropServices.JavaScript.JSException : Error: WebSocket error
[11:02:01] info:    at System.Net.WebSockets.Client.Tests.ConnectTest.ConnectAsync_CancellationRequestedInflightConnect_ThrowsOperationCanceledException()
[11:02:01] info: --- End of stack trace from previous location ---
[11:02:01] info: ----- Inner Stack Trace -----
[11:02:01] info:    at System.Net.WebSockets.BrowserWebSocket.CancellationHelper(Task promise, CancellationToken cancellationToken, WebSocketState previousState, IDisposable disposable)
[11:02:01] info:    at System.Net.WebSockets.BrowserWebSocket.ConnectAsyncCore(CancellationToken cancellationToken)
[11:02:01] info:    at System.Net.WebSockets.ClientWebSocket.ConnectAsyncCore(Uri uri, HttpMessageInvoker invoker, CancellationToken cancellationToken)
[11:02:01] info: ----- Inner Stack Trace -----
[11:02:01] info:    at System.Net.WebSockets.BrowserWebSocket.CancellationHelper(Task promise, CancellationToken cancellationToken, WebSocketState previousState, IDisposable disposable)
[11:02:01] info: ... omitted JavaScript stack trace from another thread.

@pavelsavara pavelsavara self-assigned this Jan 19, 2024
@ghost ghost added the in-pr There is an active PR which will close this issue when it is merged label Feb 2, 2024
@ghost ghost removed the in-pr There is an active PR which will close this issue when it is merged label Feb 5, 2024
@github-actions github-actions bot locked and limited conversation to collaborators Mar 6, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
arch-wasm WebAssembly architecture area-System.Runtime.InteropServices.JavaScript 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
2 participants