Bug 1340065 - Don't let SETA optimize out linux64-stylo tests; r?jmaher draft
authorRob Wood <rwood@mozilla.com>
Thu, 16 Feb 2017 09:41:42 -0500
changeset 485416 58298f4e6c4121d9c94c24e41379ab8a1cad826b
parent 485298 93533e6ca4f358c930c7b78ab11d7ea5600e867d
child 546013 5b89ab5731a9121895ea10f784b24a3021a18fd5
push id45727
push userrwood@mozilla.com
push dateThu, 16 Feb 2017 17:17:18 +0000
reviewersjmaher
bugs1340065
milestone54.0a1
Bug 1340065 - Don't let SETA optimize out linux64-stylo tests; r?jmaher MozReview-Commit-ID: 4wJe1ZtxXds
taskcluster/taskgraph/util/seta.py
--- a/taskcluster/taskgraph/util/seta.py
+++ b/taskcluster/taskgraph/util/seta.py
@@ -63,16 +63,19 @@ 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.")