[elbe-devel] [PATCH 00/11] elbepack: test_xml: allow execution of tests with QEMU initvm

Thomas Weißschuh thomas.weissschuh at linutronix.de
Thu Aug 8 11:38:11 CEST 2024


Running the unittests with QEMU allows the testing of that codepath and
also allows them to run without libvirt.
This is will be useful when running the full testsuite during the CI.

Signed-off-by: Thomas Weißschuh <thomas.weissschuh at linutronix.de>
---
Thomas Weißschuh (11):
      elbepack: main: propagate exceptions from run_elbe_subcommand()
      elbepack: init: properly test for /dev/kvm usability
      elbepack: initvm: signal errors through exceptions
      elbepack: initvm: suppress subprocess ResourceWarning
      elbepack: test_xml: execute initvm subcommand with correct arguments
      elbepack: test_xml: introduce custom rebuild step
      elbepack: test_xml: stop initvm after tests
      elbepack: test_xml: remember initvm setup errors
      elbepack: test_xml: clean up initvm on failures
      elbepack: test_xml: prepare for more flexible initvm selection
      elbepack: test_xml: add support for QEMU initvms

 conftest.py                 |  5 ++--
 elbepack/directories.py     |  2 +-
 elbepack/init/Makefile.mako |  2 +-
 elbepack/initvm.py          | 13 ++++++---
 elbepack/main.py            |  4 +++
 elbepack/tests/test_xml.py  | 65 +++++++++++++++++++++++++++++++++++----------
 6 files changed, 69 insertions(+), 22 deletions(-)
---
base-commit: cac6960a66fa27f9a836b494b20b8d97243a393a
change-id: 20240807-tests-qemu-initvm-a7123d32ae24

Best regards,
-- 
Thomas Weißschuh <thomas.weissschuh at linutronix.de>



More information about the elbe-devel mailing list