Closed Bug 1571329 Opened 5 years ago Closed 4 years ago

Intermittent devtools/client/inspector/test/browser_inspector_highlighter-cssshape_iframe_01.js | A promise chain failed to handle a rejection: Error: Connection closed, pending request to server0.conn4.child1/domstylerule54, type setRuleText failed

Categories

(DevTools :: Inspector, defect, P5)

defect

Tracking

(firefox-esr68 unaffected, firefox-esr78 unaffected, firefox79 unaffected, firefox80 unaffected, firefox81 fixed)

RESOLVED FIXED
81 Branch
Tracking Status
firefox-esr68 --- unaffected
firefox-esr78 --- unaffected
firefox79 --- unaffected
firefox80 --- unaffected
firefox81 --- fixed

People

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

References

(Regression)

Details

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

Attachments

(1 file)

Filed by: nerli [at] mozilla.com
Parsed log: https://treeherder.mozilla.org/logviewer.html#?job_id=259857873&repo=mozilla-central
Full log: https://queue.taskcluster.net/v1/task/fBOsmxzuQWyyUqdQPAZ0zQ/runs/0/artifacts/public/logs/live_backing.log


[task 2019-08-04T22:41:51.772Z] 22:41:51 INFO - destroy@resource://devtools/shared/protocol/Front.js:74:11
[task 2019-08-04T22:41:51.773Z] 22:41:51 INFO - destroy@resource://devtools/shared/fronts/inspector.js:517:11
[task 2019-08-04T22:41:51.774Z] 22:41:51 INFO - destroyInspector@resource://devtools/client/framework/toolbox.js:3415:21
[task 2019-08-04T22:41:51.775Z] 22:41:51 INFO - _destroyToolbox/onceDestroyed</<@resource://devtools/client/framework/toolbox.js:3587:24
[task 2019-08-04T22:41:51.776Z] 22:41:51 INFO - promise callback*_destroyToolbox/onceDestroyed<@resource://devtools/client/framework/toolbox.js:3585:12
[task 2019-08-04T22:41:51.777Z] 22:41:51 INFO - _destroyToolbox@resource://devtools/client/framework/toolbox.js:3581:27
[task 2019-08-04T22:41:51.778Z] 22:41:51 INFO - destroy@resource://devtools/client/framework/toolbox.js:3457:28
[task 2019-08-04T22:41:51.779Z] 22:41:51 INFO - closeToolbox@resource://devtools/client/framework/devtools.js:668:19
[task 2019-08-04T22:41:51.780Z] 22:41:51 INFO - asynccloseTabAndToolbox@chrome://mochitests/content/browser/devtools/client/shared/test/shared-head.js:482:23
[task 2019-08-04T22:41:51.781Z] 22:41:51 INFO - async
cleanup@chrome://mochitests/content/browser/devtools/client/shared/test/shared-head.js:161:11
[task 2019-08-04T22:41:51.782Z] 22:41:51 INFO - nextTest@chrome://mochikit/content/browser-test.js:856:35
[task 2019-08-04T22:41:51.783Z] 22:41:51 INFO - asynctestScope/test_finish/<@chrome://mochikit/content/browser-test.js:1728:25
[task 2019-08-04T22:41:51.784Z] 22:41:51 INFO - run@chrome://mochikit/content/browser-test.js:1643:13
[task 2019-08-04T22:41:51.785Z] 22:41:51 INFO - " {file: "resource://devtools/shared/protocol/Front.js" line: 72 column: 0 source: "72"}]
[task 2019-08-04T22:41:51.786Z] 22:41:51 INFO - Buffered messages finished
[task 2019-08-04T22:41:51.792Z] 22:41:51 INFO - TEST-UNEXPECTED-FAIL | devtools/client/inspector/test/browser_inspector_highlighter-cssshape_iframe_01.js | A promise chain failed to handle a rejection: Error: Connection closed, pending request to server0.conn4.child1/domstylerule54, type setRuleText failed
[task 2019-08-04T22:41:51.793Z] 22:41:51 INFO -
[task 2019-08-04T22:41:51.794Z] 22:41:51 INFO - Request stack:
[task 2019-08-04T22:41:51.795Z] 22:41:51 INFO - request@resource://devtools/shared/protocol/Front.js:166:14
[task 2019-08-04T22:41:51.796Z] 22:41:51 INFO - generateRequestMethods/</frontProto[name]@resource://devtools/shared/protocol/Front/FrontClassWithSpec.js:49:19
[task 2019-08-04T22:41:51.796Z] 22:41:51 INFO - setRuleText@resource://devtools/shared/fronts/styles.js:257:18
[task 2019-08-04T22:41:51.797Z] 22:41:51 INFO - apply/<@resource://devtools/shared/fronts/inspector/rule-rewriter.js:694:24
[task 2019-08-04T22:41:51.798Z] 22:41:51 INFO - process@resource://gre/modules/Promise-backend.js:961:38
[task 2019-08-04T22:41:51.799Z] 22:41:51 INFO - walkerLoop@resource://gre/modules/Promise-backend.js:845:29
[task 2019-08-04T22:41:51.800Z] 22:41:51 INFO - Promise
scheduleWalkerLoop@resource://gre/modules/Promise-backend.js:775:19
[task 2019-08-04T22:41:51.801Z] 22:41:51 INFO - schedulePromise@resource://gre/modules/Promise-backend.js:809:12
[task 2019-08-04T22:41:51.802Z] 22:41:51 INFO - Promise.prototype.then@resource://gre/modules/Promise-backend.js:483:19
[task 2019-08-04T22:41:51.802Z] 22:41:51 INFO - applyProperties@resource://devtools/client/inspector/rules/models/rule.js:442:8
[task 2019-08-04T22:41:51.803Z] 22:41:51 INFO - setPropertyValue@resource://devtools/client/inspector/rules/models/rule.js:508:17
[task 2019-08-04T22:41:51.804Z] 22:41:51 INFO - setValue@resource://devtools/client/inspector/rules/models/text-property.js:171:8
[task 2019-08-04T22:41:51.805Z] 22:41:51 INFO - commit@resource://devtools/client/shared/widgets/ShapesInContextEditor.js:330:23
[task 2019-08-04T22:41:51.806Z] 22:41:51 INFO - exports.debounce/</timer<@resource://devtools/shared/debounce.js:30:12
[task 2019-08-04T22:41:51.807Z] 22:41:51 INFO - notify@resource://gre/modules/Timer.jsm:62:17
[task 2019-08-04T22:41:51.808Z] 22:41:51 INFO - - stack: destroy@resource://devtools/shared/protocol/Front.js:72:23
[task 2019-08-04T22:41:51.809Z] 22:41:51 INFO - destroy@resource://devtools/shared/protocol/Pool.js:157:17
[task 2019-08-04T22:41:51.810Z] 22:41:51 INFO - destroy@resource://devtools/shared/protocol/Front.js:74:11
[task 2019-08-04T22:41:51.811Z] 22:41:51 INFO - destroy@resource://devtools/shared/protocol/Pool.js:157:17
[task 2019-08-04T22:41:51.812Z] 22:41:51 INFO - destroy@resource://devtools/shared/protocol/Front.js:74:11
[task 2019-08-04T22:41:51.813Z] 22:41:51 INFO - destroy@resource://devtools/shared/fronts/inspector.js:517:11
[task 2019-08-04T22:41:51.814Z] 22:41:51 INFO - destroyInspector@resource://devtools/client/framework/toolbox.js:3415:21
[task 2019-08-04T22:41:51.814Z] 22:41:51 INFO - _destroyToolbox/onceDestroyed</<@resource://devtools/client/framework/toolbox.js:3587:24

Whiteboard: [test isolation]
Status: NEW → RESOLVED
Closed: 5 years ago
Resolution: --- → INCOMPLETE
Status: RESOLVED → REOPENED
Resolution: INCOMPLETE → ---

Since it started again, it's frequent. https://hg.mozilla.org/integration/autoland/log?rev=inspector doesn't list any devtools commit close to it. Can you check the recent commits if anything looks related?

Flags: needinfo?(jdescottes)

This is most likely from Bug 1655427. We removed calls to allowMatchingRejectionsGlobally that were performed in the middle of the test suite (see https://bugzilla.mozilla.org/show_bug.cgi?id=1655422 for why this can be bad, tldr can make tests pass in a suite but fail in isolation).

I tried fixing all the intermittents I found before landing it, but I'm not surprised some old intermittents come back.
If you see any other intermittent in devtools/client/inspector/test/ for A promise chain failed to handle a rejection: Error: Connection closed then it's also probably from the same bug.

Assignee: nobody → jdescottes
Status: REOPENED → ASSIGNED
Flags: needinfo?(jdescottes)
Regressed by: 1655427
Pushed by jdescottes@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/d65ebfd97a1e Wait for 2 ruleview-changed events in browser_inspector_highlighter-cssshape_iframe_01.js r=rcaliman
Status: ASSIGNED → RESOLVED
Closed: 5 years ago4 years ago
Resolution: --- → FIXED
Target Milestone: --- → 81 Branch
Has Regression Range: --- → yes
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: