Skip to content

CI unit-tests broken due to update of ubuntu-latest for GitHub runners #493

@climbfuji

Description

@climbfuji

Steps to reproduce the failure(s) or link(s) to test output(s)

See https://github.com/JCSDA/spack/actions/runs/12401329616 (for spack-stack-dev default branch). The problem and temporary workaround are described here: spack#48152

Error message

sudo apt-get -y update
  # Needed for unit tests
  sudo apt-get -y install \
      coreutils cvs gfortran graphviz gnupg2 mercurial ninja-build \
      cmake bison libbison-dev kcov
  shell: /usr/bin/bash -e {0}
  env:
    pythonLocation: /opt/hostedtoolcache/Python/[3](https://github.com/JCSDA/spack/actions/runs/12400686228/job/34618429762#step:4:3).12.8/x64
    PKG_CONFIG_PATH: /opt/hostedtoolcache/Python/3.12.8/x6[4](https://github.com/JCSDA/spack/actions/runs/12400686228/job/34618429762#step:4:4)/lib/pkgconfig
    Python_ROOT_DIR: /opt/hostedtoolcache/Python/3.12.8/x64
    Python2_ROOT_DIR: /opt/hostedtoolcache/Python/3.12.8/x64
    Python3_ROOT_DIR: /opt/hostedtoolcache/Python/3.12.8/x64
    LD_LIBRARY_PATH: /opt/hostedtoolcache/Python/3.12.8/x64/lib
Get:1 file:/etc/apt/apt-mirrors.txt Mirrorlist [142 B]
Hit:2 http://azure.archive.ubuntu.com/ubuntu noble InRelease
Get:3 http://azure.archive.ubuntu.com/ubuntu noble-updates InRelease [126 kB]
Get:4 http://azure.archive.ubuntu.com/ubuntu noble-backports InRelease [126 kB]
Get:[5](https://github.com/JCSDA/spack/actions/runs/12400686228/job/34618429762#step:4:5) http://azure.archive.ubuntu.com/ubuntu noble-security InRelease [12[6](https://github.com/JCSDA/spack/actions/runs/12400686228/job/34618429762#step:4:6) kB]
Hit:6 https://packages.microsoft.com/repos/azure-cli noble InRelease
Get:[7](https://github.com/JCSDA/spack/actions/runs/12400686228/job/34618429762#step:4:7) http://azure.archive.ubuntu.com/ubuntu noble-updates/main amd64 Packages [749 kB]
Get:17 https://packages.microsoft.com/ubuntu/24.04/prod noble InRelease [3600 B]
Get:[8](https://github.com/JCSDA/spack/actions/runs/12400686228/job/34618429762#step:4:8) http://azure.archive.ubuntu.com/ubuntu noble-updates/main Translation-en [170 kB]
Get:[9](https://github.com/JCSDA/spack/actions/runs/12400686228/job/34618429762#step:4:9) http://azure.archive.ubuntu.com/ubuntu noble-updates/main amd64 Components [151 kB]
Get:[10](https://github.com/JCSDA/spack/actions/runs/12400686228/job/34618429762#step:4:10) http://azure.archive.ubuntu.com/ubuntu noble-updates/universe amd64 Packages [930 kB]
Get:[11](https://github.com/JCSDA/spack/actions/runs/12400686228/job/34618429762#step:4:11) http://azure.archive.ubuntu.com/ubuntu noble-updates/universe Translation-en [231 kB]
Get:[12](https://github.com/JCSDA/spack/actions/runs/12400686228/job/34618429762#step:4:12) http://azure.archive.ubuntu.com/ubuntu noble-updates/universe amd64 Components [309 kB]
Get:[13](https://github.com/JCSDA/spack/actions/runs/12400686228/job/34618429762#step:4:13) http://azure.archive.ubuntu.com/ubuntu noble-updates/restricted amd64 Packages [572 kB]
Get:[14](https://github.com/JCSDA/spack/actions/runs/12400686228/job/34618429762#step:4:14) http://azure.archive.ubuntu.com/ubuntu noble-updates/restricted Translation-en [110 kB]
Get:[15](https://github.com/JCSDA/spack/actions/runs/12400686228/job/34618429762#step:4:16) http://azure.archive.ubuntu.com/ubuntu noble-updates/restricted amd64 Components [212 B]
Get:[16](https://github.com/JCSDA/spack/actions/runs/12400686228/job/34618429762#step:4:17) http://azure.archive.ubuntu.com/ubuntu noble-updates/multiverse amd64 Components [940 B]
Get:18 http://azure.archive.ubuntu.com/ubuntu noble-backports/main amd64 Components [208 B]
Get:19 http://azure.archive.ubuntu.com/ubuntu noble-backports/universe amd64 Components [11.7 kB]
Get:20 http://azure.archive.ubuntu.com/ubuntu noble-backports/restricted amd64 Components [216 B]
Get:21 http://azure.archive.ubuntu.com/ubuntu noble-backports/multiverse amd64 Components [212 B]
Get:22 http://azure.archive.ubuntu.com/ubuntu noble-security/main amd64 Packages [563 kB]
Get:23 http://azure.archive.ubuntu.com/ubuntu noble-security/main Translation-en [110 kB]
Get:24 http://azure.archive.ubuntu.com/ubuntu noble-security/main amd64 Components [72[20](https://github.com/JCSDA/spack/actions/runs/12400686228/job/34618429762#step:4:21) B]
Get:25 http://azure.archive.ubuntu.com/ubuntu noble-security/universe amd64 Packages [760 kB]
Get:26 http://azure.archive.ubuntu.com/ubuntu noble-security/universe Translation-en [162 kB]
Get:27 http://azure.archive.ubuntu.com/ubuntu noble-security/universe amd64 Components [51.9 kB]
Get:28 http://azure.archive.ubuntu.com/ubuntu noble-security/restricted amd64 Packages [560 kB]
Get:29 http://azure.archive.ubuntu.com/ubuntu noble-security/restricted Translation-en [108 kB]
Get:30 http://azure.archive.ubuntu.com/ubuntu noble-security/restricted amd64 Components [[21](https://github.com/JCSDA/spack/actions/runs/12400686228/job/34618429762#step:4:22)2 B]
Get:31 http://azure.archive.ubuntu.com/ubuntu noble-security/multiverse amd64 Components [212 B]
Get:32 https://packages.microsoft.com/ubuntu/24.04/prod noble/main amd64 Packages [15.7 kB]
Get:33 https://packages.microsoft.com/ubuntu/[24](https://github.com/JCSDA/spack/actions/runs/12400686228/job/34618429762#step:4:25).04/prod noble/main armhf Packages [5884 B]
Get:34 https://packages.microsoft.com/ubuntu/24.04/prod noble/main arm64 Packages [10.4 kB]
Fetched 5972 kB in 1s (7298 kB/s)
Reading package lists...
Reading package lists...
Building dependency tree...
Reading state information...
E: Unable to locate package kcov

Information on your system or the test runner

Not needed

Additional information

No response

General information

  • I have reported the version of Spack/Python/Platform/Runner
  • I have run spack maintainers <name-of-the-package> and @mentioned any maintainers
  • I have uploaded any available logs
  • I have searched the issues of this repo and believe this is not a duplicate

Metadata

Metadata

Assignees

Labels

bugSomething is not working

Type

No type

Projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions