Skip to content

Instantly share code, notes, and snippets.

@tublitzed
Created April 28, 2020 13:54
Show Gist options
  • Save tublitzed/1cfe9e8ccd48b1058bd64d91853e3ac4 to your computer and use it in GitHub Desktop.
Save tublitzed/1cfe9e8ccd48b1058bd64d91853e3ac4 to your computer and use it in GitHub Desktop.
NightlyDebug logs when forcing a failed update
AUS:SVC Creating UpdateService
AUS:SVC Logging current UpdateService status:
AUS:SVC UpdateService.canCheckForUpdates - able to check for updates
AUS:SVC getCanApplyUpdates - testing write access /Users/tublitzed/Library/Caches/Mozilla/updates/Users/tublitzed/HG/mozilla-central/obj-ff-dbg/dist/NightlyDebug/update.test
AUS:SVC getCanApplyUpdates - bypass the write since elevation can be used on Mac OS X
AUS:SVC getElevationRequired - recursively testing write access on /Users/tublitzed/HG/mozilla-central/obj-ff-dbg/dist/NightlyDebug.app
AUS:SVC getElevationRequired - able to write to application bundle, elevation not required
AUS:SVC gCanStageUpdatesSession - testing write access /Users/tublitzed/Library/Caches/Mozilla/updates/Users/tublitzed/HG/mozilla-central/obj-ff-dbg/dist/NightlyDebug/update.test
AUS:SVC gCanStageUpdatesSession - able to stage updates
AUS:SVC getElevationRequired - recursively testing write access on /Users/tublitzed/HG/mozilla-central/obj-ff-dbg/dist/NightlyDebug.app
AUS:SVC getElevationRequired - able to write to application bundle, elevation not required
AUS:SVC Elevation required: false
AUS:SVC Update being handled by other instance: false
AUS:SVC Downloading: false
AUS:SVC End of UpdateService status
AUS:SVC getCanApplyUpdates - testing write access /Users/tublitzed/Library/Caches/Mozilla/updates/Users/tublitzed/HG/mozilla-central/obj-ff-dbg/dist/NightlyDebug/update.test
AUS:SVC getCanApplyUpdates - bypass the write since elevation can be used on Mac OS X
AUS:SVC Checker:getUpdateURL - update URL: https://aus5.mozilla.org/update/6/Firefox/77.0a1/20200420153711/Darwin_x86_64-gcc3/en-US/default/Darwin%2019.4.0/ISET:SSE4_2,MEM:32768/default/default/update.xml
AUS:SVC UpdateService.canCheckForUpdates - able to check for updates
AUS:SVC Checker: checkForUpdates, force: false
AUS:SVC Creating UpdateService
AUS:SVC Logging current UpdateService status:
AUS:SVC UpdateService.canCheckForUpdates - able to check for updates
AUS:SVC getCanApplyUpdates - testing write access /Users/tublitzed/Library/Caches/Mozilla/updates/Users/tublitzed/HG/mozilla-central/obj-ff-dbg/dist/NightlyDebug/update.test
AUS:SVC getCanApplyUpdates - bypass the write since elevation can be used on Mac OS X
AUS:SVC getElevationRequired - recursively testing write access on /Users/tublitzed/HG/mozilla-central/obj-ff-dbg/dist/NightlyDebug.app
AUS:SVC getElevationRequired - able to write to application bundle, elevation not required
AUS:SVC Elevation required: false
AUS:SVC Update being handled by other instance: false
AUS:SVC Downloading: false
AUS:SVC End of UpdateService status
AUS:SVC UpdateService.canCheckForUpdates - able to check for updates
AUS:SVC Checker:getUpdateURL - update URL: https://aus5.mozilla.org/update/6/Firefox/77.0a1/20200420153711/Darwin_x86_64-gcc3/en-US/default/Darwin%2019.4.0/ISET:SSE4_2,MEM:32768/default/default/update.xml
AUS:SVC OVERWRITING URL TO FORCE UPDATE TO BE RETURNED- original - https://aus5.mozilla.org/update/6/Firefox/77.0a1/20200420153711/Darwin_x86_64-gcc3/en-US/default/Darwin%2019.4.0/ISET:SSE4_2,MEM:32768/default/default/update.xml
AUS:SVC NEW URL: https://aus5.mozilla.org/update/6/Firefox/77.0a1/20200425094923/Darwin_x86_64-gcc3/en-US/nightly/Darwin%2019.4.0/ISET:SSE4_2,MEM:32768/default/default/update.xml?force=1
AUS:SVC Checker:checkForUpdates - sending request to: https://aus5.mozilla.org/update/6/Firefox/77.0a1/20200425094923/Darwin_x86_64-gcc3/en-US/nightly/Darwin%2019.4.0/ISET:SSE4_2,MEM:32768/default/default/update.xml?force=1
AUS:SVC UpdateManager:_loadXMLFileIntoArray - XML file does not exist. path: /Users/tublitzed/Library/Caches/Mozilla/updates/Users/tublitzed/HG/mozilla-central/obj-ff-dbg/dist/NightlyDebug/active-update.xml
AUS:SVC Checker:onLoad - request completed downloading document
AUS:SVC Checker:onLoad - Getting sslStatus failed.
AUS:SVC Checker:onLoad - number of updates available: 1
AUS:SVC getElevationRequired - recursively testing write access on /Users/tublitzed/HG/mozilla-central/obj-ff-dbg/dist/NightlyDebug.app
AUS:SVC getElevationRequired - able to write to application bundle, elevation not required
AUS:SVC getCanApplyUpdates - testing write access /Users/tublitzed/Library/Caches/Mozilla/updates/Users/tublitzed/HG/mozilla-central/obj-ff-dbg/dist/NightlyDebug/update.test
AUS:SVC getCanApplyUpdates - bypass the write since elevation can be used on Mac OS X
AUS:SVC UpdateService:_selectAndInstallUpdate - download the update
AUS:SVC Creating Downloader
AUS:SVC UpdateService:_downloadUpdate
AUS:SVC readStringFromFile - file doesn't exist: /Users/tublitzed/Library/Caches/Mozilla/updates/Users/tublitzed/HG/mozilla-central/obj-ff-dbg/dist/NightlyDebug/updates/0/update.status
AUS:SVC readStatusFile - status: null, path: /Users/tublitzed/Library/Caches/Mozilla/updates/Users/tublitzed/HG/mozilla-central/obj-ff-dbg/dist/NightlyDebug/updates/0/update.status
AUS:SVC Original patch from balrog:
AUS:SVC {"_properties":{"hashFunction":{"data":"sha512","present":true},"hashValue":{"data":"1e4d3adf026b8a60ca4a2586bea483d825af72c09d474f4f6c8ecfce797d728f008d545a9ad78dd8a822a3d5cb0ce03a9913c110cdae9c9afed753d9d66a7888","present":true}},"errorCode":0,"finalURL":null,"state":"null","type":"complete","URL":"https://archive.mozilla.org/pub/firefox/nightly/2020/04/2020-04-28-10-01-41-mozilla-central/firefox-77.0a1.en-US.mac.complete.mar","size":"66031415","selected":true}
AUS:SVC NOW, Overwriting update url from balrog. Original url: https://archive.mozilla.org/pub/firefox/nightly/2020/04/2020-04-28-10-01-41-mozilla-central/firefox-77.0a1.en-US.mac.complete.mar
AUS:SVC NOW, Overwriting update url from balrog. New url: https://fake.update
AUS:SVC getCanUseBits - Not using BITS because this is not Windows
AUS:SVC Downloader:downloadUpdate - Starting nsIIncrementalDownload with url: https://fake.update, path: /Users/tublitzed/Library/Caches/Mozilla/updates/Users/tublitzed/HG/mozilla-central/obj-ff-dbg/dist/NightlyDebug/updates/0/update.mar, interval: 0
AUS:SVC Downloader:onStartRequest - original URI spec: https://fake.update/, final URI spec: https://fake.update/
AUS:SVC Downloader:onStopRequest - downloader: nsIIncrementalDownload, original URI spec: https://fake.update/, final URI spec: https://fake.update/, status: 2152398878
AUS:SVC Downloader:onStopRequest - status: 2152398878, current fail: 0, max fail: 10, retryTimeout: 2000
AUS:SVC Downloader:onStopRequest - non-verification failure
AUS:SVC getStatusTextFromCode - transfer error: Update server not found (check your internet connection), code: 2152398878
AUS:SVC Downloader:onStopRequest - setting state to: download-failed
AUS:SVC Downloader:onStopRequest - notifying observers of error. topic: update-error, status: download-attempts-exceeded, downloadAttempts: 4 maxAttempts: 2
AUS:SVC UpdateManager:_writeUpdatesToXMLFile - no updates to write. removing file: /Users/tublitzed/Library/Caches/Mozilla/updates/Users/tublitzed/HG/mozilla-central/obj-ff-dbg/dist/NightlyDebug/active-update.xml
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment