Control: tags -1 patch On Wed, Sep 11, 2024 at 01:13:01AM +0200, Andrea Bolognani wrote: > I'll attach a tentative patch here and also open a merge request on > salsa. Feel free to pick up whichever one is more convenient.
Patch is attached. The merge request is https://salsa.debian.org/debian/oz/-/merge_requests/2 As partial proof that the fix works as intended, compare https://salsa.debian.org/abologna/oz/-/jobs/6252654 which doesn't include the change and https://salsa.debian.org/abologna/oz/-/jobs/6253326 which does. In the former, we can see the following error: > raise libvirtError('virConnectOpen() failed') E libvirt.libvirtError: no connection driver available for qemu:///session which is caused by the QEMU connection driver being absent; the latter contains other failures, but not that one. I haven't really tried running the autopkgtest locally because I'm not sure that the isolation/virtualization used for the testbed will play nicely with oz's own tests, which supposedly will also want to use virtualization. If someone who's more familiar with the package than I am is willing to contribute some tips on how to effectively test these changes locally, I'll be happy to do so. -- Andrea Bolognani <[email protected]> Resistance is futile, you will be garbage collected.
From b5672536f84413d8ceb45f5ce11277b4fea088b8 Mon Sep 17 00:00:00 2001 From: Andrea Bolognani <[email protected]> Date: Mon, 9 Sep 2024 21:26:51 +0200 Subject: [PATCH] autopkgtest: Add libvirt-daemon-driver-qemu dependency Historically, the libvirt-daemon package has had a hard dependency on the libvirt-daemon-driver-qemu package, which contains the QEMU connection driver. That has changed in libvirt 10.6.0-2, where the Depends was downgraded to a Recommends in order to increase flexibility when it comes to deployment options, opening the door to things such as an LXC-only hypervisor host. Since Recommends are ignored when setting up the environment in which autopkgtest are run, we need to add an explicit dependency on the QEMU connection driver, which is used as part of the functional tests. Closes: #1081357 Signed-off-by: Andrea Bolognani <[email protected]> --- debian/tests/control | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/debian/tests/control b/debian/tests/control index 5a5e809..8b91f16 100644 --- a/debian/tests/control +++ b/debian/tests/control @@ -1,3 +1,3 @@ Tests: oz Architecture: amd64 -Depends: libvirt-daemon, oz, python3-pytest, python3-py +Depends: libvirt-daemon, libvirt-daemon-driver-qemu, oz, python3-pytest, python3-py -- 2.39.2
signature.asc
Description: PGP signature

