author | Joel Maher <jmaher@mozilla.com> |
Mon, 07 Nov 2016 13:39:23 -0500 | |
changeset 321567 | 2a77ca1fae251af0e4600c43c07912fcdb6dc071 |
parent 321566 | 143f26b923d021c80b9103c7de17f446bd32b19e |
child 321568 | 1d01138a95d9607d534808bc47eba1bc70f0f9fb |
push id | 83647 |
push user | kwierso@gmail.com |
push date | Tue, 08 Nov 2016 22:08:41 +0000 |
treeherder | mozilla-inbound@1d0b02250149 [default view] [failures only] |
perfherder | [talos] [build metrics] [platform microbench] (compared to previous push) |
reviewers | dustin |
bugs | 1315145 |
milestone | 52.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
|
--- a/taskcluster/taskgraph/util/seta.py +++ b/taskcluster/taskgraph/util/seta.py @@ -6,17 +6,17 @@ from requests import exceptions logger = logging.getLogger(__name__) headers = { 'User-Agent': 'TaskCluster' } # It's a list of project name which SETA is useful on SETA_PROJECTS = ['mozilla-inbound', 'autoland'] -SETA_ENDPOINT = "http://seta.herokuapp.com/data/setadetails/?branch=%s" +SETA_ENDPOINT = "https://seta.herokuapp.com/data/setadetails/?branch=%s" class SETA(object): """ Interface to the SETA service, which defines low-value tasks that can be optimized out of the taskgraph. """ def __init__(self): @@ -40,16 +40,20 @@ class SETA(object): logger.debug("Retrieving low-value jobs list from SETA") response = retry(requests.get, attempts=2, sleeptime=10, args=(url, ), kwargs={'timeout': 5, 'headers': headers}) task_list = json.loads(response.content).get('jobtypes', '') if len(task_list) > 0: low_value_tasks = task_list.values()[0] + # Bug 1315145, disable SETA for tier-1 platforms until backfill is implemented. + low_value_tasks = [x for x in low_value_tasks if x.find('debug') == -1] + low_value_tasks = [x for x in low_value_tasks if x.find('asan') == -1] + # In the event of request times out, requests will raise a TimeoutError. except exceptions.Timeout: logger.warning("SETA server is 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 server is timeout, we will treat all test tasks as high value.")