diff options
| author | Bruce Ashfield <bruce.ashfield@gmail.com> | 2026-02-24 16:53:24 +0000 |
|---|---|---|
| committer | Bruce Ashfield <bruce.ashfield@gmail.com> | 2026-02-26 01:05:02 +0000 |
| commit | efccccda627426319d4ced3b8c8467962a69e30c (patch) | |
| tree | dc4e1ee3c9ecc2dbf0f9d5679eb5d7560635b41c /recipes-extended/images | |
| parent | 90d6712b3bead6fc6def7050787b5c4b2ce03260 (diff) | |
| download | meta-virtualization-efccccda627426319d4ced3b8c8467962a69e30c.tar.gz | |
xen: add runtime boot tests for hypervisor, guest bundling, vxn and containerd
New test_xen_runtime.py boots xen-image-minimal via runqemu and verifies:
- Xen hypervisor running (xl list, dmesg, Dom0 memory cap)
- Bundled guest autostart (alpine visible in xl list)
- vxn standalone (vxn run --rm alpine echo hello)
- containerd/vctr integration (ctr pull + vctr run)
Uses pexpect-based XenRunner with module-scoped fixture (boot once,
run all tests). TERM=dumb set after login to suppress terminal UI
from ctr/vxn progress bars. Free memory check skips vxn/vctr tests
gracefully when insufficient Xen memory available.
Also registers 'boot' marker in conftest.py and documents build
prerequisites, test options and skip behavior in README.md.
Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Diffstat (limited to 'recipes-extended/images')
0 files changed, 0 insertions, 0 deletions
