Closed Bug 1607848 Opened 6 years ago Closed 6 years ago

Intermittent devtools/shared/resources/tests/browser_target_list_workers.js | A promise chain failed to handle a rejection: this.transport is null - stack: send@resource://devtools/server/debugger-server-connection.js:91:5

Categories

(DevTools :: General, defect, P5)

defect

Tracking

(firefox-esr68 unaffected, firefox72 unaffected, firefox73 unaffected, firefox74 fixed)

RESOLVED FIXED
Firefox 74
Tracking Status
firefox-esr68 --- unaffected
firefox72 --- unaffected
firefox73 --- unaffected
firefox74 --- fixed

People

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

References

(Regression)

Details

(Keywords: intermittent-failure, regression)

Attachments

(1 file)

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


task 2020-01-08T17:32:08.135Z] 17:32:08 INFO - TEST-PASS | devtools/shared/resources/tests/browser_target_list_workers.js | Got the exact same target front -
[task 2020-01-08T17:32:08.136Z] 17:32:08 INFO - Leaving test bound
[task 2020-01-08T17:32:08.137Z] 17:32:08 INFO - Removing tab.
[task 2020-01-08T17:32:08.137Z] 17:32:08 INFO - Waiting for event: 'TabClose' on [object XULElement].
[task 2020-01-08T17:32:08.137Z] 17:32:08 INFO - Got event: 'TabClose' on [object XULElement].
[task 2020-01-08T17:32:08.137Z] 17:32:08 INFO - Tab removed and finished closing
[task 2020-01-08T17:32:08.138Z] 17:32:08 INFO - TEST-PASS | devtools/shared/resources/tests/browser_target_list_workers.js | The main process DebuggerServer has no pending connection when the test ends -
[task 2020-01-08T17:32:08.138Z] 17:32:08 INFO - Buffered messages finished
[task 2020-01-08T17:32:08.143Z] 17:32:08 INFO - TEST-UNEXPECTED-FAIL | devtools/shared/resources/tests/browser_target_list_workers.js | A promise chain failed to handle a rejection: this.transport is null - stack: send@resource://devtools/server/debugger-server-connection.js:91:5
[task 2020-01-08T17:32:08.144Z] 17:32:08 INFO - writeError@resource://devtools/shared/protocol/Actor.js:98:15
[task 2020-01-08T17:32:08.144Z] 17:32:08 INFO - generateRequestHandlers/</handler/</<@resource://devtools/shared/protocol/Actor.js:187:30
[task 2020-01-08T17:32:08.145Z] 17:32:08 INFO - promise callbackgenerateRequestHandlers/</handler/<@resource://devtools/shared/protocol/Actor.js:187:14
[task 2020-01-08T17:32:08.145Z] 17:32:08 INFO - _queueResponse@resource://devtools/shared/protocol/Actor.js:107:28
[task 2020-01-08T17:32:08.146Z] 17:32:08 INFO - handler@resource://devtools/shared/protocol/Actor.js:183:14
[task 2020-01-08T17:32:08.146Z] 17:32:08 INFO - onPacket@resource://devtools/server/debugger-server-connection.js:380:58
[task 2020-01-08T17:32:08.146Z] 17:32:08 INFO - send/<@resource://devtools/shared/transport/local-transport.js:68:25
[task 2020-01-08T17:32:08.147Z] 17:32:08 INFO - exports.makeInfallible/<@resource://devtools/shared/ThreadSafeDevToolsUtils.js:111:22
[task 2020-01-08T17:32:08.148Z] 17:32:08 INFO - DevToolsUtils.executeSoon
exports.executeSoon@resource://devtools/shared/DevToolsUtils.js:62:21
[task 2020-01-08T17:32:08.148Z] 17:32:08 INFO - send@resource://devtools/shared/transport/local-transport.js:56:21
[task 2020-01-08T17:32:08.148Z] 17:32:08 INFO - send@resource://devtools/shared/protocol/Front.js:198:30
[task 2020-01-08T17:32:08.148Z] 17:32:08 INFO - request@resource://devtools/shared/protocol/Front.js:216:10
[task 2020-01-08T17:32:08.148Z] 17:32:08 INFO - generateRequestMethods/</frontProto[name]@resource://devtools/shared/protocol/Front/FrontClassWithSpec.js:49:19
[task 2020-01-08T17:32:08.148Z] 17:32:08 INFO - getTarget/this._targetFrontPromise<@resource://devtools/shared/fronts/descriptors/process.js:74:40
[task 2020-01-08T17:32:08.149Z] 17:32:08 INFO - getTarget@resource://devtools/shared/fronts/descriptors/process.js:91:7
[task 2020-01-08T17:32:08.149Z] 17:32:08 INFO - _processListChanged@resource://devtools/shared/resources/target-list.js:52:41
[task 2020-01-08T17:32:08.149Z] 17:32:08 INFO - Asyncemit@resource://devtools/shared/event-emitter.js:195:24
[task 2020-01-08T17:32:08.149Z] 17:32:08 INFO - emit@resource://devtools/shared/event-emitter.js:276:18
[task 2020-01-08T17:32:08.149Z] 17:32:08 INFO - onPacket@resource://devtools/shared/protocol/Front.js:252:13
[task 2020-01-08T17:32:08.149Z] 17:32:08 INFO - onPacket@resource://devtools/shared/client/debugger-client.js:498:13
[task 2020-01-08T17:32:08.149Z] 17:32:08 INFO - send/<@resource://devtools/shared/transport/local-transport.js:68:25
[task 2020-01-08T17:32:08.149Z] 17:32:08 INFO - exports.makeInfallible/<@resource://devtools/shared/ThreadSafeDevToolsUtils.js:111:22
[task 2020-01-08T17:32:08.150Z] 17:32:08 INFO - DevToolsUtils.executeSoon
exports.executeSoon@resource://devtools/shared/DevToolsUtils.js:62:21
[task 2020-01-08T17:32:08.150Z] 17:32:08 INFO - send@resource://devtools/shared/transport/local-transport.js:56:21
[task 2020-01-08T17:32:08.150Z] 17:32:08 INFO - send@resource://devtools/server/debugger-server-connection.js:91:20
[task 2020-01-08T17:32:08.150Z] 17:32:08 INFO - onProcessListChanged@resource://devtools/server/actors/root.js:553:15
[task 2020-01-08T17:32:08.150Z] 17:32:08 INFO - observe@resource://devtools/server/actors/process.js:73:12
[task 2020-01-08T17:32:08.151Z] 17:32:08 INFO - Rejection date: Wed Jan 08 2020 17:32:07 GMT+0000 (Coordinated Universal Time) - false == true - JS frame :: resource://testing-common/PromiseTestUtils.jsm :: assertNoUncaughtRejections :: line 265
[task 2020-01-08T17:32:08.151Z] 17:32:08 INFO - Stack trace:
[task 2020-01-08T17:32:08.151Z] 17:32:08 INFO - resource://testing-common/PromiseTestUtils.jsm:assertNoUncaughtRejections:265
[task 2020-01-08T17:32:08.151Z] 17:32:08 INFO - chrome://mochikit/content/browser-test.js:nextTest:624
[task 2020-01-08T17:32:08.152Z] 17:32:08 INFO - chrome://mochikit/content/browser-test.js:testScope/test_finish/<:1457
[task 2020-01-08T17:32:08.152Z] 17:32:08 INFO - chrome://mochikit/content/browser-test.js:run:1372
[task 2020-01-08T17:32:08.152Z] 17:32:08 INFO - GECKO(3415) | JavaScript error: resource://devtools/server/debugger-server-connection.js, line 91: TypeError: this.transport is null
[task 2020-01-08T17:32:08.152Z] 17:32:08 INFO - Console message: [JavaScript Error: "TypeError: this.transport is null" {file: "resource://devtools/server/debugger-server-connection.js" line: 91}]
[task 2020-01-08T17:32:08.152Z] 17:32:08 INFO - GECKO(3415) | MEMORY STAT | vsize 20975074MB | residentFast 1099MB

This fails frequently. Alexandre, please investigate (at the current failure rate, either the test would get disabled or the changes backed out).

Flags: needinfo?(poirot.alex)
Keywords: regression
Regressed by: 1598022
Has Regression Range: --- → yes

I think that I'm having a promising patch.

Try run without the patch:
https://treeherder.mozilla.org/#/jobs?repo=try&selectedJob=284640658&revision=5a40ac0a6f265c2bf02ffcea66dc122fd80ce4c9

With the patch:
https://treeherder.mozilla.org/#/jobs?repo=try&selectedJob=284640658&revision=277df89dc7f1252cd11997c3c416aab38798a482

Would you happen to know if there is some other test from this folder suffering from the same exception?

No, didn't find any bug created in last 30 days in the same folder and mentioning this.transport is null.

Assignee: nobody → poirot.alex
Status: NEW → ASSIGNED
Flags: needinfo?(poirot.alex)
Pushed by apoirot@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/51ceb7c47581 Disable process preload to prevent creating process randomly during test run. r=jdescottes
Status: ASSIGNED → RESOLVED
Closed: 6 years ago
Resolution: --- → FIXED
Target Milestone: --- → Firefox 74
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: