]> xenbits.xensource.com Git - xen.git/commit
CI: switch qubes runners to use console.exp
authorMarek Marczykowski-Górecki <marmarek@invisiblethingslab.com>
Fri, 11 Apr 2025 20:32:15 +0000 (22:32 +0200)
committerAndrew Cooper <andrew.cooper3@citrix.com>
Fri, 11 Apr 2025 21:07:57 +0000 (22:07 +0100)
commitd604d774a24bae21e15c831e172455bd4600663d
tree3c543db7e01efdc85c42b43d1abb2f9c972041d0
parent1e12cbd6af2c92e61a1363ef208f71da1eae47ab
CI: switch qubes runners to use console.exp

It appears as sometimes it takes more time for Xen even start booting,
mostly due to firmware and fetching large boot files by grub. In some
jobs the current timeout is pretty close to the actual time needed, and
sometimes (rarely for now) test fails due to timeout expiring in the
middle of dom0 booting. This will be happening more often if the
initramfs will grow (and with more complex tests).
This has been observed on some dom0pvh-hvm jobs, at least on runners hw3
and hw11.

Switch to using expect (console.exp) for more robust test output
handling. This allows waiting separately for Xen starting to boot and
then for the test to complete. For now, set both of those to 120s, which
pessimistically bumps timeout for the whole test to 240s (from 120s).

Add S3 handling to console.exp via SUSPEND_MSG + WAKEUP_CMD.

Signed-off-by: Marek Marczykowski-Górecki <marmarek@invisiblethingslab.com>
automation/build/alpine/3.18-arm64v8.dockerfile
automation/scripts/console.exp
automation/scripts/qubes-x86-64.sh