From 83323504a65cbf5ca724f47715eb1eaac3617abb Mon Sep 17 00:00:00 2001 From: Daniel Hilst <392820+dhilst@users.noreply.github.com> Date: Thu, 16 Jul 2026 22:37:49 -0300 Subject: [PATCH 1/2] Fix GitHub CI: use noble image + latest/noble xcat-dep The xcat-dep APT repo now publishes only the noble (24.04) codename at .../apt/latest/xcat-dep; the bionic/devel dist no longer exists, so install_xcat failed on apt-get update/install. Run the workflow on ubuntu-24.04 and point the apt source at latest/xcat-dep noble main. Drop the apt-key step: apt-key is removed on Ubuntu 24.04 and the legacy apt.key is gone from the xcat-dep dir; the repo already installs via allow-insecure-repositories/allow-unauthenticated. --- .github/workflows/xcat_test.yml | 2 +- github_action_xcat_test.pl | 5 ++--- 2 files changed, 3 insertions(+), 4 deletions(-) diff --git a/.github/workflows/xcat_test.yml b/.github/workflows/xcat_test.yml index a021c08a6..736357bc2 100644 --- a/.github/workflows/xcat_test.yml +++ b/.github/workflows/xcat_test.yml @@ -2,7 +2,7 @@ name: xcat_test on: [pull_request, workflow_dispatch] jobs: xcat_pr_test: - runs-on: ubuntu-22.04 + runs-on: ubuntu-24.04 timeout-minutes: 60 steps: - uses: actions/checkout@v6 diff --git a/github_action_xcat_test.pl b/github_action_xcat_test.pl index 74b3f8da8..ec78b8f0d 100644 --- a/github_action_xcat_test.pl +++ b/github_action_xcat_test.pl @@ -307,9 +307,8 @@ sub install_xcat{ my @cmds = ("sudo ./mklocalrepo.sh", "sudo chmod 777 /etc/apt/sources.list", - "sudo echo \"deb [arch=amd64 allow-insecure=yes] http://xcat.org/files/xcat/repos/apt/devel/xcat-dep bionic main\" >> /etc/apt/sources.list", - "sudo echo \"deb [arch=ppc64el allow-insecure=yes] http://xcat.org/files/xcat/repos/apt/devel/xcat-dep bionic main\" >> /etc/apt/sources.list", - "sudo wget -q -O - \"http://xcat.org/files/xcat/repos/apt/apt.key\" | sudo apt-key add -", + "sudo echo \"deb [arch=amd64 allow-insecure=yes] http://xcat.org/files/xcat/repos/apt/latest/xcat-dep noble main\" >> /etc/apt/sources.list", + "sudo echo \"deb [arch=ppc64el allow-insecure=yes] http://xcat.org/files/xcat/repos/apt/latest/xcat-dep noble main\" >> /etc/apt/sources.list", "sudo apt-get -qq --allow-insecure-repositories update"); chdir $ENV{RUNNER_WORKSPACE};; From f9717ea8dadfb691901c57d258f657573e4bc8c4 Mon Sep 17 00:00:00 2001 From: Daniel Hilst <392820+dhilst@users.noreply.github.com> Date: Thu, 16 Jul 2026 23:32:24 -0300 Subject: [PATCH 2/2] CI: install build-essential so xcat-core debs build on noble On the ubuntu-24.04 runner, dpkg-buildpackage aborted every xcat-core package with 'Unmet build dependencies: build-essential:native', so zero debs were produced, reprepro created no dists/noble, and 'apt-get update' against the local file: repo failed with 'dists/noble/.../Packages File not found' -> install_xcat failed. Add build-essential to the workflow dependency install so the local package repo is actually built. --- .github/workflows/xcat_test.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/xcat_test.yml b/.github/workflows/xcat_test.yml index 736357bc2..f85895940 100644 --- a/.github/workflows/xcat_test.yml +++ b/.github/workflows/xcat_test.yml @@ -7,6 +7,6 @@ jobs: steps: - uses: actions/checkout@v6 - name: Install dependencies - run: sudo apt-get install -y --no-install-recommends --no-install-suggests fakeroot reprepro devscripts debhelper libcapture-tiny-perl libjson-perl libsoap-lite-perl libdbi-perl libcgi-pm-perl quilt openssh-server dpkg looptools genometools software-properties-common + run: sudo apt-get install -y --no-install-recommends --no-install-suggests build-essential fakeroot reprepro devscripts debhelper libcapture-tiny-perl libjson-perl libsoap-lite-perl libdbi-perl libcgi-pm-perl quilt openssh-server dpkg looptools genometools software-properties-common - name: Run tests run: perl github_action_xcat_test.pl