Closed Bug 1393789 Opened 7 years ago Closed 4 years ago

Repack updates for 56.0 RCs

Categories

(Release Engineering :: Release Requests, enhancement, P1)

enhancement

Tracking

(Not tracked)

RESOLVED WORKSFORME

People

(Reporter: catlee, Unassigned)

References

Details

Attachments

(3 files, 8 obsolete files)

The 56.0 release candidates will be served to two groups of users: - beta channel users. these users will be forced through the watershed of 56.0b3, and will only accept LZMA compressed MAR files signed with the new SHA384 format. - release channel users. these users will only accept BZ2 compressed MAR files signed with the old SHA1 format. As a result, we will need to generate both types of updates for the 56.0 release candidates. We're currently planning to let release automation run as normal and produce new-format MARs to serve to the beta population. We need to create process to repack these into the old format and publish them via S3, bouncer, balrog, etc.
Priority: -- → P1
downloading/repacking and resigning all 1900 updates from 56.0b9 took 2,950s on my test instance. I've parallelized the process 8-ways, and am caching the compressed bz2 contents of files so we don't need to recompress them for each mar file. The biggest bottleneck is signing. Just downloading / repacking all the mar files takes about 10 minutes.
Attached file repack_mars.py
Need to figure out a way to update checksums too.
Attached file Firefox-56.0b11-build1-bz2.json (obsolete) —
New release blob for 56.0b11 w/ URLs changed for bz2 files.
Attached file Firefox-56.0b11-build1-bz2.json (obsolete) —
stripped out partials that won't work
Attachment #8907720 - Attachment is obsolete: true
I repacked the 56.0b11 complete updates only, and uploaded them to the mozilla-releng-test bucket. There's no point repacking the complete updates 56.0b11, since none of them will apply correctly using the beta's updater. oremj: would you be able to copy the following path from mozilla-releng-test bucket into the product delivery bucket: /pub/firefox/candidates/56.0b11-candidates/build1/update-bz2 no keys should be overwritten.
Flags: needinfo?(oremj)
Which account does mozilla-releng-test belong to? I don't think I have access.
Flags: needinfo?(oremj) → needinfo?(catlee)
It's in the releng account. I've made the bucket public, so you should be able to read objects from it.
Flags: needinfo?(catlee)
Status: NEW → RESOLVED
Closed: 7 years ago
Resolution: --- → FIXED
Status: RESOLVED → REOPENED
Resolution: FIXED → ---
Attached file Firefox-56.0b11-build1-bz2.json (obsolete) —
fixed blob name, and updated sizes/hashes
Attachment #8907726 - Attachment is obsolete: true
Attached file transform_balrog_blob.py (obsolete) —
script for transforming balrog blobs
Attached file transform_balrog_blob.py (obsolete) —
updated for 56.0-build1
Attachment #8908800 - Attachment is obsolete: true
Attachment #8909603 - Flags: review?(nthomas)
Comment on attachment 8909603 [details] Firefox-56.0-build1-bz2.json Looks good. I've added "actions": "showURL", "openURL": "https://www.mozilla.org/%LOCALE%/firefox/56.0/whatsnew/?oldversion=%OLD_VERSION%", and renamed it to Firefox-56.0-build1-bz2-WNP, to satisfy bug 1397339. Uploaded to Barlog, and made rule 628 point to it release-localtest, and 627 for release-cdntest.
Attachment #8909603 - Flags: review?(nthomas) → review+
Attachment #8908799 - Attachment is obsolete: true
Attached file transform_balrog_blob.py (obsolete) —
Attachment #8909559 - Attachment is obsolete: true
Attached file transform_balrog_blob.py (obsolete) —
Attachment #8910365 - Attachment is obsolete: true
Attached file transform_balrog_blob.py (obsolete) —
This latest version grabs the sha512sums from the beetmover artifacts. It validates those against the signed SHA512SUMs in the root of the release directory. It should run much faster, and not require downloading all the mar files!
Now strips away 56.0b12 partials from locale and fileUrls data, which isn't strictly necessary but avoids serving bogus updates if we mix up the blobs and channels. Optionally adds what's new page with --wnp arg. Doc update - https://github.com/mozilla/releasewarrior/commit/da6b8005090d25b59baed8af63f14bf0a80de52b
Attachment #8910377 - Attachment is obsolete: true
Attachment #8910557 - Attachment is obsolete: true
Bulk change of QA Contact to :jlund, per https://bugzilla.mozilla.org/show_bug.cgi?id=1428483
QA Contact: catlee → jlund

I suspect that whatever we wanted to do here is done :)

Status: REOPENED → RESOLVED
Closed: 7 years ago4 years ago
Resolution: --- → WORKSFORME
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: