Closed Bug 1929808 Opened 1 year ago Closed 1 year ago

Intermittent devtools/client/webconsole/test/browser/browser_webconsole_location_logpoint_debugger_link.js | single tracking bug

Categories

(DevTools :: Console, defect, P5)

defect

Tracking

(firefox135 fixed)

RESOLVED FIXED
135 Branch
Tracking Status
firefox135 --- fixed

People

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

References

(Blocks 1 open bug)

Details

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

Attachments

(1 file)

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


[task 2024-11-07T07:54:37.719Z] 07:54:37     INFO - TEST-PASS | devtools/client/webconsole/test/browser/browser_webconsole_location_logpoint_debugger_link.js | expected source column - 
[task 2024-11-07T07:54:37.719Z] 07:54:37     INFO - Leaving test bound 
[task 2024-11-07T07:54:37.719Z] 07:54:37     INFO - Entering test bound 
[task 2024-11-07T07:54:37.720Z] 07:54:37     INFO - Adding a new tab with URL: https://example.com/browser/devtools/client/webconsole/test/browser/test-location-debugger-link-logpoint.html
[task 2024-11-07T07:54:37.720Z] 07:54:37     INFO - Buffered messages logged at 07:51:53
[task 2024-11-07T07:54:37.721Z] 07:54:37     INFO - Tab added and finished loading
[task 2024-11-07T07:54:37.721Z] 07:54:37     INFO - Opening the toolbox
[task 2024-11-07T07:54:37.721Z] 07:54:37     INFO - Console message: Invalid chrome URI (need path): chrome://devtools/
[task 2024-11-07T07:54:37.722Z] 07:54:37     INFO - Console message: [JavaScript Error: "Content-Security-Policy: The page’s settings blocked an inline style (style-src-attr) from being applied because it violates the following directive: “default-src chrome: resource:”" {file: "chrome://global/content/customElements.js" line: 499}]
[task 2024-11-07T07:54:37.722Z] 07:54:37     INFO - Console message: [JavaScript Error: "Content-Security-Policy: The page’s settings blocked an inline style (style-src-attr) from being applied because it violates the following directive: “default-src chrome: resource:”" {file: "chrome://global/content/customElements.js" line: 499}]
[task 2024-11-07T07:54:37.723Z] 07:54:37     INFO - Console message: [JavaScript Error: "Content-Security-Policy: The page’s settings blocked an inline style (style-src-attr) from being applied because it violates the following directive: “default-src chrome: resource:”" {file: "chrome://global/content/elements/panel.js" line: 62}]
[task 2024-11-07T07:54:37.723Z] 07:54:37     INFO - Buffered messages logged at 07:51:54
[task 2024-11-07T07:54:37.724Z] 07:54:37     INFO - Console message: [JavaScript Error: "Content-Security-Policy: The page’s settings blocked an inline style (style-src-attr) from being applied because it violates the following directive: “default-src chrome: resource:”" {file: "chrome://global/content/customElements.js" line: 499}]
[task 2024-11-07T07:54:37.724Z] 07:54:37     INFO - Console message: [JavaScript Error: "Content-Security-Policy: The page’s settings blocked an inline style (style-src-attr) from being applied because it violates the following directive: “default-src chrome: resource:”" {file: "chrome://global/content/customElements.js" line: 499}]
[task 2024-11-07T07:54:37.725Z] 07:54:37     INFO - Console message: [JavaScript Error: "Content-Security-Policy: The page’s settings blocked an inline style (style-src-attr) from being applied because it violates the following directive: “default-src chrome: resource:”" {file: "chrome://global/content/elements/panel.js" line: 62}]
[task 2024-11-07T07:54:37.725Z] 07:54:37     INFO - Toolbox opened and focused
[task 2024-11-07T07:54:37.727Z] 07:54:37     INFO - Open the Debugger panel
[task 2024-11-07T07:54:37.727Z] 07:54:37     INFO - Console message: Invalid chrome URI (need path): chrome://devtools/
[task 2024-11-07T07:54:37.727Z] 07:54:37     INFO - Buffered messages logged at 07:51:55
[task 2024-11-07T07:54:37.728Z] 07:54:37     INFO - Console message: [JavaScript Error: "Content-Security-Policy: The page’s settings blocked an inline style (style-src-attr) from being applied because it violates the following directive: “default-src chrome: resource:”" {file: "chrome://global/content/customElements.js" line: 499}]
[task 2024-11-07T07:54:37.729Z] 07:54:37     INFO - Console message: [JavaScript Error: "Content-Security-Policy: The page’s settings blocked an inline style (style-src-attr) from being applied because it violates the following directive: “default-src chrome: resource:”" {file: "chrome://global/content/customElements.js" line: 499}]
[task 2024-11-07T07:54:37.734Z] 07:54:37     INFO - Console message: [JavaScript Error: "Content-Security-Policy: The page’s settings blocked an inline style (style-src-attr) from being applied because it violates the following directive: “default-src chrome: resource:”" {file: "chrome://global/content/elements/panel.js" line: 62}]
[task 2024-11-07T07:54:37.735Z] 07:54:37     INFO - Console message: [JavaScript Error: "Content-Security-Policy: The page’s settings blocked an inline style (style-src-attr) from being applied because it violates the following directive: “default-src chrome: resource:”" {file: "chrome://global/content/customElements.js" line: 499}]
[task 2024-11-07T07:54:37.736Z] 07:54:37     INFO - Console message: [JavaScript Error: "Content-Security-Policy: The page’s settings blocked an inline style (style-src-attr) from being applied because it violates the following directive: “default-src chrome: resource:”" {file: "chrome://global/content/customElements.js" line: 499}]
[task 2024-11-07T07:54:37.737Z] 07:54:37     INFO - Console message: [JavaScript Error: "Content-Security-Policy: The page’s settings blocked an inline style (style-src-attr) from being applied because it violates the following directive: “default-src chrome: resource:”" {file: "chrome://global/content/elements/panel.js" line: 62}]
[task 2024-11-07T07:54:37.737Z] 07:54:37     INFO - Console message: [JavaScript Error: "Content-Security-Policy: The page’s settings blocked an inline style (style-src-attr) from being applied because it violates the following directive: “default-src chrome: resource:”" {file: "chrome://global/content/customElements.js" line: 499}]
[task 2024-11-07T07:54:37.738Z] 07:54:37     INFO - Console message: [JavaScript Error: "Content-Security-Policy: The page’s settings blocked an inline style (style-src-attr) from being applied because it violates the following directive: “default-src chrome: resource:”" {file: "chrome://global/content/customElements.js" line: 499}]
[task 2024-11-07T07:54:37.738Z] 07:54:37     INFO - Console message: [JavaScript Error: "Content-Security-Policy: The page’s settings blocked an inline style (style-src-attr) from being applied because it violates the following directive: “default-src chrome: resource:”" {file: "chrome://global/content/elements/panel.js" line: 62}]
[task 2024-11-07T07:54:37.739Z] 07:54:37     INFO - Add a logpoint to the first file
[task 2024-11-07T07:54:37.739Z] 07:54:37     INFO - Buffered messages logged at 07:51:56
[task 2024-11-07T07:54:37.739Z] 07:54:37     INFO - Waiting for state change: selected source
[task 2024-11-07T07:54:37.740Z] 07:54:37     INFO - --> The state was immediately correct (should rather do an immediate assertion?)
[task 2024-11-07T07:54:37.740Z] 07:54:37     INFO - The End key is pressed
[task 2024-11-07T07:54:37.741Z] 07:54:37     INFO - Waiting 1 seconds.
[task 2024-11-07T07:54:37.741Z] 07:54:37     INFO - Buffered messages logged at 07:51:58
[task 2024-11-07T07:54:37.741Z] 07:54:37     INFO - The Enter key is pressed
[task 2024-11-07T07:54:37.741Z] 07:54:37     INFO - Buffered messages logged at 07:53:07
[task 2024-11-07T07:54:37.742Z] 07:54:37     INFO - Longer timeout required, waiting longer...  Remaining timeouts: 1
[task 2024-11-07T07:54:37.742Z] 07:54:37     INFO - Buffered messages finished
[task 2024-11-07T07:54:37.743Z] 07:54:37     INFO - TEST-UNEXPECTED-FAIL | devtools/client/webconsole/test/browser/browser_webconsole_location_logpoint_debugger_link.js | Test timed out - 
[task 2024-11-07T07:54:37.743Z] 07:54:37     INFO - GECKO(1058) | Completed ShutdownLeaks collections in process 1058
[task 2024-11-07T07:54:37.743Z] 07:54:37     INFO - TEST-START | Shutdown

There have been 76 total failures in the last 7 days.
There are:

  • 48 failures on Linux 18.04 x64 WebRender tsan opt
  • 28 failures on Linux 18.04 x64 WebRender debug

Recent failure log.

Hi Nicolas! As the owner of this component, could you please assign it to someone? Thanks in advance!

Flags: needinfo?(nchevobbe)
Whiteboard: [stockwell disable-recommended] → [stockwell disable-recommended][stockwell needswork:owner]

The test gets stuck at https://searchfox.org/mozilla-release/rev/060aab7e8df0a8c92693ee77cf5a7ad8408ab083/devtools/client/webconsole/test/browser/browser_webconsole_location_logpoint_debugger_link.js#120-122

info("Add a logpoint to the first file");
await selectSource(dbg, "test-location-debugger-link-logpoint-1.js");
await setLogPoint(dbg, 8, "`a is ${a}`");

The logpoint input doesn't seem to be focused at this point (screenshot of test failure: https://firefoxci.taskcluster-artifacts.net/a4YRkO05Qz6uEww0laO_Tw/0/public/test_info/mozilla-test-fail-screenshot_ur8t3njg.png)

Bomsy, would you know what's happening?

Flags: needinfo?(nchevobbe) → needinfo?(hmanilla)

This likely occurs when codemirror does not finish updating before the conditional breakpoint panel gets focus. Once codemirror completes and updates the UI, the conditional breakpoint panel loses focus. We should wait for the codemirror updates to complete. See example here https://searchfox.org/mozilla-central/rev/d1e731d931b7b46237175de1701849a7cf5c8579/devtools/client/webconsole/test/browser/browser_webconsole_location_logpoint_debugger_link.js#33-40

Flags: needinfo?(hmanilla)
Assignee: nobody → hmanilla
Status: NEW → ASSIGNED
Blocks: 1927711
Pushed by hmanilla@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/08b7279116ce [devtools] Wait for codemirror updates to complete before setting logpoint r=devtools-reviewers,nchevobbe
Status: ASSIGNED → RESOLVED
Closed: 1 year ago
Resolution: --- → FIXED
Target Milestone: --- → 135 Branch
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: