-
-
Notifications
You must be signed in to change notification settings - Fork 8.2k
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
[rust] Fix Edge management in RPM-based Linux #13705
Conversation
PR Description updated to latest commit (926e526)
|
PR Review
✨ Review tool usage guide:Overview:
With a configuration file, use the following template:
See the review usage page for a comprehensive guide on using this tool. |
PR Code Suggestions
✨ Improve tool usage guide:Overview:
With a configuration file, use the following template:
See the improve usage page for a more comprehensive guide on using this tool. |
CI Failure Feedback(Checks updated until commit 6774b6a)
✨ CI feedback usage guide:The CI feedback tool (
In addition to being automatically triggered, the tool can also be invoked manually by commenting on a PR:
where Configuration options
See more information about the |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Now, the build is failing. Could you please have a look when you have time, @bonigarcia?
I have reviewed the failures, but I don't know the causes. First, the Windows build is failing before starting the tests. The error is:
I searched for this problem, and it might be a toolchain issue: https://stackoverflow.com/questions/57178691/rust-link-failed-with-exit-code-1181 Second, a couple of tests are failing in macOS: (1) The test that downloads the latest version of Firefox and (2) The test that downloads the late version of Edge. Unfortunately, I cannot reproduce it in my MacOS VM. Both tests execute correctly. @diemol: Can you please try the following on your Mac?
|
9a9ef7c
to
64d399e
Compare
Regarding the Windows build, I have bumped the toolchain version, and with PR #13735, it is green again: https://github.com/SeleniumHQ/selenium/actions/runs/8428684771 But I still don't know why the Firefox and Edge download tests are failing in CI-macOS. |
This is the command output on my M1
|
It is worth noting that the Edge download took quite a while, over a minute. |
Thanks for the test, @diemol. Like me, it seems to work. Now, I need to figure out why it is failing in GHA. Regarding the minute that lasts, I'm afraid there is nothing we can do. SM needs to download the artifact (around 300 MB) and then extract it. The data compression ratio is high, so extracting all the files/folders takes a bit. |
I don't mind it takes that long, I was only wondering if it was affecting the tests. |
User description
Description
I checked the Edge DEB package can also be used to extract the assets (Edge files and folders) in an RPM-based system (e.g., Fedora). The problem was the way in which the resulting folders was moved from the temporal folder to the cache. This PR changes that, and as a result, Edge can be downloaded in RPM-based systems. I tested it in Fedora:
Motivation and Context
Fix for #13636.
Types of changes
Checklist
Type
enhancement
Description
Changes walkthrough
files.rs
Enhance Edge Browser File Extraction for RPM-based Systems
rust/src/files.rs
uncompress_deb
function to handle file movementbased on OS.
moving extracted Edge browser files.
on RPM-based systems.