No bug: [tryselect] Use up-to-date URL for code-coverage information; r=ahal
authorTom Prince <mozilla@hocat.ca>
Mon, 10 Feb 2020 18:52:06 +0000
changeset 513117 aaddafdf5b9116780fd5a7f7366f1ae7534e8871
parent 513116 1147a121a50c908135f9b53e920fc96741f1e262
child 513118 b33496ddb1d990ec1e7f32b3fca096d83627fe1f
push id37110
push usernbeleuzu@mozilla.com
push dateTue, 11 Feb 2020 09:46:07 +0000
treeherdermozilla-central@11c9c5ce3955 [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersahal
milestone75.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
No bug: [tryselect] Use up-to-date URL for code-coverage information; r=ahal Differential Revision: https://phabricator.services.mozilla.com/D61645
tools/tryselect/selectors/coverage.py
--- a/tools/tryselect/selectors/coverage.py
+++ b/tools/tryselect/selectors/coverage.py
@@ -117,17 +117,17 @@ def download_coverage_mapping(base_revis
             tags = json.load(f)
             if tags['target_revision'] == base_revision:
                 return
             else:
                 print('Base revision changed.')
     except (IOError, ValueError):
         print('Chunk mapping file not found.')
 
-    CHUNK_MAPPING_URL_TEMPLATE = 'https://index.taskcluster.net/v1/task/project.releng.services.project.production.code_coverage_bot.{}/artifacts/public/chunk_mapping.tar.xz'  # noqa
+    CHUNK_MAPPING_URL_TEMPLATE = 'https://firefox-ci-tc.services.mozilla.com/api/index/v1/task/project.releng.services.project.production.code_coverage_bot.{}/artifacts/public/chunk_mapping.tar.xz'  # noqa
     JSON_PUSHES_URL_TEMPLATE = 'https://hg.mozilla.org/mozilla-central/json-pushes?version=2&tipsonly=1&startdate={}'  # noqa
 
     # Get pushes from at most one month ago.
     PUSH_HISTORY_DAYS = 30
     delta = datetime.timedelta(days=PUSH_HISTORY_DAYS)
     start_time = (datetime.datetime.now() - delta).strftime('%Y-%m-%d')
     pushes_url = JSON_PUSHES_URL_TEMPLATE.format(start_time)
     pushes_data = requests.get(pushes_url + '&tochange={}'.format(base_revision)).json()