Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Chrome Canary and Chromium Nightly are installed via --install-browser in Taskcluster #44275

Conversation

DanielRyanSmith
Copy link
Contributor

@DanielRyanSmith DanielRyanSmith commented Jan 29, 2024

This change specifies that only Chrome Canary and Chromium Nightly are installed via the --install-browser command. Some test results on Chrome Dev have become flaky since changing this last week, and this update will rectify the issue while the root cause is identified.

@DanielRyanSmith DanielRyanSmith marked this pull request as ready for review January 31, 2024 00:05
args = ["--enable-swiftshader"]
# Chrome Stable-Dev are still installed in tools/ci/run_tc.py
if channel == "nightly" or channel == "canary":
args.extend(["--install-browser", "--install-webdriver"])
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Wait, don't we need --install-webdriver for Stable-Dev? And for CfT, we shouldn't need it, because we get it from the same package?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

ChromeDriver is still always a separate download, although we maintain the download url to match exactly the browser binary version downloaded.

To be honest, I'm not certain, but if I had to guess, I would assume that the default behavior is to prompt webdriver installation if a webdriver is not found. So that means --install-webdriver is implicit as long as there is no other found webdriver, and as long as we're passing the --yes flag, it will just accept that installation.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I just checked this locally, after clearing my browser/webdriver binaries, using ./wpt run --install-browser --channel dev chrome dom/historical.html. I was indeed prompted to install a matching webdriver, so it seems like this is the reason it works. 🙂

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Hmm, so it sound like things work, but maybe we're double downloading the chromedriver binary in the CfT case. Can you file an issue if you think that's the case? Then feel free to land this.

@DanielRyanSmith
Copy link
Contributor Author

Closing this PR since this was planned to be a temporary fix.

@DanielRyanSmith DanielRyanSmith deleted the 2023-01-29_args-for-chrome-canary branch February 5, 2024 17:37
@DanielRyanSmith DanielRyanSmith restored the 2023-01-29_args-for-chrome-canary branch February 12, 2024 21:03
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants