Closed Bug 1702183 Opened 3 years ago Closed 3 years ago

Perma toolkit/mozapps/update/tests/unit_aus_update/canCheckForAndCanApplyUpdates.js | assertNoUncaughtRejections - [assertNoUncaughtRejections : 285] when Gecko 89 merges to Beta on 2021-04-19

Categories

(Toolkit :: Application Update, defect)

defect

Tracking

()

VERIFIED FIXED
89 Branch
Tracking Status
firefox-esr78 --- unaffected
firefox87 --- unaffected
firefox88 --- unaffected
firefox89 + verified

People

(Reporter: aryx, Assigned: nalexander)

References

(Regression)

Details

(Keywords: regression)

Attachments

(1 file)

[task 2021-03-31T10:39:05.962Z] 10:39:05     INFO -  TEST-PASS | toolkit/mozapps/update/tests/unit_aus_update/canCheckForAndCanApplyUpdates.js | run_test - [run_test : 46] should be able to apply updates - true == true
[task 2021-03-31T10:39:05.963Z] 10:39:05     INFO -  PID 17563 | *** AUS:SVC UpdateManager:_loadXMLFileIntoArray - XML file does not exist. path: /builds/worker/workspace/build/tests/xpcshell/tests/toolkit/mozapps/update/tests/unit_aus_update/canCheckForAndCanApplyUpdates/dir.app/active-update.xml
[task 2021-03-31T10:39:05.964Z] 10:39:05     INFO -  (xpcshell/head.js) | test do_test_finished pending (3)
[task 2021-03-31T10:39:05.964Z] 10:39:05     INFO -  (xpcshell/head.js) | test MAIN run_test finished (3)
[task 2021-03-31T10:39:05.964Z] 10:39:05     INFO -  running event loop
[task 2021-03-31T10:39:05.964Z] 10:39:05     INFO -  PID 17563 | [Parent 17563, Main Thread] WARNING: Could not get the program name for a cubeb stream.: 'NS_SUCCEEDED(rv)', file /builds/worker/checkouts/gecko/dom/media/CubebUtils.cpp:377
[task 2021-03-31T10:39:05.965Z] 10:39:05     INFO -  (xpcshell/head.js) | test finished (2)
[task 2021-03-31T10:39:05.966Z] 10:39:05     INFO -  (xpcshell/head.js) | test do_test_finished finished (1)
[task 2021-03-31T10:39:05.966Z] 10:39:05     INFO -  exiting test
[task 2021-03-31T10:39:05.966Z] 10:39:05     INFO -  PID 17563 | JavaScript error: resource://gre/modules/UpdateService.jsm, line 2550: TypeError: Cc['@mozilla.org/backgroundtasks;1'] is undefined
[task 2021-03-31T10:39:05.967Z] 10:39:05     INFO -  PID 17563 | JavaScript error: resource://gre/modules/UpdateService.jsm, line 2550: TypeError: Cc['@mozilla.org/backgroundtasks;1'] is undefined
[task 2021-03-31T10:39:05.967Z] 10:39:05     INFO -  PID 17563 | JavaScript error: resource://gre/modules/UpdateService.jsm, line 2550: TypeError: Cc['@mozilla.org/backgroundtasks;1'] is undefined
[task 2021-03-31T10:39:05.968Z] 10:39:05     INFO -  "CONSOLE_MESSAGE: (error) [JavaScript Error: "TypeError: Cc['@mozilla.org/backgroundtasks;1'] is undefined" {file: "resource://gre/modules/UpdateService.jsm" line: 2550}]"
[task 2021-03-31T10:39:05.968Z] 10:39:05     INFO -  "CONSOLE_MESSAGE: (error) [JavaScript Error: "TypeError: Cc['@mozilla.org/backgroundtasks;1'] is undefined" {file: "resource://gre/modules/UpdateService.jsm" line: 2550}]"
[task 2021-03-31T10:39:05.968Z] 10:39:05     INFO -  "CONSOLE_MESSAGE: (error) [JavaScript Error: "TypeError: Cc['@mozilla.org/backgroundtasks;1'] is undefined" {file: "resource://gre/modules/UpdateService.jsm" line: 2550}]"
[task 2021-03-31T10:39:05.969Z] 10:39:05  WARNING -  TEST-UNEXPECTED-FAIL | toolkit/mozapps/update/tests/unit_aus_update/canCheckForAndCanApplyUpdates.js | assertNoUncaughtRejections - [assertNoUncaughtRejections : 285] A promise chain failed to handle a rejection: Cc['@mozilla.org/backgroundtasks;1'] is undefined - stack: AUS_observe@resource://gre/modules/UpdateService.jsm:2550:15
[task 2021-03-31T10:39:05.970Z] 10:39:05     INFO -  doTestFinish@xpcshellUtilsAUS.js:1151:20
[task 2021-03-31T10:39:05.970Z] 10:39:05     INFO -  run_test@/builds/worker/workspace/build/tests/xpcshell/tests/toolkit/mozapps/update/tests/unit_aus_update/canCheckForAndCanApplyUpdates.js:61:3
[task 2021-03-31T10:39:05.970Z] 10:39:05     INFO -  _execute_test@/builds/worker/workspace/build/tests/xpcshell/head.js:592:7

followed by more test failures.

Flags: needinfo?(nalexander)
Assignee: nobody → nalexander
Status: NEW → ASSIGNED
Pushed by nalexander@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/ce6324d846cd
Accommodate !MOZ_BACKGROUNDTASKS in UpdateService.jsm. r=application-update-reviewers,bytesized
Status: ASSIGNED → RESOLVED
Closed: 3 years ago
Resolution: --- → FIXED
Target Milestone: --- → 89 Branch

Clearing NI as this is verified. (Thanks, :CosminS!)

Flags: needinfo?(nalexander)
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: