Closed Bug 1961091 Opened 1 year ago Closed 1 year ago

perma xpcshell.toml:toolkit/mozapps/extensions/test/xpcshell/test_dictionary_webextension.js | xpcshell return code: 0

Categories

(Thunderbird :: Upstream Synchronization, defect, P5)

defect

Tracking

(Not tracked)

RESOLVED FIXED
139 Branch

People

(Reporter: intermittent-bug-filer, Unassigned)

References

Details

(Keywords: intermittent-failure, intermittent-testcase, Whiteboard: [fixed by bug 1961356])

[task 2025-04-17T06:24:34.312Z] 06:24:34     INFO -  xpcshell.toml:toolkit/mozapps/extensions/test/xpcshell/test_dictionary_webextension.js | Starting setup setup
[task 2025-04-17T06:24:34.313Z] 06:24:34     INFO -  (xpcshell/head.js) | test setup pending (2)
[task 2025-04-17T06:24:34.313Z] 06:24:34     INFO -  (xpcshell/head.js) | test run_next_test 0 finished (2)
[task 2025-04-17T06:24:34.313Z] 06:24:34     INFO -  "CONSOLE_MESSAGE: (info) 1744871074176	addons.manager	DEBUG	Application has been upgraded"
[task 2025-04-17T06:24:34.313Z] 06:24:34     INFO -  "CONSOLE_MESSAGE: (info) 1744871074176	addons.manager	DEBUG	Starting provider: XPIProvider"
[task 2025-04-17T06:24:34.313Z] 06:24:34     INFO -  "CONSOLE_MESSAGE: (info) 1744871074176	addons.xpi	DEBUG	startup"
[task 2025-04-17T06:24:34.313Z] 06:24:34     INFO -  "CONSOLE_MESSAGE: (info) 1744871074177	addons.xpi	INFO	SystemAddonLocation directory is missing"
[task 2025-04-17T06:24:34.313Z] 06:24:34     INFO -  "CONSOLE_MESSAGE: (info) 1744871074183	addons.xpi	INFO	Removing all system add-on upgrades."
[task 2025-04-17T06:24:34.313Z] 06:24:34     INFO -  "CONSOLE_MESSAGE: (info) 1744871074184	addons.xpi	DEBUG	checkForChanges"
[task 2025-04-17T06:24:34.313Z] 06:24:34     INFO -  "CONSOLE_MESSAGE: (info) 1744871074184	addons.xpi	DEBUG	Loaded add-on state: ${}"
[task 2025-04-17T06:24:34.313Z] 06:24:34     INFO -  "CONSOLE_MESSAGE: (info) 1744871074185	addons.xpi	DEBUG	scanForChanges changed: false, state: {}"
[task 2025-04-17T06:24:34.313Z] 06:24:34     INFO -  "CONSOLE_MESSAGE: (info) 1744871074185	addons.xpi	DEBUG	Empty XPI database, setting schema version preference to 37"
[task 2025-04-17T06:24:34.313Z] 06:24:34     INFO -  "CONSOLE_MESSAGE: (info) 1744871074185	addons.xpi	DEBUG	No changes found"
[task 2025-04-17T06:24:34.313Z] 06:24:34     INFO -  "CONSOLE_MESSAGE: (info) 1744871074188	addons.manager	DEBUG	Registering shutdown blocker for XPIProvider"
[task 2025-04-17T06:24:34.313Z] 06:24:34     INFO -  "CONSOLE_MESSAGE: (info) 1744871074188	addons.manager	DEBUG	Provider finished startup: XPIProvider"
[task 2025-04-17T06:24:34.313Z] 06:24:34     INFO -  "CONSOLE_MESSAGE: (info) 1744871074189	addons.manager	DEBUG	Completed startup sequence"
[task 2025-04-17T06:24:34.313Z] 06:24:34  WARNING -  TEST-UNEXPECTED-FAIL | xpcshell.toml:toolkit/mozapps/extensions/test/xpcshell/test_dictionary_webextension.js | setup - [setup : 22] Expect en-US builtin dictionary to be registered - [] deepEqual ["en-US"]
[task 2025-04-17T06:24:34.313Z] 06:24:34     INFO -  /builds/worker/workspace/build/tests/xpcshell/tests/toolkit/mozapps/extensions/test/xpcshell/test_dictionary_webextension.js:setup:22
[task 2025-04-17T06:24:34.314Z] 06:24:34     INFO -  exiting test
[task 2025-04-17T06:24:34.314Z] 06:24:34     INFO -  Unexpected exception NS_ERROR_ABORT:
[task 2025-04-17T06:24:34.314Z] 06:24:34     INFO -  _abort_failed_test@/builds/worker/workspace/build/tests/xpcshell/head.js:869:20
[task 2025-04-17T06:24:34.314Z] 06:24:34     INFO -  do_report_result@/builds/worker/workspace/build/tests/xpcshell/head.js:981:5
[task 2025-04-17T06:24:34.314Z] 06:24:34     INFO -  Assert<@/builds/worker/workspace/build/tests/xpcshell/head.js:70:21
[task 2025-04-17T06:24:34.314Z] 06:24:34     INFO -  Assert.prototype.report@resource://testing-common/Assert.sys.mjs:251:10
[task 2025-04-17T06:24:34.314Z] 06:24:34     INFO -  deepEqual@resource://testing-common/Assert.sys.mjs:331:8
[task 2025-04-17T06:24:34.315Z] 06:24:34     INFO -  setup@/builds/worker/workspace/build/tests/xpcshell/tests/toolkit/mozapps/extensions/test/xpcshell/test_dictionary_webextension.js:22:10
[task 2025-04-17T06:24:34.315Z] 06:24:34     INFO -  async*_run_next_test/<@/builds/worker/workspace/build/tests/xpcshell/head.js:1759:22
[task 2025-04-17T06:24:34.315Z] 06:24:34     INFO -  _run_next_test@/builds/worker/workspace/build/tests/xpcshell/head.js:1759:38
[task 2025-04-17T06:24:34.315Z] 06:24:34     INFO -  run@/builds/worker/workspace/build/tests/xpcshell/head.js:808:9
[task 2025-04-17T06:24:34.315Z] 06:24:34     INFO -  _do_main@/builds/worker/workspace/build/tests/xpcshell/head.js:245:6
[task 2025-04-17T06:24:34.315Z] 06:24:34     INFO -  _execute_test@/builds/worker/workspace/build/tests/xpcshell/head.js:596:5
[task 2025-04-17T06:24:34.315Z] 06:24:34     INFO -  @-e:1:1
[task 2025-04-17T06:24:34.315Z] 06:24:34     INFO -  exiting test
See Also: → 1949847

I ran toolkit/mozapps/extensions/test/xpcshell/test_dictionary_webextension.js with a firefox and a thunderbird build and compared output.

When running in firefox, I see the same failure initially, but apparently it retries in some way, and eventually a generated-xpi gets created and installed.

I don't understand how to trigger that.

I found this code here:
https://hg-edge.mozilla.org/mozilla-central/file/tip/toolkit/mozapps/extensions/moz.build#l37
which tries to generate built_in_addons for firefox, so probably we'll need a similar rule for thunderbird?
But I don't know where it would have to be added.

Fixed by bug 1961356. Thanks Luca!!

Status: NEW → RESOLVED
Closed: 1 year ago
Resolution: --- → FIXED
Whiteboard: [fixed by bug 1961356]
Target Milestone: --- → 139 Branch
You need to log in before you can comment on or make changes to this bug.