Debian packages can specify autopkgtest tests. These tests are run on infrastructure maintained by the Debian CI team (https://ci.debian.net).

Note: This project is different from Salsa CI

There are multiple ways that the tests are triggered.

  1. everybody that has a SSO certificate on the Debian infrastructure can schedule jobs
  2. the main worker on ci.d.n schedules tests autonomous on amd64 in unstable via the debci-batch package

  3. The Release Team has jobs scheduled automatically by the britney code; the migration software. These jobs run on all suites, with different purposes. The main one, for unstable-to-testing migration is described below, but additionally theres more.

    1. experimental (results in unstable), the results are summarized at the pseudo-excuses

    2. stable-proposed-updates (results in stable) or oldstable-proposed-updates (results in oldstable), the results are used by the upgrade viewer: stable / oldstable

This page explains the Release Team britney setup.

For several years already, maintainers can add autopkgtest test cases to their packages, which are then run on the continuous integration platform on ci.d.n. debci, the framework that runs that site has an API to test individual packages from unstable in testing. britney (the software that determines which packages are allowed to migrate) uses this API to trigger tests for packages that are candidate for migration from unstable to testing and use the results to influence the migration to testing. The idea is that a package that is candidate for migration is updated in testing to its candidate version and that the autopkgtest case(s) of the package and those of all reverse dependencies are run. Regression in the results with respect to the current situation in testing will block the package from migrating. On the other hand, if a package has (a) successful autopkgtest(s) and no regression otherwise, it will be rewarded with a reduced required age. Information on what happens is added to the excuses.

There is one important note to make here on how to go about regressions in test cases from reverse dependencies. We recommend communication between the maintainers of the involved packages as one party has insight in what changed and the other party insight in what is being tested. More information is available in the britney documentation.

In case of issues, please contact the release team and ci team: debian-release@lists.debian.org debian-ci@lists.debian.org


Note about migration-reference/0: this is a trigger that has special meaning for britney. britney keeps track of historical PASS results. If a regression migrates to testing britney doesn't know, it could falsely block packages. However, when it encounters the result of a migration-reference/0 trigger, it stores that as it current reference. These triggers are run with only packages from testing.


Delta to Ubuntu

People may have experience with the way Ubuntu runs the autopkgtests in their framework. There a couple of differences.


CategoryDeveloper