From ce2496302204ac488901a85242de52afcdf06ab1 Mon Sep 17 00:00:00 2001 From: Frantisek Sumsal Date: Wed, 10 Jan 2024 21:56:01 +0100 Subject: [PATCH] Temporary downgrade kernel to 6.7 for integration tests There's something wrong with the 6.8 kernel, so let's temporarily downgrade to 6.7 until I figure out what's going on. --- integration/upstream-tests/test.sh | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/integration/upstream-tests/test.sh b/integration/upstream-tests/test.sh index 9ff11df..3f6c670 100755 --- a/integration/upstream-tests/test.sh +++ b/integration/upstream-tests/test.sh @@ -10,6 +10,15 @@ pushd "$WORKDIR" # shellcheck disable=SC2064 trap "chmod -R o+rX $TMT_TEST_DATA" EXIT +if [[ "${TMT_REBOOT_COUNT:?}" -eq 0 ]]; then + # Temporary workaround for a borked 6.8 kernel + koji download-build --arch=x86_64 kernel-6.7.0-68.fc40 + rm -f ./kernel-*debug*.rpm + dnf -y install ./kernel*.rpm + grubby --set-default /boot/vmlinuz-6.7.0-68.fc40.x86_64 + tmt-reboot +fi + # Switch SELinux to permissive, since the tests don't set proper contexts setenforce 0