ovirt-imageio icon indicating copy to clipboard operation
ovirt-imageio copied to clipboard

Fix timeouts in backup tests

Open aesteve-rh opened this issue 2 years ago • 3 comments

These tests run a real vm, and github does not support hardware acceleration, so we run with emulation (tcg). This is very slow, so the host running the test is overloaded, it can time out.

Fails in test_incremental_backup_guest take ~20 seconds, using 60 seconds timeout. Using 120 seconds will likely eliminate these random failures

If not, maybe this is a bug in the code communicating with the vms using serial port: https://github.com/oVirt/ovirt-imageio/blob/e189066a0cee0fe8907a01febe26a6ec87ef8692/test/qemu.py#L100

Ideally, we need to log what we see on the wire in debug level, so when this code fails, we can understand if the issue was unexpected input from the guest or too slow guest.

aesteve-rh avatar Jul 14 '22 12:07 aesteve-rh