[PATCH 0/3] Improve reliability of vcontainer-tests

[email protected] Sun, 26 Jul 2026 17:21:31 -0700
Newsgroups org.yoctoproject.lists.meta-virtualization
Message-ID <[email protected]>
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(-)

-- 
2.47.3