dotnet / runtime

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

[browser][debugger] Firefox EvaluateOnCallFrame2Tests #98086

Open pavelsavara opened 3 months ago

pavelsavara commented 3 months ago

Error Blob

{
  "ErrorMessage": "DebuggerTests.EvaluateOnCallFrame2Tests.EvaluateValueTypeWithObjectValueType [FAIL]",
  "BuildRetry": false,
  "ErrorPattern": "",
  "ExcludeConsoleLog": false
}

Reproduction Steps

Build https://dev.azure.com/dnceng-public/public/_build/results?buildId=556676 Log

[xUnit.net 00:06:58.36]     DebuggerTests.EvaluateOnCallFrame2Tests.EvaluateValueTypeWithObjectValueType [FAIL]
  Failed DebuggerTests.EvaluateOnCallFrame2Tests.EvaluateValueTypeWithObjectValueType [2 s]
  Error Message:
   System.Exception : No 'to' field found in '{
  "expression": "myVar.MyMethod()"
}'

 | [2024-02-07T09:52:16] FirefoxMonoProxy-17 Error: Cannot respond to command: msg-:::0:::server1.conn0.windowGlobal10737418242/windowGlobalTarget2 with result: [Result: IsOk: True, IsErr: False, Value: {
 |                                                    "result": {
 |                                                      "value": {
 |                                                        "type": "frameUpdate",
 |                                                        "frames": [
 |                                                          {
 |                                                            "id": 25,
 |                                                            "isTopLevel": true,
 |                                                            "url": "http://localhost:9400/debugger-driver.html",
 |                                                            "title": ""
 |                                                          }
 |                                                        ],
 |                                                        "from": "server1.conn0.windowGlobal10737418242/windowGlobalTarget2"
 |                                                      }
 |                                                    }
 |                                                  }, Error:  ] - command is not pending
 | [2024-02-07T09:52:16] DebuggerTests.TestHarnessProxy Debug: [testId: 17] browser-stdout Handler function DebuggerTransport instance's this.hooks.onPacket threw an exception: TypeError: to is undefined
 | [2024-02-07T09:52:16] DebuggerTests.TestHarnessProxy Debug: [testId: 17] browser-stdout Stack: onPacket@resource://devtools/server/devtools-server-connection.js:355:23
 | [2024-02-07T09:52:16] DebuggerTests.TestHarnessProxy Debug: [testId: 17] browser-stdout _onJSONObjectReady/<@resource://devtools/shared/transport/transport.js:463:22
 | [2024-02-07T09:52:16] DebuggerTests.TestHarnessProxy Debug: [testId: 17] browser-stdout exports.makeInfallible/<@resource://devtools/shared/ThreadSafeDevToolsUtils.js:103:22
 | [2024-02-07T09:52:16] DebuggerTests.TestHarnessProxy Debug: [testId: 17] browser-stdout exports.makeInfallible/<@resource://devtools/shared/ThreadSafeDevToolsUtils.js:103:22
 | [2024-02-07T09:52:16] DebuggerTests.TestHarnessProxy Debug: [testId: 17] browser-stdout Line: 355, column: 23

Known issue validation

Build: :mag_right: https://dev.azure.com/dnceng-public/public/_build/results?buildId=556676 Error message validated: DebuggerTests.EvaluateOnCallFrame2Tests.EvaluateValueTypeWithObjectValueType [FAIL] Result validation: :white_check_mark: Known issue matched with the provided build. Validation performed at: 2/7/2024 12:04:01 PM UTC

Report

Build Definition Test Pull Request
668412 dotnet/runtime chrome-DebuggerTests.EvaluateOnCallFrame2Tests.WorkItemExecution dotnet/runtime#101543
657277 dotnet/runtime chrome-DebuggerTests.EvaluateOnCallFrame2Tests.WorkItemExecution dotnet/runtime#101543

Summary

24-Hour Hit Count 7-Day Hit Count 1-Month Count
0 0 2
ghost commented 3 months ago

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

Issue Details
### Error Blob ```json { "ErrorMessage": "DebuggerTests.EvaluateOnCallFrame2Tests.EvaluateValueTypeWithObjectValueType [FAIL]", "BuildRetry": false, "ErrorPattern": "", "ExcludeConsoleLog": false } ``` ### Reproduction Steps Build https://dev.azure.com/dnceng-public/public/_build/results?buildId=556676 [Log](https://helixre107v0xdcypoyl9e7f.blob.core.windows.net/dotnet-runtime-refs-pull-98052-merge-db521f22e1f14f73a6/firefox-DebuggerTests.EvaluateOnCallFrame2Tests/1/console.f6ebacbf.log?helixlogtype=result) ``` [xUnit.net 00:06:58.36] DebuggerTests.EvaluateOnCallFrame2Tests.EvaluateValueTypeWithObjectValueType [FAIL] Failed DebuggerTests.EvaluateOnCallFrame2Tests.EvaluateValueTypeWithObjectValueType [2 s] Error Message: System.Exception : No 'to' field found in '{ "expression": "myVar.MyMethod()" }' | [2024-02-07T09:52:16] FirefoxMonoProxy-17 Error: Cannot respond to command: msg-:::0:::server1.conn0.windowGlobal10737418242/windowGlobalTarget2 with result: [Result: IsOk: True, IsErr: False, Value: { | "result": { | "value": { | "type": "frameUpdate", | "frames": [ | { | "id": 25, | "isTopLevel": true, | "url": "http://localhost:9400/debugger-driver.html", | "title": "" | } | ], | "from": "server1.conn0.windowGlobal10737418242/windowGlobalTarget2" | } | } | }, Error: ] - command is not pending | [2024-02-07T09:52:16] DebuggerTests.TestHarnessProxy Debug: [testId: 17] browser-stdout Handler function DebuggerTransport instance's this.hooks.onPacket threw an exception: TypeError: to is undefined | [2024-02-07T09:52:16] DebuggerTests.TestHarnessProxy Debug: [testId: 17] browser-stdout Stack: onPacket@resource://devtools/server/devtools-server-connection.js:355:23 | [2024-02-07T09:52:16] DebuggerTests.TestHarnessProxy Debug: [testId: 17] browser-stdout _onJSONObjectReady/<@resource://devtools/shared/transport/transport.js:463:22 | [2024-02-07T09:52:16] DebuggerTests.TestHarnessProxy Debug: [testId: 17] browser-stdout exports.makeInfallible/<@resource://devtools/shared/ThreadSafeDevToolsUtils.js:103:22 | [2024-02-07T09:52:16] DebuggerTests.TestHarnessProxy Debug: [testId: 17] browser-stdout exports.makeInfallible/<@resource://devtools/shared/ThreadSafeDevToolsUtils.js:103:22 | [2024-02-07T09:52:16] DebuggerTests.TestHarnessProxy Debug: [testId: 17] browser-stdout Line: 355, column: 23 ```
Author: pavelsavara
Assignees: -
Labels: `arch-wasm`, `blocking-clean-ci`, `area-Debugger-mono`, `Known Build Error`, `os-browser`
Milestone: 9.0.0
pavelsavara commented 3 months ago

cc @ilonatommy

ilonatommy commented 3 months ago

After consultation with @thaystg, I will block them.

jeffschwMSFT commented 1 month ago

removing blocking-clean-ci due to not failing for 30 days

24-Hour Hit Count 7-Day Hit Count 1-Month Count
0 0 0
ilonatommy commented 1 month ago

removing blocking-clean-ci due to not failing for 30 days

FYI: It's because the test is disabled for more than 30 days, not fixed.