From 81bd31aba34ef4d93f36f1e77a9ba27c430a438e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Philip=20J=C3=A4genstedt?= Date: Thu, 25 Mar 2021 12:05:58 +0100 Subject: [PATCH] [Taskcluster] pin Chrome Dev to 91.0.4449.6 This is a temporary measure while the cause of the crash is being investigated. This follows a similar approach taken before: https://github.com/web-platform-tests/wpt/pull/19360 Mitigation (not fix) for https://github.com/web-platform-tests/wpt/issues/28209. --- tools/ci/run_tc.py | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/tools/ci/run_tc.py b/tools/ci/run_tc.py index b7e5d72146ac8a..14cc47692b1db6 100755 --- a/tools/ci/run_tc.py +++ b/tools/ci/run_tc.py @@ -137,8 +137,12 @@ def install_certificates(): def install_chrome(channel): + deb_prefix = "https://dl.google.com/linux/direct/" if channel in ("experimental", "dev"): - deb_archive = "google-chrome-unstable_current_amd64.deb" + # Pinned since 91.0.4455.2-1 began crashing on startup. + # See https://github.com/web-platform-tests/wpt/issues/28209. + deb_archive = "google-chrome-unstable_91.0.4449.6-1_amd64.deb" + deb_prefix = "https://dl.google.com/linux/chrome/deb/pool/main/g/google-chrome-unstable/" elif channel == "beta": deb_archive = "google-chrome-beta_current_amd64.deb" elif channel == "stable": @@ -147,7 +151,7 @@ def install_chrome(channel): raise ValueError("Unrecognized release channel: %s" % channel) dest = os.path.join("/tmp", deb_archive) - deb_url = "https://dl.google.com/linux/direct/%s" % deb_archive + deb_url = deb_prefix + deb_archive with open(dest, "wb") as f: get_download_to_descriptor(f, deb_url)