dotnet / runtime

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

[debugger][mono] Multithreading debugger failures #86496

Open ilonatommy opened 1 year ago

ilonatommy commented 1 year ago

A few multithreading debugger tests fail.

Expected: DebuggerTests.AsyncTests.ContinueWithTests.HiddenLinesJustBeforeANestedAsyncBlock Actual: DebuggerTests.AsyncTests.ContinueWithTests.RunAsyncWithLineHidden Stack Trace: at DebuggerTests.DebuggerTestBase.AssertEqual(Object expected, Object actual, String label) in /_/src/mono/wasm/debugger/DebuggerTestSuite/DebuggerTestBase.cs:line 1297 at DebuggerTests.DebuggerTestBase.SendCommandAndCheck(JObject args, String method, String script_loc, Int32 line, Int32 column, String function_name, Func2 wait_for_event_fn, Func2 localsfn, String waitForEvent) in //src/mono/wasm/debugger/DebuggerTestSuite/DebuggerTestBase.cs:line 678 at DebuggerTests.DebuggerTestBase.EvaluateAndCheck(String expression, String script_loc, Int32 line, Int32 column, String function_name, Func2 wait_for_event_fn, Func2 localsfn) in //src/mono/wasm/debugger/DebuggerTestSuite/DebuggerTestBase.cs:line 658 at DebuggerTests.SteppingTests.BreakpointOnHiddenLineShouldStopAtEarliestNextAvailableLineAsync(Int32 line_bp, Int32 column_bp, Int32 line_pause, Int32 column_pause, String methodname) in //src/mono/wasm/debugger/DebuggerTestSuite/SteppingTests.cs:line 891 --- End of stack trace from previous location ---

[xUnit.net 00:00:45.02] DebuggerTests.SteppingTests.BreakpointOnHiddenLineShouldStopAtEarliestNextAvailableLineAsync(line_bp: 170, column_bp: 20, line_pause: 172, column_pause: 16, method_name: "HiddenLinesAtTheEndOfANestedAsyncBlockWithBreakabl"...) [FAIL] Failed DebuggerTests.SteppingTests.BreakpointOnHiddenLineShouldStopAtEarliestNextAvailableLineAsync(line_bp: 170, column_bp: 20, line_pause: 172, column_pause: 16, method_name: "HiddenLinesAtTheEndOfANestedAsyncBlockWithBreakabl"...) [3 s] Error Message: [{ "functionName": "DebuggerTests.AsyncTests.ContinueWithTests.RunAsyncWithLineHidden", "callFrameId": "dotnet:scope:1", "functionLocation": { "scriptId": "dotnet://292_17", "lineNumber": 97, "columnNumber": 8 }, "location": { "scriptId": "dotnet://29217", "lineNumber": 105, "columnNumber": 12 }, "url": "dotnet://debugger-test.dll///src/mono/wasm/debugger/tests/debugger-test/debugger-async-test.cs", "scopeChain": [ { "type": "local", "object": { "type": "object", "className": "Object", "description": "Object", "objectId": "dotnet:scope:1" }, "name": "DebuggerTests.AsyncTests.ContinueWithTests.RunAsyncWithLineHidden", "startLocation": { "scriptId": "dotnet://292_17", "lineNumber": 97, "columnNumber": 8 }, "endLocation": { "scriptId": "dotnet://292_17", "lineNumber": 106, "columnNumber": 8 } } ] }]

Expected: DebuggerTests.AsyncTests.ContinueWithTests.HiddenLinesAtTheEndOfANestedAsyncBlockWithBreakableLineAtEndOfTheMethod.AnonymousMethod_1 Actual: DebuggerTests.AsyncTests.ContinueWithTests.RunAsyncWithLineHidden Stack Trace: at DebuggerTests.DebuggerTestBase.AssertEqual(Object expected, Object actual, String label) in //src/mono/wasm/debugger/DebuggerTestSuite/DebuggerTestBase.cs:line 1297 at DebuggerTests.DebuggerTestBase.SendCommandAndCheck(JObject args, String method, String script_loc, Int32 line, Int32 column, String function_name, Func2 wait_for_event_fn, Func2 localsfn, String waitForEvent) in //src/mono/wasm/debugger/DebuggerTestSuite/DebuggerTestBase.cs:line 678 at DebuggerTests.DebuggerTestBase.EvaluateAndCheck(String expression, String script_loc, Int32 line, Int32 column, String function_name, Func2 wait_for_event_fn, Func2 localsfn) in //src/mono/wasm/debugger/DebuggerTestSuite/DebuggerTestBase.cs:line 658 at DebuggerTests.SteppingTests.BreakpointOnHiddenLineShouldStopAtEarliestNextAvailableLineAsync(Int32 line_bp, Int32 column_bp, Int32 line_pause, Int32 column_pause, String methodname) in //src/mono/wasm/debugger/DebuggerTestSuite/SteppingTests.cs:line 891 --- End of stack trace from previous location ---

Detected a container, disabling sandboxing for debugger tests. [xUnit.net 00:00:55.19] DebuggerTests.SteppingTests.BreakpointOnHiddenLineShouldStopAtEarliestNextAvailableLineAsync(line_bp: 154, column_bp: 20, line_pause: 155, column_pause: 16, method_name: "HiddenLinesAtTheEndOfANestedAsyncBlockWithNoLinesA"...) [FAIL] Failed DebuggerTests.SteppingTests.BreakpointOnHiddenLineShouldStopAtEarliestNextAvailableLineAsync(line_bp: 154, column_bp: 20, line_pause: 155, column_pause: 16, method_name: "HiddenLinesAtTheEndOfANestedAsyncBlockWithNoLinesA"...) [3 s] Error Message: [{ "functionName": "DebuggerTests.AsyncTests.ContinueWithTests.RunAsyncWithLineHidden", "callFrameId": "dotnet:scope:1", "functionLocation": { "scriptId": "dotnet://361_17", "lineNumber": 97, "columnNumber": 8 }, "location": { "scriptId": "dotnet://36117", "lineNumber": 105, "columnNumber": 12 }, "url": "dotnet://debugger-test.dll///src/mono/wasm/debugger/tests/debugger-test/debugger-async-test.cs", "scopeChain": [ { "type": "local", "object": { "type": "object", "className": "Object", "description": "Object", "objectId": "dotnet:scope:1" }, "name": "DebuggerTests.AsyncTests.ContinueWithTests.RunAsyncWithLineHidden", "startLocation": { "scriptId": "dotnet://361_17", "lineNumber": 97, "columnNumber": 8 }, "endLocation": { "scriptId": "dotnet://361_17", "lineNumber": 106, "columnNumber": 8 } } ] }]

Expected: DebuggerTests.AsyncTests.ContinueWithTests.HiddenLinesAtTheEndOfANestedAsyncBlockWithNoLinesAtEndOfTheMethod.AnonymousMethod_1 Actual: DebuggerTests.AsyncTests.ContinueWithTests.RunAsyncWithLineHidden Stack Trace: at DebuggerTests.DebuggerTestBase.AssertEqual(Object expected, Object actual, String label) in //src/mono/wasm/debugger/DebuggerTestSuite/DebuggerTestBase.cs:line 1297 at DebuggerTests.DebuggerTestBase.SendCommandAndCheck(JObject args, String method, String script_loc, Int32 line, Int32 column, String function_name, Func2 wait_for_event_fn, Func2 localsfn, String waitForEvent) in //src/mono/wasm/debugger/DebuggerTestSuite/DebuggerTestBase.cs:line 678 at DebuggerTests.DebuggerTestBase.EvaluateAndCheck(String expression, String script_loc, Int32 line, Int32 column, String function_name, Func2 wait_for_event_fn, Func2 localsfn) in //src/mono/wasm/debugger/DebuggerTestSuite/DebuggerTestBase.cs:line 658 at DebuggerTests.SteppingTests.BreakpointOnHiddenLineShouldStopAtEarliestNextAvailableLineAsync(Int32 line_bp, Int32 column_bp, Int32 line_pause, Int32 column_pause, String methodname) in //src/mono/wasm/debugger/DebuggerTestSuite/SteppingTests.cs:line 891 --- End of stack trace from previous location ---

Detected a container, disabling sandboxing for debugger tests. Detected a container, disabling sandboxing for debugger tests. [xUnit.net 00:01:05.54] DebuggerTests.SteppingTests.BreakpointOnHiddenLineShouldStopAtEarliestNextAvailableLineAsync(line_bp: 153, column_bp: 20, line_pause: 155, column_pause: 16, method_name: "HiddenLinesAtTheEndOfANestedAsyncBlockWithNoLinesA"...) [FAIL] Failed DebuggerTests.SteppingTests.BreakpointOnHiddenLineShouldStopAtEarliestNextAvailableLineAsync(line_bp: 153, column_bp: 20, line_pause: 155, column_pause: 16, method_name: "HiddenLinesAtTheEndOfANestedAsyncBlockWithNoLinesA"...) [3 s] Error Message: [{ "functionName": "DebuggerTests.AsyncTests.ContinueWithTests.RunAsyncWithLineHidden", "callFrameId": "dotnet:scope:1", "functionLocation": { "scriptId": "dotnet://434_17", "lineNumber": 97, "columnNumber": 8 }, "location": { "scriptId": "dotnet://43417", "lineNumber": 105, "columnNumber": 12 }, "url": "dotnet://debugger-test.dll///src/mono/wasm/debugger/tests/debugger-test/debugger-async-test.cs", "scopeChain": [ { "type": "local", "object": { "type": "object", "className": "Object", "description": "Object", "objectId": "dotnet:scope:1" }, "name": "DebuggerTests.AsyncTests.ContinueWithTests.RunAsyncWithLineHidden", "startLocation": { "scriptId": "dotnet://434_17", "lineNumber": 97, "columnNumber": 8 }, "endLocation": { "scriptId": "dotnet://434_17", "lineNumber": 106, "columnNumber": 8 } } ] }]

Expected: DebuggerTests.AsyncTests.ContinueWithTests.HiddenLinesAtTheEndOfANestedAsyncBlockWithNoLinesAtEndOfTheMethod.AnonymousMethod_1 Actual: DebuggerTests.AsyncTests.ContinueWithTests.RunAsyncWithLineHidden Stack Trace: at DebuggerTests.DebuggerTestBase.AssertEqual(Object expected, Object actual, String label) in //src/mono/wasm/debugger/DebuggerTestSuite/DebuggerTestBase.cs:line 1297 at DebuggerTests.DebuggerTestBase.SendCommandAndCheck(JObject args, String method, String script_loc, Int32 line, Int32 column, String function_name, Func2 wait_for_event_fn, Func2 localsfn, String waitForEvent) in //src/mono/wasm/debugger/DebuggerTestSuite/DebuggerTestBase.cs:line 678 at DebuggerTests.DebuggerTestBase.EvaluateAndCheck(String expression, String script_loc, Int32 line, Int32 column, String function_name, Func2 wait_for_event_fn, Func2 localsfn) in //src/mono/wasm/debugger/DebuggerTestSuite/DebuggerTestBase.cs:line 658 at DebuggerTests.SteppingTests.BreakpointOnHiddenLineShouldStopAtEarliestNextAvailableLineAsync(Int32 line_bp, Int32 column_bp, Int32 line_pause, Int32 column_pause, String methodname) in //src/mono/wasm/debugger/DebuggerTestSuite/SteppingTests.cs:line 891 --- End of stack trace from previous location ---

Failed! - Failed: 4, Passed: 47, Skipped: 1, Total: 52, Duration: 6 m 5 s - DebuggerTestSuite.dll (net8.0)

- AsyncTests https://helix.dot.net/api/2019-06-17/jobs/1809763c-db58-4b05-a206-277e915c7954/workitems/chrome-DebuggerTests.AsyncTests/console
- SetNextIpTests https://helix.dot.net/api/2019-06-17/jobs/1809763c-db58-4b05-a206-277e915c7954/workitems/chrome-DebuggerTests.SetNextIpTests/console

------------------------------flaky tests:------------------------------------

- GetPropertyTests https://helixre107v0xdcypoyl9e7f.blob.core.windows.net/dotnet-runtime-refs-pull-86664-merge-fd5d346cd55a48938b/chrome-DebuggerTests.GetPropertiesTests/1/console.da750ca6.log?helixlogtype=result

[xUnit.net 00:02:49.66] DebuggerTests.GetPropertiesTests.InspectTypeInheritedMembersAutoEvaluateOff(type_name: "DerivedClass2", own_properties: null, accessors_only: False, expected_names: ["BaseBase_PropertyForHidingWithField", "Base_PropertyForOverridingWithProperty", "BaseBase_PropertyForVHO", "BaseBase_PropertyForVOH", "BaseBase_AutoPropertyForVHO", ...], all_props: [["BaseBase_PropertyForHidingWithField"] = ({\n "type": "number",\n "value": "210",\n "description": "210"\n}, True), ["Base_PropertyForOverridingWithProperty"] = ({\n "custom_type": "getter",\n "type_name": "Base_PropertyForOverridingWithProperty",\n "value": {\n "custom_type": "datetime",\n "binary": 637296086430000000\n }\n}, True), ["BaseBase_PropertyForVHO"] = ({\n "custom_type": "getter",\n "type_name": "BaseBase_PropertyForVHO",\n "value": {\n "type": "string",\n "value": "Derived#BaseBase_PropertyForVHO"\n }\n}, True), ["BaseBase_PropertyForVOH"] = ({\n "custom_type": "getter",\n "type_name": "BaseBase_PropertyForVOH",\n "value": {\n "type": "string",\n "value": "Derived#BaseBase_PropertyForVOH"\n }\n}, True), ["BaseBase_AutoPropertyForVHO"] = ({\n "type": "string",\n "value": "Derived#BaseBase_AutoPropertyForVHO"\n}, True), ...], is_async: False) [FAIL] Failed DebuggerTests.GetPropertiesTests.InspectTypeInheritedMembersAutoEvaluateOff(type_name: "DerivedClass2", own_properties: null, accessors_only: False, expected_names: ["BaseBase_PropertyForHidingWithField", "Base_PropertyForOverridingWithProperty", "BaseBase_PropertyForVHO", "BaseBase_PropertyForVOH", "BaseBase_AutoPropertyForVHO", ...], all_props: [["BaseBase_PropertyForHidingWithField"] = ({ "type": "number", "value": "210", "description": "210" }, True), ["Base_PropertyForOverridingWithProperty"] = ({ "custom_type": "getter", "type_name": "Base_PropertyForOverridingWithProperty", "value": { "custom_type": "datetime", "binary": 637296086430000000 } }, True), ["BaseBase_PropertyForVHO"] = ({ "custom_type": "getter", "type_name": "BaseBase_PropertyForVHO", "value": { "type": "string", "value": "Derived#BaseBase_PropertyForVHO" } }, True), ["BaseBase_PropertyForVOH"] = ({ "custom_type": "getter", "type_name": "BaseBase_PropertyForVOH", "value": { "type": "string", "value": "Derived#BaseBase_PropertyForVOH" } }, True), ["BaseBase_AutoPropertyForVHO"] = ({ "type": "string", "value": "Derived#BaseBase_AutoPropertyForVHO" }, True), ...], isasync: False) [1 ms] Error Message: System.IO.IOException : Process for /root/helix/work/correlation/chrome-linux/chrome unexpectedly exited with 127 during startup. Stack Trace: at DebuggerTests.WasmHostProvider.LaunchHostAsync(ProcessStartInfo psi, HttpContext context, Func`2 checkBrowserReady, String messagePrefix, Int32 hostReadyTimeoutMs, CancellationToken token) in //src/mono/wasm/debugger/DebuggerTestSuite/WasmHostProvider.cs:line 77 at DebuggerTests.ChromeProvider.StartBrowserAndProxyAsync(HttpContext context, String targetUrl, Int32 remoteDebuggingPort, String messagePrefix, ILoggerFactory loggerFactory, CancellationTokenSource cts, Int32 browserReadyTimeoutMs, String locale) in /_/src/mono/wasm/debugger/DebuggerTestSuite/ChromeProvider.cs:line 60 at DebuggerTests.TestHarnessStartup.<>cDisplayClass13_0.<b_2>d.MoveNext() in //src/mono/wasm/debugger/DebuggerTestSuite/TestHarnessStartup.cs:line 143 --- End of stack trace from previous location --- at DebuggerTests.Inspector.OpenSessionAsync(Func3 getInitCmds, String urlToInspect, TimeSpan span) in /_/src/mono/wasm/debugger/DebuggerTestSuite/Inspector.cs:line 414 at DebuggerTests.DebuggerTestBase.InitializeAsync() in /_/src/mono/wasm/debugger/DebuggerTestSuite/DebuggerTestBase.cs:line 173 Standard Output Messages: | [2023-05-26T21:30:56] DebuggerTests.TestHarnessProxy Information: [testId: 17] New test request for test id 17 | [2023-05-26T21:30:56] DebuggerTests.TestHarnessProxy Debug: [17] Starting /root/helix/work/correlation/chrome-linux/chrome with --no-sandbox --headless --disable-gpu --lang=en-US --incognito --remote-debugging-port=0 about:blank | [2023-05-26T21:30:56] DebuggerTests.TestHarnessProxy Debug: [testId: 16] TestHarnessStartup done | [2023-05-26T21:30:56] DebuggerTests.TestHarnessProxy Debug: TestHarnessStartup: closing for 16 | [2023-05-26T21:30:56] DebuggerTests.TestHarnessProxy Debug: [testId: 17] browser-stderr Inconsistency detected by ld.so: ../elf/dl-tls.c: 481: _dl_allocate_tls_init: Assertionlistp->slotinfo[cnt].gen <= GL(dl_tlsgeneration)' failed! | [2023-05-26T21:30:56] DebuggerTests.TestHarnessProxy Debug: [testId: 17] browser-stderr | [2023-05-26T21:30:56] DebuggerTests.TestHarnessProxy Debug: [testId: 17] browser-stdout | [2023-05-26T21:30:56] DebuggerTests.TestHarnessProxy Error: [testId: 17] launch-host-and-connect failed with System.IO.IOException: Process for /root/helix/work/correlation/chrome-linux/chrome unexpectedly exited with 127 during startup. | at DebuggerTests.WasmHostProvider.LaunchHostAsync(ProcessStartInfo psi, HttpContext context, Func`2 checkBrowserReady, String messagePrefix, Int32 hostReadyTimeoutMs, CancellationToken token) in //src/mono/wasm/debugger/DebuggerTestSuite/WasmHostProvider.cs:line 77 | at DebuggerTests.ChromeProvider.StartBrowserAndProxyAsync(HttpContext context, String targetUrl, Int32 remoteDebuggingPort, String messagePrefix, ILoggerFactory loggerFactory, CancellationTokenSource cts, Int32 browserReadyTimeoutMs, String locale) in /_/src/mono/wasm/debugger/DebuggerTestSuite/ChromeProvider.cs:line 60 | at DebuggerTests.TestHarnessStartup.<>cDisplayClass13_0.<b_2>d.MoveNext() in //src/mono/wasm/debugger/DebuggerTestSuite/TestHarnessStartup.cs:line 143 | [2023-05-26T21:30:56] DebuggerTests.TestHarnessProxy Debug: TestHarnessStartup: closing for 17


- AssignmentsTests.InspectVariableBeforeAndAfterAssignment https://helixre107v0xdcypoyl9e7f.blob.core.windows.net/dotnet-runtime-refs-pull-86501-merge-a40313dd29714993a8/chrome-DebuggerTests.AssignmentTests/1/console.174d70f6.log?helixlogtype=result

Failed DebuggerTests.AssignmentTests.InspectVariableBeforeAndAfterAssignment(clazz: "MONO_TYPECHAR", checkDefault: [[[...]], [[...]], [[...]]], checkValue: [[[...]], [[...]], [[...]]], methodName: "DebuggerTests.StepInTest.TestedMethod") [1 ms] Error Message: System.Net.Http.HttpRequestException : Connection refused (127.0.0.1:43779) ---- System.Net.Sockets.SocketException : Connection refused Stack Trace: at System.Net.Http.HttpConnectionPool.ConnectToTcpHostAsync(String host, Int32 port, HttpRequestMessage initialRequest, Boolean async, CancellationToken cancellationToken) at System.Net.Http.HttpConnectionPool.ConnectAsync(HttpRequestMessage request, Boolean async, CancellationToken cancellationToken) at System.Net.Http.HttpConnectionPool.CreateHttp11ConnectionAsync(HttpRequestMessage request, Boolean async, CancellationToken cancellationToken) at System.Net.Http.HttpConnectionPool.AddHttp11ConnectionAsync(QueueItem queueItem) at System.Threading.Tasks.TaskCompletionSourceWithCancellation1.WaitWithCancellationAsync(CancellationToken cancellationToken) at System.Net.Http.HttpConnectionPool.HttpConnectionWaiter1.WaitForConnectionAsync(Boolean async, CancellationToken requestCancellationToken) at System.Net.Http.HttpConnectionPool.SendWithVersionDetectionAndRetryAsync(HttpRequestMessage request, Boolean async, Boolean doRequestAuth, CancellationToken cancellationToken) at System.Net.Http.DiagnosticsHandler.SendAsyncCore(HttpRequestMessage request, Boolean async, CancellationToken cancellationToken) at System.Net.Http.RedirectHandler.SendAsync(HttpRequestMessage request, Boolean async, CancellationToken cancellationToken) at System.Net.Http.HttpClient.GetStringAsyncCore(HttpRequestMessage request, CancellationToken cancellationToken) at DebuggerTests.ChromeProvider.ExtractConnUrl(String str, ILogger logger) in //src/mono/wasm/debugger/DebuggerTestSuite/ChromeProvider.cs:line 139 at DebuggerTests.ChromeProvider.StartBrowserAndProxyAsync(HttpContext context, String targetUrl, Int32 remoteDebuggingPort, String messagePrefix, ILoggerFactory loggerFactory, CancellationTokenSource cts, Int32 browserReadyTimeoutMs, String locale) in /_/src/mono/wasm/debugger/DebuggerTestSuite/ChromeProvider.cs:line 86 at DebuggerTests.TestHarnessStartup.<>cDisplayClass13_0.<b_2>d.MoveNext() in //src/mono/wasm/debugger/DebuggerTestSuite/TestHarnessStartup.cs:line 143 --- End of stack trace from previous location --- at DebuggerTests.Inspector.OpenSessionAsync(Func`3 getInitCmds, String urlToInspect, TimeSpan span) in //src/mono/wasm/debugger/DebuggerTestSuite/Inspector.cs:line 414 at DebuggerTests.DebuggerTestBase.InitializeAsync() in //src/mono/wasm/debugger/DebuggerTestSuite/DebuggerTestBase.cs:line 173 ----- Inner Stack Trace ----- at System.Net.Sockets.Socket.AwaitableSocketAsyncEventArgs.ThrowException(SocketError error, CancellationToken cancellationToken) at System.Net.Sockets.Socket.AwaitableSocketAsyncEventArgs.System.Threading.Tasks.Sources.IValueTaskSource.GetResult(Int16 token) at System.Net.Sockets.Socket.gWaitForConnectWithCancellation|281_0(AwaitableSocketAsyncEventArgs saea, ValueTask connectTask, CancellationToken cancellationToken) at System.Net.Http.HttpConnectionPool.ConnectToTcpHostAsync(String host, Int32 port, HttpRequestMessage initialRequest, Boolean async, CancellationToken cancellationToken)


- SteppingTests.SkipWasmFunctionsAccordinglyJustMyCode https://helixre107v0xdcypoyl9e7f.blob.core.windows.net/dotnet-runtime-refs-pull-86501-merge-a40313dd29714993a8/chrome-DebuggerTests.SteppingTests/1/console.e70cabaa.log?helixlogtype=result
message same as AssignmentsTests.InspectVariableBeforeAndAfterAssignment

- MiscTests.TestDebugUsingMultiThreadedRuntime  https://helixre107v0xdcypoyl9e7f.blob.core.windows.net/dotnet-runtime-refs-pull-91536-merge-2f94b444fd1e44908c/chrome-DebuggerTests.MiscTests/1/console.8e50edd3.log?helixlogtype=result

Failed DebuggerTests.MiscTests.TestDebugUsingMultiThreadedRuntime [1 s] Error Message: [Runtime.getProperties returned False instead of True, for { "objectId": "dotnet:scope:1" }, with Result: [Result: IsOk: False, IsErr: True, Value: , Error: { "message": "RuntimeGetProperties: Failed to get properties for dotnet:scope:1: System.Exception: Error resolving scope properties SendDebuggerAgentCommand failed for GetValues: [Result: IsOk: False, IsErr: True, Value: , Error: {\n \"result\": {\n \"type\": \"object\",\n \"subtype\": \"error\",\n \"className\": \"RangeError\",\n \"description\": \"RangeError: Invalid typed array length: 10\n at new Uint8Array ()\n at Lu (http://localhost:9400/_framework/dotnet.runtime.js:3:182155)\\n at http://localhost:9400/_framework/dotnet.native.wasm:wasm-function[1430]:0x7975d\\n at Module._mono_wasm_send_dbg_command [as mono_wasm_send_dbg_command] (http://localhost:9400/_framework/dotnet.native.js:8:153555)\\n at Object.Gt [as mono_wasm_send_dbg_command] (http://localhost:9400/_framework/dotnet.runtime.js:3:22978)\\n at :1:30\n at mono_wasm_fire_debugger_agent_message_with_data_to_pause (http://localhost:9400/_framework/dotnet.runtime.js:3:22543)\\n at mono_wasm_fire_debugger_agent_message_with_data (http://localhost:9400/_framework/dotnet.runtime.js:3:182343)\\n at http://localhost:9400/_framework/dotnet.native.wasm:wasm-function[1436]:0x7992d\\n at http://localhost:9400/_framework/dotnet.native.wasm:wasm-function[1608]:0x8c25a\",\n \"objectId\": \"2150784534128071968.1.72\"\n },\n \"exceptionDetails\": {\n \"exceptionId\": 3,\n \"text\": \"Uncaught\",\n \"lineNumber\": 2,\n \"columnNumber\": 182154,\n \"scriptId\": \"7\",\n \"stackTrace\": {\n \"callFrames\": [\n {\n \"functionName\": \"Lu\",\n \"scriptId\": \"7\",\n \"url\": \"http://localhost:9400/_framework/dotnet.runtime.js\",\n \"lineNumber\": 2,\n \"columnNumber\": 182154\n },\n {\n \"functionName\": \"$mono_wasm_send_dbg_command\",\n \"scriptId\": \"5\",\n \"url\": \"http://localhost:9400/_framework/dotnet.native.wasm\",\n \"lineNumber\": 0,\n \"columnNumber\": 497501\n },\n {\n \"functionName\": \"Module._mono_wasm_send_dbg_command\",\n \"scriptId\": \"8\",\n \"url\": \"http://localhost:9400/_framework/dotnet.native.js\",\n \"lineNumber\": 7,\n \"columnNumber\": 153554\n },\n {\n \"functionName\": \"Gt\",\n \"scriptId\": \"7\",\n \"url\": \"http://localhost:9400/_framework/dotnet.runtime.js\",\n \"lineNumber\": 2,\n \"columnNumber\": 22977\n },\n {\n \"functionName\": \"\",\n \"scriptId\": \"50\",\n \"url\": \"\",\n \"lineNumber\": 0,\n \"columnNumber\": 29\n },\n {\n \"functionName\": \"mono_wasm_fire_debugger_agent_message_with_data_to_pause\",\n \"scriptId\": \"7\",\n \"url\": \"http://localhost:9400/_framework/dotnet.runtime.js\",\n \"lineNumber\": 2,\n \"columnNumber\": 22542\n },\n {\n \"functionName\": \"mono_wasm_fire_debugger_agent_message_with_data\",\n \"scriptId\": \"7\",\n \"url\": \"http://localhost:9400/_framework/dotnet.runtime.js\",\n \"lineNumber\": 2,\n \"columnNumber\": 182342\n },\n {\n \"functionName\": \"$func1436\",\n \"scriptId\": \"5\",\n \"url\": \"http://localhost:9400/_framework/dotnet.native.wasm\",\n \"lineNumber\": 0,\n \"columnNumber\": 497965\n },\n {\n \"functionName\": \"$func1608\",\n \"scriptId\": \"5\",\n \"url\": \"http://localhost:9400/_framework/dotnet.native.wasm\",\n \"lineNumber\": 0,\n \"columnNumber\": 574042\n },\n {\n \"functionName\": \"$func1548\",\n \"scriptId\": \"5\",\n \"url\": \"http://localhost:9400/_framework/dotnet.native.wasm\",\n \"lineNumber\": 0,\n \"columnNumber\": 531416\n },\n {\n \"functionName\": \"$func1547\",\n \"scriptId\": \"5\",\n \"url\": \"http://localhost:9400/_framework/dotnet.native.wasm\",\n \"lineNumber\": 0,\n \"columnNumber\": 529885\n },\n {\n \"functionName\": \"$func1471\",\n \"scriptId\": \"5\",\n \"url\": \"http://localhost:9400/_framework/dotnet.native.wasm\",\n \"lineNumber\": 0,\n \"columnNumber\": 508438\n },\n {\n \"functionName\": \"$func1433\",\n \"scriptId\": \"5\",\n \"url\": \"http://localhost:9400/_framework/dotnet.native.wasm\",\n \"lineNumber\": 0,\n \"columnNumber\": 497583\n },\n {\n \"functionName\": \"$func273\",\n \"scriptId\": \"5\",\n \"url\": \"http://localhost:9400/_framework/dotnet.native.wasm\",\n \"lineNumber\": 0,\n \"columnNumber\": 154532\n },\n {\n \"functionName\": \"$func270\",\n \"scriptId\": \"5\",\n \"url\": \"http://localhost:9400/_framework/dotnet.native.wasm\",\n \"lineNumber\": 0,\n \"columnNumber\": 143471\n },\n {\n \"functionName\": \"$func309\",\n \"scriptId\": \"5\",\n \"url\": \"http://localhost:9400/_framework/dotnet.native.wasm\",\n \"lineNumber\": 0,\n \"columnNumber\": 160599\n },\n {\n \"functionName\": \"$func3334\",\n \"scriptId\": \"5\",\n \"url\": \"http://localhost:9400/_framework/dotnet.native.wasm\",\n \"lineNumber\": 0,\n \"columnNumber\": 1023194\n },\n {\n \"functionName\": \"$func2605\",\n \"scriptId\": \"5\",\n \"url\": \"http://localhost:9400/_framework/dotnet.native.wasm\",\n \"lineNumber\": 0,\n \"columnNumber\": 835701\n },\n {\n \"functionName\": \"$func2604\",\n \"scriptId\": \"5\",\n \"url\": \"http://localhost:9400/_framework/dotnet.native.wasm\",\n \"lineNumber\": 0,\n \"columnNumber\": 835589\n },\n {\n \"functionName\": \"$func2758\",\n \"scriptId\": \"5\",\n \"url\": \"http://localhost:9400/_framework/dotnet.native.wasm\",\n \"lineNumber\": 0,\n \"columnNumber\": 866257\n },\n {\n \"functionName\": \"invokeEntryPoint\",\n \"scriptId\": \"8\",\n \"url\": \"http://localhost:9400/_framework/dotnet.native.js\",\n \"lineNumber\": 7,\n \"columnNumber\": 68840\n },\n {\n \"functionName\": \"handleMessage\",\n \"scriptId\": \"4\",\n \"url\": \"http://localhost:9400/_framework/dotnet.native.worker.js\",\n \"lineNumber\": 0,\n \"columnNumber\": 2305\n }\n ],\n \"parentId\": {\n \"id\": \"33\",\n \"debuggerId\": \"2316050916062448903.369630694784302713\"\n }\n },\n \"exception\": {\n \"type\": \"object\",\n \"subtype\": \"error\",\n \"className\": \"RangeError\",\n \"description\": \"RangeError: Invalid typed array length: 10\n at new Uint8Array ()\n at Lu (http://localhost:9400/_framework/dotnet.runtime.js:3:182155)\\n at http://localhost:9400/_framework/dotnet.native.wasm:wasm-function[1430]:0x7975d\\n at Module._mono_wasm_send_dbg_command [as mono_wasm_send_dbg_command] (http://localhost:9400/_framework/dotnet.native.js:8:153555)\\n at Object.Gt [as mono_wasm_send_dbg_command] (http://localhost:9400/_framework/dotnet.runtime.js:3:22978)\\n at :1:30\n at mono_wasm_fire_debugger_agent_message_with_data_to_pause (http://localhost:9400/_framework/dotnet.runtime.js:3:22543)\\n at mono_wasm_fire_debugger_agent_message_with_data (http://localhost:9400/_framework/dotnet.runtime.js:3:182343)\\n at http://localhost:9400/_framework/dotnet.native.wasm:wasm-function[1436]:0x7992d\\n at http://localhost:9400/_framework/dotnet.native.wasm:wasm-function[1608]:0x8c25a\",\n \"objectId\": \"2150784534128071968.1.73\"\n }\n }\n} ]\n at Microsoft.WebAssembly.Diagnostics.MonoProxy.GetScopeProperties(SessionId msgid, Int32 scopeId, CancellationToken token) in //src/mono/wasm/debugger/BrowserDebugProxy/MonoProxy.cs:line 1561\n at Microsoft.WebAssembly.Diagnostics.MonoProxy.RuntimeGetObjectMembers(SessionId id, DotnetObjectId objectId, JToken args, CancellationToken token, Boolean sortByAccessLevel) in /_/src/mono/wasm/debugger/BrowserDebugProxy/MonoProxy.cs:line 840" } ]]

Expected: True Actual: False Stack Trace: at DebuggerTests.DebuggerTestBase.AssertEqual(Object expected, Object actual, String label) in /_/src/mono/wasm/debugger/DebuggerTestSuite/DebuggerTestBase.cs:line 1304 at DebuggerTests.DebuggerTestBase.GetProperties(String id, JToken fn_args, Nullable1 own_properties, Nullable1 accessors_only, Boolean expectok) in //src/mono/wasm/debugger/DebuggerTestSuite/DebuggerTestBase.cs:line 1061 at DebuggerTests.MiscTests.TestDebugUsingMultiThreadedRuntime() in /_/src/mono/wasm/debugger/DebuggerTestSuite/MiscTests.cs:line 1182


<!-- Error message template  -->
### Known Issue Error Message
Fill the error message using [known issues guidance](https://github.com/dotnet/arcade/blob/main/Documentation/Projects/Build%20Analysis/KnownIssues.md#how-to-fill-out-a-known-issue-error-section).

```json
{
  "ErrorMessage": "",
  "BuildRetry": false
}

Report

Summary

24-Hour Hit Count 7-Day Hit Count 1-Month Count
0 0 0
ghost commented 1 year ago

Tagging subscribers to this area: @thaystg See info in area-owners.md if you want to be subscribed.

Issue Details
A few multithreading debugger tests fail on Windows. ``` [xUnit.net 00:00:34.80] DebuggerTests.SteppingTests.BreakpointOnHiddenLineShouldStopAtEarliestNextAvailableLineAsync(line_bp: 130, column_bp: 16, line_pause: 133, column_pause: 16, method_name: "HiddenLinesJustBeforeANestedAsyncBlock") [FAIL] Failed DebuggerTests.SteppingTests.BreakpointOnHiddenLineShouldStopAtEarliestNextAvailableLineAsync(line_bp: 130, column_bp: 16, line_pause: 133, column_pause: 16, method_name: "HiddenLinesJustBeforeANestedAsyncBlock") [3 s] Error Message: [{ "functionName": "DebuggerTests.AsyncTests.ContinueWithTests.RunAsyncWithLineHidden", "callFrameId": "dotnet:scope:1", "functionLocation": { "scriptId": "dotnet://217_17", "lineNumber": 97, "columnNumber": 8 }, "location": { "scriptId": "dotnet://217_17", "lineNumber": 105, "columnNumber": 12 }, "url": "dotnet://debugger-test.dll//_/src/mono/wasm/debugger/tests/debugger-test/debugger-async-test.cs", "scopeChain": [ { "type": "local", "object": { "type": "object", "className": "Object", "description": "Object", "objectId": "dotnet:scope:1" }, "name": "DebuggerTests.AsyncTests.ContinueWithTests.RunAsyncWithLineHidden", "startLocation": { "scriptId": "dotnet://217_17", "lineNumber": 97, "columnNumber": 8 }, "endLocation": { "scriptId": "dotnet://217_17", "lineNumber": 106, "columnNumber": 8 } } ] }] Expected: DebuggerTests.AsyncTests.ContinueWithTests.HiddenLinesJustBeforeANestedAsyncBlock Actual: DebuggerTests.AsyncTests.ContinueWithTests.RunAsyncWithLineHidden Stack Trace: at DebuggerTests.DebuggerTestBase.AssertEqual(Object expected, Object actual, String label) in /_/src/mono/wasm/debugger/DebuggerTestSuite/DebuggerTestBase.cs:line 1297 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 678 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 658 at DebuggerTests.SteppingTests.BreakpointOnHiddenLineShouldStopAtEarliestNextAvailableLineAsync(Int32 line_bp, Int32 column_bp, Int32 line_pause, Int32 column_pause, String method_name) in /_/src/mono/wasm/debugger/DebuggerTestSuite/SteppingTests.cs:line 891 --- End of stack trace from previous location --- [xUnit.net 00:00:45.02] DebuggerTests.SteppingTests.BreakpointOnHiddenLineShouldStopAtEarliestNextAvailableLineAsync(line_bp: 170, column_bp: 20, line_pause: 172, column_pause: 16, method_name: "HiddenLinesAtTheEndOfANestedAsyncBlockWithBreakabl"...) [FAIL] Failed DebuggerTests.SteppingTests.BreakpointOnHiddenLineShouldStopAtEarliestNextAvailableLineAsync(line_bp: 170, column_bp: 20, line_pause: 172, column_pause: 16, method_name: "HiddenLinesAtTheEndOfANestedAsyncBlockWithBreakabl"...) [3 s] Error Message: [{ "functionName": "DebuggerTests.AsyncTests.ContinueWithTests.RunAsyncWithLineHidden", "callFrameId": "dotnet:scope:1", "functionLocation": { "scriptId": "dotnet://292_17", "lineNumber": 97, "columnNumber": 8 }, "location": { "scriptId": "dotnet://292_17", "lineNumber": 105, "columnNumber": 12 }, "url": "dotnet://debugger-test.dll//_/src/mono/wasm/debugger/tests/debugger-test/debugger-async-test.cs", "scopeChain": [ { "type": "local", "object": { "type": "object", "className": "Object", "description": "Object", "objectId": "dotnet:scope:1" }, "name": "DebuggerTests.AsyncTests.ContinueWithTests.RunAsyncWithLineHidden", "startLocation": { "scriptId": "dotnet://292_17", "lineNumber": 97, "columnNumber": 8 }, "endLocation": { "scriptId": "dotnet://292_17", "lineNumber": 106, "columnNumber": 8 } } ] }] Expected: DebuggerTests.AsyncTests.ContinueWithTests.HiddenLinesAtTheEndOfANestedAsyncBlockWithBreakableLineAtEndOfTheMethod.AnonymousMethod__1 Actual: DebuggerTests.AsyncTests.ContinueWithTests.RunAsyncWithLineHidden Stack Trace: at DebuggerTests.DebuggerTestBase.AssertEqual(Object expected, Object actual, String label) in /_/src/mono/wasm/debugger/DebuggerTestSuite/DebuggerTestBase.cs:line 1297 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 678 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 658 at DebuggerTests.SteppingTests.BreakpointOnHiddenLineShouldStopAtEarliestNextAvailableLineAsync(Int32 line_bp, Int32 column_bp, Int32 line_pause, Int32 column_pause, String method_name) in /_/src/mono/wasm/debugger/DebuggerTestSuite/SteppingTests.cs:line 891 --- End of stack trace from previous location --- Detected a container, disabling sandboxing for debugger tests. [xUnit.net 00:00:55.19] DebuggerTests.SteppingTests.BreakpointOnHiddenLineShouldStopAtEarliestNextAvailableLineAsync(line_bp: 154, column_bp: 20, line_pause: 155, column_pause: 16, method_name: "HiddenLinesAtTheEndOfANestedAsyncBlockWithNoLinesA"...) [FAIL] Failed DebuggerTests.SteppingTests.BreakpointOnHiddenLineShouldStopAtEarliestNextAvailableLineAsync(line_bp: 154, column_bp: 20, line_pause: 155, column_pause: 16, method_name: "HiddenLinesAtTheEndOfANestedAsyncBlockWithNoLinesA"...) [3 s] Error Message: [{ "functionName": "DebuggerTests.AsyncTests.ContinueWithTests.RunAsyncWithLineHidden", "callFrameId": "dotnet:scope:1", "functionLocation": { "scriptId": "dotnet://361_17", "lineNumber": 97, "columnNumber": 8 }, "location": { "scriptId": "dotnet://361_17", "lineNumber": 105, "columnNumber": 12 }, "url": "dotnet://debugger-test.dll//_/src/mono/wasm/debugger/tests/debugger-test/debugger-async-test.cs", "scopeChain": [ { "type": "local", "object": { "type": "object", "className": "Object", "description": "Object", "objectId": "dotnet:scope:1" }, "name": "DebuggerTests.AsyncTests.ContinueWithTests.RunAsyncWithLineHidden", "startLocation": { "scriptId": "dotnet://361_17", "lineNumber": 97, "columnNumber": 8 }, "endLocation": { "scriptId": "dotnet://361_17", "lineNumber": 106, "columnNumber": 8 } } ] }] Expected: DebuggerTests.AsyncTests.ContinueWithTests.HiddenLinesAtTheEndOfANestedAsyncBlockWithNoLinesAtEndOfTheMethod.AnonymousMethod__1 Actual: DebuggerTests.AsyncTests.ContinueWithTests.RunAsyncWithLineHidden Stack Trace: at DebuggerTests.DebuggerTestBase.AssertEqual(Object expected, Object actual, String label) in /_/src/mono/wasm/debugger/DebuggerTestSuite/DebuggerTestBase.cs:line 1297 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 678 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 658 at DebuggerTests.SteppingTests.BreakpointOnHiddenLineShouldStopAtEarliestNextAvailableLineAsync(Int32 line_bp, Int32 column_bp, Int32 line_pause, Int32 column_pause, String method_name) in /_/src/mono/wasm/debugger/DebuggerTestSuite/SteppingTests.cs:line 891 --- End of stack trace from previous location --- Detected a container, disabling sandboxing for debugger tests. Detected a container, disabling sandboxing for debugger tests. [xUnit.net 00:01:05.54] DebuggerTests.SteppingTests.BreakpointOnHiddenLineShouldStopAtEarliestNextAvailableLineAsync(line_bp: 153, column_bp: 20, line_pause: 155, column_pause: 16, method_name: "HiddenLinesAtTheEndOfANestedAsyncBlockWithNoLinesA"...) [FAIL] Failed DebuggerTests.SteppingTests.BreakpointOnHiddenLineShouldStopAtEarliestNextAvailableLineAsync(line_bp: 153, column_bp: 20, line_pause: 155, column_pause: 16, method_name: "HiddenLinesAtTheEndOfANestedAsyncBlockWithNoLinesA"...) [3 s] Error Message: [{ "functionName": "DebuggerTests.AsyncTests.ContinueWithTests.RunAsyncWithLineHidden", "callFrameId": "dotnet:scope:1", "functionLocation": { "scriptId": "dotnet://434_17", "lineNumber": 97, "columnNumber": 8 }, "location": { "scriptId": "dotnet://434_17", "lineNumber": 105, "columnNumber": 12 }, "url": "dotnet://debugger-test.dll//_/src/mono/wasm/debugger/tests/debugger-test/debugger-async-test.cs", "scopeChain": [ { "type": "local", "object": { "type": "object", "className": "Object", "description": "Object", "objectId": "dotnet:scope:1" }, "name": "DebuggerTests.AsyncTests.ContinueWithTests.RunAsyncWithLineHidden", "startLocation": { "scriptId": "dotnet://434_17", "lineNumber": 97, "columnNumber": 8 }, "endLocation": { "scriptId": "dotnet://434_17", "lineNumber": 106, "columnNumber": 8 } } ] }] Expected: DebuggerTests.AsyncTests.ContinueWithTests.HiddenLinesAtTheEndOfANestedAsyncBlockWithNoLinesAtEndOfTheMethod.AnonymousMethod__1 Actual: DebuggerTests.AsyncTests.ContinueWithTests.RunAsyncWithLineHidden Stack Trace: at DebuggerTests.DebuggerTestBase.AssertEqual(Object expected, Object actual, String label) in /_/src/mono/wasm/debugger/DebuggerTestSuite/DebuggerTestBase.cs:line 1297 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 678 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 658 at DebuggerTests.SteppingTests.BreakpointOnHiddenLineShouldStopAtEarliestNextAvailableLineAsync(Int32 line_bp, Int32 column_bp, Int32 line_pause, Int32 column_pause, String method_name) in /_/src/mono/wasm/debugger/DebuggerTestSuite/SteppingTests.cs:line 891 --- End of stack trace from previous location --- Failed! - Failed: 4, Passed: 47, Skipped: 1, Total: 52, Duration: 6 m 5 s - DebuggerTestSuite.dll (net8.0) ```
Author: ilonatommy
Assignees: ilonatommy
Labels: `area-Debugger-mono`, `test-failure`
Milestone: -
ghost commented 1 year ago

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

Issue Details
A few multithreading debugger tests fail. - SteppingTests: https://helix.dot.net/api/2019-06-17/jobs/1809763c-db58-4b05-a206-277e915c7954/workitems/chrome-DebuggerTests.SteppingTests/console ``` [xUnit.net 00:00:34.80] DebuggerTests.SteppingTests.BreakpointOnHiddenLineShouldStopAtEarliestNextAvailableLineAsync(line_bp: 130, column_bp: 16, line_pause: 133, column_pause: 16, method_name: "HiddenLinesJustBeforeANestedAsyncBlock") [FAIL] Failed DebuggerTests.SteppingTests.BreakpointOnHiddenLineShouldStopAtEarliestNextAvailableLineAsync(line_bp: 130, column_bp: 16, line_pause: 133, column_pause: 16, method_name: "HiddenLinesJustBeforeANestedAsyncBlock") [3 s] Error Message: [{ "functionName": "DebuggerTests.AsyncTests.ContinueWithTests.RunAsyncWithLineHidden", "callFrameId": "dotnet:scope:1", "functionLocation": { "scriptId": "dotnet://217_17", "lineNumber": 97, "columnNumber": 8 }, "location": { "scriptId": "dotnet://217_17", "lineNumber": 105, "columnNumber": 12 }, "url": "dotnet://debugger-test.dll//_/src/mono/wasm/debugger/tests/debugger-test/debugger-async-test.cs", "scopeChain": [ { "type": "local", "object": { "type": "object", "className": "Object", "description": "Object", "objectId": "dotnet:scope:1" }, "name": "DebuggerTests.AsyncTests.ContinueWithTests.RunAsyncWithLineHidden", "startLocation": { "scriptId": "dotnet://217_17", "lineNumber": 97, "columnNumber": 8 }, "endLocation": { "scriptId": "dotnet://217_17", "lineNumber": 106, "columnNumber": 8 } } ] }] Expected: DebuggerTests.AsyncTests.ContinueWithTests.HiddenLinesJustBeforeANestedAsyncBlock Actual: DebuggerTests.AsyncTests.ContinueWithTests.RunAsyncWithLineHidden Stack Trace: at DebuggerTests.DebuggerTestBase.AssertEqual(Object expected, Object actual, String label) in /_/src/mono/wasm/debugger/DebuggerTestSuite/DebuggerTestBase.cs:line 1297 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 678 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 658 at DebuggerTests.SteppingTests.BreakpointOnHiddenLineShouldStopAtEarliestNextAvailableLineAsync(Int32 line_bp, Int32 column_bp, Int32 line_pause, Int32 column_pause, String method_name) in /_/src/mono/wasm/debugger/DebuggerTestSuite/SteppingTests.cs:line 891 --- End of stack trace from previous location --- [xUnit.net 00:00:45.02] DebuggerTests.SteppingTests.BreakpointOnHiddenLineShouldStopAtEarliestNextAvailableLineAsync(line_bp: 170, column_bp: 20, line_pause: 172, column_pause: 16, method_name: "HiddenLinesAtTheEndOfANestedAsyncBlockWithBreakabl"...) [FAIL] Failed DebuggerTests.SteppingTests.BreakpointOnHiddenLineShouldStopAtEarliestNextAvailableLineAsync(line_bp: 170, column_bp: 20, line_pause: 172, column_pause: 16, method_name: "HiddenLinesAtTheEndOfANestedAsyncBlockWithBreakabl"...) [3 s] Error Message: [{ "functionName": "DebuggerTests.AsyncTests.ContinueWithTests.RunAsyncWithLineHidden", "callFrameId": "dotnet:scope:1", "functionLocation": { "scriptId": "dotnet://292_17", "lineNumber": 97, "columnNumber": 8 }, "location": { "scriptId": "dotnet://292_17", "lineNumber": 105, "columnNumber": 12 }, "url": "dotnet://debugger-test.dll//_/src/mono/wasm/debugger/tests/debugger-test/debugger-async-test.cs", "scopeChain": [ { "type": "local", "object": { "type": "object", "className": "Object", "description": "Object", "objectId": "dotnet:scope:1" }, "name": "DebuggerTests.AsyncTests.ContinueWithTests.RunAsyncWithLineHidden", "startLocation": { "scriptId": "dotnet://292_17", "lineNumber": 97, "columnNumber": 8 }, "endLocation": { "scriptId": "dotnet://292_17", "lineNumber": 106, "columnNumber": 8 } } ] }] Expected: DebuggerTests.AsyncTests.ContinueWithTests.HiddenLinesAtTheEndOfANestedAsyncBlockWithBreakableLineAtEndOfTheMethod.AnonymousMethod__1 Actual: DebuggerTests.AsyncTests.ContinueWithTests.RunAsyncWithLineHidden Stack Trace: at DebuggerTests.DebuggerTestBase.AssertEqual(Object expected, Object actual, String label) in /_/src/mono/wasm/debugger/DebuggerTestSuite/DebuggerTestBase.cs:line 1297 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 678 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 658 at DebuggerTests.SteppingTests.BreakpointOnHiddenLineShouldStopAtEarliestNextAvailableLineAsync(Int32 line_bp, Int32 column_bp, Int32 line_pause, Int32 column_pause, String method_name) in /_/src/mono/wasm/debugger/DebuggerTestSuite/SteppingTests.cs:line 891 --- End of stack trace from previous location --- Detected a container, disabling sandboxing for debugger tests. [xUnit.net 00:00:55.19] DebuggerTests.SteppingTests.BreakpointOnHiddenLineShouldStopAtEarliestNextAvailableLineAsync(line_bp: 154, column_bp: 20, line_pause: 155, column_pause: 16, method_name: "HiddenLinesAtTheEndOfANestedAsyncBlockWithNoLinesA"...) [FAIL] Failed DebuggerTests.SteppingTests.BreakpointOnHiddenLineShouldStopAtEarliestNextAvailableLineAsync(line_bp: 154, column_bp: 20, line_pause: 155, column_pause: 16, method_name: "HiddenLinesAtTheEndOfANestedAsyncBlockWithNoLinesA"...) [3 s] Error Message: [{ "functionName": "DebuggerTests.AsyncTests.ContinueWithTests.RunAsyncWithLineHidden", "callFrameId": "dotnet:scope:1", "functionLocation": { "scriptId": "dotnet://361_17", "lineNumber": 97, "columnNumber": 8 }, "location": { "scriptId": "dotnet://361_17", "lineNumber": 105, "columnNumber": 12 }, "url": "dotnet://debugger-test.dll//_/src/mono/wasm/debugger/tests/debugger-test/debugger-async-test.cs", "scopeChain": [ { "type": "local", "object": { "type": "object", "className": "Object", "description": "Object", "objectId": "dotnet:scope:1" }, "name": "DebuggerTests.AsyncTests.ContinueWithTests.RunAsyncWithLineHidden", "startLocation": { "scriptId": "dotnet://361_17", "lineNumber": 97, "columnNumber": 8 }, "endLocation": { "scriptId": "dotnet://361_17", "lineNumber": 106, "columnNumber": 8 } } ] }] Expected: DebuggerTests.AsyncTests.ContinueWithTests.HiddenLinesAtTheEndOfANestedAsyncBlockWithNoLinesAtEndOfTheMethod.AnonymousMethod__1 Actual: DebuggerTests.AsyncTests.ContinueWithTests.RunAsyncWithLineHidden Stack Trace: at DebuggerTests.DebuggerTestBase.AssertEqual(Object expected, Object actual, String label) in /_/src/mono/wasm/debugger/DebuggerTestSuite/DebuggerTestBase.cs:line 1297 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 678 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 658 at DebuggerTests.SteppingTests.BreakpointOnHiddenLineShouldStopAtEarliestNextAvailableLineAsync(Int32 line_bp, Int32 column_bp, Int32 line_pause, Int32 column_pause, String method_name) in /_/src/mono/wasm/debugger/DebuggerTestSuite/SteppingTests.cs:line 891 --- End of stack trace from previous location --- Detected a container, disabling sandboxing for debugger tests. Detected a container, disabling sandboxing for debugger tests. [xUnit.net 00:01:05.54] DebuggerTests.SteppingTests.BreakpointOnHiddenLineShouldStopAtEarliestNextAvailableLineAsync(line_bp: 153, column_bp: 20, line_pause: 155, column_pause: 16, method_name: "HiddenLinesAtTheEndOfANestedAsyncBlockWithNoLinesA"...) [FAIL] Failed DebuggerTests.SteppingTests.BreakpointOnHiddenLineShouldStopAtEarliestNextAvailableLineAsync(line_bp: 153, column_bp: 20, line_pause: 155, column_pause: 16, method_name: "HiddenLinesAtTheEndOfANestedAsyncBlockWithNoLinesA"...) [3 s] Error Message: [{ "functionName": "DebuggerTests.AsyncTests.ContinueWithTests.RunAsyncWithLineHidden", "callFrameId": "dotnet:scope:1", "functionLocation": { "scriptId": "dotnet://434_17", "lineNumber": 97, "columnNumber": 8 }, "location": { "scriptId": "dotnet://434_17", "lineNumber": 105, "columnNumber": 12 }, "url": "dotnet://debugger-test.dll//_/src/mono/wasm/debugger/tests/debugger-test/debugger-async-test.cs", "scopeChain": [ { "type": "local", "object": { "type": "object", "className": "Object", "description": "Object", "objectId": "dotnet:scope:1" }, "name": "DebuggerTests.AsyncTests.ContinueWithTests.RunAsyncWithLineHidden", "startLocation": { "scriptId": "dotnet://434_17", "lineNumber": 97, "columnNumber": 8 }, "endLocation": { "scriptId": "dotnet://434_17", "lineNumber": 106, "columnNumber": 8 } } ] }] Expected: DebuggerTests.AsyncTests.ContinueWithTests.HiddenLinesAtTheEndOfANestedAsyncBlockWithNoLinesAtEndOfTheMethod.AnonymousMethod__1 Actual: DebuggerTests.AsyncTests.ContinueWithTests.RunAsyncWithLineHidden Stack Trace: at DebuggerTests.DebuggerTestBase.AssertEqual(Object expected, Object actual, String label) in /_/src/mono/wasm/debugger/DebuggerTestSuite/DebuggerTestBase.cs:line 1297 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 678 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 658 at DebuggerTests.SteppingTests.BreakpointOnHiddenLineShouldStopAtEarliestNextAvailableLineAsync(Int32 line_bp, Int32 column_bp, Int32 line_pause, Int32 column_pause, String method_name) in /_/src/mono/wasm/debugger/DebuggerTestSuite/SteppingTests.cs:line 891 --- End of stack trace from previous location --- Failed! - Failed: 4, Passed: 47, Skipped: 1, Total: 52, Duration: 6 m 5 s - DebuggerTestSuite.dll (net8.0) ``` - AsyncTests https://helix.dot.net/api/2019-06-17/jobs/1809763c-db58-4b05-a206-277e915c7954/workitems/chrome-DebuggerTests.AsyncTests/console - SetNextIpTests https://helix.dot.net/api/2019-06-17/jobs/1809763c-db58-4b05-a206-277e915c7954/workitems/chrome-DebuggerTests.SetNextIpTests/console ### Known Issue Error Message Fill the error message using [known issues guidance](https://github.com/dotnet/arcade/blob/main/Documentation/Projects/Build%20Analysis/KnownIssues.md#how-to-fill-out-a-known-issue-error-section). ```json { "ErrorMessage": "", "BuildRetry": false } ``` ### Report #### Summary |24-Hour Hit Count|7-Day Hit Count|1-Month Count| |---|---|---| |0|0|0|
Author: ilonatommy
Assignees: ilonatommy
Labels: `arch-wasm`, `blocking-clean-ci`, `area-Debugger-mono`, `test-failure`
Milestone: 8.0.0