On Thu, Nov 26, 2015 at 12:48:13PM +0000, Simon McVittie wrote: > On 26/11/15 10:19, Antonio Terceiro wrote: > > The dbus test suite started timing out on ci.debian.net, taking several > > hours to run. A few days ago ci.debian.net switched from using schroot > > to using lxc containers to run tests, so that might be related -- > > perhaps because now there is already a system-level dbus daemon running > > on the testbed? > > The tests shouldn't require that there isn't already a system dbus-daemon.
yeah I now realize what I said does not make much sense. > One of the tests (uid-permissions when re-run as root) is known to fail > in 1.10.4+. This was not caught by the upstream test suite because it is > not routinely run as root. I believe I've fixed this upstream, and the > same patch has addressed test failures in Ubuntu, but I haven't had time > to do a new release yet. > > I thought the symptom of that would be an assertion failure, not a > timeout; but it did seem to be hitting a timeout on > autopkgtest.ubuntu.com prior to the patch being included, so perhaps > this is the same thing? > > Is there a way I can reproduce the ci.debian.net environment on a local > virtual machine or cluster of virtual machines, preferably jessie amd64? > https://ci.debian.net/doc/file.MAINTAINERS.html currently still > documents the schroot-based setup. Right! I need to update that. basically $ sudo adt-build-lxc debian sid $ adt-run dbus --- lxc --sudo adt-sid-$ARCH you need to be able to preserve the environment in some calls to lxc-* under sudo, for that I use the following in /etc/sudoers.d/lxc: ----------------8<----------------8<----------------8<----------------- %sudo ALL = NOPASSWD:SETENV: /usr/bin/lxc- ----------------8<----------------8<----------------8<----------------- -- Antonio Terceiro <[email protected]>
signature.asc
Description: PGP signature

