Closed Bug 1643066 Opened 6 years ago Closed 4 years ago

Intermittent devtools/client/webconsole/test/browser/browser_webconsole_scroll.js | The console stayed scrolled to the top - Got 2543, expected 0

Categories

(DevTools :: Console, defect, P5)

defect

Tracking

(firefox100 fixed)

RESOLVED FIXED
100 Branch
Tracking Status
firefox100 --- fixed

People

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

Details

(Keywords: intermittent-failure)

Attachments

(1 file)

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


...
[task 2020-06-03T15:48:53.817Z] 15:48:53     INFO - Opening the toolbox
[task 2020-06-03T15:48:53.817Z] 15:48:53     INFO - Buffered messages logged at 15:48:50
[task 2020-06-03T15:48:53.819Z] 15:48:53     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: 78}]
[task 2020-06-03T15:48:53.819Z] 15:48:53     INFO - Buffered messages logged at 15:48:51
[task 2020-06-03T15:48:53.820Z] 15:48:53     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: 78}]
[task 2020-06-03T15:48:53.820Z] 15:48:53     INFO - Toolbox opened and focused
[task 2020-06-03T15:48:53.820Z] 15:48:53     INFO - Console should be scrolled to bottom on initial load from page logs
[task 2020-06-03T15:48:53.821Z] 15:48:53     INFO - TEST-PASS | devtools/client/webconsole/test/browser/browser_webconsole_scroll.js | There is a vertical overflow - 
[task 2020-06-03T15:48:53.821Z] 15:48:53     INFO - TEST-PASS | devtools/client/webconsole/test/browser/browser_webconsole_scroll.js | The console is scrolled to the bottom - 
[task 2020-06-03T15:48:53.821Z] 15:48:53     INFO - Wait until all stacktraces are rendered
[task 2020-06-03T15:48:53.821Z] 15:48:53     INFO - Buffered messages logged at 15:48:52
[task 2020-06-03T15:48:53.821Z] 15:48:53     INFO - TEST-PASS | devtools/client/webconsole/test/browser/browser_webconsole_scroll.js | The console is scrolled to the bottom - 
[task 2020-06-03T15:48:53.823Z] 15:48:53     INFO - Refreshing tab.
[task 2020-06-03T15:48:53.824Z] 15:48:53     INFO - Tab finished refreshing.
[task 2020-06-03T15:48:53.824Z] 15:48:53     INFO - Console should be scrolled to bottom after refresh from page logs
[task 2020-06-03T15:48:53.825Z] 15:48:53     INFO - Buffered messages logged at 15:48:53
[task 2020-06-03T15:48:53.825Z] 15:48:53     INFO - TEST-PASS | devtools/client/webconsole/test/browser/browser_webconsole_scroll.js | There is a vertical overflow - 
[task 2020-06-03T15:48:53.825Z] 15:48:53     INFO - TEST-PASS | devtools/client/webconsole/test/browser/browser_webconsole_scroll.js | The console is scrolled to the bottom - 
[task 2020-06-03T15:48:53.825Z] 15:48:53     INFO - Wait until all stacktraces are rendered
[task 2020-06-03T15:48:53.825Z] 15:48:53     INFO - TEST-PASS | devtools/client/webconsole/test/browser/browser_webconsole_scroll.js | The console is scrolled to the bottom - 
[task 2020-06-03T15:48:53.825Z] 15:48:53     INFO - Scroll up
[task 2020-06-03T15:48:53.825Z] 15:48:53     INFO - Add a console.trace message to check that the scroll isn't impacted
[task 2020-06-03T15:48:53.825Z] 15:48:53     INFO - Matched a message with text: "trace in C", all messages received.
[task 2020-06-03T15:48:53.826Z] 15:48:53     INFO - TEST-PASS | devtools/client/webconsole/test/browser/browser_webconsole_scroll.js | There is a vertical overflow - 
[task 2020-06-03T15:48:53.826Z] 15:48:53     INFO - Buffered messages finished
[task 2020-06-03T15:48:53.826Z] 15:48:53     INFO - TEST-UNEXPECTED-FAIL | devtools/client/webconsole/test/browser/browser_webconsole_scroll.js | The console stayed scrolled to the top - Got 2543, expected 0
[task 2020-06-03T15:48:53.827Z] 15:48:53     INFO - Stack trace:
[task 2020-06-03T15:48:53.827Z] 15:48:53     INFO - chrome://mochikit/content/browser-test.js:test_is:1327
[task 2020-06-03T15:48:53.828Z] 15:48:53     INFO - chrome://mochitests/content/browser/devtools/client/webconsole/test/browser/browser_webconsole_scroll.js:null:71
[task 2020-06-03T15:48:53.828Z] 15:48:53     INFO - chrome://mochikit/content/browser-test.js:Tester_execTest/<:1064
[task 2020-06-03T15:48:53.829Z] 15:48:53     INFO - chrome://mochikit/content/browser-test.js:Tester_execTest:1104
[task 2020-06-03T15:48:53.829Z] 15:48:53     INFO - chrome://mochikit/content/browser-test.js:nextTest/<:927
[task 2020-06-03T15:48:53.829Z] 15:48:53     INFO - chrome://mochikit/content/tests/SimpleTest/SimpleTest.js:SimpleTest.waitForFocus/waitForFocusInner/focusedOrLoaded/<:918
[task 2020-06-03T15:48:53.830Z] 15:48:53     INFO - Wait until the stacktrace is rendered
[task 2020-06-03T15:48:53.830Z] 15:48:53     INFO - Not taking screenshot here: see the one that was previously logged
[task 2020-06-03T15:48:53.830Z] 15:48:53     INFO - TEST-UNEXPECTED-FAIL | devtools/client/webconsole/test/browser/browser_webconsole_scroll.js | The console stayed scrolled to the top - Got 2568, expected 0
[task 2020-06-03T15:48:53.830Z] 15:48:53     INFO - Stack trace:
[task 2020-06-03T15:48:53.830Z] 15:48:53     INFO - chrome://mochikit/content/browser-test.js:test_is:1327
[task 2020-06-03T15:48:53.830Z] 15:48:53     INFO - chrome://mochitests/content/browser/devtools/client/webconsole/test/browser/browser_webconsole_scroll.js:null:75
[task 2020-06-03T15:48:53.830Z] 15:48:53     INFO - chrome://mochikit/content/browser-test.js:Tester_execTest/<:1064
[task 2020-06-03T15:48:53.830Z] 15:48:53     INFO - chrome://mochikit/content/browser-test.js:Tester_execTest:1104
[task 2020-06-03T15:48:53.830Z] 15:48:53     INFO - chrome://mochikit/content/browser-test.js:nextTest/<:927
[task 2020-06-03T15:48:53.830Z] 15:48:53     INFO - chrome://mochikit/content/tests/SimpleTest/SimpleTest.js:SimpleTest.waitForFocus/waitForFocusInner/focusedOrLoaded/<:918
[task 2020-06-03T15:48:53.830Z] 15:48:53     INFO - Evaluate a command to check that the console scrolls to the bottom
[task 2020-06-03T15:48:54.018Z] 15:48:54     INFO - Matched a message with text: "42", all messages received.
[task 2020-06-03T15:48:54.078Z] 15:48:54     INFO - TEST-PASS | devtools/client/webconsole/test/browser/browser_webconsole_scroll.js | There is a vertical overflow - 
[task 2020-06-03T15:48:54.079Z] 15:48:54     INFO - TEST-PASS | devtools/client/webconsole/test/browser/browser_webconsole_scroll.js | The console is scrolled to the bottom - 
[task 2020-06-03T15:48:54.079Z] 15:48:54     INFO - Add a message to check that the console do scroll since we're at the bottom
[task 2020-06-03T15:48:54.175Z] 15:48:54     INFO - Matched a message with text: "scroll", all messages received.
[task 2020-06-03T15:48:54.236Z] 15:48:54     INFO - TEST-PASS | devtools/client/webconsole/test/browser/browser_webconsole_scroll.js | There is a vertical overflow - 
[task 2020-06-03T15:48:54.236Z] 15:48:54     INFO - TEST-PASS | devtools/client/webconsole/test/browser/browser_webconsole_scroll.js | The console is scrolled to the bottom - 
[task 2020-06-03T15:48:54.236Z] 15:48:54     INFO - Evaluate an Error object to check that the console scrolls to the bottom
[task 2020-06-03T15:48:54.433Z] 15:48:54     INFO - Matched a message with text: "myErrorObject", all messages received.
[task 2020-06-03T15:48:54.488Z] 15:48:54     INFO - TEST-PASS | devtools/client/webconsole/test/browser/browser_webconsole_scroll.js | The console is scrolled to the bottom - 
[task 2020-06-03T15:48:54.488Z] 15:48:54     INFO - Wait until the stacktrace is rendered and check the console is scrolled
[task 2020-06-03T15:48:54.611Z] 15:48:54     INFO - TEST-PASS | devtools/client/webconsole/test/browser/browser_webconsole_scroll.js | The console is scrolled to the bottom - 
[task 2020-06-03T15:48:54.611Z] 15:48:54     INFO - Throw an Error object in a direct evaluation to check that the console scrolls to the bottom
[task 2020-06-03T15:48:54.813Z] 15:48:54     INFO - Matched a message with text: "Uncaught Error: myEvaluatedThrownErrorObject", all messages received.
[task 2020-06-03T15:48:54.881Z] 15:48:54     INFO - TEST-PASS | devtools/client/webconsole/test/browser/browser_webconsole_scroll.js | The console is scrolled to the bottom - 
[task 2020-06-03T15:48:54.881Z] 15:48:54     INFO - Wait until the stacktrace is rendered and check the console is scrolled
[task 2020-06-03T15:48:54.997Z] 15:48:54     INFO - TEST-PASS | devtools/client/webconsole/test/browser/browser_webconsole_scroll.js | The console is scrolled to the bottom - 
[task 2020-06-03T15:48:54.997Z] 15:48:54     INFO - Throw an Error object to check that the console scrolls to the bottom
[task 2020-06-03T15:48:55.133Z] 15:48:55     INFO - GECKO(2701) | JavaScript error: debugger eval code, line 3: Error: myThrownErrorObject
[task 2020-06-03T15:48:55.137Z] 15:48:55     INFO - Console message: [JavaScript Error: "Error: myThrownErrorObject" {file: "debugger eval code" line: 3}]
[task 2020-06-03T15:48:55.137Z] 15:48:55     INFO - @debugger eval code:3:11
[task 2020-06-03T15:48:55.137Z] 15:48:55     INFO - setTimeout handler*@debugger eval code:2:15
[task 2020-06-03T15:48:55.137Z] 15:48:55     INFO - getEvalResult@resource://devtools/server/actors/webconsole/eval-with-debugger.js:237:24
[task 2020-06-03T15:48:55.137Z] 15:48:55     INFO - exports.evalWithDebugger@resource://devtools/server/actors/webconsole/eval-with-debugger.js:168:14
[task 2020-06-03T15:48:55.137Z] 15:48:55     INFO - evaluateJS@resource://devtools/server/actors/webconsole.js:1134:38
[task 2020-06-03T15:48:55.137Z] 15:48:55     INFO - evaluateJSAsync/<@resource://devtools/server/actors/webconsole.js:1028:29
[task 2020-06-03T15:48:55.137Z] 15:48:55     INFO - DevToolsUtils.executeSoon*exports.executeSoon@resource://devtools/shared/DevToolsUtils.js:47:21
[task 2020-06-03T15:48:55.137Z] 15:48:55     INFO - evaluateJSAsync@resource://devtools/server/actors/webconsole.js:1025:19
[task 2020-06-03T15:48:55.137Z] 15:48:55     INFO - handler@resource://devtools/shared/protocol/Actor.js:162:37
[task 2020-06-03T15:48:55.138Z] 15:48:55     INFO - onPacket@resource://devtools/server/devtools-server-connection.js:380:58
[task 2020-06-03T15:48:55.138Z] 15:48:55     INFO - receiveMessage@resource://devtools/shared/transport/child-transport.js:66:16
[task 2020-06-03T15:48:55.138Z] 15:48:55     INFO - MessageListener.receiveMessage*_addListener@resource://devtools/shared/transport/child-transport.js:40:14
[task 2020-06-03T15:48:55.138Z] 15:48:55     INFO - ready@resource://devtools/shared/transport/child-transport.js:57:10
...
Status: NEW → RESOLVED
Closed: 6 years ago
Resolution: --- → INCOMPLETE
Status: RESOLVED → REOPENED
Resolution: INCOMPLETE → ---
Status: REOPENED → RESOLVED
Closed: 6 years ago5 years ago
Resolution: --- → INCOMPLETE
Assignee: nobody → nchevobbe
Attachment #9267372 - Attachment description: Bug 1643066 - [devtools] Fix browser_webconsole_scroll.js intermittent. r=jdescottes. → Bug 1643066 - [devtools] Wait for layout to stabilize when setting scrollTop in tests. r=jdescottes.
Pushed by nchevobbe@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/b184025028b4 [devtools] Wait for layout to stabilize when setting scrollTop in tests. r=jdescottes.
Status: REOPENED → RESOLVED
Closed: 5 years ago4 years ago
Resolution: --- → FIXED
Target Milestone: --- → 100 Branch
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: