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

Support Ubuntu 24.04 #29319

Closed
MikeMcC399 opened this issue Apr 12, 2024 · 7 comments
Closed

Support Ubuntu 24.04 #29319

MikeMcC399 opened this issue Apr 12, 2024 · 7 comments
Labels
process: tests Related to our internal tests

Comments

@MikeMcC399
Copy link
Contributor

MikeMcC399 commented Apr 12, 2024

What would you like?

to have support for Cypress running on Ubuntu 24.04

Why is this needed?

  • Ubuntu 24.04 is the next major release planned for released on April 25 2024. Users will start to install it locally and CI providers will be offering virtual machines based on this OS. The end of standard support is planned for June 2029.

  • Cypress documentation System requirements > Operating System > Linux includes the text "Ubuntu 20.04 and above", which includes Ubuntu 24.04

Other

End-user

Running Cypress 13.7.3 under Ubuntu 24.04 Beta:

Contributor

  • Building Cypress from source on Ubuntu 24.04 Beta requires installing Python 3.11 and NODE_GYP_FORCE_PYTHON=/usr/bin/python3.11 (see Contributing > Requirements > Debian/Ubuntu). Node.js is 18.17.1.

    • yarn is successful building Cypress from source

    • yarn start fails attempting to open Cypress Launchpad in Project mode. I would open a separate issue for this if it persists in the final release version of Ubuntu 24.04.

      $ yarn start
      yarn run v1.22.22
      $ yarn ensure-deps
      $ ./scripts/ensure-dependencies.sh
      success Folder in sync.
      $ cypress open --dev --global
      [8288:0412/172850.915093:FATAL:setuid_sandbox_host.cc(158)] The SUID sandbox helper binary was found, but is not configured correctly. Rather than run without sandboxing I'm aborting now. You need to make sure that /home/mike/github/cypress-io/cypress/packages/electron/dist/Cypress/chrome-sandbox is owned by root and has mode 4755.
      
@jennifer-shehane jennifer-shehane added the type: feature New feature that does not currently exist label Apr 12, 2024
@jennifer-shehane
Copy link
Member

@MikeMcC399 is there some indication that this won't work for end users? Or are you recommending we add specific tests around this to ensure it's working on the main repo?

@jennifer-shehane jennifer-shehane removed the type: feature New feature that does not currently exist label Apr 12, 2024
@MikeMcC399
Copy link
Contributor Author

@jennifer-shehane

is there some indication that this won't work for end users? Or are you recommending we add specific tests around this to ensure it's working on the main repo?

I don't see any issue for end users at this time and right now I suggest just waiting for the final release of Ubuntu 24.04 as there are still changes to be expected. The intention of my issue was just to add it to the radar, nothing more.

@jennifer-shehane
Copy link
Member

@MikeMcC399 Thanks for informing us. We'll have to update the docker images/docker factory to make sure it's working when that comes out.

@MikeMcC399
Copy link
Contributor Author

@MikeMcC399
Copy link
Contributor Author

Ubuntu 24.04 was released on April 25, 2024.

I haven't seen any issues running Cypress on this version as far as end-users are concerned.

@MikeMcC399
Copy link
Contributor Author

I confirmed that Cypress 13.9.0 ran in a simple test on the GitHub-hosted ubuntu-24.04 runner. The runner is in beta status and is being deployed at the moment.

Since there are no general unresolved issues with Cypress running on Ubuntu 24.04 I will go ahead and close this issue. If anything specific comes up, it should go into a new issue.

@MikeMcC399
Copy link
Contributor Author

See also GitHub Actions announcement
GitHub-hosted runners: Public Beta of Ubuntu 24.04 is now available May 14, 2024.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
process: tests Related to our internal tests
Projects
None yet
Development

No branches or pull requests

2 participants