Closed Bug 1631529 Opened 2 years ago Closed 2 years ago

Intermittent devtools/client/webconsole/test/browser/browser_jsterm_editor_toggle_keyboard_shortcut.js | Test timed out -

Categories

(DevTools :: Console, defect, P5)

defect

Tracking

(firefox78 fixed)

RESOLVED FIXED
Firefox 78
Tracking Status
firefox78 --- fixed

People

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

Details

(Keywords: intermittent-failure)

Attachments

(1 file)

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


[task 2020-04-20T15:56:42.731Z] 15:56:42 INFO - TEST-PASS | devtools/client/webconsole/test/browser/browser_jsterm_editor_toggle_keyboard_shortcut.js | The input value wasn't cleared -
[task 2020-04-20T15:56:42.732Z] 15:56:42 INFO - Close the console and reopen it
[task 2020-04-20T15:56:42.732Z] 15:56:42 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-04-20T15:56:42.732Z] 15:56:42 INFO - Buffered messages finished
[task 2020-04-20T15:56:42.732Z] 15:56:42 INFO - TEST-UNEXPECTED-FAIL | devtools/client/webconsole/test/browser/browser_jsterm_editor_toggle_keyboard_shortcut.js | Test timed out -
[task 2020-04-20T15:56:42.732Z] 15:56:42 INFO - Removing tab.
[task 2020-04-20T15:56:42.734Z] 15:56:42 INFO - Waiting for event: 'TabClose' on [object XULElement].
[task 2020-04-20T15:56:42.734Z] 15:56:42 INFO - Got event: 'TabClose' on [object XULElement].
[task 2020-04-20T15:56:42.734Z] 15:56:42 INFO - GECKO(4066) | console.warn: "IGNORED REDUX ACTION:" ({type:"AUTOCOMPLETE_CLEAR"})
[task 2020-04-20T15:56:42.735Z] 15:56:42 INFO - Tab removed and finished closing
[task 2020-04-20T15:56:42.735Z] 15:56:42 INFO - Not taking screenshot here: see the one that was previously logged
[task 2020-04-20T15:56:42.736Z] 15:56:42 INFO - TEST-UNEXPECTED-FAIL | devtools/client/webconsole/test/browser/browser_jsterm_editor_toggle_keyboard_shortcut.js | Uncaught exception received from previously timed out test - at resource://devtools/client/fronts/root.js:218 - TypeError: can't access property "frameLoader", browser is null
[task 2020-04-20T15:56:42.736Z] 15:56:42 INFO - Stack trace:
[task 2020-04-20T15:56:42.737Z] 15:56:42 INFO - getTab@resource://devtools/client/fronts/root.js:218:13
[task 2020-04-20T15:56:42.737Z] 15:56:42 INFO - createTargetForTab@resource://devtools/client/framework/target.js:100:28
[task 2020-04-20T15:56:42.737Z] 15:56:42 INFO - asyncforTab@resource://devtools/client/framework/target.js:42:26
[task 2020-04-20T15:56:42.737Z] 15:56:42 INFO - openConsole@chrome://mochitests/content/browser/devtools/client/webconsole/test/browser/head.js:818:38
[task 2020-04-20T15:56:42.738Z] 15:56:42 INFO - @chrome://mochitests/content/browser/devtools/client/webconsole/test/browser/browser_jsterm_editor_toggle_keyboard_shortcut.js:30:15
[task 2020-04-20T15:56:42.738Z] 15:56:42 INFO - Async
Tester_execTest/<@chrome://mochikit/content/browser-test.js:1039:34
[task 2020-04-20T15:56:42.738Z] 15:56:42 INFO - Tester_execTest@chrome://mochikit/content/browser-test.js:1074:11
[task 2020-04-20T15:56:42.738Z] 15:56:42 INFO - nextTest/<@chrome://mochikit/content/browser-test.js:904:14
[task 2020-04-20T15:56:42.738Z] 15:56:42 INFO - SimpleTest.waitForFocus/waitForFocusInner/focusedOrLoaded/<@chrome://mochikit/content/tests/SimpleTest/SimpleTest.js:918:23

The test was failing on ccov machines because it was
timing out. The interesting part is that in the logs
we could see that a huge error was logged, because
we were hitting the IGNORED REDUX ACTION middleware,
which was about a SET_TERMINAL_EAGER_RESULT action
being blocked.
I think that logging this object was taking so much
time that it made the test timeout on slow machines.

So here we're simply waiting for the eager evaluation
result to be displayed, so we know that the action won't
be ignored.

Assignee: nobody → nchevobbe
Status: NEW → ASSIGNED
Pushed by nchevobbe@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/7b5fdfe6c769
Fix intermittent in browser_jsterm_editor_toggle_keyboard_shortcut.js . r=davidwalsh.
Status: ASSIGNED → RESOLVED
Closed: 2 years ago
Resolution: --- → FIXED
Target Milestone: --- → Firefox 78
You need to log in before you can comment on or make changes to this bug.