Bug 1340065 - Don't let SETA optimize out linux64-stylo tests; r?jmaher
MozReview-Commit-ID: 4wJe1ZtxXds
--- 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.")