Closed
Bug 1491907
Opened 6 years ago
Closed 6 years ago
release-update-verify-config-thunderbird fails in gather-info
Categories
(Thunderbird :: Build Config, defect)
Thunderbird
Build Config
Tracking
(thunderbird_esr60 affected)
RESOLVED
FIXED
Thunderbird 64.0
Tracking | Status | |
---|---|---|
thunderbird_esr60 | --- | affected |
People
(Reporter: rjl, Assigned: rjl)
References
Details
Attachments
(8 files, 6 obsolete files)
39.03 KB,
text/plain
|
Details | |
7.35 KB,
text/plain
|
Details | |
46 bytes,
text/x-phabricator-request
|
bhearsum
:
review+
|
Details | Review |
46 bytes,
text/x-phabricator-request
|
dustin
:
review+
|
Details | Review |
46 bytes,
text/x-phabricator-request
|
jorgk-bmo
:
review+
jorgk-bmo
:
approval-comm-beta+
jorgk-bmo
:
approval-comm-esr60+
|
Details | Review |
937 bytes,
patch
|
Details | Diff | Splinter Review | |
3.86 KB,
patch
|
Details | Diff | Splinter Review | |
5.19 KB,
patch
|
Details | Diff | Splinter Review |
As mentioned in https://bugzilla.mozilla.org/show_bug.cgi?id=1481095#c7, Thunderbird builds releases off comm-esr.* rather than comm-release. This is causing the 404 error seen below. [task 2018-09-12T09:30:17.477Z] 09:30:17 INFO - retry: Calling _urlopen with args: (), kwargs: {'url': 'https://hg.mozilla.org/releases/comm-release/raw-file/THUNDERBIRD_60_0_RELEASE/mail/locales/shipped-locales'}, attempt #5 [task 2018-09-12T09:30:17.981Z] 09:30:17 INFO - retry: attempt #5 caught HTTPError exception: HTTP Error 404: Not Found [task 2018-09-12T09:30:17.982Z] 09:30:17 INFO - [mozharness: 2018-09-12 09:30:17.982054Z] Finished gather-info step (failed) [task 2018-09-12T09:30:17.982Z] 09:30:17 FATAL - Uncaught exception: Traceback (most recent call last): [task 2018-09-12T09:30:17.982Z] 09:30:17 FATAL - File "/builds/worker/checkouts/gecko/testing/mozharness/mozharness/base/script.py", line 2076, in run [task 2018-09-12T09:30:17.983Z] 09:30:17 FATAL - self.run_action(action) [task 2018-09-12T09:30:17.983Z] 09:30:17 FATAL - File "/builds/worker/checkouts/gecko/testing/mozharness/mozharness/base/script.py", line 2015, in run_action [task 2018-09-12T09:30:17.983Z] 09:30:17 FATAL - self._possibly_run_method(method_name, error_if_missing=True) [task 2018-09-12T09:30:17.983Z] 09:30:17 FATAL - File "/builds/worker/checkouts/gecko/testing/mozharness/mozharness/base/script.py", line 1955, in _possibly_run_method [task 2018-09-12T09:30:17.983Z] 09:30:17 FATAL - return getattr(self, method_name)() [task 2018-09-12T09:30:17.983Z] 09:30:17 FATAL - File "testing/mozharness/scripts/release/update-verify-config-creator.py", line 315, in gather_info [task 2018-09-12T09:30:17.983Z] 09:30:17 FATAL - self._get_update_paths() [task 2018-09-12T09:30:17.983Z] 09:30:17 FATAL - File "testing/mozharness/scripts/release/update-verify-config-creator.py", line 292, in _get_update_paths [task 2018-09-12T09:30:17.983Z] 09:30:17 FATAL - shipped_locales = ret.read().strip() [task 2018-09-12T09:30:17.984Z] 09:30:17 FATAL - AttributeError: 'NoneType' object has no attribute 'read' [task 2018-09-12T09:30:17.984Z] 09:30:17 FATAL - Running post_fatal callback... [task 2018-09-12T09:30:17.984Z] 09:30:17 FATAL - Exiting -1
Assignee | ||
Comment 1•6 years ago
|
||
Patch so that taskgraph/decision.py can get the correct version of Thunderbird from its copies of *version.txt.
Assignee: nobody → rob
Assignee | ||
Comment 2•6 years ago
|
||
Updates to update-verify-config-creator.py to set the correct URL for Thunderbird releases when getting information from HG repos.
Assignee | ||
Comment 3•6 years ago
|
||
This is a work in progress, saving here for anyone interested. Tom has suggested a couple of changes that I will be making. Note that these patches are against mozilla-esr60. I'll port to mozilla-central when they're complete.
Assignee | ||
Comment 4•6 years ago
|
||
Thunderbird releases come from the comm-esr.* repositories rather than the comm-release repository. This adds a special case for Thunderbird and sets the branch URL correctly. This is an updated version of the patch that uses branch_prefix == "comm" to identify a thunderbird product what releases from a comm-esr.* repository. Additionally, I updated the sorting of the release information that gets pulled from product-details.mozilla.org. It now uses MozillaVersion in order to get the sorting in actual reverse order.
Assignee | ||
Updated•6 years ago
|
Attachment #9010477 -
Attachment is obsolete: true
Assignee | ||
Comment 5•6 years ago
|
||
Output from running update-verify-config-creator.py locally.
Assignee | ||
Updated•6 years ago
|
Attachment #9010828 -
Attachment mime type: text/x-log → text/plain
Assignee | ||
Comment 6•6 years ago
|
||
Generated update-verify.cfg after changes.
Assignee | ||
Comment 7•6 years ago
|
||
The UVC task needs correct version information supplied to it from the Taskcluster decision task. That information is exported here for decision.py to pick up.
Assignee | ||
Comment 8•6 years ago
|
||
This brings the UVC task configuration in line with what's expected for corresponding M-C changes on this bug. Depends on D6505
Assignee | ||
Comment 9•6 years ago
|
||
Thunderbird releases come from the comm-esr.* repositories rather than the comm-release repository. This adds a special case for Thunderbird and sets the branch URL correctly. This initial patch is based on the "product" key, the next update will look at branch_prefix.
Assignee | ||
Comment 10•6 years ago
|
||
The release-update-verify-config task requires that the versions passed to it match up with what's been released. The version of Thunderbird does not necessarily match the Gecko version it's based on. Depends on D6509
Updated•6 years ago
|
Attachment #9011001 -
Attachment description: Bug 1491907 - WIP: Set correct branch URL for Thunderbird based on product-details r?bhearsum → Bug 1491907 - Set correct branch URL for Thunderbird based on product-details r?bhearsum
Comment 11•6 years ago
|
||
Comment on attachment 9011001 [details] Bug 1491907 - Set correct branch URL for Thunderbird based on product-details r?bhearsum Ben Hearsum (:bhearsum) has approved the revision.
Attachment #9011001 -
Flags: review+
Updated•6 years ago
|
Attachment #9010996 -
Attachment is obsolete: true
Updated•6 years ago
|
Attachment #9010997 -
Attachment is obsolete: true
Assignee | ||
Comment 12•6 years ago
|
||
This is used by the decision task to locate the correct version.txt and app_version.txt files for products other than Firefox. Needs the corresponding change to land in M-C before it can be applied. No breakage should occur if M-C gets updated before C-C as this is listed as an Optional field in config.py.
Assignee | ||
Updated•6 years ago
|
Attachment #9010476 -
Attachment is obsolete: true
Assignee | ||
Updated•6 years ago
|
Attachment #9010827 -
Attachment is obsolete: true
Assignee | ||
Comment 13•6 years ago
|
||
A few minor changes have been requested to the latest patch in Phabricator. I'll get those sorted out ASAP and resubmit. - only read config.yml once - make product_dir a top level property in config.yml - adjust get_version and get_app_version in properties.py. Remove the constants from __init__.py and simplify the two functions.
Comment 14•6 years ago
|
||
Comment on attachment 9011002 [details] Bug 1491907 - Get comm/ version from comm/mail/*version.txt r?bhearsum Dustin J. Mitchell [:dustin] pronoun: he has approved the revision.
Attachment #9011002 -
Flags: review+
Assignee | ||
Comment 15•6 years ago
|
||
Thunderbird releases come from the comm-esr.* repositories rather than the comm-release repository. This adds a special case for Thunderbird and sets the branch URL correctly. This patch is based on the branch_prefix (comm or mozilla). Updated to fix pylint errors.
Updated•6 years ago
|
Attachment #9012549 -
Attachment is obsolete: true
Assignee | ||
Comment 16•6 years ago
|
||
There are three patches attached to this bug that are in Phabricator. Attachment 9011001 [details]: Applies to M-C. Attachment 9011002 [details]: Applies to M-C Attachment 9011910 [details]: Applies to C-C These don't apply to the ESR60 repositories so nicely. I can upload updated patches if necessary.
Comment 17•6 years ago
|
||
Hmm, I could land the first patch via Lando, but the second one is awaiting Tom's review and can't be landed. Also, I think it would make sense to land them together, no idea how that works in Lando. Any yes, patches that apply to m/c-esr60 would be good so I don't mess it up ;-)
Comment 18•6 years ago
|
||
Pushed by mozilla@jorgk.com: https://hg.mozilla.org/integration/autoland/rev/f9cf6e98fc4b Set correct branch URL for Thunderbird based on product-details r=bhearsum https://hg.mozilla.org/integration/autoland/rev/b96cec26d463 Get comm/ version from comm/mail/*version.txt r=dustin
Assignee | ||
Comment 19•6 years ago
|
||
Assignee | ||
Updated•6 years ago
|
Attachment #9013113 -
Attachment is patch: true
Attachment #9013113 -
Attachment mime type: application/octet-stream → text/plain
Assignee | ||
Comment 20•6 years ago
|
||
Assignee | ||
Comment 21•6 years ago
|
||
Assignee | ||
Comment 22•6 years ago
|
||
Just uploaded the patches ported to *-esr60 trees. If there's any problems, please let me know.
Comment 23•6 years ago
|
||
bugherder |
https://hg.mozilla.org/mozilla-central/rev/f9cf6e98fc4b https://hg.mozilla.org/mozilla-central/rev/b96cec26d463
Status: NEW → RESOLVED
Closed: 6 years ago
Resolution: --- → FIXED
Target Milestone: --- → Thunderbird 64.0
Comment 24•6 years ago
|
||
Pushed by mozilla@jorgk.com: https://hg.mozilla.org/comm-central/rev/390588f44e2b C-C part: Add product-dir to config.yml. r=jorgk
Comment 25•6 years ago
|
||
For TB 60.2.1: https://hg.mozilla.org/releases/mozilla-esr60/rev/f0a374b418e9b2464087541a9eca3959ce44926b (THUNDERBIRD_60_VERBRANCH) https://hg.mozilla.org/releases/mozilla-esr60/rev/ef90e3410f3bea0976b85c0a8083bf1b06fe747b (THUNDERBIRD_60_VERBRANCH) https://hg.mozilla.org/releases/comm-esr60/rev/3d21f43c8332d83e1b6c1f758a80135358a178e2
Updated•6 years ago
|
Attachment #9011910 -
Flags: review+
Attachment #9011910 -
Flags: approval-comm-esr60+
Attachment #9011910 -
Flags: approval-comm-beta+
Comment 27•6 years ago
|
||
Comment on attachment 9011910 [details] Bug 1491907 - Add product-dir to config.yml Jorg K (GMT+2) has been removed from the revision.
Attachment #9011910 -
Flags: review+
Updated•6 years ago
|
Attachment #9011910 -
Flags: review+
Comment 28•6 years ago
|
||
a=tomprince for these. But it is probably best to direct these to relman going forward.
Flags: needinfo?(mozilla)
Comment 29•6 years ago
|
||
https://hg.mozilla.org/releases/mozilla-beta/rev/44e1682a49189e22120bc0451a37f3cb60100845 https://hg.mozilla.org/releases/mozilla-beta/rev/9dc81ba0d288d2a46f6e0ef4976563cfea9a1be6
Comment 30•6 years ago
|
||
https://hg.mozilla.org/releases/comm-beta/rev/e0a8155d0e6cc8ba45ca78735e7d4340c5667106
Comment 31•6 years ago
|
||
Reopening, since we're backing these patches out of m-c/m-b for breaking Firefox update-verify-config tasks.
Status: RESOLVED → REOPENED
Resolution: FIXED → ---
Assignee | ||
Comment 32•6 years ago
|
||
The fix applied in bug 1496480 does not affect comm-* code, nothing more needs to be done with this.
Status: REOPENED → RESOLVED
Closed: 6 years ago → 6 years ago
Resolution: --- → FIXED
Comment 33•6 years ago
|
||
bugherder uplift |
https://hg.mozilla.org/releases/mozilla-esr60/rev/ab9b335bbbc8 https://hg.mozilla.org/releases/mozilla-esr60/rev/5aa4ad6f34d3
You need to log in
before you can comment on or make changes to this bug.
Description
•