Skip to content

[debugger][mono] Multithreading debugger failures #86496

@ilonatommy

Description

@ilonatommy

A few multithreading debugger tests fail.

[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)

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

[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), ...], is_async: 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.<>c__DisplayClass13_0.<<Configure>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
  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: Assertion `listp->slotinfo[cnt].gen <= GL(dl_tls_generation)' 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.<>c__DisplayClass13_0.<<Configure>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
Failed DebuggerTests.AssignmentTests.InspectVariableBeforeAndAfterAssignment(clazz: "MONO_TYPE_CHAR", checkDefault: [[[...]], [[...]], [[...]]], checkValue: [[[...]], [[...]], [[...]]], methodName: "DebuggerTests.StepInTest<char>.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.TaskCompletionSourceWithCancellation`1.WaitWithCancellationAsync(CancellationToken cancellationToken)
   at System.Net.Http.HttpConnectionPool.HttpConnectionWaiter`1.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.<>c__DisplayClass13_0.<<Configure>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.<ConnectAsync>g__WaitForConnectWithCancellation|281_0(AwaitableSocketAsyncEventArgs saea, ValueTask connectTask, CancellationToken cancellationToken)
   at System.Net.Http.HttpConnectionPool.ConnectToTcpHostAsync(String host, Int32 port, HttpRequestMessage initialRequest, Boolean async, CancellationToken cancellationToken)
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 (<anonymous>)\\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 <anonymous>: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 (<anonymous>)\\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 <anonymous>: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 msg_id, 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, Nullable`1 own_properties, Nullable`1 accessors_only, Boolean expect_ok) in /_/src/mono/wasm/debugger/DebuggerTestSuite/DebuggerTestBase.cs:line 1061
   at DebuggerTests.MiscTests.TestDebugUsingMultiThreadedRuntime() in /_/src/mono/wasm/debugger/DebuggerTestSuite/MiscTests.cs:line 1182

Known Issue Error Message

Fill the error message using known issues guidance.

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

Report

Summary

24-Hour Hit Count 7-Day Hit Count 1-Month Count
0 0 0

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions