From c3becfea464e18a49912eb70f2923ef310d21fa6 Mon Sep 17 00:00:00 2001 From: Christian Breunig Date: Mon, 5 Oct 2026 20:50:09 +0200 Subject: smoketest: T9402: extend timeout for "install image" to finish After the last installer question the QEMU smoketest waits for the operational mode prompt with the default timeout of 60 seconds. Installing GRUB and unmounting the target, which flushes the copied image to disk, can take longer on large images, slow storage or loaded CI hosts. A working install was then reported as failed. Raise this wait to 300 seconds. --- scripts/check-qemu-install | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'scripts') diff --git a/scripts/check-qemu-install b/scripts/check-qemu-install index cbb2c964..08e36142 100755 --- a/scripts/check-qemu-install +++ b/scripts/check-qemu-install @@ -1120,7 +1120,9 @@ try: c.expect('\nWhich file would you like as boot config?.*') c.sendline('') - c.expect(op_mode_prompt) + # GRUB installation and unmounting (flushing the copied squashfs to disk) + # can take longer than the default pexpect timeout on large images + c.expect(op_mode_prompt, timeout=300) if args.sbtest: c.sendline('install mok') -- cgit v1.2.3