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 661579 cb242f1774a5845a104b6d3482232bc6d1bdf21f
parent 661578 5a69e957b1986e6c2e8ae073dce7c8db5c2f5d9d
child 661580 a1abd18271465f917ff9a98fc724505c104cd493
push id78830
push userasasaki@mozilla.com
push dateFri, 08 Sep 2017 19:44:43 +0000
reviewersarmenzg
bugs1397435
milestone57.0a1
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.")