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

Firefox WebDriver not working on Ubuntu 24.04 #10374

Closed
2 of 13 tasks
torokati44 opened this issue Jul 31, 2024 · 9 comments
Closed
2 of 13 tasks

Firefox WebDriver not working on Ubuntu 24.04 #10374

torokati44 opened this issue Jul 31, 2024 · 9 comments

Comments

@torokati44
Copy link

Description

When running browser tests in Firefox, I'm getting this error:
[1-0] 2024-07-31T09:44:30.951Z WARN webdriver: Request failed with status 500 due to Expected browser binary location, but unable to find binary in default location, no 'moz:firefoxOptions.binary' capability provided, and no binary flag set on the command line

Platforms affected

  • Azure DevOps
  • GitHub Actions - Standard Runners
  • GitHub Actions - Larger Runners

Runner images affected

  • Ubuntu 20.04
  • Ubuntu 22.04
  • Ubuntu 24.04
  • macOS 12
  • macOS 13
  • macOS 13 Arm64
  • macOS 14
  • macOS 14 Arm64
  • Windows Server 2019
  • Windows Server 2022

Image version and build link

Runner Image
Image: ubuntu-24.04
Version: 20240721.1.0

https://github.com/ruffle-rs/ruffle/actions/runs/10177828674/job/28150157900?pr=16352#step:11:90

Is it regression?

yes, it works on Ubuntu 22.04

Expected behavior

The tests pass.

Actual behavior

The tests don't pass.

Repro steps

Trigger a CI run of ruffle-rs/ruffle#16352.

@danielhjacobs
Copy link

Ubuntu 24.04 is missing Firefox, Geckodriver, Edge, and Edgedriver: https://github.com/actions/runner-images/blob/main/images/ubuntu/Ubuntu2404-Readme.md#browsers-and-drivers. Ubuntu 22.04 has those: https://github.com/actions/runner-images/blob/main/images/ubuntu/Ubuntu2204-Readme.md#browsers-and-drivers.

@torokati44
Copy link
Author

I see. Well then, that's the bug.

@danielhjacobs
Copy link

This is in the Ubuntu 22.04 image template:

"${path.root}/../scripts/build/install-dotnetcore-sdk.sh",
"${path.root}/../scripts/build/install-firefox.sh",
"${path.root}/../scripts/build/install-microsoft-edge.sh",
"${path.root}/../scripts/build/install-gcc-compilers.sh",

Both the Firefox and Edge installation lines are missing from the Ubuntu 24.04 image template:

"${path.root}/../scripts/build/install-dotnetcore-sdk.sh",
"${path.root}/../scripts/build/install-gcc-compilers.sh",

@torokati44
Copy link
Author

Frankly, I don't give much of a heck about Edge, but Firefox must not be allowed to be left out, once this image is GA.

@ijunaidm
Copy link
Contributor

@torokati44 - Thank you for bringing this issue to us, we are looking into this issue and get back to you after our findings.

@torokati44
Copy link
Author

The relevant downstream PR is now: ruffle-rs/ruffle#17341

@janbrasna
Copy link

For now this is expected as the preinstalled software list mentions the browsers' removal, however according to:

"… there will definitely be changes until GA including the software list installation (for instance we are to add firefox & edge, but a bit later), but we do not guarantee we are to address all the requests…"
— posted by @mikhailkoliada in #9848 (comment)

they plan to bring these back before it goes out of beta, so we'll see.

@ijunaidm
Copy link
Contributor

@torokati44 - We have added firefox to Ubuntu24.04 image. Thank you for opening the ticket issue.

@torokati44
Copy link
Author

Indeed, this is now fixed in https://github.com/actions/runner-images/releases/tag/ubuntu24%2F20240915.1 via #10589 (also related: #10597).
The image is now well under deployment: #10626
Thank you!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

6 participants