Running autopkgtests from PPA on real infrastructure

Olivier Tilloy olivier.tilloy at
Wed Sep 16 16:07:27 UTC 2020

On Wed, Sep 16, 2020 at 5:13 PM Iain Lane <laney at> wrote:
> On Tue, Sep 15, 2020 at 03:53:01PM +0200, Lukas Märdian wrote:
> > * Upload your package (incl. debian/tests/*) to your PPA
> > * Get a core-dev/MOTU to trigger the test for you, via this URL scheme:
> >
> > *&ppa=LPUSER/PPA*&trigger=SRCPKG/VERSION
> > * Check the results via this URL scheme:
> >
> I would dearly love to improve this situation. I could imagine (easier)
> a CLI tool to help you
>   (1) submit requests,
>   (2) view them [the swift software we use to store/retrieve results has
>   an API],

I wrote a couple of scripts that cater well for my particular use
cases: I build multiple versions of firefox, thunderbird and
chromium-browser in various PPAs, and I wanted to be able to request
tests for a particular version prefix (potentially spanning several
releases) in a given PPA, and to quickly view a summary of the test
The code is at,
and the interesting scripts are and

Example use case:

  ./ ppa:ubuntu-mozilla-security/ppa firefox 81
  # after all the tests have completed (check periodically at
ppa:ubuntu-mozilla-security/ppa firefox bionic 20200916

I use those scripts daily and they're a big time saver.
Suggestions and improvements welcome, and I'm happy to work towards
having them owned and maintained by ~ubuntu-dev if they can be of use.

> or (harder, better) an extension to the web frontend so that PPA results
> are displayed like distro ones.
> Just mentioning this in case anyone gets excited about helping with the
> tooling. I'd love to put this on my list, but someone else picking it up
> would make it happen sooner. :)



More information about the ubuntu-devel mailing list