Bug 1397435 - allow SETA to work on stylo-disabled jobs. r=armenzg
authorJoel Maher <jmaher@mozilla.com>
Fri, 08 Sep 2017 11:24:25 -0400
changeset 379790 cb242f1774a5845a104b6d3482232bc6d1bdf21f
parent 379789 5a69e957b1986e6c2e8ae073dce7c8db5c2f5d9d
child 379791 a1abd18271465f917ff9a98fc724505c104cd493
push id32462
push userkwierso@gmail.com
push dateFri, 08 Sep 2017 20:36:46 +0000
treeherdermozilla-central@ea7b55d65d76 [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersarmenzg
bugs1397435
milestone57.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 1397435 - allow SETA to work on stylo-disabled jobs. r=armenzg
taskcluster/taskgraph/util/seta.py
--- a/taskcluster/taskgraph/util/seta.py
+++ b/taskcluster/taskgraph/util/seta.py
@@ -76,19 +76,16 @@ class SETA(object):
                     # bb job types return a list instead of a single string,
                     # convert to a single string to match tc tasks format
                     if type(low_value_tasks[0]) == list:
                         low_value_tasks = [self._get_task_string(x) for x in low_value_tasks]
 
             # ensure no build tasks slipped in, we never want to optimize out those
             low_value_tasks = [x for x in low_value_tasks if 'build' not in x.lower()]
 
-            # Bug 1340065, temporarily disable SETA for linux64-stylo
-            low_value_tasks = [x for x in low_value_tasks if x.find('linux64-stylo') == -1]
-
         # In the event of request times out, requests will raise a TimeoutError.
         except exceptions.Timeout:
             logger.warning("SETA timeout, we will treat all test tasks as high value.")
 
         # In the event of a network problem (e.g. DNS failure, refused connection, etc),
         # requests will raise a ConnectionError.
         except exceptions.ConnectionError:
             logger.warning("SETA connection error, we will treat all test tasks as high value.")