runtime icon indicating copy to clipboard operation
runtime copied to clipboard

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

Open maraf opened this issue 1 year ago • 2 comments

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: https://github.com/dotnet/runtime/pull/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: :mag_right: 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: :white_check_mark: Known issue matched with the provided build. Validation performed at: 1/17/2024 12:48:48 PM UTC

Report

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

Summary

24-Hour Hit Count 7-Day Hit Count 1-Month Count
0 3 3

maraf avatar Jan 17 '24 12:01 maraf

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

ghost avatar Jan 17 '24 12:01 ghost

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

maraf avatar Jan 17 '24 12:01 maraf