Skip to content

[wasm] debuger test failures on CI #62964

@pavelsavara

Description

@pavelsavara

Log

[xUnit.net 00:00:19.12]     DebuggerTests.ExceptionTests.ExceptionTestUncaughtWithReload [FAIL]
[18:47:01] dbug: Microsoft.WebAssembly.Diagnostics.InspectorClient[0] connecting to ws://localhost:9400/launch-chrome-and-connect
[18:47:01] info: Microsoft.WebAssembly.Diagnostics.TestHarnessProxy[0] New test request
  Failed DebuggerTests.ExceptionTests.ExceptionTestUncaughtWithReload [1 s]
  Error Message:
   System.Net.WebSockets.WebSocketException : The remote party closed the WebSocket connection without completing the close handshake.
  Stack Trace:
     at System.Net.WebSockets.ManagedWebSocket.ThrowIfEOFUnexpected(Boolean throwOnPrematureClosure)
   at System.Net.WebSockets.ManagedWebSocket.EnsureBufferContainsAsync(Int32 minimumRequiredBytes, CancellationToken cancellationToken, Boolean throwOnPrematureClosure)
   at System.Runtime.CompilerServices.PoolingAsyncValueTaskMethodBuilder`1.StateMachineBox`1.System.Threading.Tasks.Sources.IValueTaskSource.GetResult(Int16 token)
   at System.Net.WebSockets.ManagedWebSocket.ReceiveAsyncPrivate[TResult](Memory`1 payloadBuffer, CancellationToken cancellationToken)
   at System.Runtime.CompilerServices.PoolingAsyncValueTaskMethodBuilder`1.StateMachineBox`1.System.Threading.Tasks.Sources.IValueTaskSource<TResult>.GetResult(Int16 token)
   at System.Threading.Tasks.ValueTask`1.GetTaskForValueTaskSource(IValueTaskSource`1 t)
--- End of stack trace from previous location ---
   at Microsoft.WebAssembly.Diagnostics.DevToolsClient.ReadOne(CancellationToken token) in /_/src/mono/wasm/debugger/DebuggerTestSuite/DevToolsClient.cs:line 84
   at Microsoft.WebAssembly.Diagnostics.DevToolsClient.RunLoop(Func`3 receive, CancellationTokenSource linkedCts) in /_/src/mono/wasm/debugger/DebuggerTestSuite/DevToolsClient.cs:line 209
   at Microsoft.WebAssembly.Diagnostics.DevToolsClient.<>c__DisplayClass16_0.<<ConnectWithMainLoops>b__0>d.MoveNext() in /_/src/mono/wasm/debugger/DebuggerTestSuite/DevToolsClient.cs:line 139
--- End of stack trace from previous location ---
   at DebuggerTests.DebuggerTestBase.SendCommandAndCheck(JObject args, String method, String script_loc, Int32 line, Int32 column, String function_name, Func`2 wait_for_event_fn, Func`2 locals_fn, String waitForEvent) in /_/src/mono/wasm/debugger/DebuggerTestSuite/DebuggerTestBase.cs:line 490
   at DebuggerTests.DebuggerTestBase.EvaluateAndCheck(String expression, String script_loc, Int32 line, Int32 column, String function_name, Func`2 wait_for_event_fn, Func`2 locals_fn) in /_/src/mono/wasm/debugger/DebuggerTestSuite/DebuggerTestBase.cs:line 481
   at DebuggerTests.ExceptionTests.ExceptionTestUncaughtWithReload() in /_/src/mono/wasm/debugger/DebuggerTestSuite/ExceptionTests.cs:line 214
--- End of stack trace from previous location ---

Log

[xUnit.net 00:00:02.92]     DebuggerTests.HarnessTests.InspectorWaitForAfterMessageAlreadyReceived [FAIL]
[16:18:13] dbug: Microsoft.WebAssembly.Diagnostics.InspectorClient[0] connecting to ws://localhost:9400/launch-chrome-and-connect
  Failed DebuggerTests.HarnessTests.InspectorWaitForAfterMessageAlreadyReceived [1 ms]
  Error Message:
   System.AggregateException : One or more errors occurred. (The tasks argument included a null value. (Parameter 'tasks'))
---- System.ArgumentException : The tasks argument included a null value. (Parameter 'tasks')
  Stack Trace:
     at DebuggerTests.Inspector.OpenSessionAsync(Func`3 getInitCmds, Nullable`1 span) in /_/src/mono/wasm/debugger/DebuggerTestSuite/Inspector.cs:line 240
   at DebuggerTests.DebuggerTestBase.InitializeAsync() in /_/src/mono/wasm/debugger/DebuggerTestSuite/DebuggerTestBase.cs:line 137
----- Inner Stack Trace -----
   at System.Threading.Tasks.Task.WhenAny(IEnumerable`1 tasks)
   at Microsoft.WebAssembly.Diagnostics.DevToolsClient.RunLoop(Func`3 receive, CancellationTokenSource linkedCts) in /_/src/mono/wasm/debugger/DebuggerTestSuite/DevToolsClient.cs:line 184
   at Microsoft.WebAssembly.Diagnostics.DevToolsClient.<>c__DisplayClass16_0.<<ConnectWithMainLoops>b__0>d.MoveNext() in /_/src/mono/wasm/debugger/DebuggerTestSuite/DevToolsClient.cs:line 139

Log

[xUnit.net 00:00:21.21]     DebuggerTests.MonoJsTests.DuplicateAssemblyLoadedEventNotLoadedFromBundle(load_pdb: True, expected_count: 1) [FAIL]
[18:16:14] info: Microsoft.WebAssembly.Diagnostics.TestHarnessProxy[0] New test request
  Failed DebuggerTests.MonoJsTests.DuplicateAssemblyLoadedEventNotLoadedFromBundle(load_pdb: True, expected_count: 1) [1 ms]
  Error Message:
   System.Net.WebSockets.WebSocketException : The server returned status code '200' when status code '101' was expected.
  Stack Trace:
     at System.Net.WebSockets.WebSocketHandle.ConnectAsync(Uri uri, CancellationToken cancellationToken, ClientWebSocketOptions options)
   at System.Net.WebSockets.ClientWebSocket.ConnectAsyncCore(Uri uri, CancellationToken cancellationToken)
   at Microsoft.WebAssembly.Diagnostics.DevToolsClient.ConnectWithMainLoops(Uri uri, Func`3 receive, CancellationToken token) in /_/src/mono/wasm/debugger/DebuggerTestSuite/DevToolsClient.cs:line 125
   at Microsoft.WebAssembly.Diagnostics.InspectorClient.Connect(Uri uri, Func`4 onEvent, CancellationToken token) in /_/src/mono/wasm/debugger/DebuggerTestSuite/InspectorClient.cs:line 59
   at DebuggerTests.Inspector.OpenSessionAsync(Func`3 getInitCmds, Nullable`1 span) in /_/src/mono/wasm/debugger/DebuggerTestSuite/Inspector.cs:line 196
   at DebuggerTests.DebuggerTestBase.InitializeAsync() in /_/src/mono/wasm/debugger/DebuggerTestSuite/DebuggerTestBase.cs:line 137

Log

[xUnit.net 00:01:01.89]     DebuggerTests.BreakpointTests.BreakpointInAssemblyUsingTypeFromAnotherAssembly_BothDynamicallyLoaded [FAIL]
  Failed DebuggerTests.BreakpointTests.BreakpointInAssemblyUsingTypeFromAnotherAssembly_BothDynamicallyLoaded [54 s]
  Error Message:
   System.Threading.Tasks.TaskCanceledException : Test timed out (elapsed time: 60.0209472)
  Stack Trace:
     at DebuggerTests.DebuggerTestBase.SendCommandAndCheck(JObject args, String method, String script_loc, Int32 line, Int32 column, String function_name, Func`2 wait_for_event_fn, Func`2 locals_fn, String waitForEvent) in /_/src/mono/wasm/debugger/DebuggerTestSuite/DebuggerTestBase.cs:line 497
   at DebuggerTests.DebuggerTestBase.EvaluateAndCheck(String expression, String script_loc, Int32 line, Int32 column, String function_name, Func`2 wait_for_event_fn, Func`2 locals_fn) in /_/src/mono/wasm/debugger/DebuggerTestSuite/DebuggerTestBase.cs:line 481
   at DebuggerTests.BreakpointTests.BreakpointInAssemblyUsingTypeFromAnotherAssembly_BothDynamicallyLoaded() in /_/src/mono/wasm/debugger/DebuggerTestSuite/BreakpointTests.cs:line 313
--- End of stack trace from previous location ---

Log

[xUnit.net 00:01:31.18]     DebuggerTests.SteppingTests.CheckResetFrameNumberForEachStep [FAIL]
  Failed DebuggerTests.SteppingTests.CheckResetFrameNumberForEachStep [282 ms]
  Error Message:
   Assert.Equal() Failure
                                 ↓ (pos 46)
Expected: ···/debugger-test.cs#806#8
Actual:   ···/debugger-test.cs#802#8
                                 ↑ (pos 46)
  Stack Trace:
     at DebuggerTests.DebuggerTestBase.CheckLocation(String script_loc, Int32 line, Int32 column, Dictionary`2 scripts, JToken location) in /_/src/mono/wasm/debugger/DebuggerTestSuite/DebuggerTestBase.cs:line 250
   at DebuggerTests.DebuggerTestBase.SendCommandAndCheck(JObject args, String method, String script_loc, Int32 line, Int32 column, String function_name, Func`2 wait_for_event_fn, Func`2 locals_fn, String waitForEvent) in /_/src/mono/wasm/debugger/DebuggerTestSuite/DebuggerTestBase.cs:line 505
   at DebuggerTests.DebuggerTestBase.StepAndCheck(StepKind kind, String script_loc, Int32 line, Int32 column, String function_name, Func`2 wait_for_event_fn, Func`2 locals_fn, Int32 times) in /_/src/mono/wasm/debugger/DebuggerTestSuite/DebuggerTestBase.cs:line 472
   at DebuggerTests.SteppingTests.CheckResetFrameNumberForEachStep() in /_/src/mono/wasm/debugger/DebuggerTestSuite/SteppingTests.cs:line 963
--- End of stack trace from previous location ---

Metadata

Metadata

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions