From: | apt(dot)postgresql(dot)org repository <myon(at)debian(dot)org> |
---|---|
To: | PostgreSQL in Debian <pgsql-pkg-debian(at)postgresql(dot)org> |
Subject: | autopkgtest updated to version 3.5.3~pgdg+1 |
Date: | 2014-09-28 17:50:24 |
Message-ID: | E1XYIc4-0004Oh-BO@atalia.postgresql.org |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-pkg-debian |
The package autopkgtest was updated on apt.postgresql.org:
New version 3.5.3~pgdg+1:
autopkgtest | 3.5.3~pgdg+1 | sid-pgdg | amd64, i386, source
autopkgtest | 3.5.3~pgdg70+1 | wheezy-pgdg | amd64, i386, source
autopkgtest | 2.6~pgdg60+1 | squeeze-pgdg | amd64, i386, source
autopkgtest | 3.5.3~pgdg14.10+1 | utopic-pgdg | amd64, i386, source
autopkgtest | 3.5.3~pgdg14.04+1 | trusty-pgdg | amd64, i386, source
autopkgtest | 2.6~pgdg12.4+1 | saucy-pgdg | amd64, i386, source
autopkgtest | 2.6~pgdg12.4+1 | precise-pgdg | amd64, i386, source
autopkgtest | 2.6~pgdg10.4+1 | lucid-pgdg | amd64, i386, source
autopkgtest-xenlvm | 2.6~pgdg+1 | sid-pgdg | amd64, i386
autopkgtest-xenlvm | 2.6~pgdg70+1 | wheezy-pgdg | amd64, i386
autopkgtest-xenlvm | 2.6~pgdg60+1 | squeeze-pgdg | amd64, i386
autopkgtest-xenlvm | 2.6~pgdg14.04+1 | utopic-pgdg | amd64, i386
autopkgtest-xenlvm | 2.6~pgdg14.04+1 | trusty-pgdg | amd64, i386
autopkgtest-xenlvm | 2.6~pgdg12.4+1 | saucy-pgdg | amd64, i386
autopkgtest-xenlvm | 2.6~pgdg12.4+1 | precise-pgdg | amd64, i386
autopkgtest-xenlvm | 2.6~pgdg10.4+1 | lucid-pgdg | amd64, i386
Old version 2.6~pgdg+1:
autopkgtest | 2.6~pgdg+1 | sid-pgdg | amd64, i386, source
autopkgtest | 2.6~pgdg70+1 | wheezy-pgdg | amd64, i386, source
autopkgtest | 2.6~pgdg60+1 | squeeze-pgdg | amd64, i386, source
autopkgtest | 2.6~pgdg14.04+1 | utopic-pgdg | amd64, i386, source
autopkgtest | 2.6~pgdg14.04+1 | trusty-pgdg | amd64, i386, source
autopkgtest | 2.6~pgdg12.4+1 | saucy-pgdg | amd64, i386, source
autopkgtest | 2.6~pgdg12.4+1 | precise-pgdg | amd64, i386, source
autopkgtest | 2.6~pgdg10.4+1 | lucid-pgdg | amd64, i386, source
autopkgtest-xenlvm | 2.6~pgdg+1 | sid-pgdg | amd64, i386
autopkgtest-xenlvm | 2.6~pgdg70+1 | wheezy-pgdg | amd64, i386
autopkgtest-xenlvm | 2.6~pgdg60+1 | squeeze-pgdg | amd64, i386
autopkgtest-xenlvm | 2.6~pgdg14.04+1 | utopic-pgdg | amd64, i386
autopkgtest-xenlvm | 2.6~pgdg14.04+1 | trusty-pgdg | amd64, i386
autopkgtest-xenlvm | 2.6~pgdg12.4+1 | saucy-pgdg | amd64, i386
autopkgtest-xenlvm | 2.6~pgdg12.4+1 | precise-pgdg | amd64, i386
autopkgtest-xenlvm | 2.6~pgdg10.4+1 | lucid-pgdg | amd64, i386
Changelog:
autopkgtest (3.5.3~pgdg+1) sid-pgdg; urgency=medium
* Rebuild for sid-pgdg (jenkins-autopkgtest-source-distribution=sid-
23, git revision eb85673ad275bb36dedb41b8561f2076b025b805)
-- apt.postgresql.org autobuilder <myon(at)debian(dot)org> Sun, 28 Sep 2014 17:38:35 +0200
autopkgtest (3.5.3) unstable; urgency=medium
* ssh-setup/adb: Use the new "phablet-config network" to save/restore wifi
connections, which also works with non-root adb.
* Give adt-run's tee processes some time to catch up between printing
results and stderr, to avoid scrambled logs. (LP: #1373441)
* Fix NullRunner.test_timeout_no_output for older Python versions.
* tests/pyflakes: Skip test if pyflakes3 is not available (for backports).
* Bump Standards version to 3.9.6 (no changes necessary).
* NullRunner.test_timeout_no_output: Slightly relax time bound to make
failures less likely on loaded/slow machines.
* Install clicks with --allow-unauthenticated to support local developer
generated packages. (LP: #1372640)
-- Martin Pitt <mpitt(at)debian(dot)org> Sun, 28 Sep 2014 12:16:16 +0200
autopkgtest (3.5.2) unstable; urgency=medium
[ Martin Pitt ]
* Make apt-get source and package unpack output a bit less verbose.
* Avoid "grep: debian/tests/control: No such file or directory" warning for
packages with implicit test control. (Closes: #762009)
* Adjust "unpack into temp dir" mode for multi-archified typelib locations
introduced in gobject-introspection 1.41.4-1.
[ Niko Tyni ]
* Test perl packages that include test.pl, not just t/. (Closes: #762013)
-- Martin Pitt <mpitt(at)debian(dot)org> Tue, 23 Sep 2014 09:31:29 +0200
autopkgtest (3.5.1) unstable; urgency=medium
* Fix apt cleanup to remove configuration files before apt-get update.
* When using local binaries, tell apt-get to only download our
autopkgtest.list, not all apt lists again.
* Move autopkgtest gpg directory from ~/.autopkgtest/gpg to
~/.cache/autopkgtest/. Check the former location for backwards
compatiblity.
* Invoke gpg with --no-random-seed-file to avoid VCS noise when using
tests/home/.
* run-from-checkout: Use --gnupg-home with our tests/home to avoid GPG key
generation.
* adt-run: Defer GPG key creation until binary publishing time. This avoids
key creation entirely for the common case of not using any local or built
binaries.
* tests: Use apt-doc instead of cpp-doc, as the latter is in Debian contrib
only. (Closes: #761417)
* When determining whether a testbed reset is necessary in between tests,
also consider if recommends were/will be installed. (Closes: #761420)
* README.package-tests.rst: Packages with implicit test control (ruby/perl)
should use a different Testsuite: value, namely
autopkgtest-pkg-{ruby,perl}, to avoid breaking compatibility with the
specification and to other implementations like sadt.
* autopkgtest-reboot: Switch from SIGPIPE to SIGKILL, as that is much more
reliable.
* Reorganize NullRunner tests so that most run also as normal user (and
hence during package build); only keep four tests in NullRunnerRoot which
actually do need root privileges.
* Improve NullRunner.test_timeout_no_output test case to ensure that the
test is properly killed after timing out.
* Fix invocation of tests so that they retain the default SIGINT handler.
This changes cleanup after a timeout, add new procps dependency for this.
(Closes: #761596)
-- Martin Pitt <mpitt(at)debian(dot)org> Wed, 17 Sep 2014 06:09:30 +0200
autopkgtest (3.5) unstable; urgency=medium
Improvements:
* VirtSubProc.cmd_reboot(): Save/restore downtmp instead of creating a new
one. This is more useful for reboot scenarios within tests.
* Support tests that want to reboot the testbed (for runners which support
rebooting). Document this in doc/README.package-tests.rst.
* tests/testdesc: Add test case for Debian packages without a test control.
* If there is no Debian test control file, synthesize one for Ruby and Perl
packages, using gem2deb-test-runner and pkg-perl-autopkgtest. Thanks to
Antonio Terceiro!
* ssh-setup/adb: Unlock the greeter before running tests.
Bug fixes:
* qemu: Reconfigure tzdata after copying /etc/timezone, to make that change
actually active.
* qemu: Wait an additional 3 seconds after the login prompt appears on
ttyS0. Without that, the system time is wrong, causing bad file
timestamps. Unfortunately polling runlevel or the "hwclock" status file
doesn't help.
* Always keep the same downtmp even after resetting the testbed. Some built
trees/tests use absolute path names and break when being moved around
after a reset. This already worked in most cases by accident due to a bug,
but now clean up the code to be explicit about it.
* Expand '@' to quasi-versioned (>= 0~) dependencies to avoid satisfying
them by virtual packages. (Closes: #761003)
* Ensure that the build tree is world-readable. Fixes permission error when
running adt-run as non-root with a different --user and a tight umask.
(Closes: #761049)
* lxc: Ensure the container root directory is accessible to non-root users.
Works around lxc-start-ephemeral bug with tight umasks.
(https://launchpad.net/bugs/1367730)
* lxc: Fix lxc-clone option (--new, not --name).
-- Martin Pitt <mpitt(at)debian(dot)org> Thu, 11 Sep 2014 11:05:16 +0200
autopkgtest (3.4.1) unstable; urgency=medium
* adt-buildvm-ubuntu-cloud: Use host's http[s] proxy in the VM, rewriting
localhost addresses accordingly.
* qemu: Accept any runlevel between 2 and 5 as "booted", to also work with
systemd. (Closes: #760060)
* adt-run: Read built tree changelogs with utf-8 encoding. (Closes: #759752)
* adt-virt-lxc: Source /etc/profile as well, to get $PATH in Debian
environments.
-- Martin Pitt <mpitt(at)debian(dot)org> Thu, 04 Sep 2014 07:52:12 +0200
autopkgtest (3.4) unstable; urgency=medium
* Produce a summary file by default when --output-dir is given.
* ssh-setup/adb: Add missing $ADBOPTS for reverting to factory state.
* Add support for retrieving a click source from bzr (from the manifest's
x-source/vcs-bzr key) if --click-source is not given.
* ssh-setup/adb: Use SystemImage D-BUS call for factory reset instead of
direct recovery commands, to also work as user.
* ssh-setup/adb: Add --password/-p option to specify a different sudo
password than "phablet".
* adt-run: Fix $USER in tests if testbed does not have root.
* adt-run: Source shell profiles if testbed does not have root. Fixes
running click tests on Ubuntu Touch without a sudo password.
* ssh-setup/adb: Try common sudo passwords for CI ("phablet" and "0000"); if
those do not work, and none is specified with --password, tests cannot run
as root (which should be fine for most cases).
* ssh-setup/adb: Stop using system-image-cli to detect an Ubuntu phone, as
that does not work as user. Check for unity8 instead, like in other parts
of the code.
* ssh-setup/adb: Fix cleaning up of first-time wizard for non-root adb.
-- Martin Pitt <mpitt(at)debian(dot)org> Mon, 25 Aug 2014 16:10:01 +0200
autopkgtest (3.3.3) unstable; urgency=medium
* ssh-setup/adb: Always parse options, so that $ADBOPTS is also defined for
operations other than "open". Fixes failure on close when multiple devices
are present.
* adt-run manpage: Fix references to documentation. (Closes: #758016)
* README.package-tests.rst: Point out that dpkg-source >= 1.17.11 adds the
Testsuite: field automatically. Thanks to Guillem Jover!
* ssh-setup/adb: Use PropertyService to enable ssh, for future compatibility
with non-root adb.
* ssh-setup/adb: Protect against failures of ssh-keygen when pruning the
localhost fingerprint. It fails if ~/.ssh/known_hosts does not exist.
* When copying down, properly fail when there are unremovable files in an
existing directory, instead of ignoring them and making the subsequent
copytree() fail. This helps to get better error messages for #757396.
* Fix crash on undeletable files in source trees. (Closes: #757396)
* ssh-setup/adb: If there is no default ssh key, create an
~/.ssh/id_autopkgtest and use that.
* Run autopilot tests with generating a subunit stream in
<output-dir>/artifacts/<testname>.subunit, and in verbose mode.
-- Martin Pitt <mpitt(at)debian(dot)org> Wed, 20 Aug 2014 20:11:17 +0200
autopkgtest (3.3.2) unstable; urgency=medium
* When logging output to a file, properly close the "tee" processes' stdin
and wait for them to finish, instead of just killing them. This avoids
truncated logs on heavily loaded machines.
* Fix NullRunnerNoRoot.test_tmp_install test if gir1.2-json-1.0 is already
installed.
* Use long options for calling programs except for the most common ones, for
easier comprehension.
* qemu: Read all responses from ttyS1 after sending commands. Qemu 2.1 seems
to configure serial sockets differently, and not flushing responses
confuses it.
* qemu: Use "cache=unsafe" option to improve performance when the overlay is
not on a tmpfs.
* Further robustify cleaning up the chroots in the ChrootRunner tests.
* adt-build-lxc: When updating containers, move the new rootfs completely to
the original container. The rsync approach did not reliably update all
files.
-- Martin Pitt <mpitt(at)debian(dot)org> Wed, 06 Aug 2014 11:28:00 +0200
autopkgtest (3.3.1) unstable; urgency=medium
* Accept comma separators in Tests:, Restrictions:, and Features: fields;
this is consistent with Depends: and avoids skipping tests. (LP: #1347958)
* Generalize implementation of getting an interactive shell in testbeds.
Most runners now don't need to provide a hook_shell() any more.
* Export install environment to interactive testbed shells, so that
unpacked test depends in the temp dir are accessible. (LP: #1339103)
* lxc: Don't fail on a nonexisting /etc/environment or /etc/default/locale.
(LP: #1348749)
* adb ssh script: Add --apt-update option to run "apt-get update" (with
temporarily switching to r/w), to run tests on older development images.
(LP: #1342838)
* Drop the very short and unnecessary install timeouts from the NullRunner
tests.
-- Martin Pitt <mpitt(at)debian(dot)org> Tue, 29 Jul 2014 13:45:36 +0200
autopkgtest (3.3) unstable; urgency=medium
Improvements:
* Define "Classes:" (Debian) / "classes" (click manifest) test control field
in the specifications. For packages whose tests should run on particular/a
set of different hardware/platforms, this can specify a list of abstract
class names such as "desktop" or "graphics-driver". Consumers of
autopkgtest can then map these class names to particular
machines/platforms/policies.
* Fall back to searching for --setup-commands files in
/usr/share/autopkgtest/setup-commands/ if they are specified without path,
to reduce typing.
* Fall back to searching adt-virt-ssh's --setup-script in
/usr/share/autopkgtest/ssh-setup/ if they don't exist in the current
directory, to reduce typing.
Bug fixes:
* When running a test as user on a root testbed, run source extraction under
set -e, to fail early at the proper error. (LP: #1346388)
* Add test case for non-existing --apt-source package name.
* Add "installed" autopkgtest to run adt-run against a simple source tree in
$ADTTMP, to avoid using Python modules from the autopkgtest source tree.
This spots grave bugs like in 3.2.1.
-- Martin Pitt <mpitt(at)debian(dot)org> Wed, 23 Jul 2014 09:16:08 +0200
autopkgtest (3.2.2) unstable; urgency=medium
* adt-run: Fix typo that broke --apt-source with "build-needed" tests.
-- Martin Pitt <mpitt(at)debian(dot)org> Mon, 21 Jul 2014 15:07:17 +0200
autopkgtest (3.2.1) unstable; urgency=medium
* Ship forgotten adt_run_args module.
-- Martin Pitt <mpitt(at)debian(dot)org> Mon, 21 Jul 2014 11:45:25 +0200
autopkgtest (3.2) unstable; urgency=medium
Improvements:
* Add --copy option to copy a file or directory into the testbed.
* Support specifying a click name like "com.example.myapp" with --click to
test an already installed click instead of a local *.click file.
(LP: #1338899)
* Introduce "autopilot_module" click test control field for specifying an
autopilot test module name. This allows tests to require additional test
dependencies, restrictions, etc. without having to specify the full
invocation of autopilot. (LP: #1338911)
* In "unpack into temp dir" mode, ignore Python 2.x test dependencies. They
are not exposed anyway as with $PYTHONPATH we can only serve one major
Python version, and we want Python 3.
* Port remaining runners from obsolete optparse to modern argparse. This
gives a consistent command line help and support for reading options from
a file with '@'.
* Port adt-run to argparse, and clean up the CLI:
- Drop rarely used and confusing options: --instantiate, --sources-tests,
--sources-no-tests, --built-binaries-filter,
--binaries{,-forbuilds,-fortests}. Add a single new --built-binaries as
the opposite of -B/--no-built-binaries.
- CLI parsing is now done in lib/adt_run_args.py, with separate unit
tests.
- This now allows any part of the command line (for adt-run itself or the
virt-server or both) to be read from a file, using the '@' prefix.
(Closes: #749241)
- Separate the options into different logical groups, in both --help and
the manpage.
* Make --override-control work for click manifests. (LP: #1342818)
* Introduce "Test-Command:" debian/tests/control field to run a shell
command instead of a "Tests" named executable. This avoids having to write
trivial one-liner scripts or allows wrapping calls to test executables.
(Closes: #741330)
Bug fixes:
* Set $USER environment variable also for tests that run as root.
(LP: #1337802)
* Add lintian override for ssh-setup/SKELETON, it's deliberately not
executable.
* Increase timeout for aa-clickhook workaround for LP#1337253, 100s is often
not enough.
* ssh-setup/adb: Disabling the first-time wizards sometimes fails due to adb
being brittle at that time. Retry up to 5 times.
* Optimize aa-clickhook workaround for LP #1337253 to only rebuild the
profile of the installed click app. This reduces the time from about a
minute to about a second.
* qemu, lxc: Use VirtSubproc subprocess wrappers to get timeout handling for
all commands.
* Rewrite build depends to not rely on builders being able to fall back to
alternatives (python >= 3.3 | python3-mock), to ease backporting.
* tests/pyflakes: Use pyflakes3.
* Only run pyflakes test during package build if pyflakes3 is available.
This unbreaks backports.
* Run "click info" as the same user as the test. (LP: #1342836)
* Keep <testname>-stderr output files for "allow-stderr" tests.
-- Martin Pitt <mpitt(at)debian(dot)org> Mon, 21 Jul 2014 09:35:17 +0200
autopkgtest (3.1) unstable; urgency=low
Improvements:
* ssh-setup/adb: On Ubuntu phones, use phablet-config to disable first-time
wizards/intros. Implement reboot and revert. This requires phablet-config
now, either installed as package or from bzr checkout with
PHABLET_TOOLS_PATH=<checkout dir>.
* ssh-setup/adb: Save/restore NetworkManager system connections in revert.
* ssh-setup/adb: Add -r/--reset option to perform a factory reset before
running tests.
* Bring back --control-override option, with tests and documentation.
Bug fixes:
* Work around subprocess.Popen bug in Python 3.2.
* lib/testdesc.py: Change exceptions to be Python 3.2 compatible.
* Kill the actual test on timeout instead of just the wrapping shell script.
* Fix workaround for LP #1333215: Don't run with "su -l" as that causes
extra stdout spew from su for nonexisting home directories; instead just
source /etc/profile and ~/.profile as these are the parts that we need.
* Run aa-clickhook after every click install, otherwise it doesn't apply to
newly installed clicks. Works around LP #1337253.
* Open files which can potentially contain non-ASCII data with explicit
utf-8 encoding, to avoid UnicodeDecodeErrors under C locale.
(Closes: #753582)
* Fix metavariable names in adt --help.
* ChrootRunner tests: Retry removal of temporary chroot when busy.
* Don't let a first failed apt-get update run break the test due to stderr;
it gets retried 15 seconds later.
-- Martin Pitt <mpitt(at)debian(dot)org> Thu, 03 Jul 2014 13:31:16 +0200
autopkgtest (3.0.2) unstable; urgency=low
* Fix -s/--shell-fail to actually work again (regression in 2.19).
* Quiesce the sourcing of /etc/profile and ~/.profile to avoid "stdin: is
not a tty" clutter.
-- Martin Pitt <mpitt(at)debian(dot)org> Wed, 02 Jul 2014 09:28:20 +0200
autopkgtest (3.0.1) unstable; urgency=low
* Install ssh setup scripts executable.
* doc/README.running-tests.rst: Add ssh runner example.
-- Martin Pitt <mpitt(at)debian(dot)org> Tue, 01 Jul 2014 15:40:39 +0200
autopkgtest (3.0) unstable; urgency=low
Improvements:
* Add support for click packages (https://click.readthedocs.org)
- Add two new actions --click and --click-source to run tests of a click
package. For now, --click-source is mandatory as parsing/getting the
source from a click's x-source manifest entry is not yet implemented.
- Add doc/README.click-tests.rst to document test definition for click
packages.
- Add setup-commands/ubuntu-touch-session: --setup-commands script for
installing click, the Ubuntu SDK, some extra packages for autopilot, and
launching Xvfb and an user upstart session. This approximates the
environment of an Ubuntu touch device. You can also run
setup-commands/ro-apt afterwards.
* If the testbed does not have root (null runner or schroots without
root-user/group) or a writable dpkg database (as on Ubuntu system
images), fall back to unpacking test dependencies into a temporary
directory and set *_PATH environment variables accordingly. This will
make a limited number of test dependencies work in these test beds.
* Add setup-commands/ro-apt for making dpkg/apt readonly, to
approximate what happens with Ubuntu system images.
* Add adt-virt-ssh runner: Generic runner for an externally set up testbed
which assumes nothing else than a working ssh connection. This can call a
"setup script" to create/configure a testbed (such as spinning up a cloud
VM with nova or setting up SSH on a phone through ADB). See the manpage
for details. Thanks to Jean-Baptiste Lallement!
* Add ssh-setup/SKELETON for a basis to write ssh setup scripts.
* Add ssh-setup/adb: Set up an ssh connection to an adb host. If that adb
host is an Ubuntu Touch system, it also does some extra configuration like
disabling the screen timeout and allowing Autopilot to introspect running
apps. See header commends for details. Thanks to Jean-Baptiste Lallement!
* Add ssh-setup/nova: Sets up a nova instance to use as an autopkgtest
testbed. It assumes that the host system is already prepared to run nova
commands. This is not very robust at the moment and more like a proof of
concept. Thanks to Jean-Baptiste Lallement!
* Convert doc/README.* to reStructuredText and rename to *.rst. Build HTML
files from them using rst2html and install them also.
* adt-run: Never run testbed commands with newlines in them. Those make it
ridiculously hard to implement runners which can only accept shell
strings.
Bug fixes:
* lxc: Don't leak the host environment into the container (lxc-attach
currently defaults to that), but build a clean and minimal environment
from /etc/environment and /etc/default/locale.
* Fix calling a virt server with full path.
* lib/VirtSubProc.py, downtmp_remove(): Only remove the downtmp if it is
actually set. This avoids confusing error messages if something fails
during early test bed setup.
* adt-run: set APT_LISTBUGS_FRONTEND=none when installing packages. This
will avoid the apt-listbugs prompt when apt-listbugs is installed.
Thanks to Antonio Terceiro!
* schroot: Ending the schroot session sometimes fails on "Device or resource
busy". Retry 10 times before giving up instead of failing immediately.
* adt-run: Read /etc/profile and ~/.profile when running tests as user. This
emulates the bits of "su -l" that we want, until this gets cleaned up for
using "su -l" completely.
* tests/run-parallel: Get sudo password early, to avoid asking for it in
background jobs.
* Restrict --apt-pocket to *.ubuntu.com and *.debian.org sources, as
third-party repositories such as launchpad.net don't (necessarily) have
pockets. (LP: #1334332)
* Fix high adt-virt-* CPU usage on reading commands on stdin.
-- Martin Pitt <mpitt(at)debian(dot)org> Tue, 01 Jul 2014 15:21:55 +0200
autopkgtest (2.20) unstable; urgency=medium
Improvements:
* Add "Test" argument/member for a shell string command, instead of
specifying a path to a test executable. Not currently supported by Debian
parser.
* Convert doc/README.* to Markdown, so that it's easy to format them as PDF
or HTML, e. g. with pandoc.
* If the --user option is given or the testbed specifies a normal user, pass
this to --setup-commands through $ADT_NORMAL_USER.
* Allow --setup-commands which would ordinarily reboot the testbed to
suppress this by creating a stamp file in /run. This is useful for
commands which run processes that aren't started at boot.
* Default to C.utf-8 locale instead of C. This is supported in Debian >= 7
(wheezy) and Ubuntu >= 12.04 LTS, and much closer to reality than C.
* If the testbed does not have root (null runner or schroots without
root-user/group) or a writable dpkg database (as on Ubuntu system images),
fall back to unpacking test dependencies into a temporary directory and
set *_PATH environment variables accordingly. This will make a limited
number of test dependencies work in these test beds.
Bug fixes:
* Don't include "adt-satdep" dummy package in <test>-packages output files.
* adt-buildvm-ubuntu-cloud: Use host timezone as default for the VM, to
avoid TZ changes during boot when running tests. Thanks Jean-Baptiste
Lallement!
* Run tests with specified locale also when they run as user.
* Fix test failure with Ubuntu's pkgbinarymangler installed.
-- Martin Pitt <mpitt(at)debian(dot)org> Tue, 24 Jun 2014 16:34:36 +0200
autopkgtest (2.19) unstable; urgency=medium
Improvements:
* Support new argument type --changes (implied if file name ends with
".changes"). This behaves as if you specified all debs and the dsc from
the given binary changes file and implies --no-built-binaries. I. e. this
is the right thing to test a local package that you just built.
(Closes: #738552)
Bug fixes:
* schroot: Always advertise "revert" capability, as it implements revert
with simply close()/open().
* adt-run: Move warning about missing root on testbed into the correct
place.
* Install build-essential and build dependencies in one apt run, which is
slightly faster.
* Explicity specify utf-8 encoding for reading/writing Debian control files,
to fix UnicodeDecodeError under C locale.
* Determine testpkg-version also for --built-tree tests.
* schroot: Refuse to work with non-ephemeral schroots, i. e. "directory"
type schroots without union-type. Point this out in the manpage, too.
(Closes: #751574)
* schroot: Verify that /proc is mounted, and abort with a proper error
message if not. (Closes: #751575)
* adt-buildvm-ubuntu-cloud: Don't start cloud-config with a leading newline,
not yet supported in Ubuntu 12.04's cloud-init. Thanks Jean-Baptiste
Lallement! (LP: #1330950)
* adt-buildvm-ubuntu-cloud: Don't use write_files cloud-init command, not
yet supported in Ubuntu 12.04's cloud-init. Replace with runcmd echos.
* adt-buildvm-ubuntu-cloud: Purge cloud-init and shutdown after cloud-init
is done, not while it's still running.
* adt-buildvm-ubuntu-cloud: Create upstart job for ttyS0 console unless it
already exists, for compatibility with Ubuntu 12.04.
* adt-virt-qemu: Use python3 or python for eofcat depending on which one is
available. Fixes operation with older Ubuntu versions which don't yet
install Python 3 by default.
Code cleanup:
* Unify logging functions into lib/adtlog.py, make their API easier and more
consistent, and use them in adt-run and all adt-virt-*.
* Move test control parsing and keeping data into lib/testdesc.py. This
eases factorization, abstraction for future support of other source
package formats such as click, and testing. Add new tests/testdesc
unittests. This also drops the "tree0t-" like prefixes from test names in
the results and the output file names.
* Don't read --setup-commands files multiple times.
-- Martin Pitt <mpitt(at)debian(dot)org> Wed, 18 Jun 2014 10:07:46 +0200
autopkgtest (2.18) unstable; urgency=medium
Improvements:
* adt-run: When running from git, show the current SHA and commit summary of
HEAD.
Bug fixes:
* tests: Fix race in cleaning up ChrootRunner mounts.
* adt-run: If apt-get update fails on publishing built binaries, retry after
15 seconds.
* VirtSubproc.cleanup(): Avoid recursion if something in hook_cleanup()
bombs.
* Fix --shell to also work with --output-dir. (LP: #1317078)
Code cleanup:
* VirtSubproc: Document and cleanup execute*() functions.
* Some test robustifications, to avoid making too many assumptions about
debug output.
* adt-run: Eliminate usage of testbed "execute" command, which is too
complicated and limiting. Use "print-execute-command" directly instead.
* Drop "execute" command.
* adt-run: Unify Testbed.command() and commandr() methods and make them
stricter.
* Add prefixes to all temporary directories.
* Remove autopkgtest-xenlvm. It has been orphaned since ~ 2008, few to no
current users, and no maintainer. (Closes: #508660, #680122)
* Simplify build system.
* Drop concept of "shstring". All runners must provide an auxverb now,
possibly with a wrapper and quoting by themselves if their implementation
can only deal with shell commands. This avoids having to tell apart these
two cases in adt-run, clarifies the documentation, and greatly simplifies
the code. (Closes: #750544)
* qemu: Use low-level IO in runcmd. This avoids all the Python overhead and
buffering and is less prone to bytes vs. string issues.
* qemu: Fix text vs. binary confusion in reading and copying /etc/timezone.
* schroot: Call schroot command with -q, to avoid stderr spew if the schroot
has "message-verbosity=verbose".
* Port to Python 3.
-- Martin Pitt <mpitt(at)debian(dot)org> Thu, 12 Jun 2014 07:48:58 +0200
autopkgtest (2.17.1) unstable; urgency=medium
* Make $ADTTMP readable and accessible to other users, for tests which use
other users through "su" and similar.
* adt-virt-qemu: Set $HOME for root also after rebooting.
* tests/adt-run: Force stdout to utf-8 to see proper failures even in
non-utf-8 environments, instead of crashing with UnicodeEncodeError.
* adt-run: Flush input to the stdout/err cat processes and give them some
time to catch up after the end of the test, to avoid losing the last bits
of output. (Closes: #750343)
* Add missing build-essential and debhelper test dependencies.
* adt-run: Ensure the cleanup handler for the tests tree runs also if
copying up the tests tree fails. (Closes: #749655)
* Put back the LXC runner on Debian, so that folks with manual LXC container
setups can still use it.
* adt-build-lxc: Check for default networking in /etc/lxc/default.conf. If
it's "empty", abort with an error message that container networking needs
to be set up first. Until LXC gets fixed in Debian (#747914) you need to
manually set up a bridge, dnsmasq, and the default config.
* adt-build-lxc: Support specifying $ADT_APT_PROXY. If apt-cacher-ng is
running locally, use that as a default.
-- Martin Pitt <mpitt(at)debian(dot)org> Wed, 04 Jun 2014 15:03:30 +0200
autopkgtest (2.17) unstable; urgency=medium
New features:
* adt-buildvm-ubuntu-cloud, adt-setup-vm: If apt-cacher-ng is running
locally, use that as a default for --proxy/ADT_APT_PROXY.
* Add "reboot" testbed capability and implement it for QEMU (most other
runners don't support it conceptually). Reboot the testbed if the setup
commands affected boot relevant directories (/boot, /etc/init.d,
/etc/init/, or /{etc,lib}/systemd/system). (LP: #1324435)
Bug fixes:
* adt-setup-vm: Run the initial apt-get update without fetching
translations.
* Stop shipping the LXC runner and associated tools on Debian. It does not
work out of the box until Debian's LXC containers get proper networking by
default (see Debian #747914).
* adt-buildvm-ubuntu-cloud: Add LSB header to generated SysV init script to
avoid a warning from insserv.
* VirtSubproc: Fix generation of auxverb from shstring.
* Drop debhelper dependency, not necessary any more since 2.16.
-- Martin Pitt <mpitt(at)debian(dot)org> Tue, 03 Jun 2014 11:49:32 +0200
autopkgtest (2.16.4) unstable; urgency=medium
* adt-build-lxc: Unset $http[s]_proxy for the post-creation apt-get update
if it refers to localhost.
* adt-build-lxc: Fix cache cleaning for upgrades.
-- Martin Pitt <mpitt(at)debian(dot)org> Thu, 22 May 2014 17:52:46 +0200
autopkgtest (2.16.3) unstable; urgency=medium
* adt-buildvm-ubuntu-cloud: Explicitly use virtio ethernet device, as the
default one is horribly slow with older QEMU versions.
* adt-virt-qemu: Add -c/--cpus option for running VMs with multiple CPUs.
* adt-run: Retry writing to stderr a few times on EAGAIN.
* adt-run: If apt-get update fails, retry after 15 seconds. This should
work around the frequent "hash sum mismatch" race condition.
(LP: #1319416)
* adt-buildvm-ubuntu-cloud: Configure dpkg to use unsafe io, to speed up
tests which run on hard disk backed overlays.
* Simplify the pipelining of test stdout/err, and stop using explicit pipes
and the "downtmp-shared-fifo" capability. This provides live output for
all runners, including qemu. (LP: #1320194)
* Drop obsolete downtmp-shared-fifo capability from all runners.
* Fix "Operation not permitted" errors on cleaning up empty stdout/err
result files with shared downtmp runners.
* adt-buildvm-ubuntu-cloud: Refine init.d script to only launch a shell on
"start".
* adt-build-lxc: Add optional third argument for specifying a non-native
architecture.
-- Martin Pitt <mpitt(at)debian(dot)org> Thu, 22 May 2014 15:52:36 +0200
autopkgtest (2.16.2) unstable; urgency=medium
* Support ":native" dependencies.
* Add LXC runner test case for running as different user.
* Add QEMU runner test case for performance and integrity of copying (1000
files with 100 kB each).
* copyup/down: Clean up cp process on timeout, to fix eternal hang.
* adt-virt-qemu: Disable shared downtmp. For bigger source trees 9p in
current QEMU is way too slow (in the magnitude of 2 MB/s, and max'ing out
CPU usage), so we can't use it directly as a normal file system.
* Revert "Don't extract/build source packages in shared downtmp", due to
above change. This stops penalizing other runners with extra source tree
copies.
* VirtSubproc: Clean up auxverb processes on timeout.
* adt-run: Stop testbed on TERM and QUIT signals, to avoid leaving stale
schroot/qemu/LXC processes around when e. g. stopping a job from Jenkins.
* adt-virt-qemu: Fix runcmd to make the command's stdin actually look and
behave like a pipe, instead of reading directly from the "stdin" file. The
latter leads to commands exiting prematurely when hitting the file's EOF.
(LP: #1317358)
* Convert one of the QEMU tests from source tree to dsc, to cover that case
as well.
* Add test case for QEMU with --apt-source (using libpng).
* adt-virt-qemu: Create eofcat in /bin instead of the shared /autopkgtest
mount, as running it from the latter again triggers the "invalid numerical
value" bug with 9p from older QEMU versions.
* adt-buildvm-ubuntu-cloud: Purge some unnecessary services to speed up boot
time a bit.
* @builddeps@ now includes build-essential, not just make. (LP: #1317357)
* Make -s/--shell-fail start a shell on failed builds as well.
(LP: #1317055)
-- Martin Pitt <mpitt(at)debian(dot)org> Fri, 09 May 2014 10:32:27 +0200
autopkgtest (2.16.1) unstable; urgency=medium
* adt-buildvm-ubuntu-cloud: Configure vmalloc=512M on i386 for the udisks2
autopkgtest.
* adt-buildvm-ubuntu-cloud: Disable downloading of package translations.
* Create testpkg-version and testbed-packages before starting the builds, to
also have them when builds fail.
* Fix VirtSubproc.copyup_shareddir() for testbed paths which are not already
in the shared downtmp.
* When cleaning up a temporary testbed path fails with a permission error,
clean it in the testbed (where we usually have root privileges). This
avoids lots of "ignored OSError" spam with the schroot runner.
* Stop assuming that we can chown files in the shared downtmp, it's not true
with QEMU's 9p file system. Fall back to chmod'ing to world-writable files
as with 9p there is no other way to implement this.
* Simplify source tree/package extraction logic.
* adt-run: Don't extract/build source packages in shared downtmp, to avoid
permission/ownership problems with limited implementations like 9p.
* adt-virt-qemu: Re-enable shared downtmp, now that operation with different
UIDs is fixed.
* Don't create $ADTTMP in shared downtmp to avoid permission/ownership
problems with limited implementations like 9p.
* adt-virt-qemu: Fix exception if workdir is not currently set.
* adt-virt-qemu: Increase timeout for login prompt from 2 to 5 minutes, for
slow VMs or machines under heavy load.
* Improve error handling on copy timeouts.
* adt-virt-qemu: Remove overlay file as early as possible, to avoid leaking
large files in error conditions. Let QEMU run with the deleted inode.
* Don't run apt-get and setup commands with sending output to /dev/stdout.
When redirecting adt-run's output directly into a file this causes a
seek to start and thus partially overwriting the output file. This also
puts the apt-get output back to stdout as it used to be before 2.15.
(Closes: #747041)
-- Martin Pitt <mpitt(at)debian(dot)org> Tue, 06 May 2014 13:25:21 +0200
autopkgtest (2.16) unstable; urgency=medium
* adt-buildvm-ubuntu-cloud: Use "-monitor null" instead of "-monitor none",
as the latter does not work with older Qemu versions.
* adt-virt-qemu: Don't call qemu-img with -q option, it doesn't exist in
older Qemu versions yet. Redirect stdout instead.
* tools/adt-setup-vm: Disable downloading of package translations to save
some bandwidth. Thanks Jean-Baptiste Lallement.
* adt-virt-qemu: Fix race condition that caused a ValueError when the exit
code file was not written yet.
* adt-virt-qemu: Automatically detect a normal user to run tests as, unless
-u is given. This works similarly to -lxc.
* Add tests for adt-virt-user with non-default users.
* adt-virt-qemu: Disable shared downtmp for now, it breaks on older Qemu
versions and the current setup does not work with different UIDs in the
testbed.
* adt-virt-qemu: Use file locks for host-side ssh port forwards to avoid
race condition.
* adt-run: Drop usage of dh_listpackages, it needs debhelper which is an
undeclared (and also unwanted) dependency. Parse debian/control directly
and make use of our existing arch tag resolution. (LP: #1312276)
* adt-virt-qemu: Copy host's timezone into VM to avoid time zone skew when
copying files.
* adt-virt-qemu: Show determined normal user instead of <user> in ssh
message, to get a fully copy&pasteable command.
* adt-virt-qemu: Ensure tests which run as root have $HOME set.
* Fix --proposed option to also apply to sources.list.d/* lists and to
multiple sources. (LP: #1313278)
* adt-buildvm-ubuntu-cloud: Install haveged, to avoid failing tests due to
running out of entropy.
* adt-virt-qemu: Add --qemu-options for passing additional options to QEMU.
Thanks Diogo Matsubara!
-- Martin Pitt <mpitt(at)debian(dot)org> Sun, 27 Apr 2014 22:37:15 +0200
autopkgtest (2.15) unstable; urgency=medium
* Fix --apt-source mode to download the source with apt-get's
"--only-source" option, to actually get what we asked for.
* Add missing python3 build dependency for tests/adt-run. Fixes FTBFS of
backports.
* adt-buildvm-ubuntu-cloud: Add options to pass custom metadata/userdata.
Thanks Diogo Matsubara.
* Replace pbuilder-satisfydepends-classic with parsing and satisfying build
and test dependencies with libdpkg-perl and "apt-get -f install". This
gets rid of the pbuilder dependency and some nasty hacks like the
--internal-chrootexec script, and allows us to be more flexible such as
also supporting Recommends: installation. (LP: #1205110)
* Fix "specifiy" typo in error message. Thanks Jelmer Vernooij.
(Closes: #745413)
* adt-build-lxc: Stop using the -F template option to flush the cache as it
is not available in the debian template. Remove caches manually instead.
(Closes: #745415)
* adt-buildvm-ubuntu-cloud: Fall back to latest stable if there is no
development series.
* Add "needs-recommends" restriction for installation of recommended
packages for the test dependencies. This does not affect build
dependencies. (Closes: #708963)
-- Martin Pitt <mpitt(at)debian(dot)org> Tue, 22 Apr 2014 09:10:40 +0200
autopkgtest (2.14.1) unstable; urgency=medium
* tools/adt-buildvm-ubuntu-cloud: Enable ssh login with passwords.
-- Martin Pitt <mpitt(at)debian(dot)org> Wed, 09 Apr 2014 17:15:29 +0200
autopkgtest (2.14) unstable; urgency=medium
* lxc: Greatly simplify bind mounting of shared tmp dir using the
lxc-start -s option.
* adt-virt-qemu: Forward VM's ssh port 22 to the first free localhost port
starting from 10022. When finding one, suggest connecting to the VM with
an appropriate ssh command on --shell.
-- Martin Pitt <mpitt(at)debian(dot)org> Wed, 09 Apr 2014 17:06:44 +0200
autopkgtest (2.13.1) unstable; urgency=medium
* Fix "--build-tree" typo in error message, and also add the missing
--unbuilt-tree. (Closes: #743427)
* lxc: Enable live output in clone mode.
-- Martin Pitt <mpitt(at)debian(dot)org> Tue, 08 Apr 2014 12:18:00 +0200
autopkgtest (2.13) unstable; urgency=medium
* Split package/version list that got introduced in 2.10: Introduce a new
output file "testbed-packages" with the packages and versions of the
pristine testbed, and filter them out of "<testname>-packages", so that
the latter only contains the packages and versions that are specific to
that test. This is generally more useful, and how debci does/wants it.
-- Martin Pitt <mpitt(at)debian(dot)org> Tue, 01 Apr 2014 14:43:12 +0100
autopkgtest (2.12) unstable; urgency=medium
[ Martin Pitt ]
New features:
* Add new options -s/--shell-fail for running a shell in the testbed after
every failed test, and --shell for running a shell in the testbed after
every test. This should make debugging tests or regressions quite a bit
simpler. This actually spawns a shell for the null, chroot, schroot, and
lxc runners, and shows how to login to the VM for qemu (this will
hopefully be improved in the future, but at least makes debugging possible
for now).
Bug fixes:
* adt-build-lxc: Fix apt proxy setting for ubuntu template; use $HTTP_PROXY,
not $APT_PROXY.
* Make PEP-8 failures non-fatal during package build. They often fail in
backports to old releases, and running them before releasing a new package
is sufficient.
* Filter out comment lines from control lines, as python-debian doesn't
properly do that (Debian #743174). Fixes lintian autopkgtest.
(LP: #1300031)
[ Antonio Terceiro ]
* adt-virt-schroot: Add new option -s/--session-id for specifying a custom
schroot session id. This is useful for debugging test suites that go crazy
on ci.debian.net, so you can `schroot --list --all-sessions` and see which
sessions are still open. (Closes: #742969)
-- Martin Pitt <mpitt(at)debian(dot)org> Mon, 31 Mar 2014 11:45:13 +0200
autopkgtest (2.11) unstable; urgency=medium
* Add tools/adt-setup-vm: Setup script for vmdebootstrap (and potentially
others) to start a root shell on tty1, set up networking for eth0, and
enable deb-src apt sources.
* adt-virt-qemu.1: Describe how to create a suitable Debian VM with
vmdebootstrap.
* doc/README.package-tests: Point out to use "build-needed" with
consideration.
* Make installation of packages/dependencies print a warning instead of
failing immediately when root is not available on the testbed. This allows
tests to be run with the "null" runner locally as user with some
restrictions. Check if dpkg-source is available before installing
dpkg-dev, to avoid the warning in that simple case. (Closes: #742242)
* Fix ugly error message if a package does not have a debian/tests/
directory. Properly fail with code 8 and "SKIP no tests in this package".
* Clean up temporary files in NullRunner tests.
-- Martin Pitt <mpitt(at)debian(dot)org> Fri, 21 Mar 2014 09:36:25 +0100
autopkgtest (2.10) unstable; urgency=medium
* Record name and version of tested package in log and in
output-dir/testpkg-version. (first part of LP #1292431)
* Record installed packages and their versions for each test, in
<output-dir>/<test>-packages. (second half of LP: #1292431)
* Drop adt-testreport-*, adt-openbugs-*: These have been marked deprecated
for a while, haven't been used or maintained in many years, and are
superseded by jenkins/debci. (Closes: #695974)
-- Martin Pitt <mpitt(at)debian(dot)org> Tue, 18 Mar 2014 16:12:24 +0100
autopkgtest (2.9.2) unstable; urgency=medium
* VirtSubproc.py, copydown_shareddir(): Fix "src and dest are the same file"
error when file is already in the shared downtmp.
* VirtSubproc.py, copydown_shareddir(): Remove already existing target
directory to avoid copying an updated directory into the old one.
* adt-run: Show timestamps at the beginning, start of preparation (i. e.
mostly installing dependencies), and start and end of tests.
(LP: #1290760)
* Run NullRunnerNoRoot tests during package build. Add python-debian build
dependency for that.
-- Martin Pitt <mpitt(at)debian(dot)org> Wed, 12 Mar 2014 08:13:50 +0100
autopkgtest (2.9.1) unstable; urgency=medium
[ Martin Pitt ]
* doc/README.package-tests: Clarify syntax of test Depends:, and point to
the relevant Debian Policy specification.
* adt-build-lxc: Fall back to assuming /var/lib/lxc/ as container directory
if lxc-config does not exist. It was introduced in 1.0, but Debian
unstable still has 0.9. (Closes: #740437)
* tests: Extend test_artifacts() to multiple tests writing artifacts, also
with overwriting existing files and writing into subdirs.
* VirtSubproc: Fix copyup_shareddir() to get along with existing
directories. (LP: #1288668)
* settings.make: Switch default prefix to /usr, as our scripts hardcode that
for finding VirtSubproc.py and this is a native package. (LP: #1287264)
[ Steve Langasek ]
* Fix adt-virt-schroot to correctly return root-on-testbed when we're
running adt-run as root. (Closes: #740868)
-- Martin Pitt <mpitt(at)debian(dot)org> Thu, 06 Mar 2014 13:44:07 +0100
autopkgtest (2.9) unstable; urgency=low
New features:
* Add "downtmp-host=<path>" testbed capability, for runners which can set up
a shared directory between host and testbed. This is used by copyupdown to
more efficiently copy files back and forth, and in many/most cases, don't
explicitly copy anything at all.
* Introduce a new testbed capability "downtmp-shared-fifo" that declares
that testbed and the host can use a FIFO in the shared downtmp for
communication. Use this to generalize live test output to all runners
which declare that, not just -null.
* Convert null, chroot, schroot, lxc, and qemu runners to use a shared
downtmp dir. Note that qemu does not support FIFO (through the 9p file
system), so that one does not get live test output.
* Don't define $TMPDIR for tests any more. Having $TMPDIR in the shared dir
isn't efficient and even breaks some tests (as they might not be able to
put sockets etc. into it), and it's an artificial difference to the
default system behaviour of just using /tmp. The documentation already was
changed a long time ago to only document $ADTTMP as a scratch directory
for tests.
* Add test restrictions "isolation-container" and "isolation-machine", and
corresponding testbed capabilities. Tests can use that to declare that
they want to start services or open ports (i. e. a simple chroot/schroot
is insufficient) or access hardware, reboot, and interact the kernel
(where even a container is insufficient), and will be skipped instead of
failing when they run in a virtualization server which does not provide
enough isolation.
* Add manpage for adt-build-lxc script.
* Ship adt-build-lxc script and its manpage in the package.
Documentation updates:
* doc/README.package-tests: Some stylistic updates, and add section headers.
* adt-virt-lxc.1: Point to, and show how to use adt-build-lxc.
* Add doc/README.running-tests: Overview of how to run adt-run, most common
scenarios, and available virtualization servers with their pros/cons.
Bug fixes:
* tests: Copy tests/home/ into a temporary dir and set $HOME to that, to
avoid cluttering the source dir.
* Don't produce empty stderr/stdout files with --output-dir. (LP: #1282866)
* adt-buildvm-ubuntu-cloud: Install linux-generic, to get the full kernel
(needed for e. g. udisks2 to get scsi_debug).
* tests: Add a broken symlink to testpkg, to ensure that copying trees
around gets along with those.
* adt-run: Always use fakeroot with adt-virt-qemu, to work around chown
failing on 9p.
* xen/initscript: Always source /lib/lsb/init-functions. (Thanks lintian)
* tests/adt-run: Increase timeout in NullRunner.test_timeout_long_build to
avoid failure on slow architectures.
* adt-build-lxc: Properly wait for finished container boot instead of a
static 10 second sleep.
* adt-build-lxc: Only flush the cache when updating an existing container.
-- Martin Pitt <mpitt(at)debian(dot)org> Thu, 27 Feb 2014 11:23:32 +0100
autopkgtest (2.8.1) unstable; urgency=medium
* Use the install timeout instead of the short one for
--setup-commands/--apt-upgrade.
* Fix --apt-upgrade to not hang on dpkg conffile prompts.
* Use ./tests/home/ as $HOME during tests, and add a gpg key to it so that
we don't have to generate one (which often hangs due to lack of entropy).
* Make the test suite run as user, skip tests which require root (all
ChrootRunner and most NullRunner tests).
-- Martin Pitt <mpitt(at)debian(dot)org> Fri, 21 Feb 2014 17:15:41 -0800
autopkgtest (2.8) unstable; urgency=medium
* Add adt-virt-qemu: Virtualization server using QEMU. This provides even
more isolation than containers and thus is able to run tests which
interact with the kernel. See the manpage for the requirements that VMs
need to satisfy, and how to use it. (Closes: #719215)
* Add adt-buildvm-ubuntu-cloud: This tool downloads an Ubuntu cloud image
and configures it for autopkgtest. See its manpage for how to use it.
* adt-run: Stop using a $TMPDIR for package builds. It's unnecessary
overhead, and causes problems with dpkg-deb if it is on e. g. a 9p file
system.
* Allow the virt-server argument to be given without the common "adt-virt-"
prefix, for brevity. Update the manpage accordingly, and also move
virt-server into its own heading instead of burying it in the middle of
"other options".
* tests: Show stderr output if adt-run unexpectedly fails.
* Fix endless recursion when an error happens during resetting apt.
* tests: Fix skip message if no container is given; it does not need to be
an Ubuntu cloud container any more.
* Add tools/adt-build-lxc: Script to create or upgrade a Debian/Ubuntu
container, suitable as a daily cron (or Jenkins) job. Not shipped in
package for now.
* Allow --setup-commands to be given multiple times.
* Add -U/--apt-upgrade option to run apt-get update/dist-upgrade before
running the test.
* Add --apt-pocket <pocket> option to create an additional apt source for
release-pocket.
-- Martin Pitt <mpitt(at)debian(dot)org> Mon, 17 Feb 2014 21:00:58 -0800
autopkgtest (2.7.2) unstable; urgency=medium
* debian/copyright, CREDITS: Bump copyright year.
* Eliminate lib/Autopkgtest.py, use pipes.quote() instead of shellquote_*().
* Drop doc/README.schroot-setup. Using LVM for schroot overlays is not
recommended as it is too slow and also too hard to set up. You should
rather use overlays or unpacked tarballs on tmpfs. Adjust
adt-virt-schroot.1 to point to mk-sbuild(1) instead.
* CREDITS: Remove license information, it does not belong there and we don't
need that any more as debian/copyright file.
* adt-testreport-*, adt-openbugs-*: Add warning that these scripts are
unmaintained and deprecated in favour of http://ci.debian.net, debci,
and/or jenkins. If you still use them, please mail
autopkgtest-devel(at)lists(dot)alioth(dot)debian(dot)org!
* README.package-tests: Document that @builddeps@ also installs make.
(Closes: #738129)
* Add Suggests: for schroot and lxc, and explain those in the package
description.
* NullRunner.test_timeout_long_test: Increase (unrelated) build timeout from
3 to 20 s, to cope with the bit of overhead that dpkg-buildpackage
introduced.
-- Martin Pitt <mpitt(at)debian(dot)org> Sun, 09 Feb 2014 19:31:34 +0100
autopkgtest (2.7.1) unstable; urgency=medium
* VirtSubproc.py, command(): Intercept/retry on EAGAIN.
* runner/adt-run: Robustify cleanup of empty "binaries" output directory, it
does not always work in __del__().
* adt-run: Replace direct invocation of "debian/rules build" with
"dpkg-buildpackage -us -uc -b". dpkg-buildpackage is the de-facto
interface these days (also on the buildds), and does additional things now
such as passing build flags or cleaning the package. This also implies
dpkg-source --before build to apply patches, so remove the explicit call
to that again. (Closes: #737632)
* adt-run: If all tests get skipped, but there are some tests, don't claim
that there are none. (Closes: #737242)
* adt-run: When expanding @builddeps@, add "make" as test almost always need
it to call "make installcheck" or similar.
* Print package version as first adt-run message ("@devel@" when running out
of source tree).
* Turn VirtSubproc.Timeout into a proper exception class (RuntimeError).
* Make VirtSubproc.bomb() useful outside the mainloop, so that we can
use it in utility functions that are used outside of runners.
* VirtSubproc: Add a "timeout" context manager which plumbs timeout_start(),
timeout_end() and bomb() (if an exit message is given) or a Timeout
exception (otherwise) together in the right way, for convenience.
-- Martin Pitt <mpitt(at)debian(dot)org> Fri, 07 Feb 2014 14:52:42 +0100
autopkgtest (2.7) unstable; urgency=medium
* adt-virt-lxc: Drop all the file-based checks for container bootup, and
replace with "lxc-attach runlevel" to wait until the container booted to a
numeric runlevel. This greatly simplifies the logic and drops the
cloud-init requirement so that this runner is now suitable for Debian or
debootstrap-based Ubuntu containers. (LP: #1273725)
* adt-virt-lxc.1: Drop --gain-root in notes/example. It's unnecessary
(adt-run will install fakeroot if missing) and confusing (as it's not
related to LXC specifically and otherwise not really used/useful).
* adt-virt-lxc.1: Add example how to create a Debian container, and some
cleanup of obsolete commentary.
* adt-virt-lxc: Add -s/--sudo option to run lxc-* commands through sudo; use
this option if you run adt-run as normal user, but need to run the
container itself as root (if you use LXC system-level containers).
This drops the hardcoded sudo commands and thus the dependency on sudo,
which is more palatable for Debian. (LP: #1273977)
* adt-virt-lxc: Add -e shortcut for --ephemeral, as this is an option which
you pretty much always want.
* adt-virt-lxc.1: Move more important options to the top.
* adt-virt-lxc: Stop hardcoding the "ubuntu" suggested normal user; instead,
call "getent passwd" to detect the first user with uid >= 500. Don't
advertise suggested-normal-user if none exists.
* adt-run: Rearrange finalizing options and reading capabilities to happen
after testbed opening. That allows the testbed to determine its full
capablities in its open hook.
* adt-run: Call dpkg-source --before-build for --unbuilt-tree arguments, to
ensure that patches are applied for "3.0 (quilt)" source trees. This is
useful to test *-buildpackage source trees where patches don't get
applied. (LP: #1212208)
-- Martin Pitt <mpitt(at)debian(dot)org> Fri, 31 Jan 2014 11:14:32 +0100
autopkgtest (2.6.1) unstable; urgency=medium
* adt-virt-lxc: Call lxc-config through sudo as well like all the other LXC
commands. This fixes running adt-run as user with the LXC runner.
* adt-run: For copydown(), always chown the testbed files to the non-root
user (if available). This fixes a "Permission denied" error with the
schroot or LXC runners and --unbuilt-tree if the source tree has tight
permissions. (LP: #1266811)
* Adjust LxcRunner.test_tree_built_binaries to also work with current apt
(similar to commit 5798b7f for the schroot runner).
* adt-virt-lxc: Call "sudo test" and "sudo readlink" instead of os.lexists()
and os.readlink() as recent LXC now makes the default container dir
/var/lib/lxc not readably by non-users. Fixes running adt-virt-lxc/adt-run
as user. (LP: #1266809)
* Add test for --binary with --built-tree.
* adt-run.1: Clarify and fix some wrong and misleading documentation what
happens with debs produced by source packages and specified with --binary.
(LP: #1175557)
-- Martin Pitt <mpitt(at)debian(dot)org> Wed, 29 Jan 2014 06:53:16 +0100
autopkgtest (2.6) unstable; urgency=medium
New features:
* Add --apt-source option as an alternative for --source, implied if
argument is a valid package name. It calls "apt-get source" in the testbed
instead of using a .dsc from the host, which for the common case of
testing packages in the acual archive avoids having to manually download
the source and then copying it into the testbed. This simplifies the
command line for running tests for a package in the archive to
"adt-run mypkgname --- adt-virt-[...]".
* Add --setup-commands option to run things like "apt-get update" or adding
apt sources after opening the testbed.
Bug fixes:
* adt-virt-lxc: Stop assuming that containers live in /var/lib/lxc/; ask
lxc-config about the root path instead.
* Only reset the test bed after the build stage if builds actually happened.
* Reset the test bed after running a test group, to avoid an unnecessary
setup if there is just one test.
* Don't put an empty "binaries" directory into the output directory.
New test cases:
* --timeout handling.
-- Martin Pitt <mpitt(at)debian(dot)org> Thu, 23 Jan 2014 17:19:11 +0100
From | Date | Subject | |
---|---|---|---|
Next Message | apt.postgresql.org repository | 2014-10-01 07:54:25 | postgis updated to version 2.1.4+dfsg-1.pgdg+2 |
Previous Message | apt.postgresql.org repository | 2014-09-28 17:49:46 | pgdg-buildenv updated to version 15.pgdg+1 |