mirror of
https://git.launchpad.net/~ubuntu-release/britney/+git/britney2-ubuntu
synced 2025-03-09 10:11:11 +00:00
Until now, autopkgtests were triggered via an external "adt-britney" command from lp:auto-package-testing. This duplicated a lot of effort (such as its own chdist and reverse dependency calculation), maintains a lot of state files, uses hardcoded absolute paths to these external tools, and is quite hard to understand and maintain. We want to get rid of all this. Add logic to AutoPackageTest.request() to use britney's existing reverse dependency maps and figure out the set of tests to run for packages in unstable. These are being tracked in "requested_tests". Add logic to AutoPackageTest.submit() to send test requests to the AMQP server specified in the new "ADT_AMQP" config key. For testing this can be a file:// URL, and if not set no test requests will be sent at all. The set of tests which were requested in previous runs are tracked in UNSTABLE/autopkgtest/pending.txt, so that we don't re-request tests in subsequent runs. There is no implementation for collect() and results() yet, these will be done in a separate commit. Add initial test cases.