Subject: bug#450: autopkgtest: cannot build a testbed for LXC

From: Ryutaroh Matsumoto <[email-masked]>
Date: Sun, 10 May 2020 10:46:15 +0900 (JST)

Package: autopkgtest
Version: 5.10
Severity: grave
Justification: renders package unusable

Dear Maintainer,

man autopkgtest-build-lxc says

SYNOPSIS
       autopkgtest-build-lxc distribution release [architecture] [script]

       It calls lxc-create with the distribution template (which can currently be debian or ubuntu) and -rrelease to build a
       debootstrap-like container, then enables deb-src apt sources, and runs apt-get update.

Then by root

# autopkgtest-build-lxc devuan beowulf
lxc-create: autopkgtest-beowulf: utils.c: get_template_path: 918 No such file or directory - bad template: devuan
lxc-create: autopkgtest-beowulf: lxccontainer.c: do_lxcapi_create: 1786 Unknown template "devuan"
lxc-create: autopkgtest-beowulf: tools/lxc_create.c: main: 327 Failed to create container autopkgtest-beowulf

Note that LXC virtualization backend is the default of debci and autopkgtest commands.

If Devuan project has no intention/plan to deploy CI, then autpkgtest and debci can be simply banned...

Best regards, Ryutaroh Matsumoto

-- System Information:
Distributor ID:	Debian
Description:	Devuan GNU/Linux 3 (beowulf)
Release:	3
Codename:	beowulf
Architecture: x86_64

Kernel: Linux 4.19.0-8-amd64 (SMP w/4 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8), LANGUAGE=en_US:en (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: sysvinit (via /sbin/init)
LSM: AppArmor: enabled

Versions of packages autopkgtest depends on:
ii  apt-utils       1.8.2
ii  libdpkg-perl    1.19.7
ii  procps          2:3.3.15-2+devuan1
ii  python3         3.7.3-1
ii  python3-debian  0.1.35

Versions of packages autopkgtest recommends:
ii  autodep8  0.18

Versions of packages autopkgtest suggests:
ii  lxc               1:3.1.0+really3.0.3-8
pn  lxd               <none>
pn  ovmf              <none>
pn  qemu-efi-aarch64  <none>
pn  qemu-efi-arm      <none>
pn  qemu-system       <none>
pn  qemu-utils        <none>
pn  schroot           <none>
pn  vmdb2             <none>

-- no debconf information