Skip to content

ubuntu latest is set to 2404 not 2204 as per documentation #11976

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

Closed
3 of 15 tasks
almmechanics opened this issue Apr 9, 2025 · 6 comments
Closed
3 of 15 tasks

ubuntu latest is set to 2404 not 2204 as per documentation #11976

almmechanics opened this issue Apr 9, 2025 · 6 comments

Comments

@almmechanics
Copy link

Description

Running ubuntu-latest for pipelines report back as 2404 instead of 2204 as per documentation

2025-04-09T08:52:56.8020788Z ##[group]Operating System
2025-04-09T08:52:56.8021015Z Ubuntu
2025-04-09T08:52:56.8021201Z 24.04.2
2025-04-09T08:52:56.8021314Z LTS

SQL Tooling expected for ubuntu-latest is no longer present - not previously documented as a feature of the migration

Platforms affected

  • Azure DevOps
  • GitHub Actions - Standard Runners
  • GitHub Actions - Larger Runners

Runner images affected

  • Ubuntu 20.04
  • Ubuntu 22.04
  • Ubuntu 24.04
  • macOS 13
  • macOS 13 Arm64
  • macOS 14
  • macOS 14 Arm64
  • macOS 15
  • macOS 15 Arm64
  • Windows Server 2019
  • Windows Server 2022
  • Windows Server 2025

Image version and build link

Current documentation indicates the Ubuntu image versions as follows

Ubuntu 22.04 ubuntu-22.04 ubuntu-latest OR ubuntu-22.04 Link
Ubuntu 20.04 ubuntu-20.04 ubuntu-20.04 Link
Ubuntu 24.04 ubuntu-24.04 ubuntu-24.04 Link

Taken from https://learn.microsoft.com/en-us/azure/devops/pipelines/agents/hosted?view=azure-devops&tabs=yamlUbuntu

Is it regression?

Reported in the logging as 24.04.2 LTS

Expected behavior

Latest to be in sync with the documentation

Actual behavior

Incorrect version being used

Repro steps

  1. Create a pipeline with ubuntu-latest as the Agent Specification (YAML or Classic have the same results)
    Image

2.Create a simple task i.e. a Bash Script to run uname -a
3. Run Pipeline and review the Initialize Job logged output
Image

Reports back as 24.04

@almmechanics
Copy link
Author

almmechanics commented Apr 9, 2025

@vidyasagarnimmagaddi
Copy link
Contributor

Hi @almmechanics ,Thank you for bringing this issue to our attention. We will look into this issue and will update you after investigating.


@Stuart-PG
Copy link

Can confirm. All of our pipelines using ubuntu:latest as the vmImage broke starting yesterday due to sqlcmd not found. The mssql-tools package is not included in 24.04. Specifying ubuntu-22.04 as the vmImage fixes the broken pipelines.

@caelchristian
Copy link

I also ran into this yesterday when trying to reference packages on .Net 9.0 on ubuntu-latest image.

@Prabhatkumar59
Copy link
Contributor

Hi @almmechanics - The changes will be performed by next week, we will update you accordingly. Thanks!

@Prabhatkumar59
Copy link
Contributor

Hi @almmechanics - The changes have been completed and now ubuntu 24 is ubuntu-latest. Please check from your side, closing this issue for now. Thanks!

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

5 participants