Bug 1496480 - release-update-verify-config-* tasks failing due to recent refactoring in Bug 1491907, r=tomprince a=release FIREFOX_63_0b12_BUILD2 FIREFOX_63_0b12_RELEASE
authorRok Garbas <rok@garbas.si>
Thu, 04 Oct 2018 17:44:07 +0000
changeset 492803 0082062b759f342cb97dd2f46486ca29552b16e4
parent 492802 735e947b99d7a7cd9991aaf6515ab499b6e06a2c
child 492804 2caa61443127197598ca7545d418002cdcfa9497
push id1815
push userffxbld-merge
push dateMon, 15 Oct 2018 10:40:45 +0000
treeherdermozilla-release@18d4c09e9378 [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewerstomprince, release
bugs1496480, 1491907
milestone63.0
Bug 1496480 - release-update-verify-config-* tasks failing due to recent refactoring in Bug 1491907, r=tomprince a=release Differential Revision: https://phabricator.services.mozilla.com/D7748
testing/mozharness/scripts/release/update-verify-config-creator.py
--- a/testing/mozharness/scripts/release/update-verify-config-creator.py
+++ b/testing/mozharness/scripts/release/update-verify-config-creator.py
@@ -230,18 +230,19 @@ class UpdateVerifyConfigCreator(BaseScri
                 self.config["stage_product"],
             ),
             "WARNING",
         )
         releases = json.load(ret)["releases"]
         for release_name, release_info in \
             reversed(sorted(releases.items(),
                             key=lambda x: MozillaVersion(x[1]['version']))):
-            product = release_info['product']
-            version = release_info['version']
+            # we need to use releases_name instead of release_info since esr
+            # string is included in the name. later we rely on this.
+            product, version = release_name.split('-', 1)
             category = release_info['category']
             tag = "{}_{}_RELEASE".format(product.upper(), version.replace(".", "_"))
             # Product details has a "category" for releases that we can use to
             # determine the repo path. This will fail if any previous releases
             # were built from a project branch - but that's not something we do
             # at the time of writing.
             branch = self._get_branch_url(category, self.config["branch_prefix"],
                                           version)