Bug 1458105 - try more to fetch automationrelevance; r=gps
authorDustin J. Mitchell <dustin@mozilla.com>
Tue, 01 May 2018 01:25:24 +0000
changeset 472477 6f975a367b79036dc280c04677b33678aec38af0
parent 472476 4c0f3401afe5bcaf18f71d17e25f3719d8fdfd00
child 472478 359cecde7c3ea604dc7f55ae958b9de420924f44
push id1728
push userjlund@mozilla.com
push dateMon, 18 Jun 2018 21:12:27 +0000
treeherdermozilla-release@c296fde26f5f [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersgps
bugs1458105
milestone61.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
Bug 1458105 - try more to fetch automationrelevance; r=gps MozReview-Commit-ID: LdcGes2mf01
taskcluster/taskgraph/files_changed.py
--- a/taskcluster/taskgraph/files_changed.py
+++ b/taskcluster/taskgraph/files_changed.py
@@ -25,17 +25,17 @@ def get_changed_files(repository, revisi
     key = repository, revision
     if key not in _cache:
         url = '%s/json-automationrelevance/%s' % (repository.rstrip('/'), revision)
         logger.debug("Querying version control for metadata: %s", url)
 
         def get_automationrelevance():
             response = requests.get(url, timeout=5)
             return response.json()
-        contents = retry(get_automationrelevance, attempts=2, sleeptime=10)
+        contents = retry(get_automationrelevance, attempts=10, sleeptime=10)
 
         logger.debug('{} commits influencing task scheduling:'
                      .format(len(contents['changesets'])))
         changed_files = set()
         for c in contents['changesets']:
             logger.debug(" {cset} {desc}".format(
                 cset=c['node'][0:12],
                 desc=c['desc'].splitlines()[0].encode('ascii', 'ignore')))