Changelog
autopkgtest (4.2~ubuntu16.04.1) xenial-backports; urgency=medium
* No-change backport to xenial
autopkgtest (4.2) unstable; urgency=medium
[ Martin Pitt ]
* ssh: Fix result of tests that break the testbed. (LP: #1630578)
* qemu: Fix user/password login mode without a ttyS1 root shell.
- Concatenate bytes with each other, not a str to a byte.
- Sync/flush console after sending password and ttyS1 shell command, wait
until login is complete before continuing.
- Send password to sudo for ttyS1 shell command, to also work with
password-requiring sudo. (LP: #1630963)
* qemu: Fix reboot in user/password login mode.
* ssh: Add --capability option.
This is useful to run tests which require an isolation level or have
breaks-testbed without a setup script.
* autopkgtest-build-lxd: Ask "lxc profile" for default bridge instead of
/etc/default/lxd-bridge. The latter went away in recent LXD versions, and
"lxc profile show default" also works in earlier versions.
* Make --apt-upgrade consider a "404" error as test failure.
Previously all errors from "apt-get update" were considered temporary
failures, i. e. the setup command always exited with 1. But if we specify
e. g. a nonexisting release from a distro or a PPA, this won't just go
away by itself -- we want the test to actually fail instead of getting
stuck in an eternal "retry on temporary failures" loop.
* schroot: Don't fail on stderr of schroot as long as it succeeds.
(LP: #1637898)
* qemu: Hide detected udev file system properties on /dev/baseimage.
(Closes: #842299)
[ Simon McVittie ]
* VirtSubproc: open arbitrary files in binary mode.
* VirtSubproc: if check_exec status is nonzero, include stderr in message.
* qemu: put the shared directory in /run. If the virtual machine's root
filesystem is read-only, we won't be able to create /autopkgtest.
* qemu: Move eofcat into /tmp. This avoids having to write it to /bin, which
might be read-only. Re-create eofcat on every boot for this.
* source_rules_command: log the result we got if it is not as expected
(Closes: #842302)
* Add 'needs-reboot' restriction. This allows tests to be explicit about
needing to reboot the machine, rather than assuming that
'isolation-machine' is enough. It is plumbed into the existing 'reboot'
capability, which is distinct from 'isolation-machine'.
(Closes: #842300)
* Add --setup-commands-boot for commands that must be run at every boot.
This can be used for doing "mount -o remount,rw /" before any dpkg
operation, or transient setup like writing files into /run/.
(Closes: #842091)
autopkgtest (4.1) unstable; urgency=medium
[ Martin Pitt ]
* ssh-setup/nova: Move to python3 and to current -novaclient API
* schroot: Bump end-session timeout to 5 minutes.
30 seconds might not be enough when running big schroots on slow disks.
* ssh-setup/nova: Add --nova-reboot option.
In some clouds using "nova reboot --poll" waits several minutes until
after the machine is actually up again. OTOH a simple "reboot" inside some
other clouds causes network to break after "reboot". As there is no method
that works everywhere, default to the autopkgtest-virt-ssh behaviour again
("reboot" and wait for ssh), and add an option to use "nova reboot"
instead.
[ Stéphane Graber ]
* debian/tests/lxd: Update bridge setup to work with LXD 2.3 and higher.
This moves from /etc/default/lxd-bridge to lxd-internal configuration.
[ Barry Warsaw ]
* Support url#refspec format.
Fix the bug in the previously supported url#branch syntax, where the code
expected a space separator but the documentation described the # separator.
Generalize the approach with an explicit fetch/checkout so that GitHub style PR
refspecs like "refs/pull/21/head" also work as branch name.
(Closes: #839072)
autopkgtest (4.0.5) unstable; urgency=medium
* setup-commands/setup-testbed: Don't configure ifupdown when using
networkd, as done by latest vmdebootstrap.
* autopkgtest-chroot.1: Fix typo
* Drop broken and unmaintained ssh-setup/snappy setup script.
This hasn't ever been used in production and stopped working long ago.
* Run tests/autopkgtest_args during package build
* Put virt servers back into $PATH.
The virt servers were originally intended to be public API (even though not
documented as such) and other packages might provide virt servers. Put them
back into /usr/bin, with an "autopkgtest-virt-" prefix to mirror the original
"adt-virt-" naming. Rename the manpages to match the binaries.
(Closes: #835204)
* tests/autopkgtest: Relax checks for testpkg.deb from local repository
apt 1.3 changes the format, so be less picky about it.
* Fix "apt-get source" version detection for single-line "Package-List:"
-- Martin Pitt <email address hidden> Sun, 06 Nov 2016 22:13:59 +0100