1
0
mirror of https://pagure.io/fedora-qa/createhdds.git synced 2024-12-18 00:43:08 +00:00

Extend virt-install timeout on aarch64

I think aarch64 desktop images are often failing to build because
it takes longer than the timeout, so let's bump it a bit.

Signed-off-by: Adam Williamson <awilliam@redhat.com>
This commit is contained in:
Adam Williamson 2024-03-24 09:00:24 -07:00
parent 81e1a18c27
commit f96e2991fe

View File

@ -294,9 +294,14 @@ class VirtInstallImage(object):
arch = self.arch arch = self.arch
fedoradir = 'fedora/linux' fedoradir = 'fedora/linux'
memsize = '3072' memsize = '3072'
timeout = 3600
if arch == "ppc64le": if arch == "ppc64le":
fedoradir = 'fedora-secondary' fedoradir = 'fedora-secondary'
memsize = '4096' memsize = '4096'
if arch == "aarch64":
# desktop images take quite a while to build on aarch64,
# particularly on the slower worker on stg
timeout = 7200
variant = self.variant variant = self.variant
# From F31 onwards, Workstation tree is not installable and we # From F31 onwards, Workstation tree is not installable and we
@ -347,7 +352,7 @@ class VirtInstallImage(object):
logger.debug("Command: %s", ' '.join(args)) logger.debug("Command: %s", ' '.join(args))
if not textinst: if not textinst:
logger.info("Connect via VNC to monitor") logger.info("Connect via VNC to monitor")
ret = subprocess.call(args, timeout=3600) ret = subprocess.call(args, timeout=timeout)
except subprocess.TimeoutExpired: except subprocess.TimeoutExpired:
logger.warning("Image creation timed out!") logger.warning("Image creation timed out!")
# clean up the domain again # clean up the domain again