Closed Bug 1622098 Opened 5 years ago Closed 5 years ago

Intermittent devtools/client/aboutdebugging/test/browser/browser_aboutdebugging_devtoolstoolbox_focus.js | A promise chain failed ... : can't access property "send", this.conn is null - stack: writeError@resource://devtools/shared/protocol/Actor.js:98:5

Categories

(DevTools :: about:debugging, defect, P5)

defect

Tracking

(firefox77 fixed)

RESOLVED FIXED
Firefox 77
Tracking Status
firefox77 --- fixed

People

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

References

Details

(Keywords: intermittent-failure, Whiteboard: [retriggered])

Attachments

(1 file, 1 obsolete file)

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


[task 2020-03-12T18:28:01.301Z] 18:28:01 INFO - TEST-PASS | devtools/client/aboutdebugging/test/browser/browser_aboutdebugging_devtoolstoolbox_focus.js | The main process DevToolsServer has no pending connection when the test ends -
[task 2020-03-12T18:28:01.301Z] 18:28:01 INFO - Console message: [JavaScript Error: "TypeError: can't access property "send", this.conn is null" {file: "resource://devtools/shared/protocol/Actor.js" line: 98}]
[task 2020-03-12T18:28:01.301Z] 18:28:01 INFO - Buffered messages finished
[task 2020-03-12T18:28:01.309Z] 18:28:01 INFO - TEST-UNEXPECTED-FAIL | devtools/client/aboutdebugging/test/browser/browser_aboutdebugging_devtoolstoolbox_focus.js | A promise chain failed to handle a rejection: can't access property "send", this.conn is null - stack: writeError@resource://devtools/shared/protocol/Actor.js:98:5
[task 2020-03-12T18:28:01.310Z] 18:28:01 INFO - generateRequestHandlers/</handler/</<@resource://devtools/shared/protocol/Actor.js:187:30
[task 2020-03-12T18:28:01.310Z] 18:28:01 INFO - promise callbackgenerateRequestHandlers/</handler/<@resource://devtools/shared/protocol/Actor.js:187:14
[task 2020-03-12T18:28:01.310Z] 18:28:01 INFO - _queueResponse@resource://devtools/shared/protocol/Actor.js:107:28
[task 2020-03-12T18:28:01.310Z] 18:28:01 INFO - handler@resource://devtools/shared/protocol/Actor.js:183:14
[task 2020-03-12T18:28:01.310Z] 18:28:01 INFO - onPacket@resource://devtools/server/devtools-server-connection.js:380:58
[task 2020-03-12T18:28:01.310Z] 18:28:01 INFO - send/<@resource://devtools/shared/transport/local-transport.js:68:25
[task 2020-03-12T18:28:01.311Z] 18:28:01 INFO - exports.makeInfallible/<@resource://devtools/shared/ThreadSafeDevToolsUtils.js:111:22
[task 2020-03-12T18:28:01.311Z] 18:28:01 INFO - DevToolsUtils.executeSoon
exports.executeSoon@resource://devtools/shared/DevToolsUtils.js:62:21
[task 2020-03-12T18:28:01.311Z] 18:28:01 INFO - send@resource://devtools/shared/transport/local-transport.js:56:21
[task 2020-03-12T18:28:01.311Z] 18:28:01 INFO - send@resource://devtools/shared/protocol/Front.js:216:30
[task 2020-03-12T18:28:01.311Z] 18:28:01 INFO - request@resource://devtools/shared/protocol/Front.js:234:10
[task 2020-03-12T18:28:01.311Z] 18:28:01 INFO - generateRequestMethods/</frontProto[name]@resource://devtools/shared/protocol/Front/FrontClassWithSpec.js:47:19
[task 2020-03-12T18:28:01.312Z] 18:28:01 INFO - listTabs@resource://devtools/shared/fronts/root.js:252:44
[task 2020-03-12T18:28:01.312Z] 18:28:01 INFO - listTabs@resource://devtools/client/aboutdebugging/src/modules/client-wrapper.js:131:33
[task 2020-03-12T18:28:01.312Z] 18:28:01 INFO - requestTabs/<@resource://devtools/client/aboutdebugging/src/actions/debug-targets.js:209:31
[task 2020-03-12T18:28:01.312Z] 18:28:01 INFO - thunk/</<@resource://devtools/client/shared/redux/middleware/thunk.js:15:9
[task 2020-03-12T18:28:01.312Z] 18:28:01 INFO - dispatch@resource://devtools/client/shared/vendor/redux.js:681:28
[task 2020-03-12T18:28:01.312Z] 18:28:01 INFO - onTabsUpdated@resource://devtools/client/aboutdebugging/src/middleware/debug-target-listener.js:19:11
[task 2020-03-12T18:28:01.313Z] 18:28:01 INFO - _emit@resource://devtools/shared/event-emitter.js:226:34
[task 2020-03-12T18:28:01.313Z] 18:28:01 INFO - emit@resource://devtools/shared/event-emitter.js:172:18
[task 2020-03-12T18:28:01.313Z] 18:28:01 INFO - emit@resource://devtools/shared/event-emitter.js:324:18
[task 2020-03-12T18:28:01.313Z] 18:28:01 INFO - onPacket@resource://devtools/shared/protocol/Front.js:270:13
[task 2020-03-12T18:28:01.313Z] 18:28:01 INFO - onPacket@resource://devtools/shared/client/devtools-client.js:498:13
[task 2020-03-12T18:28:01.314Z] 18:28:01 INFO - send/<@resource://devtools/shared/transport/local-transport.js:68:25
[task 2020-03-12T18:28:01.314Z] 18:28:01 INFO - exports.makeInfallible/<@resource://devtools/shared/ThreadSafeDevToolsUtils.js:111:22
[task 2020-03-12T18:28:01.314Z] 18:28:01 INFO - DevToolsUtils.executeSoon*exports.executeSoon@resource://devtools/shared/DevToolsUtils.js:62:21
[task 2020-03-12T18:28:01.314Z] 18:28:01 INFO - send@resource://devtools/shared/transport/local-transport.js:56:21
[task 2020-03-12T18:28:01.314Z] 18:28:01 INFO - send@resource://devtools/server/devtools-server-connection.js:91:20
[task 2020-03-12T18:28:01.315Z] 18:28:01 INFO - onTabListChanged@resource://devtools/server/actors/root.js:392:15
[task 2020-03-12T18:28:01.315Z] 18:28:01 INFO - BrowserTabList.prototype._notifyListChanged@resource://devtools/server/actors/webbrowser.js:449:10
[task 2020-03-12T18:28:01.315Z] 18:28:01 INFO - BrowserTabList.prototype.handleEvent<@resource://devtools/server/actors/webbrowser.js:662:12
[task 2020-03-12T18:28:01.316Z] 18:28:01 INFO - exports.makeInfallible/<@resource://devtools/shared/ThreadSafeDevToolsUtils.js:111:22
[task 2020-03-12T18:28:01.316Z] 18:28:01 INFO - updateCurrentBrowser@chrome://browser/content/tabbrowser.js:1187:16
[task 2020-03-12T18:28:01.316Z] 18:28:01 INFO - _setupEventListeners/<@chrome://browser/content/tabbrowser.js:5297:16
[task 2020-03-12T18:28:01.316Z] 18:28:01 INFO - set selectedIndex@chrome://global/content/elements/tabbox.js:197:14
[task 2020-03-12T18:28:01.317Z] 18:28:01 INFO - set selectedPanel@chrome://global/content/elements/tabbox.js:216:7
[task 2020-03-12T18:28:01.318Z] 18:28:01 INFO - Rejection date: Thu Mar 12 2020 18:28:00 GMT+0000 (Coordinated Universal Time) - false == true - JS frame :: resource://testing-common/PromiseTestUtils.jsm :: assertNoUncaughtRejections :: line 265
[task 2020-03-12T18:28:01.318Z] 18:28:01 INFO - Stack trace:
[task 2020-03-12T18:28:01.318Z] 18:28:01 INFO - resource://testing-common/PromiseTestUtils.jsm:assertNoUncaughtRejections:265
[task 2020-03-12T18:28:01.319Z] 18:28:01 INFO - chrome://mochikit/content/browser-test.js:nextTest:624
[task 2020-03-12T18:28:01.319Z] 18:28:01 INFO - chrome://mochikit/content/browser-test.js:testScope/test_finish/<:1457
[task 2020-03-12T18:28:01.319Z] 18:28:01 INFO - chrome://mochikit/content/browser-test.js:run:1372
[task 2020-03-12T18:28:01.323Z] 18:28:01 INFO - GECKO(1221) | MEMORY STAT | vsize 3607MB | residentFast 570MB | heapAllocated 224MB
[task 2020-03-12T18:28:01.324Z] 18:28:01 INFO - TEST-OK | devtools/client/aboutdebugging/test/browser/browser_aboutdebugging_devtoolstoolbox_focus.js | took 26310ms

Selecting a tab triggers a tab list update which become more racy due to additional calls to retrieve favicons.
The test is updated to properly wait for the corresponding actions to complete after the selected tab changes.

Attachment #9138457 - Attachment is obsolete: true
Assignee: nobody → jdescottes
Status: NEW → ASSIGNED
Flags: needinfo?(jdescottes)
Pushed by jdescottes@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/2a11a66d8da7 Wait for tablist updates after selecting tabs in browser_aboutdebugging_devtoolstoolbox_focus.js r=daisuke
Blocks: 1627888
Status: ASSIGNED → RESOLVED
Closed: 5 years ago
Resolution: --- → FIXED
Target Milestone: --- → Firefox 77
Regressions: 1627912
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: