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

Ubuntu 24.04 is now available #9848

Closed
3 of 13 tasks
mikhailkoliada opened this issue May 14, 2024 · 73 comments
Closed
3 of 13 tasks

Ubuntu 24.04 is now available #9848

mikhailkoliada opened this issue May 14, 2024 · 73 comments

Comments

@mikhailkoliada
Copy link
Contributor

mikhailkoliada commented May 14, 2024

Breaking changes

Ubuntu 24.04 is now available for all GitHub Actions and Azure DevOps users.
You can use the ubuntu 24.04 image label in your YAML to select this image.

GitHub Actions

jobs:
  jobName:
    runs-on: ubuntu-24.04

Azure DevOps

pool:
   name: 'Azure Pipelines'
   vmImage: 'ubuntu-24.04'

The image is marked as "beta" for now. It means some software can be unstable on the new platform. Also, there could be queueing issues as the capacity will be balanced only throughout the next weeks.
Please report any problems with the new image to this repository.

Platforms affected

  • Azure DevOps
  • GitHub Actions

Runner images affected

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

Software difference between Ubuntu 22 and Ubuntu 24

Tool name Ubuntu 22.04 Ubuntu 24.04 Notes
Clang
  • 13.*
  • 14.* (default)
  • 15.*
  • 16.*
  • 17.*
  • 18.* (default)
The most recent versions are installed
GCC / GNU C++ / GNU Fortran
  • 9.*
  • 10.*
  • 11.*
  • 12.*
  • 13.*
  • 12.*
  • 13.*
  • 14.*
The most recent versions are installed
Kotlin latest available - Removed from the Ubuntu 24.04 image due to maintenance reasons.
PHP 8.1.* 8.3.* The most recent version are installed
Swift latest available - Removed from the Ubuntu 24.04 image due to maintenance reasons.
Java
  • 8.*
  • 11.* (default)
  • 17.*
  • 21.*
  • 8.*
  • 11.*
  • 17.* (default)
  • 21.*
Default Java switched to 17.* for Ubuntu 24.04 image.
Python
  • 3.7.* (cached)
  • 3.8.* (cached)
  • 3.9.* (cached)
  • 3.10.* (default)
  • 3.11.* (cached)
  • 3.12.* (cached)
  • 3.9.* (cached)
  • 3.10.* (default)
  • 3.11.* (cached)
  • 3.12.* (default)
Pre-cached versions currently unavailable. Default version switched to the latest one. On GitHub Actions, actions/setup-python can install any version on-flight so this change doesn't impact users
Go
  • 1.20.* (cached)
  • 1.21.* (default)
  • 1.22.* (cached)
  • 1.20.* (cached)
  • 1.21.* (cached)
  • 1.22.* (default)
If your use-case requires using any of these versions, consider using tasks to install Go on-flight:
PyPy
  • 3.7.* (cached)
  • 3.8.* (cached)
  • 3.9.* (cached)
  • 3.10.* (cached)
  • 3.9.* (cached)
  • 3.10.* (cached)
Deprecated all the versions besides the most recent ones
Ruby
  • 3.0.* (default)
  • 3.1.* (cached)
  • 3.2.* (default)
Pre-cached versions currently unavailable. Default version switched to the latest one.
Node.js
  • 16.* (cached)
  • 18.* (default)
  • 20.* (cached)
  • 16.* (cached)
  • 18.* (cached)
  • 20.* (default)
If your use-case requires using any of these versions, consider using tasks to install Node.js on-flight:
Heroku latest available - Removed from the Ubuntu 24.04 image due to maintenance reasons.
Leiningen latest available - Removed from the Ubuntu 24.04 image due to maintenance reasons.
Mono / MSBuild / NuGet latest available - Software is not available for Ubuntu 24 at the moment.
Packer / Terraform latest available - Removed from the Ubuntu 24.04 image due to maintenance reasons.
R latest available - Removed from the Ubuntu 24.04 image due to maintenance reasons.
SVN latest available - Removed from the Ubuntu 24.04 image due to maintenance reasons.
Alibaba Cloud CLI latest available - Removed from the Ubuntu 24.04 image due to maintenance reasons.
Google Cloud CLI latest available - Removed from the Ubuntu 24.04 image due to maintenance reasons.
Netlify CLI latest available - Removed from the Ubuntu 24.04 image due to maintenance reasons.
OpenShift CLI latest available - Removed from the Ubuntu 24.04 image due to maintenance reasons.
ORAS CLI latest available - Removed from the Ubuntu 24.04 image due to maintenance reasons.
Vercel CLI latest available - Removed from the Ubuntu 24.04 image due to maintenance reasons.
Bindgen / Cbindgen latest available - Removed from the Ubuntu 24.04 image due to maintenance reasons.
Cargo audit/clippy/outdated latest available - Removed from the Ubuntu 24.04 image due to maintenance reasons.
Microsoft Edge latest available - Removed from the Ubuntu 24.04 image due to maintenance reasons.
Microsoft Edge WebDriver latest available - Removed from the Ubuntu 24.04 image due to maintenance reasons.
Mozilla Firefox latest available - Removed from the Ubuntu 24.04 image due to maintenance reasons.
Mozilla Geckodriver latest available - Removed from the Ubuntu 24.04 image due to maintenance reasons.
.NET Core SDK
  • 6.*
  • 7.*
  • 8.*
  • 8.*
Please consider using tasks to install any version on-flight:
PostgreSQL 14.* 16.* More recent version are installed
MS SQL Server Client Tools sqlcmd / SqlPackage - Removed from the Ubuntu 24.04 image due to maintenance reasons.
MarkdownPS Module latest available - Removed from the Ubuntu 24.04 image due to maintenance reasons.
Android Command Line Tools 9.0 12.0 The most recent version are installed
Android SDK Build-tools
  • 34.0.0
  • 33.0.0
  • 33.0.1
  • 33.0.2
  • 33.0.3
  • 32.0.0
  • 31.0.0
  • 34.0.0
The most recent version are installed
Android NDK
  • 25.* (default)
  • 26.*
  • 26.* (default)
The most recent version are installed
Cached Docker images
  • alpine:3.16
  • alpine:3.17
  • alpine:3.18
  • debian:10
  • debian:11
  • moby/buildkit:latest
  • node:16
  • node:16-alpine
  • node:18
  • node:18-alpine
  • node:20
  • node:20-alpine
  • ubuntu:20.04
  • ubuntu:22.04
- Removed from the Ubuntu 24.04 image due to maintenance reasons.
@mikhailkoliada mikhailkoliada changed the title ubuntu Ubuntu 24.04 is now available May 14, 2024
@mikhailkoliada mikhailkoliada pinned this issue May 14, 2024
manxorist added a commit to OpenMPT/openmpt that referenced this issue May 14, 2024
manxorist added a commit to OpenMPT/openmpt that referenced this issue May 14, 2024
[New] build: CI: GitHub: Ubuntu: Enable 24.04. See <actions/runner-images#9848>.
........


git-svn-id: https://source.openmpt.org/svn/openmpt/branches/OpenMPT-1.31@20828 56274372-70c3-4bfc-bfc3-4c3a0b034d27
MichaIng added a commit to MichaIng/DietPi that referenced this issue May 14, 2024
- CI | Switch all workflows to Ubuntu Noble: actions/runner-images#9848
@MikeMcC399

This comment was marked as resolved.

@mikhailkoliada
Copy link
Contributor Author

@MikeMcC399 yep, I forgot about it, now done :)

@esaulpaugh
Copy link

Run java -version
java -version
chmod +x ./gradlew
./gradlew build fatJar --no-daemon
java -jar build/libs/headlong-cli-1.1-SNAPSHOT.jar -version
shell: /usr/bin/bash -e {0}
env:
GRADLE_ACTION_ID: gradle/actions/wrapper-validation
JAVA_HOME: /opt/hostedtoolcache/Java_Zulu_jdk/8.0.412-8/x86
JAVA_HOME_8_X86: /opt/hostedtoolcache/Java_Zulu_jdk/8.0.412-8/x86
The futex facility returned an unexpected error code.
/home/runner/work/_temp/f9c9c83d-d717-4c5b-9083-6922b5f9175c.sh: line 1: 2720 Aborted (core dumped) java -version
Error: Process completed with exit code 134.

@andreasabel
Copy link

andreasabel commented May 14, 2024

convert (imagemagick) is no longer pre-installed.
See run https://github.com/agda/agda/actions/runs/9086817771/job/24973341288?pr=7261#step:7:105

WARNING: Unable to run the image conversion command 'convert'. 'sphinx.ext.imgconverter' requires ImageMagick by default. Ensure it is installed, or set the 'image_converter' option to a custom conversion command.
Traceback: [Errno 2] No such file or directory: 'convert'

andreasabel added a commit to agda/agda that referenced this issue May 14, 2024
…7261)

* CI: bump to ubuntu-24.04 (except deploy); bump stack/cabal to latest

* CI user-manual: install imagemagick for ubuntu-24.04

actions/runner-images#9848 (comment)
ZenithalHourlyRate added a commit to ZenithalHourlyRate/openssl that referenced this issue May 15, 2024
@edmorley
Copy link

edmorley commented May 15, 2024

@mikhailkoliada Thank you for the release! What is the timeline for updating the ubuntu-latest alias to default to Ubuntu 24.04 instead? (Context: We would like to upgrade to the latest Ubuntu version, however, it will save a lot of churn across many repos of replacing runs-on: ubuntu-latest with runs-on: ubuntu-24.04 if we could instead wait for the default to change.)

@MikeMcC399
Copy link

@edmorley

In #9691 (comment) there was mention of a date in August 2024 for GA. That might coincide with the change you are asking about.

@kojoru
Copy link

kojoru commented May 15, 2024

Are the changes marked "Removed from the Ubuntu 24.04 image due to maintenance reasons." final? Is there a particular common reason? Can we somehow vote/plead to revert any of those choices?

I expect a lot of builds with "ubuntu-latest" to break if it hits GA in that form.

@mikhailkoliada
Copy link
Contributor Author

@kojoru 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, everybody is welcome to file new tools addition requests and we'll review them.

@mikhailkoliada
Copy link
Contributor Author

@edmorley migrating to lates is a different process that usually takes time, 24.04 will eventually become latest after its GA

simar0at pushed a commit to simar0at/heroku-buildpack-basex that referenced this issue Sep 9, 2024
@orgads
Copy link

orgads commented Sep 10, 2024

When will ubuntu-latest become ubuntu-24.04?

@erik-bershel
Copy link
Contributor

GitHub Roadmap for runners. All major changes (beta -> GA -> latest) will be announced separately in this repository as soon as they are available.

cc: @MikeMcC399 @orgads

@MikeMcC399
Copy link

@erik-bershel

GitHub Roadmap for runners.

Thanks for the link to the roadmap which says Ubuntu 24.04 is planned to move to GA in the July - Sep 2024 Q3 quarter, of which there are now less than 3 weeks left, so I wonder if that is still feasible?

I'm still waiting for Microsoft Edge and Mozilla Firefox browsers to be added to Ubuntu 24.04 to allow cross-browser testing. If that is not at all planned, it would be good to have some advance notice.

@actions actions deleted a comment from NomadsComputerllc Sep 11, 2024
@ijunaidm
Copy link
Contributor

@MikeMcC399 - We have added Mozilla firefox browser this week, hopefully it should be available next week on ubuntu24.04 image. And regarding edge i will check and add it to the image.

robinwo pushed a commit to robinwo/heroku-buildpack-php that referenced this issue Sep 13, 2024
* Update CI/workflow runners to Ubuntu 24.04

See also:
actions/runner-images#9848
https://github.com/actions/runner-images/blob/main/images/ubuntu/Ubuntu2404-Readme.md
https://salesforce.quip.com/bu6UA0KImOxJ#temp:C:GZRd13d2ce2d455470495cbd34cf

* pip install in a venv for Ubuntu 24.04

* use pub-hk-ubuntu-24.04-arm-small instead of pub-hk-ubuntu-24.04-arm-ip
robinwo pushed a commit to robinwo/heroku-buildpack-php that referenced this issue Sep 13, 2024
* Update CI/workflow runners to Ubuntu 24.04

See also:
actions/runner-images#9848
https://github.com/actions/runner-images/blob/main/images/ubuntu/Ubuntu2404-Readme.md
https://salesforce.quip.com/bu6UA0KImOxJ#temp:C:GZRd13d2ce2d455470495cbd34cf

* pip install in a venv for Ubuntu 24.04

* use pub-hk-ubuntu-24.04-arm-small instead of pub-hk-ubuntu-24.04-arm-ip
robinwo pushed a commit to robinwo/heroku-buildpack-php that referenced this issue Sep 13, 2024
* Update CI/workflow runners to Ubuntu 24.04

See also:
actions/runner-images#9848
https://github.com/actions/runner-images/blob/main/images/ubuntu/Ubuntu2404-Readme.md
https://salesforce.quip.com/bu6UA0KImOxJ#temp:C:GZRd13d2ce2d455470495cbd34cf

* pip install in a venv for Ubuntu 24.04

* use pub-hk-ubuntu-24.04-arm-small instead of pub-hk-ubuntu-24.04-arm-ip
robinwo pushed a commit to robinwo/heroku-buildpack-php that referenced this issue Sep 13, 2024
* Update CI/workflow runners to Ubuntu 24.04

See also:
actions/runner-images#9848
https://github.com/actions/runner-images/blob/main/images/ubuntu/Ubuntu2404-Readme.md
https://salesforce.quip.com/bu6UA0KImOxJ#temp:C:GZRd13d2ce2d455470495cbd34cf

* pip install in a venv for Ubuntu 24.04

* use pub-hk-ubuntu-24.04-arm-small instead of pub-hk-ubuntu-24.04-arm-ip
@MatthewSteeples
Copy link

@MikeMcC399 See #10636 if you haven't already (for anyone else that's subscribed to this thread but not new issues)

@MikeMcC399
Copy link

@MatthewSteeples

Thank you! I happened to click on the Announcement label just now. It's also pinned to the top of issues.

@erik-bershel erik-bershel unpinned this issue Sep 23, 2024
tchaikov added a commit to tchaikov/seastar that referenced this issue Oct 1, 2024
Ubuntu 24.04 is now available, see
actions/runner-images#9848

so instead of building and running the tests in a fedora 40 container,
let's do the CI with the shinny ubuntu runner image, which preinstalls
some of the necessary building dependencies, so in theory, it should be
relatively faster than installing every package on fedora 40.

and since we are now using an image with git pre-installed, there
is no need to install `git` anymore. so, in this change, we drop the
step to install `git`.

because we are switching to a debian derivative distro, let's use
apt-get instead of dnf to install packages.

Signed-off-by: Kefu Chai <kefu.chai@scylladb.com>
simonw added a commit to simonw/simonwillisonblog-backup that referenced this issue Oct 14, 2024
michaelklishin added a commit to rabbitmq/rabbitmq-server that referenced this issue Oct 18, 2024
to avoid slapd(8) segfaulting on Ubuntu 22.04,
which "ubuntu-latest" uses despite [1].

Per discussion with @lukebakken.

1. actions/runner-images#9848
yonta added a commit to momocus/sakazuki that referenced this issue Dec 18, 2024
ランナーOSがUbuntu 24.04になりImageMagickがデフォルトで入らなくなった。
手動でインストールするようにした。

actions/runner-images#9848 (comment)
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