Closed Bug 1574485 Opened 5 years ago Closed 5 years ago

Perma xpcshell toolkit/components/extensions/test/xpcshell/test_ext_storage_idb_data_migration.js | xpcshell return code: 0 when Gecko 70 merges to Beta on 2019-08-26

Categories

(WebExtensions :: General, defect)

defect
Not set
normal

Tracking

(firefox-esr60 unaffected, firefox-esr68 unaffected, firefox68 unaffected, firefox69 unaffected, firefox70? verified)

VERIFIED FIXED
mozilla70
Tracking Status
firefox-esr60 --- unaffected
firefox-esr68 --- unaffected
firefox68 --- unaffected
firefox69 --- unaffected
firefox70 ? verified

People

(Reporter: ccoroiu, Assigned: rpl)

References

(Regression)

Details

(Keywords: regression)

Attachments

(1 file)

[Tracking Requested - why for this release]:

Central as beta simulation:
https://treeherder.mozilla.org/#/jobs?repo=try&resultStatus=testfailed%2Cbusted%2Cexception%2Cretry%2Cusercancel%2Crunnable&revision=faf555c221500bdf8985544b8f9b8a0785c3b119&searchStr=xpcshell&selectedJob=262007506

Failure log: https://treeherder.mozilla.org/logviewer.html#/jobs?job_id=262007506&repo=try&lineNumber=3031

task 2019-08-16T13:33:09.355Z] 13:33:09 INFO - TEST-START | xpcshell-remote.ini:toolkit/components/extensions/test/xpcshell/test_ext_storage_idb_data_migration.js
[task 2019-08-16T13:33:09.555Z] 13:33:09 WARNING - TEST-UNEXPECTED-FAIL | xpcshell-remote.ini:toolkit/components/extensions/test/xpcshell/test_ext_storage_idb_data_migration.js | xpcshell return code: 0
[task 2019-08-16T13:33:09.556Z] 13:33:09 INFO - TEST-INFO took 192ms
[task 2019-08-16T13:33:09.556Z] 13:33:09 INFO - >>>>>>>
[task 2019-08-16T13:33:09.556Z] 13:33:09 INFO - (xpcshell/head.js) | test MAIN run_test pending (1)
[task 2019-08-16T13:33:09.556Z] 13:33:09 INFO - (xpcshell/head.js) | test run_next_test 0 pending (2)
[task 2019-08-16T13:33:09.556Z] 13:33:09 INFO - (xpcshell/head.js) | test MAIN run_test finished (2)
[task 2019-08-16T13:33:09.556Z] 13:33:09 INFO - running event loop
[task 2019-08-16T13:33:09.556Z] 13:33:09 INFO - xpcshell-remote.ini:toolkit/components/extensions/test/xpcshell/test_ext_storage_idb_data_migration.js | Starting check_remote
[task 2019-08-16T13:33:09.556Z] 13:33:09 INFO - (xpcshell/head.js) | test check_remote pending (2)

Flags: needinfo?(lgreco)

The failure is due to appInfo.version being cached as undefined before it is set by the test (by calling AddonTestUtils.createAppInfo), and an exception (raised when Services.appinfo.version.replace is being called on an undefined appinfo.version) is making the AddonManager startup to fail.

I've attached a small (test-only) patch which fixes the failure (and I verified locally that the test passes when MOZ_COMPATIBILITY_NIGHTLY is false, as in a beta build).

Flags: needinfo?(lgreco)
Assignee: nobody → lgreco
Status: NEW → ASSIGNED
Pushed by luca.greco@alcacoop.it:
https://hg.mozilla.org/integration/autoland/rev/02be305fd209
Prevent test_ext_storage_idb_data_migration.js to fail in a beta build because an undefined appInfo.version has been cached. r=zombie
Status: ASSIGNED → RESOLVED
Closed: 5 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla70
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: