[Bug 1348749] Re: autopkgtest fails sometimes with adt-virt-lxc
Launchpad Bug Tracker
1348749 at bugs.launchpad.net
Tue Jul 29 16:19:07 UTC 2014
** Branch linked: lp:debian/autopkgtest
--
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to autopkgtest in Ubuntu.
https://bugs.launchpad.net/bugs/1348749
Title:
autopkgtest fails sometimes with adt-virt-lxc
Status in “autopkgtest” package in Ubuntu:
Fix Committed
Bug description:
# set up vars, install packages
# Note, haveged is just to stop gpg gen-key from blocking.
$ release=utopic; cname="source-$release";
$ sudo apt-get install --assume-yes --quiet lxc autopkgtest haveged
# set up container
$ sudo lxc-create --template=ubuntu-cloud "--name=$cname" -- \
--stream=daily --release=$release
# get some .dsc to build
$ apt-get source python-boto
$ dsc=$(echo *.dsc)
$ dpkg-query --show lxc autopkgtest
autopkgtest 3.3
lxc 1.1.0~alpha1-0ubuntu3
# try to build the dsc. Sometimes this will work fine.
# sometimes it will fail. Heres an example failed output.
$ adt-run --output-dir=out.d "$dsc" --- lxc --ephemeral --sudo "$cname"
adt-run --debug --output-dir=out.d "$dsc" --- lxc --ephemeral --sudo $cname
adt-run: DBG: Parsed options: Namespace(apt_pocket=[], copy=[], gainroot=None, gnupghome='~/.autopkgtest/gpg', logfile=None, output_dir='out.d', set_lang='C.UTF-8', setup_commands=[], shell=False, shell_fail=False, summary=None, timeout_build=100000, timeout_copy=300, timeout_factor=1.0, timeout_install=3000, timeout_short=100, timeout_test=10000, user=None, verbosity=2)
adt-run: DBG: Remaining arguments: ['python-boto_2.20.1-2ubuntu2.dsc']
adt-run: DBG: Interpreted actions: ['--source', 'python-boto_2.20.1-2ubuntu2.dsc']
adt-run: DBG: Virt runner arguments: ['lxc', '--ephemeral', '--sudo', 'source-utopic']
adt-run: DBG: / tmp(specified) rmtree out.d
adt-run: DBG: testbed init
adt-run [18:04:20]: version 3.3
adt-run: DBG: $ vserver: adt-virt-lxc --ephemeral --sudo source-utopic
adt-run: DBG: got reply from testbed: ok
adt-run: DBG: testbed open, scratch=None
adt-run: DBG: sending command to testbed: open
<VirtSubproc>: failure: (down) ['mkdir', '-m', '777', '/tmp/adt-virt-lxc.shared.8p2iecfr/downtmp'] failed (exit status 2)
Sometimes it will succeed. For this failure case, the next lines after
sending command to testbed would have been somethin glike:
adt-run: DBG: got reply from testbed: ok /tmp/adt-virt-lxc.shared.vq82rc_3/downtmp
adt-run: DBG: sending command to testbed: print-execute-command
adt-run: DBG: got reply from testbed: ok sudo,-E,lxc-attach,-n,adt-virt-lxc-cwlszg,--,env,-i,sh,-ac,.%20/etc/environment%202%3E/dev/null%3B%20.%20/etc/default/locale%202%3E/dev/nu
ll%3B%20exec%20%22%24%40%22,--
adt-run: DBG: sending command to testbed: capabilities
...
ProblemType: Bug
DistroRelease: Ubuntu 14.10
Package: autopkgtest 3.3
ProcVersionSignature: User Name 3.16.0-5.10-generic 3.16.0-rc6
Uname: Linux 3.16.0-5-generic x86_64
ApportVersion: 2.14.4-0ubuntu2
Architecture: amd64
Date: Fri Jul 25 17:39:18 2014
Ec2AMI: ami-00000039
Ec2AMIManifest: FIXME
Ec2AvailabilityZone: nova
Ec2InstanceType: m1.small
Ec2Kernel: aki-00000002
Ec2Ramdisk: ari-00000002
PackageArchitecture: all
ProcEnviron:
TERM=screen
PATH=(custom, no user)
XDG_RUNTIME_DIR=<set>
LANG=en_US.UTF-8
SHELL=/bin/bash
SourcePackage: autopkgtest
UpgradeStatus: No upgrade log present (probably fresh install)
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/autopkgtest/+bug/1348749/+subscriptions
More information about the foundations-bugs
mailing list