High frequency devtools/client/storage/test/browser_storage_cookies_navigation.js | A promise chain failed to handle a rejection: this.commands is null - stack: get target@resource://devtools/client/framework/too when Gecko 97 merges to Beta on 2022-01-10
Categories
(DevTools :: Storage Inspector, defect)
Tracking
(firefox-esr91 unaffected, firefox95 unaffected, firefox96 unaffected, firefox97+ wontfix, firefox98 verified)
Tracking | Status | |
---|---|---|
firefox-esr91 | --- | unaffected |
firefox95 | --- | unaffected |
firefox96 | --- | unaffected |
firefox97 | + | wontfix |
firefox98 | --- | verified |
People
(Reporter: noriszfay, Assigned: nchevobbe)
Details
(Keywords: intermittent-failure)
Attachments
(1 file)
Central-as-beta simulation
How to run these simulations
[task 2021-12-23T12:24:19.856Z] 12:24:19 INFO - TEST-START | devtools/client/storage/test/browser_storage_cookies_navigation.js
[task 2021-12-23T12:24:21.514Z] 12:24:21 INFO - GECKO(3652) | console.warn: "Already started legacy listener for extension-storage on server0.conn13.windowGlobal8589934614/windowGlobalTarget2"
[task 2021-12-23T12:24:21.741Z] 12:24:21 INFO - GECKO(3652) | console.error: (new InvalidStateError("JSWindowActorChild.sendAsyncMessage: JSWindowActorChild cannot send at the moment", (void 0), 327))
[task 2021-12-23T12:24:21.745Z] 12:24:21 INFO - GECKO(3652) | InvalidStateError: JSWindowActorChild.sendAsyncMessage: JSWindowActorChild cannot send at the moment: _createTargetActor/<@resource://devtools/server/connectors/js-window-actor/DevToolsFrameChild.jsm:327:12
[task 2021-12-23T12:24:21.745Z] 12:24:21 INFO - GECKO(3652) | newListener@resource://devtools/shared/event-emitter.js:173:27
<...>
[task 2021-12-23T12:24:27.786Z] 12:24:27 INFO - run@chrome://mochikit/content/browser-test.js:1509:9
[task 2021-12-23T12:24:27.786Z] 12:24:27 INFO -
[task 2021-12-23T12:24:27.787Z] 12:24:27 INFO - Console message: [JavaScript Error: "NotFoundError: No such JSWindowActor 'DevToolsFrame'"]
[task 2021-12-23T12:24:27.787Z] 12:24:27 INFO - Console message: [JavaScript Error: "NotFoundError: No such JSWindowActor 'DevToolsFrame'"]
[task 2021-12-23T12:24:27.787Z] 12:24:27 INFO - TEST-PASS | devtools/client/storage/test/browser_storage_cookies_navigation.js | The main process DevToolsServer has no pending connection when the test ends -
[task 2021-12-23T12:24:27.788Z] 12:24:27 INFO - Console message: [JavaScript Error: "TypeError: this.commands is null" {file: "resource://devtools/client/framework/toolbox.js" line: 532}]
[task 2021-12-23T12:24:27.788Z] 12:24:27 INFO - Buffered messages finished
[task 2021-12-23T12:24:27.790Z] 12:24:27 INFO - TEST-UNEXPECTED-FAIL | devtools/client/storage/test/browser_storage_cookies_navigation.js | A promise chain failed to handle a rejection: this.commands is null - stack: get target@resource://devtools/client/framework/toolbox.js:532:5
[task 2021-12-23T12:24:27.790Z] 12:24:27 INFO - _commandIsVisible@resource://devtools/client/framework/toolbox.js:2355:30
[task 2021-12-23T12:24:27.791Z] 12:24:27 INFO - updateFrameButton@resource://devtools/client/framework/toolbox.js:2330:14
[task 2021-12-23T12:24:27.791Z] 12:24:27 INFO - updateUiElements@resource://devtools/client/framework/toolbox.js:3444:12
[task 2021-12-23T12:24:27.792Z] 12:24:27 INFO - _updateFrames@resource://devtools/client/framework/toolbox.js:3456:7
[task 2021-12-23T12:24:27.792Z] 12:24:27 INFO - _onTargetAvailable@resource://devtools/client/framework/toolbox.js:732:12
[task 2021-12-23T12:24:27.792Z] 12:24:27 INFO - Async*_emit@resource://devtools/shared/event-emitter.js:244:34
[task 2021-12-23T12:24:27.793Z] 12:24:27 INFO - emitAsync@resource://devtools/shared/event-emitter.js:194:25
[task 2021-12-23T12:24:27.793Z] 12:24:27 INFO - emitAsync@resource://devtools/shared/event-emitter.js:346:25
[task 2021-12-23T12:24:27.793Z] 12:24:27 INFO - _onTargetAvailable@resource://devtools/shared/commands/target/target-command.js:215:33
[task 2021-12-23T12:24:27.794Z] 12:24:27 INFO - Async*_emit@resource://devtools/shared/event-emitter.js:244:34
[task 2021-12-23T12:24:27.794Z] 12:24:27 INFO - emit@resource://devtools/shared/event-emitter.js:190:18
[task 2021-12-23T12:24:27.794Z] 12:24:27 INFO - emit@resource://devtools/shared/event-emitter.js:342:18
[task 2021-12-23T12:24:27.794Z] 12:24:27 INFO - _onTargetAvailable@resource://devtools/client/fronts/watcher.js:60:10
[task 2021-12-23T12:24:27.794Z] 12:24:27 INFO - _emit@resource://devtools/shared/event-emitter.js:244:34
[task 2021-12-23T12:24:27.794Z] 12:24:27 INFO - emit@resource://devtools/shared/event-emitter.js:190:18
[task 2021-12-23T12:24:27.795Z] 12:24:27 INFO - emit@resource://devtools/shared/event-emitter.js:342:18
[task 2021-12-23T12:24:27.796Z] 12:24:27 INFO - onPacket@resource://devtools/shared/protocol/Front.js:336:13
[task 2021-12-23T12:24:27.796Z] 12:24:27 INFO - onPacket@resource://devtools/client/devtools-client.js:482:13
[task 2021-12-23T12:24:27.796Z] 12:24:27 INFO - send/<@resource://devtools/shared/transport/local-transport.js:68:25
[task 2021-12-23T12:24:27.796Z] 12:24:27 INFO - exports.makeInfallible/<@resource://devtools/shared/ThreadSafeDevToolsUtils.js:103:22
[task 2021-12-23T12:24:27.796Z] 12:24:27 INFO - DevToolsUtils.executeSoon*exports.executeSoon@resource://devtools/shared/DevToolsUtils.js:54:21
[task 2021-12-23T12:24:27.796Z] 12:24:27 INFO - send@resource://devtools/shared/transport/local-transport.js:56:21
[task 2021-12-23T12:24:27.796Z] 12:24:27 INFO - send@resource://devtools/server/devtools-server-connection.js:99:20
[task 2021-12-23T12:24:27.796Z] 12:24:27 INFO - _sendEvent@resource://devtools/shared/protocol/Actor.js:72:15
[task 2021-12-23T12:24:27.796Z] 12:24:27 INFO - initialize/<@resource://devtools/shared/protocol/Actor.js:46:16
[task 2021-12-23T12:24:27.796Z] 12:24:27 INFO - _emit@resource://devtools/shared/event-emitter.js:244:34
[task 2021-12-23T12:24:27.796Z] 12:24:27 INFO - emit@resource://devtools/shared/event-emitter.js:190:18
[task 2021-12-23T12:24:27.796Z] 12:24:27 INFO - emit@resource://devtools/shared/event-emitter.js:342:18
[task 2021-12-23T12:24:27.796Z] 12:24:27 INFO - notifyTargetAvailable@resource://devtools/server/actors/watcher.js:321:12
[task 2021-12-23T12:24:27.796Z] 12:24:27 INFO - connectFromContent@resource://devtools/server/connectors/js-window-actor/DevToolsFrameParent.jsm:145:13
[task 2021-12-23T12:24:27.796Z] 12:24:27 INFO - receiveMessage@resource://devtools/server/connectors/js-window-actor/DevToolsFrameParent.jsm:211:21
[task 2021-12-23T12:24:27.796Z] 12:24:27 INFO - JSActor query*_createTargetActor@resource://devtools/server/connectors/js-window-actor/DevToolsFrameChild.jsm:350:10
[task 2021-12-23T12:24:27.796Z] 12:24:27 INFO - instantiate@resource://devtools/server/connectors/js-window-actor/DevToolsFrameChild.jsm:245:14
[task 2021-12-23T12:24:27.796Z] 12:24:27 INFO - handleEvent@resource://devtools/server/connectors/js-window-actor/DevToolsFrameChild.jsm:687:12
[task 2021-12-23T12:24:27.796Z] 12:24:27 INFO - Rejection date: Thu Dec 23 2021 12:24:27 GMT+0000 (Coordinated Universal Time) - false == true - JS frame :: resource://testing-common/PromiseTestUtils.jsm :: assertNoUncaughtRejections :: line 271
[task 2021-12-23T12:24:27.797Z] 12:24:27 INFO - Stack trace:
[task 2021-12-23T12:24:27.797Z] 12:24:27 INFO - resource://testing-common/PromiseTestUtils.jsm:assertNoUncaughtRejections:271
[task 2021-12-23T12:24:27.797Z] 12:24:27 INFO - chrome://mochikit/content/browser-test.js:nextTest:625
[task 2021-12-23T12:24:27.797Z] 12:24:27 INFO - chrome://mochikit/content/browser-test.js:testScope/test_finish/<:1594
[task 2021-12-23T12:24:27.797Z] 12:24:27 INFO - chrome://mochikit/content/browser-test.js:run:1509
[task 2021-12-23T12:24:27.797Z] 12:24:27 INFO - GECKO(3652) | MEMORY STAT | vsize 20983949MB | residentFast 1575MB
[task 2021-12-23T12:24:27.797Z] 12:24:27 INFO - TEST-OK | devtools/client/storage/test/browser_storage_cookies_navigation.js | took 7601ms
[task 2021-12-23T12:24:27.797Z] 12:24:27 INFO - checking window state
[task 2021-12-23T12:24:27.797Z] 12:24:27 INFO - TEST-START | devtools/client/storage/test/browser_storage_cookies_tab_navigation.js
Comment 1•2 years ago
|
||
Alexandre, could this be from the changes in Bug 1746952?
Updated•2 years ago
|
Comment hidden (Intermittent Failures Robot) |
Updated•2 years ago
|
Comment hidden (Intermittent Failures Robot) |
Comment hidden (Intermittent Failures Robot) |
Comment 5•2 years ago
|
||
Nicolas, do you have cycles to look at this? This is very frequently failing test at the moment.
Assignee | ||
Comment 6•2 years ago
|
||
Let's see https://treeherder.mozilla.org/jobs?repo=try&revision=beb9a8fb85e4684795943b1a7f1576b09a1ea723
Assignee | ||
Comment 7•2 years ago
|
||
of course there's other intermittent on that test (Bug 1715632), but I'm not seeing the specific failure this bug was opened for
Comment hidden (Intermittent Failures Robot) |
Assignee | ||
Comment 9•2 years ago
|
||
The test was failing because the toolbox was handling a new target
during toolbox destruction. To fix this, we wait for the target
data to be displayed in the storage inspector.
Updated•2 years ago
|
Comment 10•2 years ago
|
||
The patch doesn't seem to be working in beta-sim. Nicholas, could you have another go at this? Thank you.
Updated•2 years ago
|
Assignee | ||
Comment 11•2 years ago
|
||
let's try to go for a simpler fix
Comment 12•2 years ago
|
||
Pushed by nchevobbe@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/e6e2ea940c16 [devtools] Fix intermittent in browser_storage_cookies_navigation.js . r=jdescottes.
Comment hidden (Intermittent Failures Robot) |
Reporter | ||
Comment 14•2 years ago
|
||
The patch seems to be working as of today's early beta-sim
Comment 15•2 years ago
|
||
bugherder |
Comment 16•2 years ago
|
||
The patch was verified fixed on today's beta-sim
Comment hidden (Intermittent Failures Robot) |
Comment hidden (Intermittent Failures Robot) |
Comment hidden (Intermittent Failures Robot) |
Description
•