Skip to content

[browser][MT] Unhandled JS error #97546

Closed
@radekdoulik

Description

@radekdoulik

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

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions