lp:ubuntu/trusty/autopkgtest
- Get this branch:
- bzr branch lp:ubuntu/trusty/autopkgtest
Branch merges
Branch information
- Owner:
- Ubuntu branches
- Status:
- Development
Recent revisions
- 78. By Martin Pitt
-
* Fix "--build-tree" typo in error message, and also add the missing
--unbuilt-tree. (Closes: #743427)
* lxc: Enable live output in clone mode. - 77. By Martin Pitt
-
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. - 76. By Martin Pitt
-
[ 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. - 75. By Martin Pitt
-
* 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. - 74. By Martin Pitt
-
* 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) - 73. By Martin Pitt
-
* 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. - 72. By Martin Pitt
-
[ 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) - 71. By Martin Pitt
-
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. - 70. By Martin Pitt
-
* 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).
Branch metadata
- Branch format:
- Branch format 7
- Repository format:
- Bazaar repository format 2a (needs bzr 1.16 or later)
- Stacked on:
- lp:ubuntu/raring/autopkgtest