Closed Bug 1677550 Opened 4 years ago Closed 4 years ago

Native ARM64 Mac Nightly Fails to Update

Categories

(Toolkit :: Application Update, defect, P1)

ARM64
macOS
defect

Tracking

()

RESOLVED FIXED
85 Branch
Tracking Status
firefox-esr78 --- unaffected
firefox82 --- unaffected
firefox83 --- unaffected
firefox84 blocking fixed
firefox85 + fixed

People

(Reporter: haik, Assigned: bhearsum)

References

(Blocks 1 open bug)

Details

Attachments

(3 files)

With the latest Mac ARM64 Nightly, updates are failing. Here's the app.update.log=true console output.

    AUS:SVC Downloader:onProgress - progress: 103359729/109583037 
    AUS:SVC Downloader:onProgress - progress: 104965361/109583037 
    AUS:SVC Downloader:onProgress - progress: 106570993/109583037 
    AUS:SVC Downloader:onProgress - progress: 108143857/109583037 
    AUS:SVC Downloader:onProgress - progress: 109583037/109583037 
    AUS:SVC Downloader:onStopRequest - downloader: nsIIncrementalDownload, original URI spec: https://archive.mozilla.org/pub/firefox/nightly/2020/11/2020-11-16-09-43-41-mozilla-central/firefox-84.0a1.en-US.mac.complete.mar, final URI spec: https://archive.mozilla.org/pub/firefox/nightly/2020/11/2020-11-16-09-43-41-mozilla-central/firefox-84.0a1.en-US.mac.complete.mar, status: 0 
    AUS:SVC Downloader:onStopRequest - status: 0, current fail: 0, max fail: 10, retryTimeout: 2000 
    AUS:SVC Downloader:_verifyDownload called 
    AUS:SVC Downloader:_verifyDownload downloaded size == expected size. 
    AUS:SVC shouldUseService - returning false 
    AUS:SVC getElevationRequired - recursively testing write access on /Applications/Firefox Nightly.app 
    AUS:SVC getElevationRequired - able to write to application bundle, elevation not required 
    AUS:SVC Downloader:onStopRequest - setting state to: pending 
    AUS:SVC Downloader:onStopRequest - attempting to stage update: Nightly 84.0a1 
    AUS:SVC readStatusFile - status: failed: 39, path: /Users/haftandilian/Library/Caches/Mozilla/updates/Applications/Firefox Nightly/updates/0/update.status 
    AUS:SVC readStringFromFile - file doesn't exist: /Users/haftandilian/Library/Caches/Mozilla/updates/Applications/Firefox Nightly/updates/0/bt.result 
    AUS:SVC readBinaryTransparencyResult - result: null, path: /Users/haftandilian/Library/Caches/Mozilla/updates/Applications/Firefox Nightly/updates/0/bt.result 
    AUS:SVC handleFallbackToCompleteUpdate - install of complete or only one patch offered failed. Notifying observers. topic: update-error, status: unknown, update.patchCount: 2, oldType: complete 
    AUS:SVC promiseLangPacksUpdated - waiting for language pack updates to stage. 
    AUS:SVC UpdateManager:refreshUpdateStatus - Notifying observers that the update was staged. topic: update-staged, status: failed 
    AUS:SVC UpdateManager:_writeUpdatesToXMLFile - no updates to write. removing file: /Users/haftandilian/Library/Caches/Mozilla/updates/Applications/Firefox Nightly/active-update.xml

This patch adjusts the BCJ options for macOS builds to avoid using
optimizations that only work on x86/x86_64.

Assignee: nobody → bhearsum
Status: NEW → ASSIGNED

The posted patch should fix this. Once the next set of nightlies are available (which we're expediting), we'll know for sure.

Big thanks to nalexander and mhowell for figuring out what the heck was going on here.

Pushed by ncsoregi@mozilla.com:
https://hg.mozilla.org/mozilla-central/rev/67c0ee5d0b85
Native ARM64 Mac Nightly Fails to Update. r=aki a=Aryx

Comment on attachment 9188105 [details]
Bug 1677550: Native ARM64 Mac Nightly Fails to Update

Approved for 84.0b1.

Attachment #9188105 - Flags: approval-mozilla-beta+
Pushed by bhearsum@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/2773617ae073
Native ARM64 Mac Nightly Fails to Update r=aki
Attached file Update logs

This is the contents of ~/Library/Caches/Mozilla/updates/Applications/Firefox Nightly/updates/ after a failed update without the fix.

Pushed by nerli@mozilla.com:
https://hg.mozilla.org/mozilla-central/rev/6b97acd45602
Native ARM64 Mac Nightly Fails to Update r=aki a=Aryx
Pushed by bhearsum@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/7671ffc0ee20
Native ARM64 Mac Nightly Fails to Update r=aki
Status: ASSIGNED → RESOLVED
Closed: 4 years ago
Resolution: --- → FIXED
Target Milestone: --- → 85 Branch
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: