autopkgtest - automatic as-installed testing for Debian packages

Distribution: Ubuntu 16.04 LTS (Xenial Xerus)
Repository: Ubuntu Main amd64
Package name: autopkgtest
Package version: 3.20.4
Package release:
Package architecture: all
Package type: deb
Installed size: 495 B
Download size: 123.66 KB
Official Mirror:
autopkgtest runs tests on binary packages. The tests are run on the package as installed on a testbed system (which may be found via a virtualisation or containment system). The tests are expected to be supplied in the corresponding Debian source package. See adt-run(1) and /usr/share/doc/autopkgtest. Depending on which virtualization server you want to use, you need to install additional packages (schroot, lxc, lxd, or qemu-system) For generating tests of well-known source packages such as Perl and Ruby libraries you should install the autodep8 package.



    Source package: autopkgtest

    Install Howto

    1. Update the package index:
      # sudo apt-get update
    2. Install autopkgtest deb package:
      # sudo apt-get install autopkgtest


    • /usr/bin/adt-build-lxc
    • /usr/bin/adt-build-lxd
    • /usr/bin/adt-buildvm-ubuntu-cloud
    • /usr/bin/adt-run
    • /usr/bin/adt-virt-chroot
    • /usr/bin/adt-virt-lxc
    • /usr/bin/adt-virt-lxd
    • /usr/bin/adt-virt-null
    • /usr/bin/adt-virt-qemu
    • /usr/bin/adt-virt-schroot
    • /usr/bin/adt-virt-ssh
    • /usr/share/autopkgtest/python/
    • /usr/share/autopkgtest/python/
    • /usr/share/autopkgtest/python/
    • /usr/share/autopkgtest/python/
    • /usr/share/autopkgtest/python/
    • /usr/share/autopkgtest/python/
    • /usr/share/autopkgtest/setup-commands/ro-apt
    • /usr/share/autopkgtest/setup-commands/ro-apt-update
    • /usr/share/autopkgtest/setup-commands/setup-testbed
    • /usr/share/autopkgtest/setup-commands/ubuntu-touch-session
    • /usr/share/autopkgtest/ssh-setup/SKELETON
    • /usr/share/autopkgtest/ssh-setup/adb
    • /usr/share/autopkgtest/ssh-setup/maas
    • /usr/share/autopkgtest/ssh-setup/nova
    • /usr/share/autopkgtest/ssh-setup/snappy
    • /usr/share/doc/autopkgtest/CREDITS
    • /usr/share/doc/autopkgtest/
    • /usr/share/doc/autopkgtest/
    • /usr/share/doc/autopkgtest/README.package-tests.html
    • /usr/share/doc/autopkgtest/README.package-tests.rst.gz
    • /usr/share/doc/autopkgtest/README.running-tests.html
    • /usr/share/doc/autopkgtest/README.running-tests.rst.gz
    • /usr/share/doc/autopkgtest/README.virtualisation-server.html
    • /usr/share/doc/autopkgtest/README.virtualisation-server.rst.gz
    • /usr/share/doc/autopkgtest/changelog.gz
    • /usr/share/doc/autopkgtest/copyright
    • /usr/share/lintian/overrides/autopkgtest
    • /usr/share/man/man1/adt-build-lxc.1.gz
    • /usr/share/man/man1/adt-build-lxd.1.gz
    • /usr/share/man/man1/adt-buildvm-ubuntu-cloud.1.gz
    • /usr/share/man/man1/adt-run.1.gz
    • /usr/share/man/man1/adt-virt-chroot.1.gz
    • /usr/share/man/man1/adt-virt-lxc.1.gz
    • /usr/share/man/man1/adt-virt-lxd.1.gz
    • /usr/share/man/man1/adt-virt-null.1.gz
    • /usr/share/man/man1/adt-virt-qemu.1.gz
    • /usr/share/man/man1/adt-virt-schroot.1.gz
    • /usr/share/man/man1/adt-virt-ssh.1.gz


    2016-04-18 - Martin Pitt <> autopkgtest (3.20.4) unstable; urgency=medium * setup-commands/setup-testbed: Fix kernel header installation for precise/armhf, which does not yet have linux-headers-generic. * Use "nproc" to determine the number of processors available, which is both more correct in a cgroup world, and also simpler. * Add new --build-parallel=N option to explicitly set the "parallel=N" $DEB_BUILD_OPTION for building packages, to override the default of "number of available CPUs". This is mostly useful in containers where you can restrict the available RAM, but not restrict the number of CPUs. (LP: #1569750) * setup-commands/setup-testbed: ubuntu-snappy got renamed to snapd, adjust package name. * adt-build-lxd: Set "distribution", "release", and "architecture" properties of generated images. * adt-build-lxd: Clean up all old images of the same distro/release/arch, not just the previous one. Also fix cleanup to work in non-English locales. * setup-commands/setup-testbed: Call apt-get purge only once with the list of all packages, instead of once per package. This is much faster. * SchrootClickRunner tests: Chown click dir in /opt after creating the user. * Bump Standards-Version to 3.9.8 (no changes necessary). * Update Vcs-* URLs.

    2016-04-11 - Martin Pitt <> autopkgtest (3.20.3) unstable; urgency=medium * Makefile: Install SKELETON after the programs (which use an [a-z] glob), as the latter behaves differently in different locales. Thanks Alexis Bienvenüe! (Closes: #820148) * adt-buildvm-ubuntu-cloud: Use https for cloud image download. (LP: #1566846) * setup-commands/setup-testbed: Purge ubuntu-snappy. * adt-virt-qemu: On AMD CPUs, default to -cpu host instead of "kvm64,+svm,+lahf_lm". This introduces more jitter, but is the only -cpu mode that actually allows nested QEMU with current QEMU versions. * adt-build-lxd: Force-delete preparation container at the end, even if it is running. * adt-build-lxd: Disable apt proxy configuration with ADT_APT_PROXY=="none".

    2016-04-05 - Martin Pitt <> autopkgtest (3.20.2) unstable; urgency=medium * setup-commands/setup-testbed: Purge lxc-common for testbed preparation. * adt-buildvm-ubuntu-cloud: Use the same code for determining the default qemu-system-* command as adt-virt-qemu. This adds support for ppc64el and other architectures. (Closes: #818892) * adt-buildvm-ubuntu-cloud: If ifnames was disabled for the initial boot, keep it disabled for subsequent boots instead of changing to ens3. This fixes building images for Ubuntu 15.04. * lib/, cmd_reboot(): Drop workaround for dhclient hanging on reboot, LP #1556175 got fixed. * setup-commands/setup-testbed: Ensure that purging packages does not hang eternally on debconf prompts. * setup-commands/setup-testbed: Drop purging of xkb-data. * setup-commands/setup-testbed: Apply "vmalloc=512M" grub change also when using as a --setup-commands with adt-run, not only with building images. Fixes tests like udisks2 on i386 when using standard cloud images.