Closed
Bug 1431789
Opened 7 years ago
Closed 7 years ago
use schema 9 blobs when submitting release blobs
Categories
(Release Engineering :: Release Automation, enhancement)
Release Engineering
Release Automation
Tracking
(Not tracked)
RESOLVED
FIXED
People
(Reporter: bhearsum, Assigned: bhearsum)
References
Details
Attachments
(4 files, 2 obsolete files)
42 bytes,
text/x-github-pull-request
|
Details | Review | |
42 bytes,
text/x-github-pull-request
|
nthomas
:
review+
|
Details | Review |
8.07 KB,
patch
|
nthomas
:
review+
bhearsum
:
checked-in+
|
Details | Diff | Splinter Review |
568 bytes,
patch
|
mozilla
:
review+
bhearsum
:
checked-in+
|
Details | Diff | Splinter Review |
bug 1400016 is adding a new release blob schema that supports delegating What's New Page decisions into it (instead of requiring multiple releases and rules to handle). We should upgrade release blobs to schema 9 after it lands.
We're currently submitting schema 4, but not much has changed that will make the upgrade difficult. We'll have to stop submitting platformVersion, but I think that's it.
This bug may or may not automate the creation of the what's new page parts of the blob -- that often requires late (post go to build) coordination with RelMan, and may not be suitable for automation at this time. Even if we don't do that automatically, upgrading initial submission to schema 9 makes it much easier for a human to come along and do later. Upgrading to schema 9 also allows us to add binary transparency attributes when we're ready to do so.
Comment 1•7 years ago
|
||
Assignee | ||
Comment 2•7 years ago
|
||
Attachment #8958587 -
Flags: review?(nthomas)
Assignee | ||
Comment 3•7 years ago
|
||
These new classes let us submit V9 blobs to Balrog. In addition to moving detailsURL to the updateLine section, we also need to stop submitting platformVersion from both the top level, and the locale level.
I've done some local tests with this, but I intend to do additional verification with a staging release once the balrogworker and balrog patches for it are in place.
Attachment #8958588 -
Flags: review?(nthomas)
Updated•7 years ago
|
Attachment #8958587 -
Flags: review?(nthomas) → review+
Comment 4•7 years ago
|
||
Comment on attachment 8958588 [details] [diff] [review]
add ReleaseCreatorV9 & ReleaseSubmitterV9
I was wondering why ReleaseCreatorV9.generate_data() accepts an openURL arg but doesn't do anything with it, unlike ReleaseCreatorBase. Suspect I'm missing some part of the bigger picture. Otherwise looks fine to me.
Assignee | ||
Comment 5•7 years ago
|
||
(In reply to Nick Thomas [:nthomas] (UTC+13) from comment #4)
> Comment on attachment 8958588 [details] [diff] [review]
> add ReleaseCreatorV9 & ReleaseSubmitterV9
>
> I was wondering why ReleaseCreatorV9.generate_data() accepts an openURL arg
> but doesn't do anything with it, unlike ReleaseCreatorBase. Suspect I'm
> missing some part of the bigger picture. Otherwise looks fine to me.
Ah, I removed openURL from the body of the method (we don't support it at the top level anymore) but didn't remove it from the constructor. Since we never use automated WNP set-up, I should finish ripping that out from V9 + callers.
Comment 6•7 years ago
|
||
Commit pushed to master at https://github.com/mozilla/balrog
https://github.com/mozilla/balrog/commit/46a34c5bc36582e9756ba1685e14375d68bacd2c
bug 1431789: fix bug in validation when updateLine is unset in schema 9 blobs (#468). r=nthomas
Comment 7•7 years ago
|
||
Comment on attachment 8958588 [details] [diff] [review]
add ReleaseCreatorV9 & ReleaseSubmitterV9
(In reply to Ben Hearsum (:bhearsum) from comment #5)
> Ah, I removed openURL from the body of the method (we don't support it at
> the top level anymore) but didn't remove it from the constructor. Since we
> never use automated WNP set-up, I should finish ripping that out from V9 +
> callers.
OK, I'll r+.
Attachment #8958588 -
Flags: review?(nthomas) → review+
Assignee | ||
Comment 8•7 years ago
|
||
Nick - it sounds like you wanted to carry forward the r+, feel free to have another look if that's not the case.
Attachment #8958588 -
Attachment is obsolete: true
Assignee | ||
Comment 9•7 years ago
|
||
I tested this in staging by deleting a recent staging releases' release blob, and rerunning the tasks after aki had deployed the tools+balrogworker patch to the dev workers. As far as I can tell, everything worked fine.
The graph with reruns: https://tools.taskcluster.net/groups/U3BbFLUDRBaUq8vYS5fLCw
The new release blob: https://aus4.stage.mozaws.net/api/v1/releases/Firefox-59.0b17-build12
An update URL receiving the blob: https://aus4.stage.mozaws.net/update/3/Firefox/57.0/20171202185629/Darwin_x86_64-gcc3-u-i386-x86_64/en-US/beta/default/default/default/update.xml
I'll hold off until next week to land this, to stay out of the way of releases.
Comment 10•7 years ago
|
||
Comment on attachment 8959269 [details] [diff] [review]
finishing ripping out openURL from V9 classes
lgtm
Attachment #8959269 -
Flags: review+
Assignee | ||
Comment 11•7 years ago
|
||
Comment on attachment 8959269 [details] [diff] [review]
finishing ripping out openURL from V9 classes
https://hg.mozilla.org/build/tools/rev/ea7ad618089fb84790831878aeedc63985c68ce1
Attachment #8959269 -
Flags: checked-in+
Assignee | ||
Comment 12•7 years ago
|
||
I believe I also need to manually update the tools checkout on each machine.
Attachment #8960191 -
Flags: review?(aki)
Assignee | ||
Comment 13•7 years ago
|
||
Attachment #8960191 -
Attachment is obsolete: true
Attachment #8960191 -
Flags: review?(aki)
Attachment #8960230 -
Flags: review?(aki)
Updated•7 years ago
|
Attachment #8960230 -
Flags: review?(aki) → review+
Assignee | ||
Updated•7 years ago
|
Attachment #8960230 -
Flags: checked-in+
Comment 14•7 years ago
|
||
All balrog tasks for Firefox 60.0b5 are failing with errors like
2018-03-19 22:54:08,750 - ERROR - Caught HTTPError: {
"detail": "Release name: None not found",
"status": 404,
"title": "Not Found",
"type": "about:blank"
}
requests.exceptions.HTTPError: 502 Server Error: Bad Gateway for url: https://aus4-admin.mozilla.org/api/releases/Firefox-60.0b5-build1/builds/WINNT_x86-msvc/en-US
Comment 15•7 years ago
|
||
Pushed a backout for release bustage: https://hg.mozilla.org/build/puppet/rev/aeccffd032ba3bc65fe599549e9baea46a8b9e19
16:12 <•nthomas> yeah, it's a KeyError at https://github.com/mozilla/balrog/commit/46a34c5bc36582e9756ba1685e14375d68bacd2c#diff-1a7ea9e25a2f1a8c15c06fd95243142aR1020
Looks like that block needs to be in an `if` statement, otherwise we look for None["for"] a few lines down.
Comment 16•7 years ago
|
||
Deploying Balrog 2.48 with the changes which add .get()s would also work (46a34c5 & 9087a3c).
Comment 17•7 years ago
|
||
Oops, I meant that deploying Balrog 2.48 is needed before switching to v9 schema.
Assignee | ||
Comment 18•7 years ago
|
||
The Balrog changes are now in production - I'll look into rolling out the balrogworker changes again tomorrow.
Assignee | ||
Updated•7 years ago
|
Status: NEW → RESOLVED
Closed: 7 years ago
Resolution: --- → FIXED
You need to log in
before you can comment on or make changes to this bug.
Description
•