Skip to content

Improve KVM autotest error reporting

Lucas Meneghel Rodrigues kvm 1 version New

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest5 patches 0 repliesNew

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/5virt.kvm_vm: Introduce background error queueclient/virt/virt_test.py+18 -10 replies
2/5virt.virt_env_process: fail tests due to guest screen inactivityclient/virt/tests/unattended_install.py client/virt/virt_env_process.py+35 -50 replies
3/5virt tests: Introduce inactivity watcher for unattended_installclient/tests/kvm/base.cfg.sample client/tests/kvm/subtests.cfg.sample+8 -00 replies
4/5virt.kvm_vm: Introduce vm.verify_userspace_crash()client/virt/kvm_vm.py client/virt/libvirt_vm.py client/virt/tests/unattended_install.py+26 -00 replies
5/5KVM test: Verify qemu process before throwing monitor exceptionsclient/virt/kvm_monitor.py client/virt/kvm_vm.py+28 -60 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [PATCH 0/5] Improve KVM autotest error reporting

This patchset adds some very welcome features:
* Make it possible to fail some tests due to guest screen inactivity (unattended_install, mainly)
* Make monitor errors to not mask qemu segmentation fault errors
* Introduce a mechanism to communicate errors that happen on a background thread to the main test thread.

It was also sent as:

https://github.com/autotest/autotest/pull/62

Lucas Meneghel Rodrigues (5):
virt.kvm_vm: Introduce background error queue virt.virt_env_process: fail tests due to guest screen inactivity virt tests: Introduce inactivity watcher for unattended_install virt.kvm_vm: Introduce vm.verify_userspace_crash() KVM test: Verify qemu process before throwing monitor exceptions

 client/tests/kvm/base.cfg.sample        |    6 ++++
 client/tests/kvm/subtests.cfg.sample    |    2 +
 client/virt/kvm_monitor.py              |   24 +++++++++++++++++-
 client/virt/kvm_vm.py                   |   28 +++++++++++++++++++---
 client/virt/libvirt_vm.py               |    7 +++++
 client/virt/tests/unattended_install.py |    2 +
 client/virt/virt_env_process.py         |   39 +++++++++++++++++++++++++++----
 client/virt/virt_test.py                |   19 ++++++++++++++-
 8 files changed, 115 insertions(+), 12 deletions(-)
Signature · 1 line
1.7.7