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

sbt is suddenly missing from ubuntu-latest #11350

Open
1 of 16 tasks
SimonC-Audigent opened this issue Jan 10, 2025 · 1 comment
Open
1 of 16 tasks

sbt is suddenly missing from ubuntu-latest #11350

SimonC-Audigent opened this issue Jan 10, 2025 · 1 comment

Comments

@SimonC-Audigent
Copy link

SimonC-Audigent commented Jan 10, 2025

Description

For the past ~1h, sbt seems to be missing (or the PATH is not set correctly) on the ubuntu-latest image:

/home/runner/work/_temp/6c9b5771-47b7-4ed1-a326-fe3b291018ef.sh: line 1: sbt: command not found

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 12
  • 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 runner version: '2.321.0'
Operating System
  Ubuntu
  [2](https://github.com/AuDigent/spark-segments-jobs/actions/runs/12711670785/job/35437093898#step:1:2)4.04.1
  LTS
Runner Image
  Image: ubuntu-2[4](https://github.com/AuDigent/spark-segments-jobs/actions/runs/12711670785/job/35437093898#step:1:4).04
  Version: 202[5](https://github.com/AuDigent/spark-segments-jobs/actions/runs/12711670785/job/35437093898#step:1:5)0105.1.0
  Included Software: https://github.com/actions/runner-images/blob/ubuntu24/20250[10](https://github.com/AuDigent/spark-segments-jobs/actions/runs/12711670785/job/35437093898#step:1:11)5.1/images/ubuntu/Ubuntu2404-Readme.md
  Image Release: https://github.com/actions/runner-images/releases/tag/ubuntu24%2F20250105.1
Runner Image Provisioner
  2.0.404.1

Is it regression?

yes

Expected behavior

sbt is installed correctly on the VM

Actual behavior

sbt is either not installed or not in the PATH

Repro steps

run any sbt command and you get the error:
line 1: sbt: command not found

@subir0071
Copy link
Contributor

subir0071 commented Jan 10, 2025

Hi @SimonC-Audigent,
ubuntu-latest image which references ubuntu-24.04 does not have sbt pre-installed anymore.
Here, is the list of softwares installed in this image.

Please feel free to use any of the two below options to fix your issue -

  1. change the runner label of the workflow to ubuntu-22.04 where sbt is available.
    or
  2. Use the community provided sbt installation action
     - name: Install sbt 
       uses: sbt/setup-sbt@v1

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

2 participants