windows/aarch64 - Invalid test mar file - toolkit/mozapps/update/tests/*
Categories
(Toolkit :: Application Update, defect, P5)
Tracking
()
Tracking | Status | |
---|---|---|
firefox67 | --- | fixed |
People
(Reporter: intermittent-bug-filer, Assigned: robert.strong.bugs)
References
Details
Attachments
(2 files)
217.82 KB,
patch
|
Details | Diff | Splinter Review | |
47 bytes,
text/x-phabricator-request
|
Details | Review |
#[markdown(off)]
Filed by: egao [at] mozilla.com
https://treeherder.mozilla.org/logviewer.html#?job_id=226675668&repo=try
Issue observed as part of win10/aarch64 run.
Comment 1•6 years ago
•
|
||
Same error also observed for various files such as:
- toolkit/mozapps/update/tests/browser/browser_aboutDialog_fc_downloadOptIn_staging.js
- toolkit/mozapps/update/tests/browser/browser_aboutDialog_fc_patch_completeBadSize_complete.js
- toolkit/mozapps/update/tests/browser/browser_aboutDialog_fc_patch_partialBadSize_complete.js
Comment 2•6 years ago
|
||
here is more context:
03:43:22 INFO - Console message: AUS:SVC Downloader:onStopRequest - attempting to stage update: App Update Test
03:43:22 INFO - Console message: AUS:SVC readStatusFile - status: failed: 39, path: C:\ProgramData\Mozilla\updates\B4A3EEF2ED7784F0\updates\0\update.status
03:43:22 INFO - Console message: AUS:SVC readStringFromFile - file doesn't exist: C:\ProgramData\Mozilla\updates\B4A3EEF2ED7784F0\updates\0\bt.result
03:43:22 INFO - Console message: AUS:SVC readBinaryTransparencyResult - result: null, path: C:\ProgramData\Mozilla\updates\B4A3EEF2ED7784F0\updates\0\bt.result
03:43:22 INFO - Console message: AUS:SVC handleFallbackToCompleteUpdate - install of partial patch failed, downloading complete patch
03:43:22 INFO - Console message: AUS:SVC Creating Downloader
03:43:22 INFO - Console message: AUS:SVC UpdateService:_downloadUpdate
03:43:22 INFO - Console message: AUS:SVC readStringFromFile - file doesn't exist: C:\ProgramData\Mozilla\updates\B4A3EEF2ED7784F0\updates\0\update.status
03:43:22 INFO - Console message: AUS:SVC readStatusFile - status: null, path: C:\ProgramData\Mozilla\updates\B4A3EEF2ED7784F0\updates\0\update.status
03:43:22 INFO - Console message: AUS:SVC Downloader:_selectPatch - found existing patch with state: null
03:43:22 INFO - Console message: AUS:SVC Downloader:downloadUpdate - url: http://example.com/browser/toolkit/mozapps/update/tests/browser/simple.mar, path: C:\ProgramData\Mozilla\updates\B4A3EEF2ED7784F0\updates\0\update.mar, interval: 0
03:43:22 INFO - Console message: AUS:SVC UpdateManager:refreshUpdateStatus - Notifying observers that the update was staged. topic: update-staged, status: downloading
03:43:22 INFO - Console message: AUS:SVC Downloader:onStartRequest - original URI spec: http://example.com/browser/toolkit/mozapps/update/tests/browser/simple.mar, final URI spec: http://example.com/browser/toolkit/mozapps/update/tests/browser/simple.mar
03:43:22 INFO - Console message: AUS:SVC Downloader:onProgress - progress: 1404/1404
03:43:22 INFO - Console message: AUS:SVC Downloader:onProgress - maxProgress: 1404 is not equal to expected patch size: 14041
03:43:22 INFO - Console message: AUS:SVC Downloader: cancel
03:43:22 INFO - Console message: AUS:SVC Downloader:onProgress - progress: 1404/1404
03:43:22 INFO - Console message: AUS:SVC Downloader:onProgress - maxProgress: 1404 is not equal to expected patch size: 14041
03:43:22 INFO - Console message: AUS:SVC Downloader: cancel
03:43:22 INFO - Console message: AUS:SVC Downloader:onStopRequest - original URI spec: http://example.com/browser/toolkit/mozapps/update/tests/browser/simple.mar, final URI spec: http://example.com/browser/toolkit/mozapps/update/tests/browser/simple.mar, status: 2147549183
03:43:22 INFO - Console message: AUS:SVC Downloader:onStopRequest - status: 2147549183, current fail: 0, max fail: 10, retryTimeout: 2000
03:43:22 INFO - Console message: AUS:SVC Downloader:onStopRequest - non-verification failure
03:43:22 INFO - Console message: AUS:SVC getStatusTextFromCode - transfer error: Failed (unknown reason), default code: 2152398849
03:43:22 INFO - Console message: AUS:SVC Downloader:onStopRequest - setting state to: download-failed
03:43:22 INFO - Console message: AUS:SVC Downloader:onStopRequest - notifying observers of error. topic: update-error, status: download-attempt-failed
overall I am not sure if we have updates on the normal server?
:rstrong, do you know if windows on arm64 has updates available?
Assignee | ||
Comment 3•6 years ago
|
||
We use in tree mar files and the test http server for tests. The problem is that they are compressed using xz --x86 which doesn't work with arm64 ( bug 1514124 ). I'll take care of this in the next few days.
Assignee | ||
Comment 5•6 years ago
|
||
This doesn't actually depend on the releng bug 1514124. It just shows the same underlying issue which had to be fixed for the mar files we advertise to actual clients so removing dependency.
Assignee | ||
Comment 6•6 years ago
|
||
Assignee | ||
Comment 7•6 years ago
|
||
Joel, if you have a chance please try out this patch on aarch64. Thanks!
Assignee | ||
Comment 8•6 years ago
|
||
Changed simple.mar from a complete mar to a partial mar to prevent it from accidentally removing application files via an application precomplete file.
Changed the name of the precomplete to update_precomplete in simple.mar so it won't accidentally replace an application's precomplete file.
Assignee | ||
Updated•6 years ago
|
Comment 9•6 years ago
|
||
this appears to fix everything:
https://treeherder.mozilla.org/#/jobs?repo=try&searchStr=aarch%2Cbc2&revision=91211f33951ccef418fb98586870b7358a286ac4
Assignee | ||
Comment 10•6 years ago
|
||
Joel, I triggered the xpcshell X8 tests (runs the app update xpcshell tests) and mochitest-chrome tests and as far as app update goes all is well. It appears that the system running the tests isn't setup 100% or the build system isn't authenticode signing the updater which is less likely to be the issue. A test was added for this since the app update tests were being incorrectly blamed for the build system.
00:29:49 INFO - TEST-START | toolkit/mozapps/update/tests/unit_service_updater/checkUpdaterSigSvc.js
00:29:49 WARNING - TEST-UNEXPECTED-FAIL | toolkit/mozapps/update/tests/unit_service_updater/checkUpdaterSigSvc.js | xpcshell return code: 0
Here are a few of the related bugs
Bug 1203990
Bug 1353889
Bug 1067756
Comment hidden (Intermittent Failures Robot) |
Assignee | ||
Updated•6 years ago
|
Comment 13•6 years ago
|
||
given the above bugs, should I be working on fixing the image we use for testing? I am unclear if there is more work I can do, or if we need to update the browser/installer/tests?
Assignee | ||
Comment 14•6 years ago
|
||
I filed bug 1526982 for the work that needs to be performed.
Comment 15•6 years ago
|
||
Comment 16•6 years ago
|
||
bugherder |
Comment 17•6 years ago
|
||
Confirmed to be fixed as bc7 was run with :rstrong's updated mar file.
New bc7: https://treeherder.mozilla.org/logviewer.html#/jobs?job_id=227817689&repo=try&lineNumber=4246
Old bc7: https://treeherder.mozilla.org/logviewer.html#/jobs?job_id=226675668&repo=try&lineNumber=5996
Comment 18•6 years ago
|
||
if we look at all updater tests, the xpcshell tests still fail.
Assignee | ||
Comment 19•6 years ago
|
||
(In reply to Joel Maher ( :jmaher ) (UTC-4) from comment #18)
if we look at all updater tests, the xpcshell tests still fail.
Can you provide a link? Those failures could very well be due to bug 1526982
Comment 20•6 years ago
|
||
I am sure they are related to bug 1526982:
https://treeherder.mozilla.org/#/jobs?repo=try&revision=91211f33951ccef418fb98586870b7358a286ac4&searchStr=xpcshell
Assignee | ||
Comment 21•6 years ago
|
||
It looks like the only failure is the one mentioned in comment #10 which is due to bug 1526982
Description
•