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] Unhandled JS error #97546

Closed
radekdoulik opened this issue Jan 26, 2024 · 7 comments
Closed

[browser][MT] Unhandled JS error #97546

radekdoulik opened this issue Jan 26, 2024 · 7 comments
Assignees
Labels
arch-wasm WebAssembly architecture area-VM-threading-mono Known Build Error Use this to report build issues in the .NET Helix tab os-browser Browser variant of arch-wasm
Milestone

Comments

@radekdoulik
Copy link
Member

radekdoulik commented Jan 26, 2024

Build: https://dev.azure.com/dnceng-public/public/_build/results?buildId=551928

{
  "ErrorMessage": "Unhandled error",
  "BuildRetry": false,
  "ExcludeConsoleLog": false
}

Leg Name: LibraryTests_Threading_Smoke

New WS timeouts in Build browser-wasm linux Release LibraryTests_Threading_Smoke

Log
Log

[08:30:14] info: [2024-01-26T08:30:14.046Z] [STRT] System.Net.WebSockets.Client.Tests.ConnectTest.ConnectAsync_CancellationRequestedAfterConnect_ThrowsOperationCanceledException
[08:30:14] warn: MONO_WASM [0xdc21c-main]: WebSocket error {}
[08:30:14] fail: [out of order message from the browser]: http://127.0.0.1:42881/_framework/dotnet.runtime.js 2 WebSocket connection to 'ws://127.0.0.1:37741/' failed: Connection closed before receiving a handshake response
[08:30:14] info: [2024-01-26T08:30:14.119Z] [PASS] System.Net.WebSockets.Client.Tests.ConnectTest.ConnectAsync_CancellationRequestedAfterConnect_ThrowsOperationCanceledException
[08:30:14] info: [2024-01-26T08:30:14.122Z] [STRT] System.Net.WebSockets.Client.Tests.ConnectTest.ConnectAsync_CancellationRequestedBeforeConnect_ThrowsOperationCanceledException
[08:30:14] info: [2024-01-26T08:30:14.125Z] [PASS] System.Net.WebSockets.Client.Tests.ConnectTest.ConnectAsync_CancellationRequestedBeforeConnect_ThrowsOperationCanceledException
[08:30:14] info: [2024-01-26T08:30:14.127Z] [STRT] System.Net.WebSockets.Client.Tests.ConnectTest.ConnectAsync_CancellationRequestedInflightConnect_ThrowsOperationCanceledException
[08:30:14] info: [2024-01-26T08:30:14.144Z] [PASS] System.Net.WebSockets.Client.Tests.ConnectTest.ConnectAsync_CancellationRequestedInflightConnect_ThrowsOperationCanceledException
[08:30:14] warn: MONO_WASM [0xdc21c-main]: WebSocket error {}
[08:30:14] info: [2024-01-26T08:30:14.147Z] [STRT] System.Net.WebSockets.Client.Tests.ConnectTest.EchoTextMessage_Success(server: ws://127.0.0.1:42881/WebSocket/EchoWebSocket.ashx)
[08:30:14] fail: [out of order message from the browser]: http://127.0.0.1:42881/_framework/dotnet.runtime.js 2 WebSocket connection to 'ws://001284c1617e4d19bc9194791e992b0f/' failed: Error in connection establishment: net::ERR_NAME_NOT_RESOLVED
[08:30:14] info: [2024-01-26T08:30:14.173Z] [PASS] System.Net.WebSockets.Client.Tests.ConnectTest.EchoTextMessage_Success(server: ws://127.0.0.1:42881/WebSocket/EchoWebSocket.ashx)
[08:30:14] info: [2024-01-26T08:30:14.174Z] [STRT] System.Net.WebSockets.Client.Tests.ConnectTest.EchoTextMessage_Success(server: wss://127.0.0.1:44107/WebSocket/EchoWebSocket.ashx)
[08:30:14] info: [2024-01-26T08:30:14.208Z] [PASS] System.Net.WebSockets.Client.Tests.ConnectTest.EchoTextMessage_Success(server: wss://127.0.0.1:44107/WebSocket/EchoWebSocket.ashx)
[08:30:14] info: [2024-01-26T08:30:14.213Z] [STRT] System.Net.WebSockets.Client.Tests.HttpClientConnectTest.ConnectAsync_PassNoSubProtocol_ServerRequires_ThrowsWebSocketException(server: ws://127.0.0.1:42881/WebSocket/EchoWebSocket.ashx)
[08:30:14] warn: MONO_WASM [0xdc21c-main]: WebSocket error {}
[08:30:14] fail: MONO_WASM: {"status":1,"silent":true}
[08:30:14] fail: [out of order message from the browser]: http://127.0.0.1:42881/_framework/dotnet.runtime.js 2 WebSocket connection to 'ws://127.0.0.1:42881/WebSocket/EchoWebSocket.ashx?subprotocol=CustomProtocol' failed: Error during WebSocket handshake: Response must not include 'Sec-WebSocket-Protocol' header if not present in request: CustomProtocol
[08:30:14] info: WASM EXIT 1
[08:30:14] info: Waiting to flush log messages with a timeout of 120 secs ..
[08:30:14] fail: Application has finished with exit code TESTS_FAILED but 0 was expected
XHarness exit code: 71 (GENERAL_FAILURE)
/root/helix/work/workitem/e /root/helix/work/workitem/e
----- end Fri Jan 26 08:30:14 AM UTC 2024 ----- exit code 71 ----------------------------------------------------------

and

[10:04:20] info: [2024-01-26T10:04:20.516Z] [STRT] System.Net.WebSockets.Client.Tests.ConnectTest.ConnectAsync_PassNoSubProtocol_ServerRequires_ThrowsWebSocketException(server: ws://127.0.0.1:34553/WebSocket/EchoWebSocket.ashx)
[10:04:20] warn: MONO_WASM [0xdc21c-main]: WebSocket error {}
[10:04:20] fail: [out of order message from the browser]: http://127.0.0.1:34553/_framework/dotnet.runtime.js 2 WebSocket connection to 'ws://127.0.0.1:34553/WebSocket/EchoWebSocket.ashx?subprotocol=CustomProtocol' failed: Error during WebSocket handshake: Response must not include 'Sec-WebSocket-Protocol' header if not present in request: CustomProtocol
[10:04:20] info: [2024-01-26T10:04:20.546Z] [PASS] System.Net.WebSockets.Client.Tests.ConnectTest.ConnectAsync_PassNoSubProtocol_ServerRequires_ThrowsWebSocketException(server: ws://127.0.0.1:34553/WebSocket/EchoWebSocket.ashx)
[10:04:20] info: [2024-01-26T10:04:20.547Z] [STRT] System.Net.WebSockets.Client.Tests.ConnectTest.ConnectAsync_PassNoSubProtocol_ServerRequires_ThrowsWebSocketException(server: wss://127.0.0.1:40241/WebSocket/EchoWebSocket.ashx)
[10:04:20] warn: MONO_WASM [0xdc21c-main]: WebSocket error {}
[10:04:20] fail: [out of order message from the browser]: http://127.0.0.1:34553/_framework/dotnet.runtime.js 2 WebSocket connection to 'wss://127.0.0.1:40241/WebSocket/EchoWebSocket.ashx?subprotocol=CustomProtocol' failed: Error during WebSocket handshake: Response must not include 'Sec-WebSocket-Protocol' header if not present in request: CustomProtocol
[10:04:20] info: [2024-01-26T10:04:20.586Z] [PASS] System.Net.WebSockets.Client.Tests.ConnectTest.ConnectAsync_PassNoSubProtocol_ServerRequires_ThrowsWebSocketException(server: wss://127.0.0.1:40241/WebSocket/EchoWebSocket.ashx)
[10:04:20] info: [2024-01-26T10:04:20.588Z] [STRT] System.Net.WebSockets.Client.Tests.ConnectTest.ConnectAsync_CancellationRequestedAfterConnect_ThrowsOperationCanceledException
[10:04:20] warn: MONO_WASM [0xdc21c-main]: WebSocket error {}
[10:04:20] fail: [out of order message from the browser]: http://127.0.0.1:34553/_framework/dotnet.runtime.js 2 WebSocket connection to 'ws://127.0.0.1:42929/' failed: Connection closed before receiving a handshake response
[10:04:20] info: [2024-01-26T10:04:20.611Z] [PASS] System.Net.WebSockets.Client.Tests.ConnectTest.ConnectAsync_CancellationRequestedAfterConnect_ThrowsOperationCanceledException
[10:04:20] info: [2024-01-26T10:04:20.612Z] [STRT] System.Net.WebSockets.Client.Tests.ConnectTest.ConnectAsync_CancellationRequestedInflightConnect_ThrowsOperationCanceledException
[10:04:20] info: [2024-01-26T10:04:20.625Z] [PASS] System.Net.WebSockets.Client.Tests.ConnectTest.ConnectAsync_CancellationRequestedInflightConnect_ThrowsOperationCanceledException
[10:04:20] info: [2024-01-26T10:04:20.630Z] [STRT] System.Net.WebSockets.Client.Tests.CloseTest.CloseAsync_CloseDescriptionIsMaxLength_Success(server: ws://127.0.0.1:34553/WebSocket/EchoWebSocket.ashx)
[10:04:20] warn: MONO_WASM [0xdc21c-main]: WebSocket error {}
[10:04:20] fail: [out of order message from the browser]: http://127.0.0.1:34553/_framework/dotnet.runtime.js 2 WebSocket connection to 'ws://c7a186bce2424e20b569b889dcce8159/' failed: Error in connection establishment: net::ERR_NAME_NOT_RESOLVED
[10:04:20] info: [2024-01-26T10:04:20.652Z] [PASS] System.Net.WebSockets.Client.Tests.CloseTest.CloseAsync_CloseDescriptionIsMaxLength_Success(server: ws://127.0.0.1:34553/WebSocket
...
[10:03:07] info: [2024-01-26T10:03:07.910Z] [STRT] System.Net.Http.Functional.Tests.HttpContentTest.ReadAsStreamAsync_Buffered_IgnoresCancellationToken(readStreamAsync: True)
[11:17:53] fail: Tests timed out. Killing driver service pid 79
[11:17:53] fail: Application has finished with exit code TIMED_OUT but 0 was expected
XHarness exit code: 71 (GENERAL_FAILURE)
/root/helix/work/workitem/e /root/helix/work/workitem/e
----- end Fri Jan 26 11:17:53 AM UTC 2024 ----- exit code 71 ----------------------------------------------------------

Known issue validation

Build: 🔎 https://dev.azure.com/dnceng-public/public/_build/results?buildId=551928
Error message validated: Unhandled error
Result validation: ✅ Known issue matched with the provided build.
Validation performed at: 2/3/2024 7:56:48 AM UTC

Report

Build Definition Test Pull Request
640812 dotnet/runtime Workloads-NoWebcil-Wasm.Build.Tests.AspNetCore.SignalRClientTests.WorkItemExecution #100723
640697 dotnet/runtime Workloads-NoWebcil-Wasm.Build.Tests.AspNetCore.SignalRClientTests.WorkItemExecution #100723
639814 dotnet/runtime Workloads-NoWebcil-Wasm.Build.Tests.AspNetCore.SignalRClientTests.WorkItemExecution #100723
639588 dotnet/runtime WasmTestOnBrowser-System.IO.FileSystem.Tests.WorkItemExecution #100587
639593 dotnet/runtime WasmTestOnBrowser-System.IO.FileSystem.Tests.WorkItemExecution #100669
639347 dotnet/runtime Workloads-NoWebcil-Wasm.Build.Tests.AspNetCore.SignalRClientTests.WorkItemExecution #100723
639252 dotnet/runtime WasmTestOnBrowser-System.Text.Encodings.Web.Tests.WorkItemExecution #100877
638143 dotnet/runtime WasmTestOnBrowser-System.IO.FileSystem.Tests.WorkItemExecution #100877
638062 dotnet/runtime WasmTestOnBrowser-System.Data.Common.Tests.WorkItemExecution #100846
637546 dotnet/runtime Workloads-NoWebcil-Wasm.Build.Tests.AspNetCore.SignalRClientTests.WorkItemExecution #100723
637457 dotnet/runtime WasmTestOnBrowser-System.Memory.Tests.WorkItemExecution #100819
636875 dotnet/runtime WasmTestOnBrowser-System.Text.Encodings.Web.Tests.WorkItemExecution #99829
636480 dotnet/runtime Workloads-NoWebcil-Wasm.Build.Tests.TestAppScenarios.SignalRClientTests.WorkItemExecution #100723
636318 dotnet/runtime Workloads-NoWebcil-Wasm.Build.Tests.TestAppScenarios.SignalRClientTests.WorkItemExecution #100723
636069 dotnet/runtime Workloads-NoWebcil-Wasm.Build.Tests.TestAppScenarios.SignalRClientTests.WorkItemExecution #100723
635905 dotnet/runtime Workloads-NoWebcil-Wasm.Build.Tests.TestAppScenarios.SignalRClientTests.WorkItemExecution #100723
634406 dotnet/runtime Workloads-NoWebcil-Wasm.Build.Tests.TestAppScenarios.SignalRClientTests.WorkItemExecution #100723
631877 dotnet/runtime WasmTestOnBrowser-System.Runtime.InteropServices.JavaScript.Tests.WorkItemExecution #100610
631622 dotnet/runtime Workloads-Wasm.Build.NativeRebuild.Tests.SimpleSourceChangeRebuildTest.WorkItemExecution #100334
631682 dotnet/runtime WasmTestOnBrowser-System.Text.Encodings.Web.Tests.WorkItemExecution #100671
627292 dotnet/runtime WasmTestOnBrowser-System.Text.Json.Tests.WorkItemExecution #100415
620329 dotnet/runtime WasmTestOnBrowser-System.Threading.Tests.WorkItemExecution #100106
618773 dotnet/runtime WasmTestOnBrowser-System.Threading.Tests.WorkItemExecution #100282
618222 dotnet/runtime WasmTestOnBrowser-System.Threading.Tests.WorkItemExecution #100222
615333 dotnet/runtime WasmTestOnBrowser-System.Runtime.InteropServices.JavaScript.Tests.WorkItemExecution #100156
614478 dotnet/runtime WasmTestOnBrowser-System.Net.Http.Functional.Tests.WorkItemExecution #99204
614210 dotnet/runtime WasmTestOnBrowser-System.Buffers.Tests.WorkItemExecution #100106
613910 dotnet/runtime WasmTestOnBrowser-System.Text.Json.Tests.WorkItemExecution #99956
613784 dotnet/runtime WasmTestOnBrowser-System.Net.Http.Functional.Tests.WorkItemExecution #100011
612542 dotnet/runtime WasmTestOnBrowser-System.Text.Json.Tests.WorkItemExecution #100087
610194 dotnet/runtime WasmTestOnBrowser-System.Runtime.InteropServices.JavaScript.Tests.WorkItemExecution #99974
607826 dotnet/runtime WasmTestOnBrowser-System.Runtime.InteropServices.JavaScript.Tests.WorkItemExecution #99941
607398 dotnet/runtime WasmTestOnBrowser-System.Net.Http.Functional.Tests.WorkItemExecution #99927

Summary

24-Hour Hit Count 7-Day Hit Count 1-Month Count
0 17 33
@radekdoulik radekdoulik added area-VM-threading-mono Known Build Error Use this to report build issues in the .NET Helix tab os-browser Browser variant of arch-wasm labels Jan 26, 2024
@ghost ghost added the untriaged New issue has not been triaged by the area owner label Jan 26, 2024
@pavelsavara
Copy link
Member

The filter is bit misleading here.
Because there are unit test which try to open invalid URLs or abort the socket early.
Like WebSocket connection to 'ws://001284c1617e4d19bc9194791e992b0f/' failed: Error in connection establishment
In which case the browser complains (which we could not even suppress).

The real problem is that sometimes it kills whole app.
I think some exceptions is not marshaled/handled properly somewhere.

@pavelsavara
Copy link
Member

This is my attempt on capturing the real issue #97518
Let's have both for a while

@pavelsavara pavelsavara added the arch-wasm WebAssembly architecture label Jan 26, 2024
@ghost
Copy link

ghost commented Jan 26, 2024

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

Issue Details

Build: https://dev.azure.com/dnceng-public/public/_build/results?buildId=541606
Leg Name: LibraryTests_Threading_Smoke

New WS timeouts in Build browser-wasm linux Release LibraryTests_Threading_Smoke

Build
Log
Log

[08:30:14] info: [2024-01-26T08:30:14.046Z] [STRT] System.Net.WebSockets.Client.Tests.ConnectTest.ConnectAsync_CancellationRequestedAfterConnect_ThrowsOperationCanceledException
[08:30:14] warn: MONO_WASM [0xdc21c-main]: WebSocket error {}
[08:30:14] fail: [out of order message from the browser]: http://127.0.0.1:42881/_framework/dotnet.runtime.js 2 WebSocket connection to 'ws://127.0.0.1:37741/' failed: Connection closed before receiving a handshake response
[08:30:14] info: [2024-01-26T08:30:14.119Z] [PASS] System.Net.WebSockets.Client.Tests.ConnectTest.ConnectAsync_CancellationRequestedAfterConnect_ThrowsOperationCanceledException
[08:30:14] info: [2024-01-26T08:30:14.122Z] [STRT] System.Net.WebSockets.Client.Tests.ConnectTest.ConnectAsync_CancellationRequestedBeforeConnect_ThrowsOperationCanceledException
[08:30:14] info: [2024-01-26T08:30:14.125Z] [PASS] System.Net.WebSockets.Client.Tests.ConnectTest.ConnectAsync_CancellationRequestedBeforeConnect_ThrowsOperationCanceledException
[08:30:14] info: [2024-01-26T08:30:14.127Z] [STRT] System.Net.WebSockets.Client.Tests.ConnectTest.ConnectAsync_CancellationRequestedInflightConnect_ThrowsOperationCanceledException
[08:30:14] info: [2024-01-26T08:30:14.144Z] [PASS] System.Net.WebSockets.Client.Tests.ConnectTest.ConnectAsync_CancellationRequestedInflightConnect_ThrowsOperationCanceledException
[08:30:14] warn: MONO_WASM [0xdc21c-main]: WebSocket error {}
[08:30:14] info: [2024-01-26T08:30:14.147Z] [STRT] System.Net.WebSockets.Client.Tests.ConnectTest.EchoTextMessage_Success(server: ws://127.0.0.1:42881/WebSocket/EchoWebSocket.ashx)
[08:30:14] fail: [out of order message from the browser]: http://127.0.0.1:42881/_framework/dotnet.runtime.js 2 WebSocket connection to 'ws://001284c1617e4d19bc9194791e992b0f/' failed: Error in connection establishment: net::ERR_NAME_NOT_RESOLVED
[08:30:14] info: [2024-01-26T08:30:14.173Z] [PASS] System.Net.WebSockets.Client.Tests.ConnectTest.EchoTextMessage_Success(server: ws://127.0.0.1:42881/WebSocket/EchoWebSocket.ashx)
[08:30:14] info: [2024-01-26T08:30:14.174Z] [STRT] System.Net.WebSockets.Client.Tests.ConnectTest.EchoTextMessage_Success(server: wss://127.0.0.1:44107/WebSocket/EchoWebSocket.ashx)
[08:30:14] info: [2024-01-26T08:30:14.208Z] [PASS] System.Net.WebSockets.Client.Tests.ConnectTest.EchoTextMessage_Success(server: wss://127.0.0.1:44107/WebSocket/EchoWebSocket.ashx)
[08:30:14] info: [2024-01-26T08:30:14.213Z] [STRT] System.Net.WebSockets.Client.Tests.HttpClientConnectTest.ConnectAsync_PassNoSubProtocol_ServerRequires_ThrowsWebSocketException(server: ws://127.0.0.1:42881/WebSocket/EchoWebSocket.ashx)
[08:30:14] warn: MONO_WASM [0xdc21c-main]: WebSocket error {}
[08:30:14] fail: MONO_WASM: {"status":1,"silent":true}
[08:30:14] fail: [out of order message from the browser]: http://127.0.0.1:42881/_framework/dotnet.runtime.js 2 WebSocket connection to 'ws://127.0.0.1:42881/WebSocket/EchoWebSocket.ashx?subprotocol=CustomProtocol' failed: Error during WebSocket handshake: Response must not include 'Sec-WebSocket-Protocol' header if not present in request: CustomProtocol
[08:30:14] info: WASM EXIT 1
[08:30:14] info: Waiting to flush log messages with a timeout of 120 secs ..
[08:30:14] fail: Application has finished with exit code TESTS_FAILED but 0 was expected
XHarness exit code: 71 (GENERAL_FAILURE)
/root/helix/work/workitem/e /root/helix/work/workitem/e
----- end Fri Jan 26 08:30:14 AM UTC 2024 ----- exit code 71 ----------------------------------------------------------

and

[10:04:20] info: [2024-01-26T10:04:20.516Z] [STRT] System.Net.WebSockets.Client.Tests.ConnectTest.ConnectAsync_PassNoSubProtocol_ServerRequires_ThrowsWebSocketException(server: ws://127.0.0.1:34553/WebSocket/EchoWebSocket.ashx)
[10:04:20] warn: MONO_WASM [0xdc21c-main]: WebSocket error {}
[10:04:20] fail: [out of order message from the browser]: http://127.0.0.1:34553/_framework/dotnet.runtime.js 2 WebSocket connection to 'ws://127.0.0.1:34553/WebSocket/EchoWebSocket.ashx?subprotocol=CustomProtocol' failed: Error during WebSocket handshake: Response must not include 'Sec-WebSocket-Protocol' header if not present in request: CustomProtocol
[10:04:20] info: [2024-01-26T10:04:20.546Z] [PASS] System.Net.WebSockets.Client.Tests.ConnectTest.ConnectAsync_PassNoSubProtocol_ServerRequires_ThrowsWebSocketException(server: ws://127.0.0.1:34553/WebSocket/EchoWebSocket.ashx)
[10:04:20] info: [2024-01-26T10:04:20.547Z] [STRT] System.Net.WebSockets.Client.Tests.ConnectTest.ConnectAsync_PassNoSubProtocol_ServerRequires_ThrowsWebSocketException(server: wss://127.0.0.1:40241/WebSocket/EchoWebSocket.ashx)
[10:04:20] warn: MONO_WASM [0xdc21c-main]: WebSocket error {}
[10:04:20] fail: [out of order message from the browser]: http://127.0.0.1:34553/_framework/dotnet.runtime.js 2 WebSocket connection to 'wss://127.0.0.1:40241/WebSocket/EchoWebSocket.ashx?subprotocol=CustomProtocol' failed: Error during WebSocket handshake: Response must not include 'Sec-WebSocket-Protocol' header if not present in request: CustomProtocol
[10:04:20] info: [2024-01-26T10:04:20.586Z] [PASS] System.Net.WebSockets.Client.Tests.ConnectTest.ConnectAsync_PassNoSubProtocol_ServerRequires_ThrowsWebSocketException(server: wss://127.0.0.1:40241/WebSocket/EchoWebSocket.ashx)
[10:04:20] info: [2024-01-26T10:04:20.588Z] [STRT] System.Net.WebSockets.Client.Tests.ConnectTest.ConnectAsync_CancellationRequestedAfterConnect_ThrowsOperationCanceledException
[10:04:20] warn: MONO_WASM [0xdc21c-main]: WebSocket error {}
[10:04:20] fail: [out of order message from the browser]: http://127.0.0.1:34553/_framework/dotnet.runtime.js 2 WebSocket connection to 'ws://127.0.0.1:42929/' failed: Connection closed before receiving a handshake response
[10:04:20] info: [2024-01-26T10:04:20.611Z] [PASS] System.Net.WebSockets.Client.Tests.ConnectTest.ConnectAsync_CancellationRequestedAfterConnect_ThrowsOperationCanceledException
[10:04:20] info: [2024-01-26T10:04:20.612Z] [STRT] System.Net.WebSockets.Client.Tests.ConnectTest.ConnectAsync_CancellationRequestedInflightConnect_ThrowsOperationCanceledException
[10:04:20] info: [2024-01-26T10:04:20.625Z] [PASS] System.Net.WebSockets.Client.Tests.ConnectTest.ConnectAsync_CancellationRequestedInflightConnect_ThrowsOperationCanceledException
[10:04:20] info: [2024-01-26T10:04:20.630Z] [STRT] System.Net.WebSockets.Client.Tests.CloseTest.CloseAsync_CloseDescriptionIsMaxLength_Success(server: ws://127.0.0.1:34553/WebSocket/EchoWebSocket.ashx)
[10:04:20] warn: MONO_WASM [0xdc21c-main]: WebSocket error {}
[10:04:20] fail: [out of order message from the browser]: http://127.0.0.1:34553/_framework/dotnet.runtime.js 2 WebSocket connection to 'ws://c7a186bce2424e20b569b889dcce8159/' failed: Error in connection establishment: net::ERR_NAME_NOT_RESOLVED
[10:04:20] info: [2024-01-26T10:04:20.652Z] [PASS] System.Net.WebSockets.Client.Tests.CloseTest.CloseAsync_CloseDescriptionIsMaxLength_Success(server: ws://127.0.0.1:34553/WebSocket
...
[10:03:07] info: [2024-01-26T10:03:07.910Z] [STRT] System.Net.Http.Functional.Tests.HttpContentTest.ReadAsStreamAsync_Buffered_IgnoresCancellationToken(readStreamAsync: True)
[11:17:53] fail: Tests timed out. Killing driver service pid 79
[11:17:53] fail: Application has finished with exit code TIMED_OUT but 0 was expected
XHarness exit code: 71 (GENERAL_FAILURE)
/root/helix/work/workitem/e /root/helix/work/workitem/e
----- end Fri Jan 26 11:17:53 AM UTC 2024 ----- exit code 71 ----------------------------------------------------------

Known Issue Error Message

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

{
  "ErrorPattern": "WebSocket connection to 'ws:.+' failed",
  "BuildRetry": false,
  "ExcludeConsoleLog": false
}

Report

Build Definition Test Pull Request
541769 dotnet/runtime WasmTestOnBrowser-System.Net.WebSockets.Client.Tests.WorkItemExecution #96807
541766 dotnet/runtime WasmTestOnBrowser-System.Net.WebSockets.Client.Tests.WorkItemExecution #97213
541660 dotnet/runtime WasmTestOnBrowser-System.Net.WebSockets.Client.Tests.WorkItemExecution #97539
541439 dotnet/runtime WasmTestOnBrowser-System.Net.WebSockets.Client.Tests.WorkItemExecution #97532
540994 dotnet/runtime WasmTestOnBrowser-System.Net.WebSockets.Client.Tests.WorkItemExecution #97458

Summary

24-Hour Hit Count 7-Day Hit Count 1-Month Count
5 5 5
Author: radekdoulik
Assignees: pavelsavara
Labels:

arch-wasm, untriaged, area-VM-threading-mono, Known Build Error, os-browser

Milestone: -

@pavelsavara pavelsavara added this to the 9.0.0 milestone Jan 26, 2024
@ghost ghost removed the untriaged New issue has not been triaged by the area owner label Jan 26, 2024
@pavelsavara

This comment was marked as resolved.

@pavelsavara
Copy link
Member

The filter is bit misleading here.

I updated the filter here.

@pavelsavara pavelsavara changed the title [wasm][mt] WS timeouts [wasm][mt] Unhandled JS error Feb 3, 2024
@pavelsavara pavelsavara changed the title [wasm][mt] Unhandled JS error [browser][MT] Unhandled JS error Feb 18, 2024
@pavelsavara
Copy link
Member

All recent ones are RuntimeError: memory access out of bounds -> #96546

@pavelsavara
Copy link
Member

Fixed by #100907 and #100855

@github-actions github-actions bot locked and limited conversation to collaborators May 16, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
arch-wasm WebAssembly architecture area-VM-threading-mono 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