From 8d332ad1eb0dd38645794510edd6288a3099dcdc Mon Sep 17 00:00:00 2001 From: Trevor Cooper Date: Mon, 22 Jul 2024 00:00:06 -0700 Subject: [PATCH] tests require python3 which is not default in rocky 8 --- tests/autocloud.pm | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/tests/autocloud.pm b/tests/autocloud.pm index e8ce9d67..0ffb5bf0 100644 --- a/tests/autocloud.pm +++ b/tests/autocloud.pm @@ -19,6 +19,10 @@ sub run { # autocloud used to use, via tunir and this tunir config: # https://infrastructure.fedoraproject.org/cgit/ansible.git/tree/roles/autocloud/backend/files/fedora.txt?id=6e7c1b90593df8371fd34ed9484bd4da119236d3 my $self = shift; + # tests require python3 which is not default installed in Rocky 8 + if (get_version_major() < 9) { + assert_script_run("dnf install -y python3", timeout => 240); + } # we need to use script_run as regular user assert_script_run "chmod ugo+w /dev/" . $serialdev; # let's go to another tty and login as regular user