79
|
|
|
Martin Pitt |
2.14.1 |
10 years ago
|
|
|
78
|
|
|
Martin Pitt |
2.13.1 |
10 years ago
|
|
|
77
|
|
|
Martin Pitt |
2.13 |
10 years ago
|
|
|
76
|
|
[ 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.
|
Martin Pitt |
2.12 |
10 years ago
|
|
|
75
|
|
|
Martin Pitt |
2.11 |
10 years ago
|
|
|
74
|
|
|
Martin Pitt |
2.10 |
10 years ago
|
|
|
73
|
|
|
Martin Pitt |
2.9.2 |
10 years ago
|
|
|
72
|
|
|
Martin Pitt |
2.9.1 |
10 years ago
|
|
|
71
|
|
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 |
2.9 |
10 years ago
|
|
|
70
|
|
|
Martin Pitt |
2.8.1 |
10 years ago
|
|
|
69
|
|
|
Martin Pitt |
2.8 |
10 years ago
|
|
|
68
|
|
|
Martin Pitt |
2.7.2 |
10 years ago
|
|
|
67
|
|
* 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 |
2.7.1 |
10 years ago
|
|
|
66
|
|
|
Martin Pitt |
2.7 |
10 years ago
|
|
|
65
|
|
|
Martin Pitt |
2.6.1 |
10 years ago
|
|
|
64
|
|
|
Martin Pitt |
2.6 |
10 years ago
|
|
|
63
|
|
|
Martin Pitt |
2.5.6 |
10 years ago
|
|
|
62
|
|
|
Martin Pitt |
2.5.5 |
10 years ago
|
|
|
61
|
|
|
Martin Pitt |
2.5.4 |
10 years ago
|
|
|
60
|
|
|
Martin Pitt |
2.5.3 |
10 years ago
|
|
|