Skip to content

Improve reliability of vcontainer-tests

[email protected] yocto-meta-virtualization 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest3 patches 3 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/3vrunner: add /sbin,/usr/sbin to PATHrecipes-containers/vcontainer/files/vrunner.sh+1 -00 replies
2/3vrunner.sh: fix daemon_stop() shutdown reliabilityrecipes-containers/vcontainer/files/vrunner.sh+9 -10 replies
3/3tests/conftest.py: memrest_stop timeout=120tests/conftest.py+2 -20 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/3] Improve reliability of vcontainer-tests

From: Tim Orling <[email protected]>

Running the tests locally highlighted some issues -- including timing issues -- with additional timing sensitivity highlighted on the Yocto Project autobuilder [1].

The full test suite, without memres passed on local host Debian 13.6 (trixie):

pytest tests/test_vdkr.py -v \
--vdkr-dir /tmp/vcontainer \
--oci-image .../build/tmp/deploy/images/qemux86-64/app-container-curl-latest-oci

With these changes, the test suites pass on the Yocto Project autobuilder [2].

[1] https://autobuilder.yoctoproject.org/valkyrie/#/builders/118/builds/6
[2] https://autobuilder.yoctoproject.org/valkyrie/#/builders/118/builds/7

The following changes since commit a4987f0af6f30883e1dcd52cec66311343241d6f:

grub-efi: Ensure changes only apply with the selected DISTRO_FEATURES (2026-07-21 12:41:02 +0000)

are available in the Git repository at:

https://github.com/moto-timo/meta-virtualization contrib/timo/vcontainer-tests
https://github.com/moto-timo/meta-virtualization/tree/contrib/timo/vcontainer-tests

for you to fetch changes up to 76663da09cf268817d875971c8fd11cf4820ed96:

tests/conftest.py: memrest_stop timeout=120 (2026-07-26 16:48:47 -0700)

----------------------------------------------------------------

Tim Orling (3):
vrunner: add /sbin,/usr/sbin to PATH vrunner.sh: fix daemon_stop() shutdown reliability tests/conftest.py: memrest_stop timeout=120

 recipes-containers/vcontainer/files/vrunner.sh | 11 ++++++++++-
 tests/conftest.py                              |  4 ++--
 2 files changed, 12 insertions(+), 3 deletions(-)
Signature · 1 line
2.47.3