<div dir="ltr"><div>Package: libvirt</div><div>Version: 2.5.0-1</div><div>Severity: normal</div><div><br></div><div>Hi,</div><div>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.</div><div><br></div><div>This time I ran the tests (in the somewhat in flight state that we are discussing in other bugs) on all architectures.</div><div>I found issues on s390x where container-in-container seems not to work as usual for now.</div><div><br></div><div>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:</div><div><br></div><div><div>+ virsh start sl</div><div>error: Failed to start domain sl</div><div>error: internal error: guest failed to start: 2016-12-16 07:41:53.195+000</div></div><div><br></div><div>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:</div><div><br></div><div><span style="font-family:monospace"><span style="color:rgb(0,0,0)"># virsh start sl
</span><br>error: Failed to start domain sl
<br>error: internal error: guest failed to start: Failure in libvirt_lxc startup: Failed to mount devpts on /var/run/libvirt/lxc/sl.devpts: Permission<br> denied<br>
<br></span></div><div><span style="font-family:monospace">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.</span></div><div><span style="font-family:monospace"><br></span></div><div><span style="font-family:monospace">One possible solution would be to do an x86 only like on the qemu test a la:</span></div><div><span style="font-family:monospace"><br></span></div><div><span style="font-family:monospace"><span style="font-weight:bold;color:rgb(255,255,84)">if [</span><span style="color:rgb(0,0,0)"> </span><span style="font-weight:bold;color:rgb(84,84,255)">$(</span><span style="font-weight:bold;color:rgb(255,84,84)">uname -m</span><span style="font-weight:bold;color:rgb(84,84,255)">)</span><span style="color:rgb(0,0,0)"> </span><span style="font-weight:bold;color:rgb(255,255,84)">!=</span><span style="color:rgb(0,0,0)"> </span><span style="font-weight:bold;color:rgb(255,255,84)">"</span><span style="font-weight:bold;color:rgb(255,84,255)">x86_64</span><span style="font-weight:bold;color:rgb(255,255,84)">"</span><span style="color:rgb(0,0,0)"> </span><span style="font-weight:bold;color:rgb(255,255,84)">];</span><span style="color:rgb(0,0,0)"> </span><span style="font-weight:bold;color:rgb(255,255,84)">then</span><br></span></div><div><span style="font-family:monospace"><span style="font-weight:bold;color:rgb(255,255,84)">...</span></span></div><div><span style="font-family:monospace"><span style="font-weight:bold;color:rgb(255,255,84)"><br></span></span></div><div><font face="monospace">Another one could be to restrict it for now to isolation-machine - that seems to get around the issue.</font></div><div><font face="monospace">That would allow to run on more platforms than pure x86 only - not sure thou what is better.</font></div><div><font face="monospace"><br></font></div><div><span style="font-family:monospace"><span style="font-weight:bold;color:rgb(0,0,0)">diff --git a/debian/tests/control b/debian/tests/control</span><span style="color:rgb(0,0,0)">
</span><br><span style="font-weight:bold;color:rgb(0,0,0)">index cd15424..3a30399 100644</span><span style="color:rgb(0,0,0)">
</span><br><span style="font-weight:bold;color:rgb(0,0,0)">--- a/debian/tests/control</span><span style="color:rgb(0,0,0)">
</span><br><span style="font-weight:bold;color:rgb(0,0,0)">+++ b/debian/tests/control</span><span style="color:rgb(0,0,0)">
</span><br><span style="color:rgb(24,178,178)">@@ -9,7 +9,7 @@</span><span style="color:rgb(0,0,0)"> Restrictions: allow-stderr, isolation-machine, needs-root
</span><br> Â <br> Tests: smoke-lxc
<br> Depends: libvirt-daemon-system, libvirt-clients, libxml2-utils
<br><span style="color:rgb(178,24,24)">-Restrictions: allow-stderr, needs-root</span><span style="color:rgb(0,0,0)">
</span><br><span style="color:rgb(24,178,24)">+Restrictions: allow-stderr, needs-root, isolation-machine</span><span style="color:rgb(0,0,0)">
</span><br> Â <br> Tests: build-test
<br> Depends: libvirt-dev, build-essential, pkg-config<br></span></div><div><br></div>-- <br><div class="gmail_signature"><div dir="ltr"><div><div dir="ltr"><span style="color:rgb(136,136,136);font-size:12.8px">Christian Ehrhardt</span><div style="color:rgb(136,136,136);font-size:12.8px">Software Engineer, Ubuntu Server</div><div style="color:rgb(136,136,136);font-size:12.8px">Canonical Ltd</div></div></div></div></div>
</div>