Closed Bug 1167329 Opened 9 years ago Closed 9 years ago

Updates for Nightly builds on OS X are broken due to wrong patch file size

Categories

(Release Engineering :: General, defect)

Unspecified
macOS
defect
Not set
normal

Tracking

(Not tracked)

RESOLVED DUPLICATE of bug 1157233

People

(Reporter: whimboo, Unassigned)

Details

Todays Nightly update is broken so that you cannot update to the new version but are forced to download the Nightly manually. I had a look into the update log and as it looks like there is a wrong file size mentioned in the update snippet.


AUS:SVC Checker: checkForUpdates, force: true
AUS:SVC Checker:getUpdateURL - update URL: https://aus4.mozilla.org/update/3/Firefox/41.0a1/20150520030205/Darwin_x86_64-gcc3-u-i386-x86_64/en-US/nightly/Darwin%2014.3.0/default/default/update.xml?force=1
AUS:SVC Checker:checkForUpdates - sending request to: https://aus4.mozilla.org/update/3/Firefox/41.0a1/20150520030205/Darwin_x86_64-gcc3-u-i386-x86_64/en-US/nightly/Darwin%2014.3.0/default/default/update.xml?force=1
AUS:SVC Checker:onLoad - request completed downloading document
AUS:SVC Checker:getUpdateURL - update URL: https://aus4.mozilla.org/update/3/Firefox/41.0a1/20150520030205/Darwin_x86_64-gcc3-u-i386-x86_64/en-US/nightly/Darwin%2014.3.0/default/default/update.xml?force=1
AUS:SVC Checker:onLoad - number of updates available: 1
AUS:SVC Creating Downloader
AUS:SVC UpdateService:_downloadUpdate
AUS:SVC readStringFromFile - file doesn't exist: /Users/henrik/Library/Caches/Mozilla/updates/Applications/Firefox/Nightly/updates/0/update.status
AUS:SVC readStatusFile - status: null, path: /Users/henrik/Library/Caches/Mozilla/updates/Applications/Firefox/Nightly/updates/0/update.status
AUS:SVC Downloader:downloadUpdate - downloading from http://download.cdn.mozilla.net/pub/mozilla.org/firefox/nightly/2015/05/2015-05-21-03-02-04-mozilla-central/firefox-41.0a1.en-US.mac.complete.mar to /Users/henrik/Library/Caches/Mozilla/updates/Applications/Firefox/Nightly/updates/0/update.mar
AUS:SVC Downloader:onStartRequest - original URI spec: http://download.cdn.mozilla.net/pub/mozilla.org/firefox/nightly/2015/05/2015-05-21-03-02-04-mozilla-central/firefox-41.0a1.en-US.mac.complete.mar, final URI spec: http://download.cdn.mozilla.net/pub/mozilla.org/firefox/nightly/2015/05/2015-05-21-03-02-04-mozilla-central/firefox-41.0a1.en-US.mac.complete.mar
AUS:SVC Downloader:onProgress - progress: 43122/98531633
AUS:SVC Downloader:onProgress - maxProgress: 98531633 is not equal to expected patch size: 98533293
AUS:SVC Downloader: cancel
AUS:SVC Downloader:onProgress - progress: 0/98531633
AUS:SVC Downloader:onProgress - maxProgress: 98531633 is not equal to expected patch size: 98533293
AUS:SVC Downloader: cancel
AUS:SVC Downloader:onStopRequest - original URI spec: http://download.cdn.mozilla.net/pub/mozilla.org/firefox/nightly/2015/05/2015-05-21-03-02-04-mozilla-central/firefox-41.0a1.en-US.mac.complete.mar, final URI spec: http://download.cdn.mozilla.net/pub/mozilla.org/firefox/nightly/2015/05/2015-05-21-03-02-04-mozilla-central/firefox-41.0a1.en-US.mac.complete.mar, status: 2147549183
AUS:SVC Downloader:onStopRequest - status: 2147549183, current fail: 0, max fail: 10, retryTimeout: 2000
AUS:SVC Downloader:onStopRequest - non-verification failure
AUS:SVC getStatusTextFromCode - transfer error: Failed (unknown reason), default code: 2152398849
AUS:SVC Downloader:onStopRequest - setting state to: download-failed
AUS:SVC Downloader:onStopRequest - all update patch downloads failed


Snippet: 

<patch type="complete" URL="http://download.cdn.mozilla.net/pub/mozilla.org/firefox/nightly/2015/05/2015-05-21-03-02-04-mozilla-central/firefox-41.0a1.en-US.mac.complete.mar" hashFunction="sha512" hashValue="d29b891117ee4cddcfb58af056f7defd2903d22bff4a231dcb700ce189bc28025234643c9f3a9d4dbace299f59452624617f584441003bbfd961006f3d32cd59" size="98533293"/>

FTP:

curl -I http://download.cdn.mozilla.net/pub/mozilla.org/firefox/nightly/2015/05/2015-05-21-03-02-04-mozilla-central/firefox-41.0a1.en-US.mac.complete.mar
HTTP/1.1 200 OK
Accept-Ranges: bytes
Access-Control-Allow-Origin: *
Cache-Control: max-age=71056
Content-Type: application/octet-stream
Date: Thu, 21 May 2015 19:18:07 GMT
Etag: "4b83709-5df7931-516984edd3620"
Expires: Fri, 22 May 2015 15:02:23 GMT
Last-Modified: Thu, 21 May 2015 14:24:57 GMT
Server: ECAcc (frf/8720)
X-Backend-Server: ftp4.dmz.scl3.mozilla.com
X-Cache: HIT
X-Cache-Info: cached
Content-Length: 98531633
There was a nightly respin yesterday which apparently can cause busted partial MARs. It self-heals the next day, and we're not going to spend time making this better soon.
Status: NEW → RESOLVED
Closed: 9 years ago
Resolution: --- → WONTFIX
Resolution: WONTFIX → DUPLICATE
Component: General Automation → General
You need to log in before you can comment on or make changes to this bug.