Bug 1515230 - Work around slow cloud-mirror.taskcluster.net for triggering actions on buildbot-master01, r=aki
authorNick Thomas <nthomas@mozilla.com>
Wed, 19 Dec 2018 14:41:18 +1300
changeset 8467 4c437eb11fd1b2fde3e5f770f8fca626792d0b3e
parent 8466 9559bd23773b4146394759c0cc6f838d4eeae4e1
child 8468 9de2fa1c4b0e65f60d23fae79c848cf6ff86f0bc
push id6190
push usernthomas@mozilla.com
push dateWed, 19 Dec 2018 01:41:44 +0000
reviewersaki
bugs1515230
Bug 1515230 - Work around slow cloud-mirror.taskcluster.net for triggering actions on buildbot-master01, r=aki
buildfarm/release/trigger_action.py
--- a/buildfarm/release/trigger_action.py
+++ b/buildfarm/release/trigger_action.py
@@ -101,17 +101,17 @@ def requests_retry_session(
     session.mount('http://', adapter)
     session.mount('https://', adapter)
     return session
 
 
 def get_artifact_text(queue, task_id, path):
     """Retries download + returns the contents of the artifact"""
     url = unquote(queue.buildUrl('getLatestArtifact', task_id, path))
-    r = requests_retry_session().get(url, timeout=5)
+    r = requests_retry_session().get(url, timeout=60)
     r.raise_for_status()
     return r.text
 
 
 def get_release_flavors_of_previous_graphs(action_task_id, previous_graph_ids):
     all_previous_graphs = [action_task_id] + previous_graph_ids
 
     log.info('Fetching task definitions of: {}'.format(all_previous_graphs))