Closed Bug 1804489 Opened 3 years ago Closed 3 years ago

High freq devtools/client/debugger/test/mochitest/browser_dbg-inspector-integration.js | single tracking bug

Categories

(DevTools :: Debugger, defect, P5)

defect

Tracking

(firefox118 fixed)

RESOLVED FIXED
118 Branch
Tracking Status
firefox118 --- fixed

People

(Reporter: intermittent-bug-filer, Assigned: jdescottes)

References

Details

(Keywords: intermittent-failure, intermittent-testcase, Whiteboard: [retriggered][stockwell disable-recommended])

Attachments

(2 files, 1 obsolete file)

Filed by: ncsoregi [at] mozilla.com
Parsed log: https://treeherder.mozilla.org/logviewer?job_id=398916215&repo=autoland
Full log: https://firefox-ci-tc.services.mozilla.com/api/queue/v1/task/PsA2gPi_R1SL5eDtOuvlRw/runs/0/artifacts/public/logs/live_backing.log


[task 2022-12-07T16:13:23.773Z] 16:13:23     INFO - TEST-PASS | devtools/client/debugger/test/mochitest/browser_dbg-inspector-integration.js | The expected node was selected - 
[task 2022-12-07T16:13:23.773Z] 16:13:23     INFO - Leaving test bound 
[task 2022-12-07T16:13:23.773Z] 16:13:23     INFO - Entering test bound 
[task 2022-12-07T16:13:23.774Z] 16:13:23     INFO - Adding a new tab with URL: https://example.com/browser/devtools/client/debugger/test/mochitest/examples/doc-event-handler.html
[task 2022-12-07T16:13:23.774Z] 16:13:23     INFO - Buffered messages logged at 16:13:14
[task 2022-12-07T16:13:23.775Z] 16:13:23     INFO - Tab added and finished loading
[task 2022-12-07T16:13:23.775Z] 16:13:23     INFO - Opening the toolbox
[task 2022-12-07T16:13:23.775Z] 16:13:23     INFO - Console message: Invalid chrome URI (need path): chrome://devtools/
[task 2022-12-07T16:13:23.776Z] 16:13:23     INFO - Console message: [JavaScript Error: "Content Security Policy: The page’s settings blocked the loading of a resource at inline (“default-src”)." {file: "chrome://global/content/customElements.js" line: 500}]
[task 2022-12-07T16:13:23.776Z] 16:13:23     INFO - Console message: [JavaScript Error: "Content Security Policy: The page’s settings blocked the loading of a resource at inline (“default-src”)." {file: "chrome://global/content/customElements.js" line: 500}]
[task 2022-12-07T16:13:23.777Z] 16:13:23     INFO - Console message: [JavaScript Error: "Content Security Policy: The page’s settings blocked the loading of a resource at inline (“default-src”)." {file: "chrome://global/content/elements/panel.js" line: 62}]
[task 2022-12-07T16:13:23.777Z] 16:13:23     INFO - Buffered messages logged at 16:13:15
[task 2022-12-07T16:13:23.778Z] 16:13:23     INFO - Console message: [JavaScript Error: "Content Security Policy: The page’s settings blocked the loading of a resource at inline (“default-src”)." {file: "chrome://global/content/customElements.js" line: 500}]
[task 2022-12-07T16:13:23.778Z] 16:13:23     INFO - Console message: [JavaScript Error: "Content Security Policy: The page’s settings blocked the loading of a resource at inline (“default-src”)." {file: "chrome://global/content/customElements.js" line: 500}]
[task 2022-12-07T16:13:23.779Z] 16:13:23     INFO - Console message: [JavaScript Error: "Content Security Policy: The page’s settings blocked the loading of a resource at inline (“default-src”)." {file: "chrome://global/content/elements/panel.js" line: 62}]
[task 2022-12-07T16:13:23.779Z] 16:13:23     INFO - Toolbox opened and focused
[task 2022-12-07T16:13:23.780Z] 16:13:23     INFO - Invoking in tab: synthesizeClick()
[task 2022-12-07T16:13:23.780Z] 16:13:23     INFO - Waiting for the debugger to pause
[task 2022-12-07T16:13:23.780Z] 16:13:23     INFO - Waiting for state change: paused
[task 2022-12-07T16:13:23.781Z] 16:13:23     INFO - Buffered messages logged at 16:13:17
[task 2022-12-07T16:13:23.781Z] 16:13:23     INFO - Finished waiting for state change: paused
[task 2022-12-07T16:13:23.781Z] 16:13:23     INFO - Finished waiting for state change: paused
[task 2022-12-07T16:13:23.781Z] 16:13:23     INFO - Waiting for state change: fetched frames
[task 2022-12-07T16:13:23.782Z] 16:13:23     INFO - Finished waiting for state change: fetched frames
[task 2022-12-07T16:13:23.782Z] 16:13:23     INFO - Waiting for state change: selected source
[task 2022-12-07T16:13:23.783Z] 16:13:23     INFO - Finished waiting for state change: selected source
[task 2022-12-07T16:13:23.783Z] 16:13:23     INFO - Console message: [JavaScript Warning: "Use of nsIFile in content process is deprecated." {file: "resource://gre/modules/NetUtil.jsm" line: 251}]
[task 2022-12-07T16:13:23.783Z] 16:13:23     INFO - Buffered messages logged at 16:13:18
[task 2022-12-07T16:13:23.784Z] 16:13:23     INFO - Get token at 5, 7
[task 2022-12-07T16:13:23.784Z] 16:13:23     INFO - Buffered messages logged at 16:13:19
[task 2022-12-07T16:13:23.784Z] 16:13:23     INFO - Hovering on token Loading…
[task 2022-12-07T16:13:23.785Z] 16:13:23     INFO - Get token at 5, 7
[task 2022-12-07T16:13:23.785Z] 16:13:23     INFO - Buffered messages logged at 16:13:20
[task 2022-12-07T16:13:23.785Z] 16:13:23     INFO - Hovering on token Loading…
[task 2022-12-07T16:13:23.786Z] 16:13:23     INFO - Get token at 5, 7
[task 2022-12-07T16:13:23.786Z] 16:13:23     INFO - Buffered messages logged at 16:13:21
[task 2022-12-07T16:13:23.786Z] 16:13:23     INFO - Hovering on token Loading…
[task 2022-12-07T16:13:23.786Z] 16:13:23     INFO - Get token at 5, 7
[task 2022-12-07T16:13:23.787Z] 16:13:23     INFO - Buffered messages logged at 16:13:22
[task 2022-12-07T16:13:23.787Z] 16:13:23     INFO - Hovering on token Loading…
[task 2022-12-07T16:13:23.787Z] 16:13:23     INFO - Get token at 5, 7
[task 2022-12-07T16:13:23.788Z] 16:13:23     INFO - Buffered messages logged at 16:13:23
[task 2022-12-07T16:13:23.788Z] 16:13:23     INFO - Hovering on token Loading…
[task 2022-12-07T16:13:23.788Z] 16:13:23     INFO - Get token at 5, 7
[task 2022-12-07T16:13:23.789Z] 16:13:23     INFO - Buffered messages finished
[task 2022-12-07T16:13:23.789Z] 16:13:23     INFO - TEST-UNEXPECTED-FAIL | devtools/client/debugger/test/mochitest/browser_dbg-inspector-integration.js | Uncaught exception in test - failed to preview
[task 2022-12-07T16:13:23.789Z] 16:13:23     INFO - Leaving test bound 
Status: NEW → RESOLVED
Closed: 3 years ago
Resolution: --- → INCOMPLETE
Status: RESOLVED → REOPENED
Resolution: INCOMPLETE → ---
Flags: needinfo?(poirot.alex)
Summary: Intermittent devtools/client/debugger/test/mochitest/browser_dbg-inspector-integration.js | single tracking bug → High freq devtools/client/debugger/test/mochitest/browser_dbg-inspector-integration.js | single tracking bug
Whiteboard: [retriggered]
Assignee: nobody → csabou
Assignee: csabou → nobody
Keywords: leave-open
Pushed by csabou@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/0c3e0c05dd82 Disable browser_dbg-inspector-integration.js on linux for frequent failures. r=ochameau DONTBUILD
Whiteboard: [retriggered][stockwell disable-recommended] → [retriggered][stockwell disabled]

Update

There have been 43 total failures within the last 7 days:

  • 15 failures on OS X 10.15 WebRender debug/opt
  • 1 failure on Windows 11 x86 22H2 WebRender debug
  • 1 failure on Windows 11 x64 22H2 CCov WebRender opt
  • 26 failures on Windows 11 x64 22H2 WebRender debug

Recent failure log: https://treeherder.mozilla.org/logviewer?job_id=424844201&repo=autoland&lineNumber=10444

Alexandre, any chance you could look into this?
Thank you.

Whiteboard: [retriggered][stockwell disabled] → [retriggered][stockwell disabled][stockwell needswork:owner]

We get the following error in the logs right before the timeout:

[JavaScript Error: "Error: DebuggerContextError: Selected frame changed" {file: "resource://devtools/client/debugger/src/utils/context.js" line: 46}]

This is now frequently failing also on mac and windows. Will disable this everywhere because it has 197 total failures in the last 7 days: https://treeherder.mozilla.org/intermittent-failures/bugdetails?startday=2023-08-05&endday=2023-08-12&tree=trunk&failurehash=all&bug=1804489

Pushed by csabou@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/5caf6900b135 Disable browser_dbg-inspector-integration.js on all platforms because of frequent failures. a=test-only

Julian, is this something you can investigate? Thank you.

Severity: S4 → --
Flags: needinfo?(jdescottes)
Priority: P5 → --

Looking, recent spike seems to be from Bug 1687440 which also updated this test.

The new preview popup no longer shows the expanded icon for the root, so it's surprising that the test passed at all.
Also had frequent issues because we attempt to hover before the frame was changed.

Flags: needinfo?(poirot.alex)
Flags: needinfo?(jdescottes)
Severity: -- → S4
Priority: -- → P5
Blocks: 1848950

Comment on attachment 9349174 [details]
Bug 1804489 - [devtools] Wait for source URL in debugger test helper waitForSelectedSource

Revision D186335 was moved to bug 1848950. Setting attachment 9349174 [details] to obsolete.

Attachment #9349174 - Attachment is obsolete: true
Pushed by jdescottes@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/4ee3ef2ba563 Wait for frame and fix expected CSS selectors in browser_dbg-inspector-integration.js r=devtools-reviewers,ochameau
Status: REOPENED → RESOLVED
Closed: 3 years ago → 3 years ago
Keywords: leave-open
Resolution: --- → FIXED
Whiteboard: [retriggered][stockwell disabled][stockwell needswork:owner] → [retriggered]
Target Milestone: --- → 118 Branch
Assignee: nobody → jdescottes
See Also: → 1849334
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: