From b86f44488be00efd53457e920d792113d98483d7 Mon Sep 17 00:00:00 2001 From: Trevor Cooper Date: Fri, 18 Feb 2022 19:12:25 -0800 Subject: [PATCH] extend timeouts --- tests/_boot_to_anaconda.pm | 2 +- tests/_support_server.pm | 6 +++--- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/tests/_boot_to_anaconda.pm b/tests/_boot_to_anaconda.pm index 9aa372d2..d48bc9ab 100644 --- a/tests/_boot_to_anaconda.pm +++ b/tests/_boot_to_anaconda.pm @@ -90,7 +90,7 @@ sub run { # match for the installer bootloader if it hangs around for a # while after do_bootloader finishes (in PXE case it does) sleep 20; - assert_screen "bootloader", 1800; + assert_screen "bootloader", 3600; } else { if (get_var("ANACONDA_TEXT")) { diff --git a/tests/_support_server.pm b/tests/_support_server.pm index 5ae283c1..bf13a605 100644 --- a/tests/_support_server.pm +++ b/tests/_support_server.pm @@ -31,7 +31,7 @@ sub _pxe_setup { assert_script_run "mkdir -p /var/lib/tftpboot/pxelinux.cfg"; # install bootloader packages assert_script_run "dnf -y install syslinux", 120; - assert_script_run "dnf -y --releasever=$ourversion --installroot=/var/tmp/rocky install shim-x64 grub2-efi-x64", 300; + assert_script_run "dnf -y --releasever=$ourversion --refresh --installroot=/var/tmp/rocky install shim-x64 grub2-efi-x64", 1800; # copy bootloader files to tftp root assert_script_run "cp /usr/share/syslinux/{pxelinux.0,vesamenu.c32,ldlinux.c32,libcom32.c32,libutil.c32} /var/lib/tftpboot"; assert_script_run "cp /var/tmp/rocky/boot/efi/EFI/rocky/{shim.efi,grubx64.efi} /var/lib/tftpboot"; @@ -49,7 +49,7 @@ sub _pxe_setup { elsif ($arch eq 'ppc64le') { # ppc64le: use grub2 for OFW # install bootloader tools package - assert_script_run "dnf -y install grub2-tools-extra", 180; + assert_script_run "dnf -y install grub2-tools-extra", 360; # install a network bootloader to tftp root assert_script_run "grub2-mknetdir --net-directory=/var/lib/tftpboot"; # bootloader config @@ -146,7 +146,7 @@ sub run { assert_script_run "mount /dev/cdrom /mnt/iso"; # copy the contents of the ISO to the repo share assert_script_run "dnf -y install rsync", 180; - assert_script_run "rsync -av /mnt/iso/ /repo", 180; + assert_script_run "rsync -av /mnt/iso/ /repo", 360; # put the updates image in the NFS repo (for testing this update # image delivery method) assert_script_run "curl -o /repo/images/updates.img https://fedorapeople.org/groups/qa/updates/updates-openqa.img";