I've debugged this, and the exit code returned is '2'.
Thats the same exit code that you get if you do:
 sh -ac '. /nonexistant; true'; echo $?

So whats happening, I think is that in adt-virt-lxc, its doing:

  . /etc/environment 2>/dev/null; . /etc/default/locale 2>/dev/null;
exec "$@"'

in the cloud images, /etc/default/locale is created by cloud-init on boot.
So we were hitting a race condition where the command would try to source a 
non-existing file.

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1348749

Title:
  autopkgtest fails sometimes with adt-virt-lxc

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/autopkgtest/+bug/1348749/+subscriptions

-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to