dotnet / runtime

.NET is a cross-platform runtime for cloud, mobile, desktop, and IoT apps.
https://docs.microsoft.com/dotnet/core/
MIT License
15.44k stars 4.76k forks source link

[mt][browser] `Wasm.Browser.EventPipe.Sample` fails #98026

Open ilonatommy opened 9 months ago

ilonatommy commented 9 months ago

log

[23:56:45] fail: [out of order message from the browser]: http://127.0.0.1:46763/_framework/dotnet.native.js 7:66632 Uncaught ErrorEvent: Uncaught SyntaxError: Failed to construct 'WebSock…t be either 'ws' or 'wss'. 'mock' is not allowed.
[23:56:45] fail: [out of order message from the browser]: http://127.0.0.1:46763/_framework/dotnet.runtime.js 2 Uncaught (in promise) SyntaxError: Failed to construct 'WebSocket': The URL's scheme must be either 'ws' or 'wss'. 'mock' is not allowed.
[23:56:45] fail: [out of order message from the browser]: http://127.0.0.1:46763/_framework/dotnet.native.worker.js 0 Uncaught SyntaxError: Failed to construct 'WebSocket': The URL's scheme must be either 'ws' or 'wss'. 'mock' is not allowed.
[23:56:45] info: please recompile runtime with /p:WasmEnableThreads=true /p:MonoDiagnosticsMock=truemessage
[23:56:45] info: http://127.0.0.1:46763/_framework/dotnet.runtime.js 2 [0x007a56b0] MONO_WASM: starting diagnostic server with url: mock:./mock.js
[23:56:45] info: worker sent an error! http://127.0.0.1:46763/_framework/dotnet.native.worker.js:1: Uncaught SyntaxError: Failed to construct 'WebSocket': The URL's scheme must be either 'ws' or 'wss'. 'mock' is not allowed.
[00:11:44] info: Waiting to flush log messages with a timeout of 120 secs ..
[00:11:44] fail: Flushing log messages failed with: System.OperationCanceledException: The operation was canceled.
                    at System.Threading.Channels.AsyncOperation`1.GetResult(Int16 token)
                    at System.Threading.Channels.ChannelReader`1.ReadAllAsync(CancellationToken cancellationToken)+MoveNext()
                    at System.Threading.Channels.ChannelReader`1.ReadAllAsync(CancellationToken cancellationToken)+System.Threading.Tasks.Sources.IValueTaskSource<System.Boolean>.GetResult()
                    at Microsoft.DotNet.XHarness.CLI.Commands.Wasm.WasmTestMessagesProcessor.RunAsync(CancellationToken token) in /_/src/Microsoft.DotNet.XHarness.CLI/Commands/WASM/WasmTestMessagesProcessor.cs:line 66
                    at Microsoft.DotNet.XHarness.CLI.Commands.Wasm.WasmTestMessagesProcessor.RunAsync(CancellationToken token) in /_/src/Microsoft.DotNet.XHarness.CLI/Commands/WASM/WasmTestMessagesProcessor.cs:line 66
                    at Microsoft.DotNet.XHarness.CLI.Commands.Wasm.WasmTestMessagesProcessor.CompleteAndFlushAsync(Nullable`1 timeout) in /_/src/Microsoft.DotNet.XHarness.CLI/Commands/WASM/WasmTestMessagesProcessor.cs:line 138. Ignoring.
[00:11:44] fail: Tests timed out. Killing driver service pid 79
ghost commented 9 months ago

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

Issue Details
[log](https://helixre107v0xdcypoyl9e7f.blob.core.windows.net/dotnet-runtime-refs-pull-98003-merge-da47047456b84e748c/Wasm.Browser.EventPipe.Sample/1/console.a27df990.log?helixlogtype=result) ``` [23:56:45] fail: [out of order message from the browser]: http://127.0.0.1:46763/_framework/dotnet.native.js 7:66632 Uncaught ErrorEvent: Uncaught SyntaxError: Failed to construct 'WebSock…t be either 'ws' or 'wss'. 'mock' is not allowed. [23:56:45] fail: [out of order message from the browser]: http://127.0.0.1:46763/_framework/dotnet.runtime.js 2 Uncaught (in promise) SyntaxError: Failed to construct 'WebSocket': The URL's scheme must be either 'ws' or 'wss'. 'mock' is not allowed. [23:56:45] fail: [out of order message from the browser]: http://127.0.0.1:46763/_framework/dotnet.native.worker.js 0 Uncaught SyntaxError: Failed to construct 'WebSocket': The URL's scheme must be either 'ws' or 'wss'. 'mock' is not allowed. [23:56:45] info: please recompile runtime with /p:WasmEnableThreads=true /p:MonoDiagnosticsMock=truemessage [23:56:45] info: http://127.0.0.1:46763/_framework/dotnet.runtime.js 2 [0x007a56b0] MONO_WASM: starting diagnostic server with url: mock:./mock.js [23:56:45] info: worker sent an error! http://127.0.0.1:46763/_framework/dotnet.native.worker.js:1: Uncaught SyntaxError: Failed to construct 'WebSocket': The URL's scheme must be either 'ws' or 'wss'. 'mock' is not allowed. [00:11:44] info: Waiting to flush log messages with a timeout of 120 secs .. [00:11:44] fail: Flushing log messages failed with: System.OperationCanceledException: The operation was canceled. at System.Threading.Channels.AsyncOperation`1.GetResult(Int16 token) at System.Threading.Channels.ChannelReader`1.ReadAllAsync(CancellationToken cancellationToken)+MoveNext() at System.Threading.Channels.ChannelReader`1.ReadAllAsync(CancellationToken cancellationToken)+System.Threading.Tasks.Sources.IValueTaskSource.GetResult() at Microsoft.DotNet.XHarness.CLI.Commands.Wasm.WasmTestMessagesProcessor.RunAsync(CancellationToken token) in /_/src/Microsoft.DotNet.XHarness.CLI/Commands/WASM/WasmTestMessagesProcessor.cs:line 66 at Microsoft.DotNet.XHarness.CLI.Commands.Wasm.WasmTestMessagesProcessor.RunAsync(CancellationToken token) in /_/src/Microsoft.DotNet.XHarness.CLI/Commands/WASM/WasmTestMessagesProcessor.cs:line 66 at Microsoft.DotNet.XHarness.CLI.Commands.Wasm.WasmTestMessagesProcessor.CompleteAndFlushAsync(Nullable`1 timeout) in /_/src/Microsoft.DotNet.XHarness.CLI/Commands/WASM/WasmTestMessagesProcessor.cs:line 138. Ignoring. [00:11:44] fail: Tests timed out. Killing driver service pid 79 ```
Author: ilonatommy
Assignees: -
Labels: `arch-wasm`, `disabled-test`, `area-VM-threading-mono`
Milestone: -