Closed Bug 1779030 Opened 2 years ago Closed 2 years ago

Intermittent devtools/client/inspector/rules/test/browser_rules_colorpicker-works-with-css-vars.js | single tracking bug

Categories

(DevTools :: Inspector: Rules, defect, P5)

defect

Tracking

(Not tracked)

RESOLVED INCOMPLETE

People

(Reporter: intermittent-bug-filer, Unassigned)

References

Details

(Keywords: intermittent-failure, intermittent-testcase)

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


[task 2022-07-11T16:21:19.416Z] 16:21:19     INFO - TEST-START | devtools/client/inspector/rules/test/browser_rules_colorpicker-works-with-css-vars.js
[task 2022-07-11T16:21:20.329Z] 16:21:20     INFO - TEST-INFO | started process screentopng
[task 2022-07-11T16:21:20.809Z] 16:21:20     INFO - TEST-INFO | screentopng: exit 0
[task 2022-07-11T16:21:20.810Z] 16:21:20     INFO - Buffered messages logged at 16:21:19
[task 2022-07-11T16:21:20.811Z] 16:21:20     INFO - Entering test bound 
[task 2022-07-11T16:21:20.812Z] 16:21:20     INFO - Adding a new tab with URL: data:text/html;charset=utf-8,%0A%20%20%3Cstyle%20type%3D%22text%2Fcss%22%3E%0A%20%20%20%20%3Aroot%20%7B%0A%20%20%20%20%20%20--main-bg-color%3A%20coral%3B%0A%20%20%20%20%7D%0A%20%20%20%20body%20%7B%0A%20%20%20%20%20%20color%3A%20red%3B%0A%20%20%20%20%20%20background-color%3A%20var(--main-bg-color)%3B%0A%20%20%20%20%20%20border%3A%201px%20solid%20var(--main-bg-color)%3B%0A%20%20%20%20%7D%0A%20%20%3C%2Fstyle%3E%0A%20%20Testing%20the%20color%20picker%20tooltip%20with%20CSS%20variables!%0A
[task 2022-07-11T16:21:20.814Z] 16:21:20     INFO - Console message: [JavaScript Warning: "This page is in Quirks Mode. Page layout may be impacted. For Standards Mode use “<!DOCTYPE html>”." {file: "data:text/html;charset=utf-8,%0A%20%20%3Cstyle%20type%3D%22text%2Fcss%22%3E%0A%20%20%20%20%3Aroot%20%7B%0A%20%20%20%20%20%20--main-bg-color%3A%20coral%3B%0A%20%20%20%20%7D%0A%20%20%20%20body%20%7B%0A%20%20%20%20%20%20color%3A%20red%3B%0A%20%20%20%20%20%20background-color%3A%20var(--main-bg-color)%3B%0A%20%20%20%20%20%20border%3A%201px%20solid%20var(--main-bg-color)%3B%0A%20%20%20%20%7D%0A%20%20%3C%2Fstyle%3E%0A%20%20Testing%20the%20color%20picker%20tooltip%20with%20CSS%20variables!%0A" line: 0}]
[task 2022-07-11T16:21:20.815Z] 16:21:20     INFO - Tab added and finished loading
[task 2022-07-11T16:21:20.815Z] 16:21:20     INFO - Opening the inspector
[task 2022-07-11T16:21:20.816Z] 16:21:20     INFO - Opening the toolbox
[task 2022-07-11T16:21:20.816Z] 16:21:20     INFO - Console message: [JavaScript Error: "Content Security Policy: The page’s settings blocked the loading of a resource at inline (“default-src”)." {file: "chrome" line: 508}]
[task 2022-07-11T16:21:20.817Z] 16:21:20     INFO - Console message: [JavaScript Error: "Content Security Policy: The page’s settings blocked the loading of a resource at inline (“default-src”)." {file: "chrome" line: 508}]
[task 2022-07-11T16:21:20.818Z] 16:21:20     INFO - Console message: [JavaScript Error: "Content Security Policy: The page’s settings blocked the loading of a resource at inline (“default-src”)." {file: "chrome" line: 62}]
[task 2022-07-11T16:21:20.819Z] 16:21:20     INFO - Console message: [JavaScript Error: "Content Security Policy: The page’s settings blocked the loading of a resource at inline (“default-src”)." {file: "chrome" line: 508}]
[task 2022-07-11T16:21:20.819Z] 16:21:20     INFO - Console message: [JavaScript Error: "Content Security Policy: The page’s settings blocked the loading of a resource at inline (“default-src”)." {file: "chrome" line: 508}]
[task 2022-07-11T16:21:20.820Z] 16:21:20     INFO - Console message: [JavaScript Error: "Content Security Policy: The page’s settings blocked the loading of a resource at inline (“default-src”)." {file: "chrome" line: 62}]
[task 2022-07-11T16:21:20.820Z] 16:21:20     INFO - Buffered messages logged at 16:21:20
[task 2022-07-11T16:21:20.821Z] 16:21:20     INFO - Console message: [JavaScript Error: "Content Security Policy: The page’s settings blocked the loading of a resource at inline (“default-src”)." {file: "chrome" line: 508}]
[task 2022-07-11T16:21:20.822Z] 16:21:20     INFO - Console message: [JavaScript Error: "Content Security Policy: The page’s settings blocked the loading of a resource at inline (“default-src”)." {file: "chrome" line: 508}]
[task 2022-07-11T16:21:20.822Z] 16:21:20     INFO - Console message: [JavaScript Error: "Content Security Policy: The page’s settings blocked the loading of a resource at inline (“default-src”)." {file: "chrome" line: 62}]
[task 2022-07-11T16:21:20.823Z] 16:21:20     INFO - Console message: [JavaScript Error: "Content Security Policy: The page’s settings blocked the loading of a resource at inline (“default-src”)." {file: "chrome" line: 508}]
[task 2022-07-11T16:21:20.825Z] 16:21:20     INFO - Console message: [JavaScript Error: "Content Security Policy: The page’s settings blocked the loading of a resource at inline (“default-src”)." {file: "chrome" line: 508}]
[task 2022-07-11T16:21:20.826Z] 16:21:20     INFO - Console message: [JavaScript Error: "Content Security Policy: The page’s settings blocked the loading of a resource at inline (“default-src”)." {file: "chrome" line: 62}]
[task 2022-07-11T16:21:20.827Z] 16:21:20     INFO - Console message: [JavaScript Error: "Content Security Policy: The page’s settings blocked the loading of a resource at inline (“default-src”)." {file: "chrome" line: 508}]
[task 2022-07-11T16:21:20.827Z] 16:21:20     INFO - Console message: [JavaScript Error: "Content Security Policy: The page’s settings blocked the loading of a resource at inline (“default-src”)." {file: "chrome" line: 508}]
[task 2022-07-11T16:21:20.828Z] 16:21:20     INFO - Console message: [JavaScript Error: "Content Security Policy: The page’s settings blocked the loading of a resource at inline (“default-src”)." {file: "chrome" line: 62}]
[task 2022-07-11T16:21:20.829Z] 16:21:20     INFO - Toolbox opened and focused
[task 2022-07-11T16:21:20.830Z] 16:21:20     INFO - Test that the colorpicker appears on swatch click for color
[task 2022-07-11T16:21:20.830Z] 16:21:20     INFO - Buffered messages finished
[task 2022-07-11T16:21:20.833Z] 16:21:20     INFO - TEST-UNEXPECTED-FAIL | devtools/client/inspector/rules/test/browser_rules_colorpicker-works-with-css-vars.js | Uncaught exception in test - at chrome://mochitests/content/browser/devtools/client/inspector/rules/test/browser_rules_colorpicker-works-with-css-vars.js:44 - TypeError: can't access property "valueSpan", getRuleViewProperty(...) is undefined
[task 2022-07-11T16:21:20.833Z] 16:21:20     INFO - Stack trace:
[task 2022-07-11T16:21:20.833Z] 16:21:20     INFO - testColorPickerAppearsOnColorSwatchActivation@chrome://mochitests/content/browser/devtools/client/inspector/rules/test/browser_rules_colorpicker-works-with-css-vars.js:44:36
[task 2022-07-11T16:21:20.833Z] 16:21:20     INFO - @chrome://mochitests/content/browser/devtools/client/inspector/rules/test/browser_rules_colorpicker-works-with-css-vars.js:30:11
[task 2022-07-11T16:21:20.833Z] 16:21:20     INFO - Async*handleTask@chrome://mochikit/content/browser-test.js:988:26
[task 2022-07-11T16:21:20.833Z] 16:21:20     INFO - _runTaskBasedTest@chrome://mochikit/content/browser-test.js:1060:18
[task 2022-07-11T16:21:20.833Z] 16:21:20     INFO - Tester_execTest@chrome://mochikit/content/browser-test.js:1195:14
[task 2022-07-11T16:21:20.833Z] 16:21:20     INFO - nextTest/<@chrome://mochikit/content/browser-test.js:977:14
[task 2022-07-11T16:21:20.833Z] 16:21:20     INFO - SimpleTest.waitForFocus/<@chrome://mochikit/content/tests/SimpleTest/SimpleTest.js:1041:13
[task 2022-07-11T16:21:20.833Z] 16:21:20     INFO - Leaving test bound 
[task 2022-07-11T16:21:20.834Z] 16:21:20     INFO - Console message: [JavaScript Error: "Content Security Policy: The page’s settings blocked the loading of a resource at inline (“default-src”)." {file: "chrome" line: 508}]
[task 2022-07-11T16:21:20.835Z] 16:21:20     INFO - Console message: [JavaScript Error: "Content Security Policy: The page’s settings blocked the loading of a resource at inline (“default-src”)." {file: "chrome" line: 508}]
[task 2022-07-11T16:21:20.836Z] 16:21:20     INFO - Console message: [JavaScript Error: "Content Security Policy: The page’s settings blocked the loading of a resource at inline (“default-src”)." {file: "chrome" line: 62}]
[task 2022-07-11T16:21:20.837Z] 16:21:20     INFO - GECKO(5165) | console.error: "Exception while getting unique selector" (new TypeError("can't access property \"highlighters\", this.inspector is null", "resource://devtools/client/inspector/rules/rules.js", 380))
[task 2022-07-11T16:21:21.053Z] 16:21:21     INFO - Removing tab.
[task 2022-07-11T16:21:21.055Z] 16:21:21     INFO - Waiting for event: 'TabClose' on [object XULElement].
[task 2022-07-11T16:21:21.065Z] 16:21:21     INFO - Got event: 'TabClose' on [object XULElement].
[task 2022-07-11T16:21:21.076Z] 16:21:21     INFO - Tab removed and finished closing
[task 2022-07-11T16:21:21.099Z] 16:21:21     INFO - GECKO(5165) | JavaScript error: , line 0: NotFoundError: No such JSWindowActor 'DevToolsFrame'
[task 2022-07-11T16:21:21.118Z] 16:21:21     INFO - Console message: [JavaScript Error: "NotFoundError: No such JSWindowActor 'DevToolsFrame'"]
[task 2022-07-11T16:21:21.125Z] 16:21:21     INFO - TEST-PASS | devtools/client/inspector/rules/test/browser_rules_colorpicker-works-with-css-vars.js | The main process DevToolsServer has no pending connection when the test ends - 

Hi Julian! Could this be regressed by your recent changes in Bug 1767679? Can you please take a look?
Thank you!

Flags: needinfo?(jdescottes)

(In reply to Iulian Moraru from comment #1)

Hi Julian! Could this be regressed by your recent changes in Bug 1767679? Can you please take a look?
Thank you!

Thanks for the ping! Yes both tests are in the same test suite and symptoms are similar so it's very likely that the failure "moved" to this test.

I will block this on Bug 1778985, which hopefully should provide a more scalable solution to this kind of issues.

Depends on: 1778985
Flags: needinfo?(jdescottes)
Status: NEW → RESOLVED
Closed: 2 years ago
Resolution: --- → INCOMPLETE
You need to log in before you can comment on or make changes to this bug.