Closed Bug 1627138 Opened 5 years ago Closed 5 years ago

Intermittent devtools/client/aboutdebugging/test/browser/browser_aboutdebugging_tab_favicons.js | A promise chain failed to handle a rejection: can't access property "send", this.transport is null

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

(Regression)

Details

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

Attachments

(1 file, 1 obsolete file)

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


[task 2020-04-03T01:37:57.079Z] 01:37:57 INFO - TEST-INFO | started process screentopng
[task 2020-04-03T01:37:57.642Z] 01:37:57 INFO - TEST-INFO | screentopng: exit 0
[task 2020-04-03T01:37:57.642Z] 01:37:57 INFO - Buffered messages logged at 01:37:49
[task 2020-04-03T01:37:57.642Z] 01:37:57 INFO - Entering test bound
[task 2020-04-03T01:37:57.642Z] 01:37:57 INFO - Adding a new tab with URL: https://example.com/browser/devtools/client/aboutdebugging/test/browser/test-tab-favicons.html
[task 2020-04-03T01:37:57.642Z] 01:37:57 INFO - Buffered messages logged at 01:37:50
[task 2020-04-03T01:37:57.643Z] 01:37:57 INFO - Console message: [JavaScript Error: "The character encoding of the HTML document was not declared. The document will render with garbled text in some browser configurations if the document contains characters from outside the US-ASCII range. The character encoding of the page must be declared in the document or in the transfer protocol." {file: "https://example.com/browser/devtools/client/aboutdebugging/test/browser/test-tab-favicons.html" line: 0}]
[task 2020-04-03T01:37:57.643Z] 01:37:57 INFO - Tab added and finished loading
[task 2020-04-03T01:37:57.643Z] 01:37:57 INFO - opening about:debugging
[task 2020-04-03T01:37:57.647Z] 01:37:57 INFO - Adding a new tab with URL: about:debugging
[task 2020-04-03T01:37:57.647Z] 01:37:57 INFO - Buffered messages logged at 01:37:51
[task 2020-04-03T01:37:57.647Z] 01:37:57 INFO - Tab added and finished loading
[task 2020-04-03T01:37:57.647Z] 01:37:57 INFO - Wait until Connect page is displayed
[task 2020-04-03T01:37:57.647Z] 01:37:57 INFO - Select This Firefox page
[task 2020-04-03T01:37:57.647Z] 01:37:57 INFO - Wait for requests to be complete
[task 2020-04-03T01:37:57.647Z] 01:37:57 INFO - Buffered messages logged at 01:37:56
[task 2020-04-03T01:37:57.647Z] 01:37:57 INFO - Wait for runtime page to be rendered
[task 2020-04-03T01:37:57.647Z] 01:37:57 INFO - TEST-PASS | devtools/client/aboutdebugging/test/browser/browser_aboutdebugging_tab_favicons.js | The debug target item for the tab shows the favicon of the tab -
[task 2020-04-03T01:37:57.647Z] 01:37:57 INFO - Removing tab.
[task 2020-04-03T01:37:57.647Z] 01:37:57 INFO - Waiting for event: 'TabClose' on [object XULElement].
[task 2020-04-03T01:37:57.647Z] 01:37:57 INFO - Got event: 'TabClose' on [object XULElement].
[task 2020-04-03T01:37:57.647Z] 01:37:57 INFO - Tab removed and finished closing
[task 2020-04-03T01:37:57.647Z] 01:37:57 INFO - Removing tab.
[task 2020-04-03T01:37:57.652Z] 01:37:57 INFO - Waiting for event: 'TabClose' on [object XULElement].
[task 2020-04-03T01:37:57.652Z] 01:37:57 INFO - Got event: 'TabClose' on [object XULElement].
[task 2020-04-03T01:37:57.652Z] 01:37:57 INFO - Tab removed and finished closing
[task 2020-04-03T01:37:57.653Z] 01:37:57 INFO - Leaving test bound
[task 2020-04-03T01:37:57.653Z] 01:37:57 INFO - Buffered messages logged at 01:37:57
[task 2020-04-03T01:37:57.653Z] 01:37:57 INFO - TEST-PASS | devtools/client/aboutdebugging/test/browser/browser_aboutdebugging_tab_favicons.js | The main process DevToolsServer has no pending connection when the test ends -
[task 2020-04-03T01:37:57.654Z] 01:37:57 INFO - Console message: [JavaScript Error: "TypeError: can't access property "send", this.transport is null" {file: "resource://devtools/server/devtools-server-connection.js" line: 91}]
[task 2020-04-03T01:37:57.654Z] 01:37:57 INFO - Console message: [JavaScript Error: "TypeError: can't access property "send", this.transport is null" {file: "resource://devtools/server/devtools-server-connection.js" line: 91}]
[task 2020-04-03T01:37:57.655Z] 01:37:57 INFO - Console message: [JavaScript Error: "TypeError: can't access property "send", this.transport is null" {file: "resource://devtools/server/devtools-server-connection.js" line: 91}]
[task 2020-04-03T01:37:57.655Z] 01:37:57 INFO - Buffered messages finished
[task 2020-04-03T01:37:57.661Z] 01:37:57 INFO - TEST-UNEXPECTED-FAIL | devtools/client/aboutdebugging/test/browser/browser_aboutdebugging_tab_favicons.js | A promise chain failed to handle a rejection: can't access property "send", this.transport is null - stack: send@resource://devtools/server/devtools-server-connection.js:91:5
[task 2020-04-03T01:37:57.661Z] 01:37:57 INFO - writeError@resource://devtools/shared/protocol/Actor.js:98:15
[task 2020-04-03T01:37:57.661Z] 01:37:57 INFO - generateRequestHandlers/</handler/</<@resource://devtools/shared/protocol/Actor.js:187:30
[task 2020-04-03T01:37:57.661Z] 01:37:57 INFO - promise callbackgenerateRequestHandlers/</handler/<@resource://devtools/shared/protocol/Actor.js:187:14
[task 2020-04-03T01:37:57.662Z] 01:37:57 INFO - _queueResponse@resource://devtools/shared/protocol/Actor.js:107:28
[task 2020-04-03T01:37:57.662Z] 01:37:57 INFO - handler@resource://devtools/shared/protocol/Actor.js:183:14
[task 2020-04-03T01:37:57.662Z] 01:37:57 INFO - onPacket@resource://devtools/server/devtools-server-connection.js:380:58
[task 2020-04-03T01:37:57.663Z] 01:37:57 INFO - send/<@resource://devtools/shared/transport/local-transport.js:68:25
[task 2020-04-03T01:37:57.663Z] 01:37:57 INFO - exports.makeInfallible/<@resource://devtools/shared/ThreadSafeDevToolsUtils.js:111:22
[task 2020-04-03T01:37:57.663Z] 01:37:57 INFO - DevToolsUtils.executeSoon
exports.executeSoon@resource://devtools/shared/DevToolsUtils.js:62:21
[task 2020-04-03T01:37:57.663Z] 01:37:57 INFO - send@resource://devtools/shared/transport/local-transport.js:56:21
[task 2020-04-03T01:37:57.664Z] 01:37:57 INFO - send@resource://devtools/shared/protocol/Front.js:240:30

Has Regression Range: --- → yes
Keywords: regression
See Also: → 1622098
Attachment #9138468 - Attachment is obsolete: true
Assignee: nobody → jdescottes
Status: NEW → ASSIGNED

Thanks for the ping, the patch attached here should fix most of intermittents related to the getFavicon requests.

Flags: needinfo?(jdescottes)
Blocks: 1627127
Pushed by jdescottes@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/f7e2b29b3654 Wait for additional tab requests when navigating to this-firefox in tests r=daisuke
Status: ASSIGNED → RESOLVED
Closed: 5 years ago
Resolution: --- → FIXED
Target Milestone: --- → Firefox 77
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: