[Pkg-libvirt-maintainers] Bug#848317: smoke-lxc on different architectures

Christian Ehrhardt christian.ehrhardt at canonical.com
Fri Dec 16 09:43:49 UTC 2016


Package: libvirt
Version: 2.5.0-1
Severity: normal

Hi,
continuing to iron out the smoke tests as I really would like to get them
running stable across all environments and architectures on the 2.5 release.

This time I ran the tests (in the somewhat in flight state that we are
discussing in other bugs) on all architectures.
I found issues on s390x where container-in-container seems not to work as
usual for now.

I succeeded to run the test on Bare Metal and in a KVM Guest, but in a
container I face issues when I want to start the guest. These look like
this on automated tests:

+ virsh start sl
error: Failed to start domain sl
error: internal error: guest failed to start: 2016-12-16 07:41:53.195+000

Not a lot of info to deal with, so I set up manually and even when fixing
up a few minor things I still can't pass over the following error:

# virsh start sl
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

I haven't found much more on it - we could in the long term, but I'd like
to get it working now if possible.

One possible solution would be to do an x86 only like on the qemu test a la:

if [ $(uname -m) != "x86_64" ]; then
...

Another one could be to restrict it for now to isolation-machine - that
seems to get around the issue.
That would allow to run on more platforms than pure x86 only - not sure
thou what is better.

diff --git a/debian/tests/control b/debian/tests/control
index cd15424..3a30399 100644
--- a/debian/tests/control
+++ b/debian/tests/control
@@ -9,7 +9,7 @@ Restrictions: allow-stderr, isolation-machine, needs-root

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

-- 
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/20161216/daf95891/attachment.html>


More information about the Pkg-libvirt-maintainers mailing list