Bug 1407279 - Docker image changes on mozilla-beta result in failed decision tasks, Backed out changeset 83fdd1638d8e. r=dustin, a=ritu
authorRail Aliiev <rail@mozilla.com>
Tue, 10 Oct 2017 15:00:57 -0400
changeset 432418 4c2e84704183f3c2c7d8f5d69d20d587ff3fb66c
parent 432417 fc014302c515e1900b5f6cef82f190e30b3e7534
child 432419 7e991d4124cd3c10d3b8d87d55eeed8d1b4e522f
push id7951
push userryanvm@gmail.com
push dateThu, 12 Oct 2017 01:54:38 +0000
treeherdermozilla-beta@4c2e84704183 [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersdustin, ritu
bugs1407279
milestone57.0
Bug 1407279 - Docker image changes on mozilla-beta result in failed decision tasks, Backed out changeset 83fdd1638d8e. r=dustin, a=ritu MozReview-Commit-ID: LYorA5QSOib
taskcluster/taskgraph/util/taskcluster.py
--- a/taskcluster/taskgraph/util/taskcluster.py
+++ b/taskcluster/taskgraph/util/taskcluster.py
@@ -78,22 +78,17 @@ def get_index_url(index_path, use_proxy=
     if use_proxy:
         INDEX_URL = 'http://taskcluster/index/v1/task/{}'
     else:
         INDEX_URL = 'https://index.taskcluster.net/v1/task/{}'
     return INDEX_URL.format(index_path)
 
 
 def find_task_id(index_path, use_proxy=False):
-    try:
-        response = _do_request(get_index_url(index_path, use_proxy))
-    except requests.exceptions.HTTPError as e:
-        if e.response.status_code == 404:
-            raise KeyError("index path {} not found".format(index_path))
-        raise
+    response = _do_request(get_index_url(index_path, use_proxy))
     return response.json()['taskId']
 
 
 def get_artifact_from_index(index_path, artifact_path, use_proxy=False):
     full_path = index_path + '/artifacts/' + artifact_path
     response = _do_request(get_index_url(full_path, use_proxy))
     return _handle_artifact(full_path, response)