Bug 1358098 - Increase regression threshold for sccache alerts. r=rwood,ted
authorJoel Maher <jmaher@mozilla.com>
Wed, 26 Apr 2017 11:01:25 -0400
changeset 403197 23cfef4874a005919989e4b9731f316e9096bcc5
parent 403196 52a9eb86ebf913c165a6b8d58c3ed3ed466c5619
child 403198 f9c205fca9996868bb04ad2b16c24428a8c8d4e5
push id7391
push usermtabara@mozilla.com
push dateMon, 12 Jun 2017 13:08:53 +0000
treeherdermozilla-beta@2191d7f87e2e [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersrwood, ted
bugs1358098
milestone55.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 1358098 - Increase regression threshold for sccache alerts. r=rwood,ted MozReview-Commit-ID: 8L8iSoBqrCu
testing/mozharness/mozharness/mozilla/building/buildbase.py
--- a/testing/mozharness/mozharness/mozilla/building/buildbase.py
+++ b/testing/mozharness/mozharness/mozilla/building/buildbase.py
@@ -1914,23 +1914,31 @@ or run without that action (ie: --no-{ac
 
         yield {
             'name': 'sccache hit rate',
             'value': hits,
             'extraOptions': self.perfherder_resource_options(),
             'subtests': [],
         }
 
-        for stat in ['cache_write_errors', 'requests_not_cacheable']:
-            yield {
-                'name': 'sccache %s' % stat,
-                'value': stats['stats'][stat],
-                'extraOptions': self.perfherder_resource_options(),
-                'subtests': [],
-            }
+        yield {
+            'name': 'sccache cache_write_errors',
+            'value': stats['stats']['cache_write_errors'],
+            'extraOptions': self.perfherder_resource_options(),
+            'alertThreshold': 50.0,
+            'subtests': [],
+        }
+
+        yield {
+            'name': 'sccache requests_not_cacheable',
+            'value': stats['stats']['requests_not_cacheable'],
+            'extraOptions': self.perfherder_resource_options(),
+            'alertThreshold': 50.0,
+            'subtests': [],
+        }
 
     def get_firefox_version(self):
         versionFilePath = os.path.join(
             self.query_abs_dirs()['abs_src_dir'], 'browser/config/version.txt')
         with open(versionFilePath, 'r') as versionFile:
             return versionFile.readline().strip()
 
     def generate_build_stats(self):