Assumption: Host Linux is Ubuntu 20.04, autopkgtest is 5.11, and Devuan version of debootstrap and devuan-keyring are installed.

Preparation of host Linux

  1. Install devuan-keyring and the Devuan version of debootstrap package, available from http://deb.devuan.org/merged/
  2. apt-get --install-recommends install virt-manager
  3. apt-get --no-install-recommends install vmdb2 autodep8 arch-test autopkgtest
  4. (Optional) as recommended in autopkgtest-virt-qemu(1), add
    options kvm_intel nested=1
    options kvm_amd   nested=1
    to /etc/modā€probe.d/nested_kvm.conf

Preparation of qemu testbed for Devuan packages

  1. Make the following file as /root/ceres.list
    deb http://deb.devuan.org/merged/ ceres main contrib non-free
    deb-src http://deb.devuan.org/merged/ ceres main contrib non-free
    deb http://deb.devuan.org/merged/ chimaera main contrib non-free
    deb-src http://deb.devuan.org/merged/ chimaera main contrib non-free
    deb http://deb.devuan.org/merged/ beowulf main contrib non-free
    deb-src http://deb.devuan.org/merged/ beowulf main contrib non-free
    deb http://deb.devuan.org/merged/ beowulf-updates main contrib non-free
    deb-src http://deb.devuan.org/merged/ beowulf-updates main contrib non-free
    deb http://deb.devuan.org/merged/ beowulf-security main contrib non-free
    deb-src http://deb.devuan.org/merged/ beowulf-security main contrib non-free
  2. Run AUTOPKGTEST_APT_SOURCES_FILE=/root/ceres.list autopkgtest-build-qemu ceres /var/lib/libvirt/images/autopkgtest-ceres.img http://deb.devuan.org/merged/.
  3. Start virt-manager on autopkgtest-ceres.img, and in the created testbed autopkgtest-ceres.img, do the following:
    1. Edit /etc/inittab and modify the following line as
      T0:2345:respawn:/sbin/agetty -8iL ttyS0 115200 vt100
      T1:2345:respawn:/bin/sh -il
    2. (Optional) Add lazytime and discard options to /etc/fstab

Autopkgtest of Ceres/Chimaera packages

Find source packages with "Testsuite: autopkgtest" in http://deb.devuan.org/devuan/dists/ceres/main/source/Sources.gz and http://deb.devuan.org/devuan/dists/chimaera/main/source/Sources.gz. They are apt cgmanager colord dbus debootstrap init-system-helpers pdns-recursor policykit-1udisks2 util-linux in Ceres and alsa-lib atk1.0 cairo espeak-ng fribidi gdk-pixbuf glib2.0 glibc gnupg2 harfbuzz libdatrie libgpg-error libthai libxcb openssh openssl pango1.0 screen in Chimaera. For each package (as $i) , run /usr/bin/autopkgtest -B -o /var/tmp/pkgtest-$i $i -- qemu --ram-size=4096 --cpus=4 /var/lib/libvirt/images/autopkgtest-ceres.img