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 · 67 comments
Open
3 of 13 tasks

Ubuntu 24.04 is now available #9848

mikhailkoliada opened this issue May 14, 2024 · 67 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

@h-vetinari
Copy link

Is this available for Azure Pipeline yet? I tried this today (following the instructions in the OP), and got an immediate cancellation:

##[error]No config name or imagelabel provided in request
,##[error]The remote provider was unable to process the request.
Pool: Azure Pipelines
Image: ubuntu-24.04

@Damien-Chen
Copy link

Is ubuntu-24.04 image available on Azure Pipeline ? Same question as @h-vetinari

@EwoutH
Copy link
Contributor

EwoutH commented Aug 3, 2024

With 24.04 being out for a few months now, would it be a good time to start talking about a timeline for switching over ubuntu-latest to point to ubuntu-24.04?

@esaulpaugh
Copy link

With 24.04 being out for a few months now, would it be a good time to start talking about a timeline for switching over ubuntu-latest to point to ubuntu-24.04?

Just as soon as gradle stops being broken https://github.com/esaulpaugh/headlong-cli/actions/runs/9993964738/job/28268178266

@erik-bershel
Copy link
Contributor

Hey @esaulpaugh!
Take a look here: #9977

@erik-bershel
Copy link
Contributor

Hey @Damien-Chen, @h-vetinari, and @drmmr763.

Is ubuntu-24.04 image available on Azure Pipeline ?

All the available agents might be found here: https://learn.microsoft.com/en-us/azure/devops/pipelines/agents/hosted?view=azure-devops&tabs=yaml#software
Unfortunately I can not provide more info regarding image availability for Azure DevOps.

@h-vetinari
Copy link

@erik-bershel: Unfortunately I can not provide more info regarding image availability for Azure DevOps.

I appreciate the response, thanks. It's a bit confusing to me though, because the first post literally says

Azure DevOps

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

I don't know how Azure Pipelines & GHA are separated organisationally or infrastructurally, but since their website directly links back to this repo (if one clicks on any of the "Included Software" links on the page you referenced), and it's been announced it at the top of the issue, I feel it's really up to MSFT-employees to collaborate on some form of answer/timeline for this...

@MeesterDev
Copy link

@h-vetinari is right. Indeed, this issue shows up as the second result in both Google and Bing for "azure devops ubuntu 24.04" [without quotes] and provides the yaml to use for Azure DevOps, but when actually using it, it doesn't work. However, no information can be given in the only place that heavily implies it should be working.

I understand that for a big company collaboration can get complex, but you seem to be "sort of" collaborating, which makes things quite unclear for users (or at the very least, for me).

@drmmr763
Copy link

drmmr763 commented Aug 8, 2024

@erik-bershel its definitely a litlte confusing as the docs here suggest that this agent should be available even though its not. Also since Azure App Services are showing PHP Version 8.0 as deprecated https://azure.microsoft.com/en-us/updates/php8support/, we are wanting to upgrade to 8.3. Upgrading to 8.3 requires the build agent to also be 8.3 for things like composer.json dependency management.

All to say: things are not in sync here.

My temporary work around for now has been to dockerize my build steps and run PHP 8.3 and dependencies within the container by-passing the version on the 22.04 agent.

@EwoutH
Copy link
Contributor

EwoutH commented Aug 14, 2024

With 24.04 being out for a few months now, would it be a good time to start talking about a timeline for switching over ubuntu-latest to point to ubuntu-24.04?

Are there any blocking issues on starting this process?

@MikeMcC399
Copy link

@EwoutH

Are there any blocking issues on starting this process?

I guess the first step would be to come out of beta status, otherwise it would be a jump directly from beta to latest.

I'm still waiting for Edge and Firefox browsers to be added to the Ubuntu 24.04 runner.

@janbrasna
Copy link

@mikhailkoliada There are two "default" python versions in the OP overview table:

3.9.* (cached)
3.10.* (default)
3.11.* (cached)
3.12.* (default)

but it's probably just the latter that's meant to be the new default, right?

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