From 734c6c5f59acaf2dac6bce137a4ed5ebec451e36 Mon Sep 17 00:00:00 2001 From: Colin Walters Date: Wed, 6 Nov 2024 16:23:56 -0500 Subject: [PATCH] tests: Drop layering-fedorainfra This is another one with hardcoded package versions that just breaks over time. I don't think this test is worth its overhead and anyways eventually we want to have all of this be part of dnf/bootc. Signed-off-by: Colin Walters --- .../kolainst/destructive/layering-fedorainfra | 31 ------------------- 1 file changed, 31 deletions(-) delete mode 100755 tests/kolainst/destructive/layering-fedorainfra diff --git a/tests/kolainst/destructive/layering-fedorainfra b/tests/kolainst/destructive/layering-fedorainfra deleted file mode 100755 index 6b99f224bb..0000000000 --- a/tests/kolainst/destructive/layering-fedorainfra +++ /dev/null @@ -1,31 +0,0 @@ -#!/bin/bash -# kola: { "tags": "needs-internet", "minMemory": 1536 } -# Test https://github.com/coreos/rpm-ostree/pull/2420 -# i.e. using overrides from Fedora Infrastructure tools (koji/bodhi) -set -euo pipefail - -. ${KOLA_EXT_DATA}/libtest.sh -cd $(mktemp -d) - -set -x - -# bodhi update for rpm-ostree (Fedora 39) -rpm-ostree override replace https://bodhi.fedoraproject.org/updates/FEDORA-2023-4ce1b013fb -rpm-ostree status > status.txt -rpm-ostree cleanup -p -# A build directly via Koji (this is rpm-ostree-2021.1-2.fc33 - FIXME change -# this to pull latest tagged...which would require learning more of the Koji API -# *or* injecting it from the build container) -rpm-ostree override replace https://koji.fedoraproject.org/koji/buildinfo?buildID=2317305 - -n_systemd_installed=$(rpm -qa | grep ^systemd | wc -l) -rpm-ostree override replace https://bodhi.fedoraproject.org/updates/FEDORA-2023-f866360f34 |& tee out.txt -n_systemd_downloaded=$(grep Downloading out.txt | wc -l) -n_systemd_replaced=$(rpm-ostree db diff | grep systemd | wc -l) -if [[ $n_systemd_installed != $n_systemd_downloaded ]]; then - fatal "Found $n_systemd_installed installed systemd pkgs, but $n_systemd_downloaded downloaded" -elif [[ $n_systemd_installed != $n_systemd_replaced ]]; then - fatal "Found $n_systemd_installed installed systemd pkgs, but $n_systemd_replaced replaced" -fi - -echo "ok"