[Pkg-libvirt-maintainers] Bug#955278: libvirt: arm64 autopktest fails due to non-installable test dependencies

Laurent Bigonville bigon at debian.org
Mon Mar 30 10:24:53 BST 2020


Package: src:libvirt
Followup-For: Bug #955278

Hello,

Please find a patch here that should fix this issue

Kind regards,

Laurent Bigonville

-- System Information:
Debian Release: bullseye/sid
  APT prefers unstable-debug
  APT policy: (500, 'unstable-debug'), (500, 'unstable'), (1, 'experimental-debug'), (1, 'experimental')
Architecture: amd64 (x86_64)

Kernel: Linux 5.4.0-4-amd64 (SMP w/8 CPU cores)
Locale: LANG=fr_BE.UTF-8, LC_CTYPE=fr_BE.UTF-8 (charmap=UTF-8), LANGUAGE=fr_BE:fr (charmap=UTF-8)
Shell: /bin/sh linked to /usr/bin/dash
Init: systemd (via /run/systemd/system)
LSM: SELinux: enabled - Mode: Permissive - Policy name: refpolicy
-------------- next part --------------
diff -Nru libvirt-6.0.0/debian/tests/control libvirt-6.0.0/debian/tests/control
--- libvirt-6.0.0/debian/tests/control	2020-03-14 12:36:29.000000000 +0100
+++ libvirt-6.0.0/debian/tests/control	2020-03-30 11:16:29.000000000 +0200
@@ -4,7 +4,7 @@
 
 Tests: smoke-qemu-session
 Depends: libvirt-daemon, libvirt-clients, libxml2-utils, qemu-system, qemu-kvm
-Restrictions: allow-stderr, isolation-container
+Restrictions: allow-stderr, isolation-container, skippable, skip-not-installable
 
 Tests: smoke-lxc
 Depends: libvirt-daemon-system, libvirt-daemon-driver-lxc, libvirt-clients, libxml2-utils
diff -Nru libvirt-6.0.0/debian/tests/smoke-qemu-session libvirt-6.0.0/debian/tests/smoke-qemu-session
--- libvirt-6.0.0/debian/tests/smoke-qemu-session	2020-01-17 17:05:52.000000000 +0100
+++ libvirt-6.0.0/debian/tests/smoke-qemu-session	2020-03-30 11:16:29.000000000 +0200
@@ -19,12 +19,12 @@
 
 if [ ! -f /vmlinuz ] || [ ! -f /initrd.img ]; then
    echo "Kernel or initrd not found...skipping".
-   exit 0
+   exit 77
 fi
 
 if [ $(uname -m) != "x86_64" ]; then
    echo "Not on x86_64...skipping"
-   exit 0
+   exit 77
 fi
 
 echo echo "Running as $USER"


More information about the Pkg-libvirt-maintainers mailing list