Closed Bug 1727353 Opened 4 years ago Closed 3 years ago

Intermittent devtools/shared/commands/target/tests/browser_target_command_various_descriptors.js | A promise chain failed to handle a rejection: existingTargets is undefined - stack: _onProcessDestroyed@resource://devtools/shared/commands/target/

Categories

(DevTools :: General, defect, P5)

defect

Tracking

(Not tracked)

RESOLVED INCOMPLETE

People

(Reporter: intermittent-bug-filer, Unassigned)

Details

(Keywords: intermittent-failure)

Filed by: archaeopteryx [at] coole-files.de
Parsed log: https://treeherder.mozilla.org/logviewer?job_id=349385006&repo=try
Full log: https://firefox-ci-tc.services.mozilla.com/api/queue/v1/task/KmOidhtdStay9S-0shk5Gw/runs/0/artifacts/public/logs/live_backing.log


[task 2021-08-24T13:04:51.333Z] 13:04:51     INFO - Test TargetCommand against webextension descriptor
[task 2021-08-24T13:04:51.334Z] 13:04:51     INFO - Extension loaded
[task 2021-08-24T13:04:51.334Z] 13:04:51     INFO - TEST-PASS | devtools/shared/commands/target/tests/browser_target_command_various_descriptors.js | Descriptor front isWebExtensionDescriptor is correct - 
[task 2021-08-24T13:04:51.334Z] 13:04:51     INFO - Buffered messages logged at 13:04:51
[task 2021-08-24T13:04:51.335Z] 13:04:51     INFO - Console message: [JavaScript Error: "Error: Can't find profile directory." {file: "resource://gre/modules/XULStore.jsm" line: 66}]
[task 2021-08-24T13:04:51.335Z] 13:04:51     INFO - load@resource://gre/modules/XULStore.jsm:66:15
[task 2021-08-24T13:04:51.335Z] 13:04:51     INFO - XULStore@resource://gre/modules/XULStore.jsm:24:10
[task 2021-08-24T13:04:51.335Z] 13:04:51     INFO - 
[task 2021-08-24T13:04:51.336Z] 13:04:51     INFO - TEST-PASS | devtools/shared/commands/target/tests/browser_target_command_various_descriptors.js | Got a unique target - 
[task 2021-08-24T13:04:51.336Z] 13:04:51     INFO - TEST-PASS | devtools/shared/commands/target/tests/browser_target_command_various_descriptors.js | The first is the top level one - 
[task 2021-08-24T13:04:51.337Z] 13:04:51     INFO - TEST-PASS | devtools/shared/commands/target/tests/browser_target_command_various_descriptors.js | the web extension target is of frame type, because it inherits from BrowsingContextTargetActor - 
[task 2021-08-24T13:04:51.338Z] 13:04:51     INFO - TEST-PASS | devtools/shared/commands/target/tests/browser_target_command_various_descriptors.js | This is flagged as top level - 
[task 2021-08-24T13:04:51.338Z] 13:04:51     INFO - Buffered messages finished
[task 2021-08-24T13:04:51.341Z] 13:04:51     INFO - TEST-UNEXPECTED-FAIL | devtools/shared/commands/target/tests/browser_target_command_various_descriptors.js | A promise chain failed to handle a rejection: existingTargets is undefined - stack: _onProcessDestroyed@resource://devtools/shared/commands/target/legacy-target-watchers/legacy-workers-watcher.js:46:26
[task 2021-08-24T13:04:51.341Z] 13:04:51     INFO - _emit@resource://devtools/shared/event-emitter.js:244:34
[task 2021-08-24T13:04:51.341Z] 13:04:51     INFO - emit@resource://devtools/shared/event-emitter.js:190:18
[task 2021-08-24T13:04:51.341Z] 13:04:51     INFO - emit@resource://devtools/shared/event-emitter.js:342:18
[task 2021-08-24T13:04:51.341Z] 13:04:51     INFO - _onTargetDestroyed@resource://devtools/shared/commands/target/target-command.js:292:28
[task 2021-08-24T13:04:51.341Z] 13:04:51     INFO - _emit@resource://devtools/shared/event-emitter.js:244:34
[task 2021-08-24T13:04:51.341Z] 13:04:51     INFO - emit@resource://devtools/shared/event-emitter.js:190:18
[task 2021-08-24T13:04:51.341Z] 13:04:51     INFO - emit@resource://devtools/shared/event-emitter.js:342:18
[task 2021-08-24T13:04:51.341Z] 13:04:51     INFO - _onTargetDestroyed@resource://devtools/client/fronts/watcher.js:74:12
[task 2021-08-24T13:04:51.341Z] 13:04:51     INFO - _emit@resource://devtools/shared/event-emitter.js:244:34
[task 2021-08-24T13:04:51.341Z] 13:04:51     INFO - emit@resource://devtools/shared/event-emitter.js:190:18
[task 2021-08-24T13:04:51.341Z] 13:04:51     INFO - emit@resource://devtools/shared/event-emitter.js:342:18
[task 2021-08-24T13:04:51.342Z] 13:04:51     INFO - onPacket@resource://devtools/shared/protocol/Front.js:333:13
[task 2021-08-24T13:04:51.342Z] 13:04:51     INFO - onPacket@resource://devtools/client/devtools-client.js:482:13
[task 2021-08-24T13:04:51.342Z] 13:04:51     INFO - send/<@resource://devtools/shared/transport/local-transport.js:68:25
[task 2021-08-24T13:04:51.342Z] 13:04:51     INFO - exports.makeInfallible/<@resource://devtools/shared/ThreadSafeDevToolsUtils.js:103:22
[task 2021-08-24T13:04:51.342Z] 13:04:51     INFO - DevToolsUtils.executeSoon*exports.executeSoon@resource://devtools/shared/DevToolsUtils.js:54:21
[task 2021-08-24T13:04:51.342Z] 13:04:51     INFO - send@resource://devtools/shared/transport/local-transport.js:56:21
[task 2021-08-24T13:04:51.342Z] 13:04:51     INFO - send@resource://devtools/server/devtools-server-connection.js:99:20
[task 2021-08-24T13:04:51.342Z] 13:04:51     INFO - _sendEvent@resource://devtools/shared/protocol/Actor.js:72:15
[task 2021-08-24T13:04:51.342Z] 13:04:51     INFO - initialize/<@resource://devtools/shared/protocol/Actor.js:46:16
[task 2021-08-24T13:04:51.342Z] 13:04:51     INFO - _emit@resource://devtools/shared/event-emitter.js:244:34
[task 2021-08-24T13:04:51.342Z] 13:04:51     INFO - emit@resource://devtools/shared/event-emitter.js:190:18
[task 2021-08-24T13:04:51.342Z] 13:04:51     INFO - emit@resource://devtools/shared/event-emitter.js:342:18
[task 2021-08-24T13:04:51.342Z] 13:04:51     INFO - notifyTargetDestroyed@resource://devtools/server/actors/watcher.js:226:10
[task 2021-08-24T13:04:51.342Z] 13:04:51     INFO - onMessageManagerClose@resource://devtools/server/actors/watcher/target-helpers/process-helper.js:86:13
[task 2021-08-24T13:04:51.342Z] 13:04:51     INFO - Rejection date: Tue Aug 24 2021 13:04:50 GMT+0000 (Greenwich Mean Time) - false == true - JS frame :: resource://testing-common/PromiseTestUtils.jsm :: assertNoUncaughtRejections :: line 285
[task 2021-08-24T13:04:51.343Z] 13:04:51     INFO - Stack trace:
[task 2021-08-24T13:04:51.343Z] 13:04:51     INFO - resource://testing-common/PromiseTestUtils.jsm:assertNoUncaughtRejections:285
[task 2021-08-24T13:04:51.343Z] 13:04:51     INFO - chrome://mochikit/content/browser-test.js:Tester_execTest/<:1122
[task 2021-08-24T13:04:51.343Z] 13:04:51     INFO - chrome://mochikit/content/browser-test.js:Tester_execTest:1131
[task 2021-08-24T13:04:51.343Z] 13:04:51     INFO - chrome://mochikit/content/browser-test.js:nextTest/<:939
[task 2021-08-24T13:04:51.343Z] 13:04:51     INFO - chrome://mochikit/content/tests/SimpleTest/SimpleTest.js:SimpleTest.waitForFocus/<:1041
[task 2021-08-24T13:04:51.343Z] 13:04:51     INFO - Leaving test bound 

The Bugbug bot thinks this bug should belong to the 'DevTools::Framework' component, and is moving the bug to that component. Please revert this change in case you think the bot is wrong.

Component: General → Framework
Status: NEW → RESOLVED
Closed: 3 years ago
Resolution: --- → INCOMPLETE
Status: RESOLVED → REOPENED
Resolution: INCOMPLETE → ---
Status: REOPENED → RESOLVED
Closed: 3 years ago3 years ago
Resolution: --- → INCOMPLETE
You need to log in before you can comment on or make changes to this bug.