Bug 1385868 - Stop reporting installer size as a treeherder job detail r=gps
authorWilliam Lachance <wlachance@mozilla.com>
Mon, 31 Jul 2017 08:51:31 -0400
changeset 423125 5bc2b72074a38e3b7101a8afdb7457f5241c427c
parent 423124 8227a596f3fd5de690caf5e8d66d731b50f1c6ed
child 423126 ed86b892433b5c4049122b0561a8012a353c6ea1
push id1517
push userjlorenzo@mozilla.com
push dateThu, 14 Sep 2017 16:50:54 +0000
treeherdermozilla-release@3b41fd564418 [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersgps
bugs1385868
milestone56.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 1385868 - Stop reporting installer size as a treeherder job detail r=gps MozReview-Commit-ID: CruOSWu0BT8
testing/mozharness/mozharness/mozilla/building/buildbase.py
--- a/testing/mozharness/mozharness/mozilla/building/buildbase.py
+++ b/testing/mozharness/mozharness/mozilla/building/buildbase.py
@@ -1979,18 +1979,17 @@ or run without that action (ie: --no-{ac
 
         interests = ['libxul.so', 'classes.dex', 'omni.ja']
         installer = os.path.join(dirs['abs_obj_dir'], 'dist', packageName)
         installer_size = 0
         size_measurements = []
 
         if os.path.exists(installer):
             installer_size = self.query_filesize(installer)
-            self.info('TinderboxPrint: Size of %s<br/>%s bytes\n' % (
-                packageName, installer_size))
+            self.info('Size of %s: %s bytes' % (packageName, installer_size))
             try:
                 subtests = {}
                 if zipfile.is_zipfile(installer):
                     with zipfile.ZipFile(installer, 'r') as zf:
                         for zi in zf.infolist():
                             name = os.path.basename(zi.filename)
                             size = zi.file_size
                             if name in interests:
@@ -2009,18 +2008,18 @@ or run without that action (ie: --no-{ac
                                 if name in subtests:
                                     # File seen twice in same archive;
                                     # ignore to avoid confusion.
                                     subtests[name] = None
                                 else:
                                     subtests[name] = size
                 for name in subtests:
                     if subtests[name] is not None:
-                        self.info('TinderboxPrint: Size of %s<br/>%s bytes\n' %
-                                  (name, subtests[name]))
+                        self.info('Size of %s: %s bytes' % (name,
+                                                            subtests[name]))
                         size_measurements.append(
                             {'name': name, 'value': subtests[name]})
             except:
                 self.info('Unable to search %s for component sizes.' % installer)
                 size_measurements = []
 
         if not installer_size and not size_measurements:
             return