Closed Bug 1620264 Opened 7 months ago Closed 2 months ago

Intermittent devtools/client/inspector/rules/test/browser_rules_media-queries_reload.js | Uncaught exception - chrome://mochitests/content/browser/devtools/client/inspector/rules/test/head.js:805 - Error: Declaration color:red not found on rule at index 1

Categories

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

defect

Tracking

(firefox-esr78 fixed, firefox80 fixed, firefox81 fixed)

RESOLVED FIXED
81 Branch
Tracking Status
firefox-esr78 --- fixed
firefox80 --- fixed
firefox81 --- fixed

People

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

References

Details

(Keywords: intermittent-failure, Whiteboard: [stockwell unknown])

Attachments

(1 file)

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


[task 2020-03-05T13:24:11.839Z] 13:24:11 INFO - TEST-OK | devtools/client/inspector/rules/test/browser_rules_media-queries.js | took 3954ms
[task 2020-03-05T13:24:11.878Z] 13:24:11 INFO - checking window state
[task 2020-03-05T13:24:11.909Z] 13:24:11 INFO - TEST-START | devtools/client/inspector/rules/test/browser_rules_media-queries_reload.js
[task 2020-03-05T13:24:13.781Z] 13:24:13 INFO - GECKO(8692) | console.log: "[DISPATCH] action type:" "CLEAR_FLEXBOX"
[task 2020-03-05T13:24:13.781Z] 13:24:13 INFO - GECKO(8692) | console.log: "[DISPATCH] action type:" "UPDATE_GRIDS"
[task 2020-03-05T13:24:13.820Z] 13:24:13 INFO - GECKO(8692) | console.log: "[DISPATCH] action type:" "UPDATE_OFFSET_PARENT"
[task 2020-03-05T13:24:13.825Z] 13:24:13 INFO - GECKO(8692) | console.log: "[DISPATCH] action type:" "UPDATE_LAYOUT"
[task 2020-03-05T13:24:14.443Z] 13:24:14 INFO - GECKO(8692) | console.log: "[DISPATCH] action type:" "CLEAR_FLEXBOX"
[task 2020-03-05T13:24:14.586Z] 13:24:14 INFO - TEST-INFO | started process screenshot
[task 2020-03-05T13:24:14.828Z] 13:24:14 INFO - TEST-INFO | screenshot: exit 0
[task 2020-03-05T13:24:14.828Z] 13:24:14 INFO - Buffered messages logged at 13:24:11
[task 2020-03-05T13:24:14.829Z] 13:24:14 INFO - Entering test bound
[task 2020-03-05T13:24:14.829Z] 13:24:14 INFO - Adding a new tab with URL: data:text/html;charset=utf-8,%0A%20%20%3Cstyle%20type%3D'text%2Fcss'%3E%0A%20%20%20%20%40media%20all%20and%20(max-width%3A%20500px)%20%7B%0A%20%20%20%20%20%20div%20%7B%0A%20%20%20%20%20%20%20%20color%3A%20red%3B%0A%20%20%20%20%20%20%7D%0A%20%20%20%20%7D%0A%20%20%20%20%40media%20all%20and%20(min-width%3A%20500px)%20%7B%0A%20%20%20%20%20%20div%20%7B%0A%20%20%20%20%20%20%20%20color%3A%20green%3B%0A%20%20%20%20%20%20%7D%0A%20%20%20%20%7D%0A%20%20%3C%2Fstyle%3E%0A%20%20%3Cdiv%3E%3C%2Fdiv%3E%0A
[task 2020-03-05T13:24:14.829Z] 13:24:14 INFO - Buffered messages logged at 13:24:12
[task 2020-03-05T13:24:14.830Z] 13:24:14 INFO - Tab added and finished loading
[task 2020-03-05T13:24:14.830Z] 13:24:14 INFO - Loading the helper frame script chrome://mochitests/content/browser/devtools/client/inspector/rules/test/doc_frame_script.js
[task 2020-03-05T13:24:14.830Z] 13:24:14 INFO - Opening the inspector
[task 2020-03-05T13:24:14.830Z] 13:24:14 INFO - Opening the toolbox
[task 2020-03-05T13:24:14.830Z] 13:24:14 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 2020-03-05T13:24:14.830Z] 13:24:14 INFO - Buffered messages logged at 13:24:13
[task 2020-03-05T13:24:14.830Z] 13:24:14 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 2020-03-05T13:24:14.831Z] 13:24:14 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 2020-03-05T13:24:14.831Z] 13:24:14 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 2020-03-05T13:24:14.831Z] 13:24:14 INFO - Toolbox opened and focused
[task 2020-03-05T13:24:14.831Z] 13:24:14 INFO - Selecting the node for 'div'
[task 2020-03-05T13:24:14.831Z] 13:24:14 INFO - Buffered messages logged at 13:24:14
[task 2020-03-05T13:24:14.831Z] 13:24:14 INFO - Resize window so the media query for small viewports applies
[task 2020-03-05T13:24:14.831Z] 13:24:14 INFO - Waiting for event: 'resize' on [object Window].
[task 2020-03-05T13:24:14.831Z] 13:24:14 INFO - Got event: 'resize' on [object Window].
[task 2020-03-05T13:24:14.832Z] 13:24:14 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 2020-03-05T13:24:14.832Z] 13:24:14 INFO - Buffered messages finished
[task 2020-03-05T13:24:14.832Z] 13:24:14 INFO - TEST-UNEXPECTED-FAIL | devtools/client/inspector/rules/test/browser_rules_media-queries_reload.js | Uncaught exception - at chrome://mochitests/content/browser/devtools/client/inspector/rules/test/head.js:805 - Error: Declaration color:red not found on rule at index 1
[task 2020-03-05T13:24:14.832Z] 13:24:14 INFO - Stack trace:
[task 2020-03-05T13:24:14.832Z] 13:24:14 INFO - getTextProperty@chrome://mochitests/content/browser/devtools/client/inspector/rules/test/head.js:805:11
[task 2020-03-05T13:24:14.832Z] 13:24:14 INFO - @chrome://mochitests/content/browser/devtools/client/inspector/rules/test/browser_rules_media-queries_reload.js:49:5
[task 2020-03-05T13:24:14.832Z] 13:24:14 INFO - Async*Tester_execTest/<@chrome://mochikit/content/browser-test.js:1062:34
[task 2020-03-05T13:24:14.832Z] 13:24:14 INFO - Tester_execTest@chrome://mochikit/content/browser-test.js:1097:11
[task 2020-03-05T13:24:14.832Z] 13:24:14 INFO - nextTest/<@chrome://mochikit/content/browser-test.js:925:14
[task 2020-03-05T13:24:14.832Z] 13:24:14 INFO - SimpleTest.waitForFocus/waitForFocusInner/focusedOrLoaded/<@chrome://mochikit/content/tests/SimpleTest/SimpleTest.js:914:23
[task 2020-03-05T13:24:14.832Z] 13:24:14 INFO - Leaving test bound
[task 2020-03-05T13:24:14.833Z] 13:24:14 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 2020-03-05T13:24:16.367Z] 13:24:16 INFO - Removing tab.
[task 2020-03-05T13:24:16.367Z] 13:24:16 INFO - Waiting for event: 'TabClose' on [object XULElement].
[task 2020-03-05T13:24:16.385Z] 13:24:16 INFO - Got event: 'TabClose' on [object XULElement].
[task 2020-03-05T13:24:16.423Z] 13:24:16 INFO - Tab removed and finished closing
[task 2020-03-05T13:24:16.495Z] 13:24:16 INFO - TEST-PASS | devtools/client/inspector/rules/test/browser_rules_media-queries_reload.js | The main process DevToolsServer has no pending connection when the test ends -

This bug has failed 32 times in the last 7 days. Occures on windows10-64 on asan build types.

Recent log:
https://treeherder.mozilla.org/logviewer.html#/jobs?job_id=304303247&repo=autoland&lineNumber=4286

Gabriel: Can you please take a look at this bug?

Flags: needinfo?(gl)
Whiteboard: [stockwell needswork:owner]

The number of failures has dropped to 22 in the last week.

Recent failure log:
https://treeherder.mozilla.org/logviewer.html#/jobs?job_id=306167893&repo=autoland&lineNumber=3396

Gabriel, could you assign this to someone?

Flags: needinfo?(gl)

This bug failed 25 times in last 7 days. Occurres on windows10-64 on asan build types.

Recent log: https://treeherder.mozilla.org/logviewer.html#/jobs?job_id=309419247&repo=autoland&lineNumber=2410

I'm having a look, but I'm not sure what's happening.
I'll try a few things, but since it only seems to fail on windows10-64 asan, ultimately it would be fine to disable it on that platform.

Flags: needinfo?(nchevobbe)

Instead of relying on events eing fired, we wait until the rule view displays
the properties we expect.

Assignee: nobody → nchevobbe
Status: NEW → ASSIGNED
Pushed by nchevobbe@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/56a2eda09fda
Fix browser_rules_media-queries_reload.js intermittent. r=gl.
Status: ASSIGNED → RESOLVED
Closed: 2 months ago
Resolution: --- → FIXED
Target Milestone: --- → 81 Branch
You need to log in before you can comment on or make changes to this bug.