Closed Bug 1660070 Opened 4 years ago Closed 4 years ago

Intermittent devtools/shared/resources/tests/browser_target_list_frames.js | A promise chain failed to handle a rejection: Connection closed, pending request to root, type listWorkers failed

Categories

(DevTools :: General, defect, P5)

defect

Tracking

(Not tracked)

RESOLVED DUPLICATE of bug 1638219

People

(Reporter: intermittent-bug-filer, Unassigned)

Details

(Keywords: intermittent-failure)

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


[task 2020-08-19T19:00:25.417Z] 19:00:25     INFO - TEST-START | devtools/shared/resources/tests/browser_target_list_frames.js
[task 2020-08-19T19:00:26.781Z] 19:00:26     INFO - GECKO(3625) | JavaScript error: resource://devtools/shared/protocol/Front.js, line 77: Error: Connection closed, pending request to root, type listWorkers failed
[task 2020-08-19T19:00:26.782Z] 19:00:26     INFO - GECKO(3625) | Request stack:
[task 2020-08-19T19:00:26.782Z] 19:00:26     INFO - GECKO(3625) | request@resource://devtools/shared/protocol/Front.js:260:14
[task 2020-08-19T19:00:26.782Z] 19:00:26     INFO - GECKO(3625) | generateRequestMethods/</frontProto[name]@resource://devtools/shared/protocol/Front/FrontClassWithSpec.js:46:19
[task 2020-08-19T19:00:26.782Z] 19:00:26     INFO - GECKO(3625) | _workerListChanged@resource://devtools/shared/resources/legacy-target-watchers/legacy-workers-watcher.js:84:37
[task 2020-08-19T19:00:26.782Z] 19:00:26     INFO - GECKO(3625) | _emit@resource://devtools/shared/event-emitter.js:226:34
[task 2020-08-19T19:00:26.783Z] 19:00:26     INFO - GECKO(3625) | emit@resource://devtools/shared/event-emitter.js:172:18
[task 2020-08-19T19:00:26.783Z] 19:00:26     INFO - GECKO(3625) | emit@resource://devtools/shared/event-emitter.js:324:18
[task 2020-08-19T19:00:26.783Z] 19:00:26     INFO - GECKO(3625) | onPacket@resource://devtools/shared/protocol/Front.js:298:13
[task 2020-08-19T19:00:26.783Z] 19:00:26     INFO - GECKO(3625) | onPacket@resource://devtools/client/devtools-client.js:492:13
[task 2020-08-19T19:00:26.783Z] 19:00:26     INFO - GECKO(3625) | send/<@resource://devtools/shared/transport/local-transport.js:68:25
[task 2020-08-19T19:00:26.783Z] 19:00:26     INFO - GECKO(3625) | exports.makeInfallible/<@resource://devtools/shared/ThreadSafeDevToolsUtils.js:103:22
[task 2020-08-19T19:00:26.783Z] 19:00:26     INFO - GECKO(3625) | DevToolsUtils.executeSoon*exports.executeSoon@resource://devtools/shared/DevToolsUtils.js:47:21
[task 2020-08-19T19:00:26.784Z] 19:00:26     INFO - GECKO(3625) | send@resource://devtools/shared/transport/local-transport.js:56:21
[task 2020-08-19T19:00:26.784Z] 19:00:26     INFO - GECKO(3625) | send@resource://devtools/server/devtools-server-connection.js:99:20
[task 2020-08-19T19:00:26.784Z] 19:00:26     INFO - GECKO(3625) | onWorkerListChanged@resource://devtools/server/actors/root.js:442:15
[task 2020-08-19T19:00:26.784Z] 19:00:26     INFO - GECKO(3625) | _notifyListChanged@resource://devtools/server/actors/worker/worker-target-actor-list.js:184:10
[task 2020-08-19T19:00:26.784Z] 19:00:26     INFO - GECKO(3625) | onUnregister@resource://devtools/server/actors/worker/worker-target-actor-list.js:200:12
[task 2020-08-19T19:00:26.792Z] 19:00:26     INFO - TEST-INFO | started process screentopng
[task 2020-08-19T19:00:27.171Z] 19:00:27     INFO - TEST-INFO | screentopng: exit 0
[task 2020-08-19T19:00:27.172Z] 19:00:27     INFO - Buffered messages logged at 19:00:25
[task 2020-08-19T19:00:27.173Z] 19:00:27     INFO - Entering test bound 
[task 2020-08-19T19:00:27.175Z] 19:00:27     INFO - Test TargetList against frames via the parent process target
[task 2020-08-19T19:00:27.176Z] 19:00:27     INFO - Buffered messages logged at 19:00:26
[task 2020-08-19T19:00:27.177Z] 19:00:27     INFO - TEST-PASS | devtools/shared/resources/tests/browser_target_list_frames.js | retrieve the target for the browser document - 
[task 2020-08-19T19:00:27.179Z] 19:00:27     INFO - TEST-PASS | devtools/shared/resources/tests/browser_target_list_frames.js | retrieved the same number of frames - 
[task 2020-08-19T19:00:27.180Z] 19:00:27     INFO - TEST-PASS | devtools/shared/resources/tests/browser_target_list_frames.js | frame 0 targets are the same - 
[task 2020-08-19T19:00:27.182Z] 19:00:27     INFO - TEST-PASS | devtools/shared/resources/tests/browser_target_list_frames.js | frame 1 targets are the same - 
[task 2020-08-19T19:00:27.184Z] 19:00:27     INFO - TEST-PASS | devtools/shared/resources/tests/browser_target_list_frames.js | We are only notified about frame targets - 
[task 2020-08-19T19:00:27.185Z] 19:00:27     INFO - TEST-PASS | devtools/shared/resources/tests/browser_target_list_frames.js | isTopLevel property is correct - 
[task 2020-08-19T19:00:27.187Z] 19:00:27     INFO - TEST-PASS | devtools/shared/resources/tests/browser_target_list_frames.js | We are only notified about frame targets - 
[task 2020-08-19T19:00:27.189Z] 19:00:27     INFO - TEST-PASS | devtools/shared/resources/tests/browser_target_list_frames.js | isTopLevel property is correct - 
[task 2020-08-19T19:00:27.190Z] 19:00:27     INFO - TEST-PASS | devtools/shared/resources/tests/browser_target_list_frames.js | retrieved the same number of frames via watchTargets - 
[task 2020-08-19T19:00:27.190Z] 19:00:27     INFO - TEST-PASS | devtools/shared/resources/tests/browser_target_list_frames.js | frame 0 targets are the same via watchTargets - 
[task 2020-08-19T19:00:27.190Z] 19:00:27     INFO - TEST-PASS | devtools/shared/resources/tests/browser_target_list_frames.js | frame 1 targets are the same via watchTargets - 
[task 2020-08-19T19:00:27.190Z] 19:00:27     INFO - Test TargetList against frames via a tab target
[task 2020-08-19T19:00:27.191Z] 19:00:27     INFO - Adding a new tab with URL: https://example.com/browser/devtools/shared/resources/tests//fission_document.html
[task 2020-08-19T19:00:27.191Z] 19:00:27     INFO - Tab added and finished loading
[task 2020-08-19T19:00:27.191Z] 19:00:27     INFO - TEST-PASS | devtools/shared/resources/tests/browser_target_list_frames.js | retrieved only the top level document - 
[task 2020-08-19T19:00:27.191Z] 19:00:27     INFO - TEST-PASS | devtools/shared/resources/tests/browser_target_list_frames.js | We are only notified about frame targets - 
[task 2020-08-19T19:00:27.191Z] 19:00:27     INFO - TEST-PASS | devtools/shared/resources/tests/browser_target_list_frames.js | isTopLevel property is correct - 
[task 2020-08-19T19:00:27.191Z] 19:00:27     INFO - TEST-PASS | devtools/shared/resources/tests/browser_target_list_frames.js | retrieved the same number of frames via watchTargets - 
[task 2020-08-19T19:00:27.192Z] 19:00:27     INFO - TEST-PASS | devtools/shared/resources/tests/browser_target_list_frames.js | frame 0 targets are the same via watchTargets - 
[task 2020-08-19T19:00:27.192Z] 19:00:27     INFO - Leaving test bound 
[task 2020-08-19T19:00:27.192Z] 19:00:27     INFO - TEST-PASS | devtools/shared/resources/tests/browser_target_list_frames.js | The main process DevToolsServer has no pending connection when the test ends - 
[task 2020-08-19T19:00:27.192Z] 19:00:27     INFO - Console message: [JavaScript Error: "Error: Connection closed, pending request to root, type listWorkers failed
[task 2020-08-19T19:00:27.192Z] 19:00:27     INFO - 
[task 2020-08-19T19:00:27.192Z] 19:00:27     INFO - Request stack:
[task 2020-08-19T19:00:27.192Z] 19:00:27     INFO - request@resource://devtools/shared/protocol/Front.js:260:14
[task 2020-08-19T19:00:27.193Z] 19:00:27     INFO - generateRequestMethods/</frontProto[name]@resource://devtools/shared/protocol/Front/FrontClassWithSpec.js:46:19
[task 2020-08-19T19:00:27.193Z] 19:00:27     INFO - _workerListChanged@resource://devtools/shared/resources/legacy-target-watchers/legacy-workers-watcher.js:84:37
[task 2020-08-19T19:00:27.193Z] 19:00:27     INFO - _emit@resource://devtools/shared/event-emitter.js:226:34
[task 2020-08-19T19:00:27.193Z] 19:00:27     INFO - emit@resource://devtools/shared/event-emitter.js:172:18
[task 2020-08-19T19:00:27.193Z] 19:00:27     INFO - emit@resource://devtools/shared/event-emitter.js:324:18
[task 2020-08-19T19:00:27.193Z] 19:00:27     INFO - onPacket@resource://devtools/shared/protocol/Front.js:298:13
[task 2020-08-19T19:00:27.193Z] 19:00:27     INFO - onPacket@resource://devtools/client/devtools-client.js:492:13
[task 2020-08-19T19:00:27.194Z] 19:00:27     INFO - send/<@resource://devtools/shared/transport/local-transport.js:68:25
[task 2020-08-19T19:00:27.194Z] 19:00:27     INFO - exports.makeInfallible/<@resource://devtools/shared/ThreadSafeDevToolsUtils.js:103:22
[task 2020-08-19T19:00:27.194Z] 19:00:27     INFO - DevToolsUtils.executeSoon*exports.executeSoon@resource://devtools/shared/DevToolsUtils.js:47:21
[task 2020-08-19T19:00:27.194Z] 19:00:27     INFO - send@resource://devtools/shared/transport/local-transport.js:56:21
[task 2020-08-19T19:00:27.194Z] 19:00:27     INFO - send@resource://devtools/server/devtools-server-connection.js:99:20
[task 2020-08-19T19:00:27.194Z] 19:00:27     INFO - onWorkerListChanged@resource://devtools/server/actors/root.js:442:15
[task 2020-08-19T19:00:27.194Z] 19:00:27     INFO - _notifyListChanged@resource://devtools/server/actors/worker/worker-target-actor-list.js:184:10
[task 2020-08-19T19:00:27.194Z] 19:00:27     INFO - onUnregister@resource://devtools/server/actors/worker/worker-target-actor-list.js:200:12
[task 2020-08-19T19:00:27.195Z] 19:00:27     INFO - " {file: "resource://devtools/shared/protocol/Front.js" line: 77}]
[task 2020-08-19T19:00:27.195Z] 19:00:27     INFO - Buffered messages finished
[task 2020-08-19T19:00:27.195Z] 19:00:27     INFO - TEST-UNEXPECTED-FAIL | devtools/shared/resources/tests/browser_target_list_frames.js | A promise chain failed to handle a rejection: Connection closed, pending request to root, type listWorkers failed
[task 2020-08-19T19:00:27.195Z] 19:00:27     INFO - 
[task 2020-08-19T19:00:27.195Z] 19:00:27     INFO - Request stack:
[task 2020-08-19T19:00:27.195Z] 19:00:27     INFO - request@resource://devtools/shared/protocol/Front.js:260:14
[task 2020-08-19T19:00:27.196Z] 19:00:27     INFO - generateRequestMethods/</frontProto[name]@resource://devtools/shared/protocol/Front/FrontClassWithSpec.js:46:19
[task 2020-08-19T19:00:27.196Z] 19:00:27     INFO - _workerListChanged@resource://devtools/shared/resources/legacy-target-watchers/legacy-workers-watcher.js:84:37
[task 2020-08-19T19:00:27.196Z] 19:00:27     INFO - _emit@resource://devtools/shared/event-emitter.js:226:34
[task 2020-08-19T19:00:27.196Z] 19:00:27     INFO - emit@resource://devtools/shared/event-emitter.js:172:18
[task 2020-08-19T19:00:27.196Z] 19:00:27     INFO - emit@resource://devtools/shared/event-emitter.js:324:18
[task 2020-08-19T19:00:27.196Z] 19:00:27     INFO - onPacket@resource://devtools/shared/protocol/Front.js:298:13
[task 2020-08-19T19:00:27.196Z] 19:00:27     INFO - onPacket@resource://devtools/client/devtools-client.js:492:13
[task 2020-08-19T19:00:27.196Z] 19:00:27     INFO - send/<@resource://devtools/shared/transport/local-transport.js:68:25
[task 2020-08-19T19:00:27.196Z] 19:00:27     INFO - exports.makeInfallible/<@resource://devtools/shared/ThreadSafeDevToolsUtils.js:103:22
[task 2020-08-19T19:00:27.197Z] 19:00:27     INFO - DevToolsUtils.executeSoon*exports.executeSoon@resource://devtools/shared/DevToolsUtils.js:47:21
[task 2020-08-19T19:00:27.197Z] 19:00:27     INFO - send@resource://devtools/shared/transport/local-transport.js:56:21
[task 2020-08-19T19:00:27.197Z] 19:00:27     INFO - send@resource://devtools/server/devtools-server-connection.js:99:20
[task 2020-08-19T19:00:27.197Z] 19:00:27     INFO - onWorkerListChanged@resource://devtools/server/actors/root.js:442:15
[task 2020-08-19T19:00:27.197Z] 19:00:27     INFO - _notifyListChanged@resource://devtools/server/actors/worker/worker-target-actor-list.js:184:10
[task 2020-08-19T19:00:27.197Z] 19:00:27     INFO - onUnregister@resource://devtools/server/actors/worker/worker-target-actor-list.js:200:12
[task 2020-08-19T19:00:27.197Z] 19:00:27     INFO -  - stack: destroy@resource://devtools/shared/protocol/Front.js:77:23
[task 2020-08-19T19:00:27.197Z] 19:00:27     INFO - onClosed@resource://devtools/client/devtools-client.js:628:12
[task 2020-08-19T19:00:27.197Z] 19:00:27     INFO - close@resource://devtools/shared/transport/local-transport.js:169:20
[task 2020-08-19T19:00:27.197Z] 19:00:27     INFO - close@resource://devtools/shared/transport/local-transport.js:165:13
[task 2020-08-19T19:00:27.197Z] 19:00:27     INFO - close@resource://devtools/shared/transport/local-transport.js:165:13
[task 2020-08-19T19:00:27.197Z] 19:00:27     INFO - cleanup@resource://devtools/client/devtools-client.js:123:27
[task 2020-08-19T19:00:27.197Z] 19:00:27     INFO - close/promise<@resource://devtools/client/devtools-client.js:139:7
[task 2020-08-19T19:00:27.198Z] 19:00:27     INFO - close@resource://devtools/client/devtools-client.js:116:21
[task 2020-08-19T19:00:27.198Z] 19:00:27     INFO - @chrome://mochitests/content/browser/devtools/shared/resources/tests/browser_target_list_frames.js:31:16
[task 2020-08-19T19:00:27.198Z] 19:00:27     INFO - Async*Tester_execTest/<@chrome://mochikit/content/browser-test.js:1069:34
[task 2020-08-19T19:00:27.198Z] 19:00:27     INFO - Tester_execTest@chrome://mochikit/content/browser-test.js:1109:11
[task 2020-08-19T19:00:27.198Z] 19:00:27     INFO - nextTest/<@chrome://mochikit/content/browser-test.js:932:14
[task 2020-08-19T19:00:27.198Z] 19:00:27     INFO - SimpleTest.waitForFocus/waitForFocusInner/focusedOrLoaded/<@chrome://mochikit/content/tests/SimpleTest/SimpleTest.js:1037:23
[task 2020-08-19T19:00:27.198Z] 19:00:27     INFO - Rejection date: Wed Aug 19 2020 19:00:26 GMT+0000 (Coordinated Universal Time) - false == true - JS frame :: resource://testing-common/PromiseTestUtils.jsm :: assertNoUncaughtRejections :: line 265
[task 2020-08-19T19:00:27.198Z] 19:00:27     INFO - Stack trace:
[task 2020-08-19T19:00:27.198Z] 19:00:27     INFO - resource://testing-common/PromiseTestUtils.jsm:assertNoUncaughtRejections:265
[task 2020-08-19T19:00:27.198Z] 19:00:27     INFO - chrome://mochikit/content/browser-test.js:nextTest:615
[task 2020-08-19T19:00:27.199Z] 19:00:27     INFO - chrome://mochikit/content/browser-test.js:testScope/test_finish/<:1512
[task 2020-08-19T19:00:27.199Z] 19:00:27     INFO - chrome://mochikit/content/browser-test.js:run:1427
[task 2020-08-19T19:00:27.199Z] 19:00:27     INFO - GECKO(3625) | MEMORY STAT | vsize 20975227MB | residentFast 1156MB
[task 2020-08-19T19:00:27.199Z] 19:00:27     INFO - TEST-OK | devtools/shared/resources/tests/browser_target_list_frames.js | took 1412ms
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.