Bug 1543662 Only check mar channel IDs for destination mars r=mtabara
authorSimon Fraser <sfraser@mozilla.com>
Wed, 17 Apr 2019 12:36:25 +0000
changeset 469864 2975d8e533613166ee6bb8ceaaf4070ca4e6b571
parent 469863 8f2d511ad49f2a361a1fe7d4af1b204c13a05474
child 469865 06e8fe752e305124ac95c939de5aa958190a8e94
push id35883
push userbtara@mozilla.com
push dateWed, 17 Apr 2019 21:47:29 +0000
treeherdermozilla-central@02b89c29412b [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersmtabara
bugs1543662
milestone68.0a1
first release with
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
last release without
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
Bug 1543662 Only check mar channel IDs for destination mars r=mtabara Generating partials from betas doesn't work if we check the 'from' mar channel IDs, as we don't know what's valid for those. Differential Revision: https://phabricator.services.mozilla.com/D27866
taskcluster/docker/funsize-update-generator/scripts/funsize.py
--- a/taskcluster/docker/funsize-update-generator/scripts/funsize.py
+++ b/taskcluster/docker/funsize-update-generator/scripts/funsize.py
@@ -344,17 +344,18 @@ async def manage_partial(partial_def, fi
             verify_signature(dest, signing_certs)
 
         complete_mars["%s_size" % mar_type] = os.path.getsize(dest)
         complete_mars["%s_hash" % mar_type] = get_hash(dest)
 
         with ddstats.timer('mar.unpack.time'):
             await unpack(work_env, dest, unpack_dir)
 
-        check_channels_in_files.append(dest)
+        if mar_type == 'to':
+            check_channels_in_files.append(dest)
 
         if mar_type == 'from':
             version = get_option(unpack_dir, filename="application.ini",
                                  section="App", option="Version")
             major = int(version.split(".")[0])
             # The updater for versions less than 56.0 requires BZ2
             # compressed MAR files
             if major < 56: