Closed Bug 1650255 Opened 4 years ago Closed 4 years ago

Intermittent devtools/client/framework/test/browser_tab_descriptor_fission.js | A promise chain failed to handle a rejection: Connection closed, pending request to server0.conn24.tabDescriptor1, type getWatcher failed

Categories

(DevTools :: Framework, defect, P5)

defect

Tracking

(Not tracked)

RESOLVED DUPLICATE of bug 1649910

People

(Reporter: intermittent-bug-filer, Unassigned)

Details

(Keywords: intermittent-failure)

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


[task 2020-07-02T23:29:18.203Z] 23:29:18 INFO - TEST-START | devtools/client/framework/test/browser_tab_descriptor_fission.js
[task 2020-07-02T23:29:20.031Z] 23:29:20 INFO - GECKO(8292) | console.error: "Tried to call unwatchFronts for the 'accessibility' type on an already destroyed front 'browsingContextTarget'."
[task 2020-07-02T23:29:20.193Z] 23:29:20 INFO - GECKO(8292) | console.log: "getSources failed. Connection may have closed: Error: Connection closed, pending request to server0.conn24.child22/thread22, type sources failed\n\nRequest stack:\nrequest@resource://devtools/shared/protocol/Front.js:256:14\ngenerateRequestMethods/</frontProto[name]@resource://devtools/shared/protocol/Front/FrontClassWithSpec.js:47:19\ngetSources@resource://devtools/client/fronts/thread.js:188:34\n_ensureAllSourcesPopulated/<@resource://devtools/client/framework/source-map-url-service.js:472:53\n_ensureAllSourcesPopulated/sourcesLoading<@resource://devtools/client/framework/source-map-url-service.js:483:13\n_ensureAllSourcesPopulated@resource://devtools/client/framework/source-map-url-service.js:485:9\nsubscribeByURL@resource://devtools/client/framework/source-map-url-service.js:120:10\nsubscribeByLocation@resource://devtools/client/framework/source-map-url-service.js:164:17\ncomponentWillMount@resource://devtools/client/shared/components/Frame.js:104:73\ncallComponentWillMount@resource://devtools/client/shared/vendor/react-dom.js:8286:14\nmountClassInstance@resource://devtools/client/shared/vendor/react-dom.js:8345:27\nupdateClassComponent@resource://devtools/client/shared/vendor/react-dom.js:10593:23\nbeginWork@resource://devtools/client/shared/vendor/react-dom.js:11419:16\nperformUnitOfWork@resource://devtools/client/shared/vendor/react-dom.js:14702:12\nworkLoop@resource://devtools/client/shared/vendor/react-dom.js:14720:24\nrenderRoot@resource://devtools/client/shared/vendor/react-dom.js:14803:15\nperformWorkOnRoot@resource://devtools/client/shared/vendor/react-dom.js:15655:17\nperformWork@resource://devtools/client/shared/vendor/react-dom.js:15567:24\nperformSyncWork@resource://devtools/client/shared/vendor/react-dom.js:15541:14\nrequestWork@resource://devtools/client/shared/vendor/react-dom.js:15410:5\nscheduleWork@resource://devtools/client/shared/vendor/react-dom.js:15224:16\nenqueueSetState@resource://devtools/client/shared/vendor/react-dom.js:8192:17\nComponent.prototype.setState@resource://devtools/client/shared/vendor/react.js:328:16\nonStateChange@resource://devtools/client/shared/vendor/react-redux.js:1412:16\nnotify@resource://devtools/client/shared/vendor/react-redux.js:1159:21\nnotifyNestedSubs@resource://devtools/client/shared/vendor/react-redux.js:1198:20\nonStateChange@resource://devtools/client/shared/vendor/react-redux.js:1409:16\ndispatch@resource://devtools/client/shared/vendor/redux.js:265:7\neventTelemetryMiddleware/</<@resource://devtools/client/webconsole/middleware/event-telemetry.js:25:21\nhistoryPersistenceMiddleware/</<@resource://devtools/client/webconsole/middleware/history-persistence.js:37:21\nthunkWithOptions/</<@resource://devtools/client/shared/redux/middleware/thunk-with-options.js:17:9\nignore/</<@resource://devtools/client/shared/redux/middleware/ignore.js:28:12\nperformanceMarkerMiddleware/</<@resource://devtools/client/webconsole/middleware/performance-marker.js:22:23\nsetTimeoutIfNeeded/this.throttledDispatchPromise</<@resource://devtools/client/webconsole/webconsole-wrapper.js:328:15\nawaitPromise@resource://testing-common/PerTestCoverageUtils.jsm:59:15\nafterTestSync@resource://testing-common/PerTestCoverageUtils.jsm:124:17\nnextTest@chrome://mochikit/content/browser-test.js:542:33\ntestScope/test_finish/<@chrome://mochikit/content/browser-test.js:1464:25\nrun@chrome://mochikit/content/browser-test.js:1379:9\n"
[task 2020-07-02T23:29:22.107Z] 23:29:22 INFO - GECKO(8292) | JavaScript error: resource://devtools/shared/protocol/Front.js, line 77: Error: Connection closed, pending request to server0.conn24.tabDescriptor1, type getWatcher failed
[task 2020-07-02T23:29:22.107Z] 23:29:22 INFO - GECKO(8292) | Request stack:
[task 2020-07-02T23:29:22.107Z] 23:29:22 INFO - GECKO(8292) | request@resource://devtools/shared/protocol/Front.js:256:14
[task 2020-07-02T23:29:22.108Z] 23:29:22 INFO - GECKO(8292) | generateRequestMethods/</frontProto[name]@resource://devtools/shared/protocol/Front/FrontClassWithSpec.js:47:19
[task 2020-07-02T23:29:22.108Z] 23:29:22 INFO - GECKO(8292) | startListening@resource://devtools/shared/resources/target-list.js:259:52
[task 2020-07-02T23:29:22.108Z] 23:29:22 INFO - GECKO(8292) | _onTargetAvailable@resource://devtools/shared/resources/target-list.js:177:18
[task 2020-07-02T23:29:22.108Z] 23:29:22 INFO - GECKO(8292) | AsyncswitchToTarget@resource://devtools/shared/resources/target-list.js:508:16
[task 2020-07-02T23:29:22.108Z] 23:29:22 INFO - GECKO(8292) | onLocalTabRemotenessChange@resource://devtools/shared/resources/target-list.js:491:10
[task 2020-07-02T23:29:22.108Z] 23:29:22 INFO - GECKO(8292) | Async
_emit@resource://devtools/shared/event-emitter.js:226:34
[task 2020-07-02T23:29:22.109Z] 23:29:22 INFO - GECKO(8292) | emit@resource://devtools/shared/event-emitter.js:172:18
[task 2020-07-02T23:29:22.109Z] 23:29:22 INFO - GECKO(8292) | emit@resource://devtools/shared/event-emitter.js:324:18
[task 2020-07-02T23:29:22.109Z] 23:29:22 INFO - GECKO(8292) | _onRemotenessChange@resource://devtools/client/fronts/targets/local-tab.js:132:12
[task 2020-07-02T23:29:22.109Z] 23:29:22 INFO - GECKO(8292) | _handleTabEvent@resource://devtools/client/fronts/targets/local-tab.js:98:14
[task 2020-07-02T23:29:22.109Z] 23:29:22 INFO - GECKO(8292) | didChange@chrome://browser/content/tabbrowser.js:5717:15
[task 2020-07-02T23:29:22.109Z] 23:29:22 INFO - GECKO(8292) | finishChangeRemoteness@chrome://global/content/elements/browser-custom-element.js:1900:12
[task 2020-07-02T23:29:22.110Z] 23:29:22 INFO - GECKO(8292) | getInterfaceProxy/get/<@chrome://global/content/customElements.js:696:35
[task 2020-07-02T23:29:22.110Z] 23:29:22 INFO - TEST-INFO | started process screenshot
[task 2020-07-02T23:29:22.191Z] 23:29:22 INFO - TEST-INFO | screenshot: exit 0
[task 2020-07-02T23:29:22.192Z] 23:29:22 INFO - Buffered messages logged at 23:29:18
[task 2020-07-02T23:29:22.192Z] 23:29:22 INFO - Entering test bound
[task 2020-07-02T23:29:22.192Z] 23:29:22 INFO - Adding a new tab with URL: http://example.com/document-builder.sjs?html=<div id=com>com
[task 2020-07-02T23:29:22.193Z] 23:29:22 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: "http://example.com/document-builder.sjs?html=%3Cdiv%20id=com%3Ecom" line: 0}]
[task 2020-07-02T23:29:22.193Z] 23:29:22 INFO - Tab added and finished loading
[task 2020-07-02T23:29:22.193Z] 23:29:22 INFO - Buffered messages logged at 23:29:19
[task 2020-07-02T23:29:22.193Z] 23:29:22 INFO - Retrieve the initial list of tab descriptors
[task 2020-07-02T23:29:22.193Z] 23:29:22 INFO - TEST-PASS | devtools/client/framework/test/browser_tab_descriptor_fission.js | Should have a descriptor actor for the tab -
[task 2020-07-02T23:29:22.193Z] 23:29:22 INFO - TEST-PASS | devtools/client/framework/test/browser_tab_descriptor_fission.js | The toolbox target descriptor is the same as the descriptor returned by list tab -
[task 2020-07-02T23:29:22.193Z] 23:29:22 INFO - Retrieve the target corresponding to the TabDescriptor
[task 2020-07-02T23:29:22.193Z] 23:29:22 INFO - TEST-PASS | devtools/client/framework/test/browser_tab_descriptor_fission.js | The toolbox target is also the target associated with the tab descriptor -
[task 2020-07-02T23:29:22.193Z] 23:29:22 INFO - Load document "http://example.net/document-builder.sjs?html=<div id=net>net"
[task 2020-07-02T23:29:22.194Z] 23:29:22 INFO - Waiting for page to be loaded…
[task 2020-07-02T23:29:22.194Z] 23:29:22 INFO - Buffered messages logged at 23:29:20[task 2020-07-02T23:29:22.194Z] 23:29:22 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: "http://example.net/document-builder.sjs?html=%3Cdiv%20id=net%3Enet" line: 0}]
[task 2020-07-02T23:29:22.194Z] 23:29:22 INFO - → page loaded
[task 2020-07-02T23:29:22.194Z] 23:29:22 INFO - Waiting for target switch…
[task 2020-07-02T23:29:22.194Z] 23:29:22 INFO - → switched-target emitted
[task 2020-07-02T23:29:22.194Z] 23:29:22 INFO - Call list tabs again to update the tab descriptor forms
[task 2020-07-02T23:29:22.194Z] 23:29:22 INFO - TEST-PASS | devtools/client/framework/test/browser_tab_descriptor_fission.js | The existing descriptor now points to the new URI -
[task 2020-07-02T23:29:22.195Z] 23:29:22 INFO - TEST-PASS | devtools/client/framework/test/browser_tab_descriptor_fission.js | The same tab descriptor instance is reused after navigating -
[task 2020-07-02T23:29:22.195Z] 23:29:22 INFO - TEST-PASS | devtools/client/framework/test/browser_tab_descriptor_fission.js | With Fission, example.com target front is destroyed -
[task 2020-07-02T23:29:22.195Z] 23:29:22 INFO - TEST-PASS | devtools/client/framework/test/browser_tab_descriptor_fission.js | With Fission, a new target was created for example.net -
[task 2020-07-02T23:29:22.195Z] 23:29:22 INFO - Leaving test bound
[task 2020-07-02T23:29:22.195Z] 23:29:22 INFO - Buffered messages logged at 23:29:22
[task 2020-07-02T23:29:22.195Z] 23:29:22 INFO - Removing tab.
[task 2020-07-02T23:29:22.195Z] 23:29:22 INFO - Waiting for event: 'TabClose' on [object XULElement].
[task 2020-07-02T23:29:22.195Z] 23:29:22 INFO - Got event: 'TabClose' on [object XULElement].
[task 2020-07-02T23:29:22.195Z] 23:29:22 INFO - Tab removed and finished closing
[task 2020-07-02T23:29:22.195Z] 23:29:22 INFO - Console message: [JavaScript Error: "Error: Connection closed, pending request to server0.conn24.tabDescriptor1, type getWatcher failed
[task 2020-07-02T23:29:22.196Z] 23:29:22 INFO -
[task 2020-07-02T23:29:22.196Z] 23:29:22 INFO - Request stack:
[task 2020-07-02T23:29:22.196Z] 23:29:22 INFO - request@resource://devtools/shared/protocol/Front.js:256:14
[task 2020-07-02T23:29:22.196Z] 23:29:22 INFO - generateRequestMethods/</frontProto[name]@resource://devtools/shared/protocol/Front/FrontClassWithSpec.js:47:19
[task 2020-07-02T23:29:22.196Z] 23:29:22 INFO - startListening@resource://devtools/shared/resources/target-list.js:259:52
[task 2020-07-02T23:29:22.196Z] 23:29:22 INFO - _onTargetAvailable@resource://devtools/shared/resources/target-list.js:177:18
[task 2020-07-02T23:29:22.196Z] 23:29:22 INFO - AsyncswitchToTarget@resource://devtools/shared/resources/target-list.js:508:16
[task 2020-07-02T23:29:22.196Z] 23:29:22 INFO - onLocalTabRemotenessChange@resource://devtools/shared/resources/target-list.js:491:10
[task 2020-07-02T23:29:22.196Z] 23:29:22 INFO - Async
_emit@resource://devtools/shared/event-emitter.js:226:34
[task 2020-07-02T23:29:22.196Z] 23:29:22 INFO - emit@resource://devtools/shared/event-emitter.js:172:18
[task 2020-07-02T23:29:22.196Z] 23:29:22 INFO - emit@resource://devtools/shared/event-emitter.js:324:18
[task 2020-07-02T23:29:22.196Z] 23:29:22 INFO - _onRemotenessChange@resource://devtools/client/fronts/targets/local-tab.js:132:12
[task 2020-07-02T23:29:22.196Z] 23:29:22 INFO - _handleTabEvent@resource://devtools/client/fronts/targets/local-tab.js:98:14
[task 2020-07-02T23:29:22.196Z] 23:29:22 INFO - didChange@chrome://browser/content/tabbrowser.js:5717:15
[task 2020-07-02T23:29:22.196Z] 23:29:22 INFO - finishChangeRemoteness@chrome://global/content/elements/browser-custom-element.js:1900:12
[task 2020-07-02T23:29:22.196Z] 23:29:22 INFO - getInterfaceProxy/get/<@chrome://global/content/customElements.js:696:35
[task 2020-07-02T23:29:22.196Z] 23:29:22 INFO - " {file: "resource://devtools/shared/protocol/Front.js" line: 77}]
[task 2020-07-02T23:29:22.196Z] 23:29:22 INFO - TEST-PASS | devtools/client/framework/test/browser_tab_descriptor_fission.js | The main process DevToolsServer has no pending connection when the test ends -
[task 2020-07-02T23:29:22.196Z] 23:29:22 INFO - Buffered messages finished
[task 2020-07-02T23:29:22.197Z] 23:29:22 INFO - TEST-UNEXPECTED-FAIL | devtools/client/framework/test/browser_tab_descriptor_fission.js | A promise chain failed to handle a rejection: Connection closed, pending request to server0.conn24.tabDescriptor1, type getWatcher failed

Status: NEW → RESOLVED
Closed: 4 years ago
Resolution: --- → DUPLICATE
You need to log in before you can comment on or make changes to this bug.