On Sun, 25 Sep 2022 Simon McVittie <[email protected]> wrote: > A breakdown of the time to run autopkgtest's autopkgtests in a qemu VM, > excluding time taken to install dependencies: > > - autopkgtest (NullRunner, ChrootRunner, etc.): 3 minutes > - installed (a smoke-test): < 1 minute > - docker: 32 minutes > - lxc: 16 minutes > - lxd: 45 minutes > - podman: 41 minutes > - podman-init: 20 minutes > - schroot: 96 minutes (!) > - unshare: 9 minutes > > I don't know why schroot was so painfully slow. I already made changes > during this release cycle to try to speed it up. Currently the slow tests are "lxc" and "lxc-old-testbed". Many of those tests do not really need a container: a chroot-like environment would be enough, so that running a test does not need to wait for boot to complete and similar. We could/should move many of those under UnshareRunner.

