[Pkg-libvirt-maintainers] Bug#848317: isolation needs for stacked container issues in the test

Christian Ehrhardt christian.ehrhardt at canonical.com
Mon Dec 19 14:12:26 UTC 2016


Hi,
the other issues are not passed (added a temp workaround for now), but no
matter what I run into issues with that in stacked containers.
Working (with the workaround) in bare-metal and in autopkgtest KVM guests,
but not in containers.

I get this in latest debian-sid (container) when running the test:
error: Failed to start domain sl
error: internal error: guest failed to start: Failure in libvirt_lxc
startup: Failed to mount devpts on /var/run/libvirt/lxc/sl.devpts:
Permission denied

Since it is working just fine in a VM, I'd ask to defining isolation-machine

diff --git a/debian/tests/control b/debian/tests/control
index 6b99112..f6432d9 100644
--- a/debian/tests/control
+++ b/debian/tests/control
@@ -9,7 +9,7 @@ Restrictions: allow-stderr, isolation-container

Tests: smoke-lxc
Depends: libvirt-daemon-system, libvirt-clients, libxml2-utils
-Restrictions: allow-stderr, needs-root
+Restrictions: allow-stderr, needs-root, isolation-machine

Tests: build-test
Depends: libvirt-dev, build-essential, pkg-config


I haven't found yet what really happens on my failing restart, but one step
at a time.


-- 
Christian Ehrhardt
Software Engineer, Ubuntu Server
Canonical Ltd
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.alioth.debian.org/pipermail/pkg-libvirt-maintainers/attachments/20161219/95f52e30/attachment.html>


More information about the Pkg-libvirt-maintainers mailing list