Bug#821037: adt-virt-lxc: leaves used containers behind

Antonio Terceiro terceiro at debian.org
Thu Apr 14 21:06:49 UTC 2016


Package: autopkgtest
Version: 3.20.3
Severity: normal

When using adt-virt-lxc, sometimes containers will not be properly shut down,
or not properly destroyed. For example, on one of the Debian CI workers I have
this:

root at ci-arm64-01:~# lxc-ls --fancy
NAME                 STATE    IPV4             IPV6  AUTOSTART
--------------------------------------------------------------
adt-sid-arm64        STOPPED  -                -     NO
adt-virt-lxc-faoppo  STOPPED  -                -     NO
adt-virt-lxc-fuwahc  RUNNING  -                -     NO
adt-virt-lxc-kargpd  STOPPED  -                -     NO
adt-virt-lxc-lmtqqi  STOPPED  -                -     NO
adt-virt-lxc-moatnl  RUNNING  192.168.122.188  -     NO

on all the others the situation is similar:

ci-worker10.debian.net: $ sudo lxc-ls --fancy | wc -l
ci-worker10.debian.net: 7
ci-worker09.debian.net: $ sudo lxc-ls --fancy | wc -l
ci-worker09.debian.net: 7
ci-worker08.debian.net: $ sudo lxc-ls --fancy | wc -l
ci-worker08.debian.net: 7
ci-worker07.debian.net: $ sudo lxc-ls --fancy | wc -l
ci-worker07.debian.net: 6
ci-worker06.debian.net: $ sudo lxc-ls --fancy | wc -l
ci-worker06.debian.net: 7
ci-worker05.debian.net: $ sudo lxc-ls --fancy | wc -l
ci-worker05.debian.net: 7
ci-worker04.debian.net: $ sudo lxc-ls --fancy | wc -l
ci-worker04.debian.net: 7
ci-worker03.debian.net: $ sudo lxc-ls --fancy | wc -l
ci-worker03.debian.net: 7
ci-worker02.debian.net: $ sudo lxc-ls --fancy | wc -l
ci-worker02.debian.net: 10
ci-worker01.debian.net: $ sudo lxc-ls --fancy | wc -l
ci-worker01.debian.net: 6
ci-arm64-02.debian.net: $ sudo lxc-ls --fancy | wc -l
ci-arm64-02.debian.net: 4
ci-arm64-01.debian.net: $ sudo lxc-ls --fancy | wc -l
ci-arm64-01.debian.net: 8

I have also noticed that on my workstation, after running a few adt-run calls.

-- System Information:
Debian Release: stretch/sid
  APT prefers unstable
  APT policy: (500, 'unstable'), (500, 'testing'), (1, 'experimental')
Architecture: amd64 (x86_64)

Kernel: Linux 4.4.0-1-amd64 (SMP w/4 CPU cores)
Locale: LANG=pt_BR.UTF-8, LC_CTYPE=pt_BR.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)

Versions of packages autopkgtest depends on:
ii  apt-utils       1.2.10
ii  libdpkg-perl    1.18.4
ii  procps          2:3.3.11-3
ii  python3         3.5.1-3
ii  python3-debian  0.1.27

Versions of packages autopkgtest recommends:
ii  autodep8  0.3

Versions of packages autopkgtest suggests:
ii  lxc          1:2.0.0-2
pn  lxd-client   <none>
ii  qemu-system  1:2.5+dfsg-5+b1
ii  qemu-utils   1:2.5+dfsg-5+b1
ii  schroot      1.6.10-2

-- no debconf information

--
Antonio Terceiro <terceiro at debian.org>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 819 bytes
Desc: not available
URL: <http://lists.alioth.debian.org/pipermail/autopkgtest-devel/attachments/20160414/1208c1bc/attachment.sig>


More information about the autopkgtest-devel mailing list