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

Open
3 of 13 tasks
mikhailkoliada opened this issue May 14, 2024 · 47 comments
Open
3 of 13 tasks

Ubuntu 24.04 is now available #9848

mikhailkoliada opened this issue May 14, 2024 · 47 comments

Comments

@mikhailkoliada
Copy link
Member

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
Member 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
Member 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
Member Author

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

pdoerner added a commit to temporalio/temporal that referenced this issue May 30, 2024
## What changed?
<!-- Describe what has changed in this PR -->
Downgrading Github `All Tests` actions to use `ubuntu-20.04` instead of
`ubuntu-latest`

## Why?
<!-- Tell your future self why have you made these changes -->
It seems we started hitting an issue with Github's action runners. These
errors seem to appear most often when runners are killed because they
are using too much CPU or memory, but we have been unable to
conclusively say what might have caused an increase in resource usage.

Downgrading the ubuntu version worked for others and seems to be working
for us.

For more info:
* actions/runner-images#6709
* actions/runner-images#7188
* Users reported a similar issue with ubuntu-24.04 runners (not yet GA):
actions/runner-images#9848

## How did you test it?
<!-- How have you verified this change? Tested locally? Added a unit
test? Checked in staging env? -->
Reran all PR check jobs several times

## Potential risks
<!-- Assuming the worst case, what can be broken when deploying this
change to production? -->

## Documentation
<!-- Have you made sure this change doesn't falsify anything currently
stated in `docs/`? If significant
new behavior is added, have you described that in `docs/`? -->

## Is hotfix candidate?
<!-- Is this PR a hotfix candidate or does it require a notification to
be sent to the broader community? (Yes/No) -->
lukeshingles added a commit to artis-mcrt/artis that referenced this issue May 30, 2024
lukeshingles added a commit to artis-mcrt/artis that referenced this issue May 31, 2024
lukeshingles added a commit to artis-mcrt/artis that referenced this issue May 31, 2024
@albinahlback
Copy link

For our Ubuntu 24.04 runners, we are getting the warning Received request to deprovision: The request was cancelled by the remote provider. followed by a cancellation of the run when it passes more than 4 minutes. Here is an example run.

I believe it started yesterday/today, and nothing noteworthy has really changed in our repository in the past couple of days.

Perhaps related to #7897.

Our runners now seems to be okay.

@FeynmanZhou
Copy link

I am a maintainer of ORAS project. Will ORAS CLI still be reserved in Ubuntu 24.04 GA runner machine?

@finagolfin
Copy link

@mikhailkoliada, Swift just added 24.04 support for the latest patch release, would be good to add that to this image. Unless you meant something else by "maintenance reasons" above, other than there not being official 24.04 builds till now?

@actions actions deleted a comment Jun 14, 2024
@actions actions deleted a comment Jun 14, 2024
@actions actions deleted a comment Jun 14, 2024
@actions actions deleted a comment Jun 14, 2024
@actions actions deleted a comment Jun 14, 2024
@actions actions deleted a comment Jun 14, 2024
@actions actions deleted a comment Jun 14, 2024
@Laluakku
Copy link

Uploading fotor_1718323087600.png…

@MikeMcC399
Copy link

@mikhailkoliada

It would be great to see Firefox and Edge browsers added to the Ubuntu 24.04 beta > Browsers and Drivers section.

Is there any timeline available for this addition? I'm assuming that they are planned for the GA release of the runner in any case. Hopefully that is true?!

@passcod
Copy link

passcod commented Jun 22, 2024

Will this image be available on the ARM64 runners?

Edit: thanks! https://github.blog/changelog/2024-06-24-github-actions-ubuntu-24-04-image-now-available-for-arm64-runners

@gatleas17
Copy link

thx

@asbiin
Copy link
Contributor

asbiin commented Jun 25, 2024

I've found that Ubuntu 24.04 image is not working for Azure DevOps self-hosted VMSS: #10122

@esaulpaugh
Copy link

gradle still failing with exit code 134:

https://github.com/esaulpaugh/headlong-cli/actions/runs/9684527870/job/26722612613

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