From dc42838b330072aac4b3c88ea2c809978114cd51 Mon Sep 17 00:00:00 2001 From: Micah Abbott Date: Tue, 15 Feb 2022 13:27:31 -0500 Subject: [PATCH 1/2] ci: use the RHEL 8.5 repos on the mirror We want to test RHCOS using RHEL 8.5 until we can switch to using RHEL 8.6, so use the newly created 8.5 repo. See: https://github.com/openshift/release/pull/26193 --- ci/prow-build-test-qemu.sh | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/ci/prow-build-test-qemu.sh b/ci/prow-build-test-qemu.sh index 7c0dd1c67..3c6d481c8 100755 --- a/ci/prow-build-test-qemu.sh +++ b/ci/prow-build-test-qemu.sh @@ -30,7 +30,9 @@ fi ocpver=$(rpm-ostree compose tree --print-only src/config/manifest.yaml | jq -r '.["mutate-os-release"]') ocpver_mut=$(rpm-ostree compose tree --print-only src/config/manifest.yaml | jq -r '.["mutate-os-release"]' | sed 's|\.|-|') prev_build_url=${REDIRECTOR_URL}/rhcos-${ocpver}/ -curl -L http://base-"${ocpver_mut}"-rhel8.ocp.svc.cluster.local > src/config/ocp.repo +# we want to use RHEL 8.5 for testing until we can start using 8.6 +# see https://github.com/openshift/release/pull/26193 +curl -L http://base-"${ocpver_mut}"-rhel85.ocp.svc.cluster.local > src/config/ocp.repo cosa buildfetch --url=${prev_build_url} cosa fetch cosa build From 4e8cc9ce925c10f8299fabb5ec6e8471390fa03c Mon Sep 17 00:00:00 2001 From: Micah Abbott Date: Thu, 24 Feb 2022 11:12:25 -0500 Subject: [PATCH 2/2] ci: disable testiso scenarios All of the ISO-based `testiso` scenarios are failing due to https://github.com/openshift/os/issues/666 so we are going to disable them until we get `util-linux` patched. See also: https://bugzilla.redhat.com/show_bug.cgi?id=2058176 --- ci/prow-build-test-qemu.sh | 22 +++++++++++++--------- 1 file changed, 13 insertions(+), 9 deletions(-) diff --git a/ci/prow-build-test-qemu.sh b/ci/prow-build-test-qemu.sh index 3c6d481c8..f05333b03 100755 --- a/ci/prow-build-test-qemu.sh +++ b/ci/prow-build-test-qemu.sh @@ -46,13 +46,17 @@ cosa buildextend-metal && cosa buildextend-metal4k && cosa buildextend-live # installs with the image format we ship cosa compress --artifact=metal --artifact=metal4k # Running testiso scenarios on metal artifact -kola testiso -S --scenarios pxe-install,pxe-offline-install,iso-install,iso-offline-install,iso-live-login,iso-as-disk --output-dir tmp/kola-metal +# Skip the following scenarios: iso-install,iso-offline-install,iso-live-login,iso-as-disk +# See: https://github.com/openshift/os/issues/666 +kola testiso -S --scenarios pxe-install,pxe-offline-install --output-dir tmp/kola-metal # iso-install scenario to sanity-check the metal4k media -kola testiso -S --qemu-native-4k --qemu-multipath --scenarios iso-install --output-dir tmp/kola-metal4k -if [ $(uname -i) = x86_64 ] || [ $(uname -i) = aarch64 ]; then - mkdir -p tmp/kola-uefi - kola testiso -S --qemu-firmware uefi --scenarios iso-live-login,iso-as-disk --output-dir tmp/kola-uefi/insecure - if [ $(uname -i) = x86_64 ]; then - kola testiso -S --qemu-firmware uefi-secure --scenarios iso-live-login,iso-as-disk --output-dir tmp/kola-uefi/secure - fi -fi +# Skip all the testiso scenarios for metal4k + UEFI +# See: https://github.com/openshift/os/issues/666 +# kola testiso -S --qemu-native-4k --qemu-multipath --scenarios iso-install --output-dir tmp/kola-metal4k +# if [ $(uname -i) = x86_64 ] || [ $(uname -i) = aarch64 ]; then +# mkdir -p tmp/kola-uefi +# kola testiso -S --qemu-firmware uefi --scenarios iso-live-login,iso-as-disk --output-dir tmp/kola-uefi/insecure +# if [ $(uname -i) = x86_64 ]; then +# kola testiso -S --qemu-firmware uefi-secure --scenarios iso-live-login,iso-as-disk --output-dir tmp/kola-uefi/secure +# fi +# fi