diff options
| author | Christian Breunig <christian@breunig.cc> | 2026-10-05 20:50:09 +0200 |
|---|---|---|
| committer | Christian Breunig <christian@breunig.cc> | 2026-10-05 20:50:09 +0200 |
| commit | c3becfea464e18a49912eb70f2923ef310d21fa6 (patch) | |
| tree | dca66698828e6a4fddbe5657306e7b8124c52ec3 /scripts | |
| parent | b744b1a0c794db4ca1a6336053389bbc02e2e6f6 (diff) | |
| download | vyos-build-c3becfea464e18a49912eb70f2923ef310d21fa6.tar.gz vyos-build-c3becfea464e18a49912eb70f2923ef310d21fa6.zip | |
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.
Diffstat (limited to 'scripts')
| -rwxr-xr-x | scripts/check-qemu-install | 4 |
1 files changed, 3 insertions, 1 deletions
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') |
