Running autopkgtests from PPA on real infrastructure

Olivier Tilloy olivier.tilloy at canonical.com
Wed Sep 16 14:38:05 UTC 2020


On Wed, Sep 16, 2020 at 1:07 PM Lukas Märdian
<lukas.maerdian at canonical.com> wrote:
>
> Hello all,
>
> I'm currently working on a problem where an autopkgtest works fine in local autopkgtest testrunners (QEMU based), but it fails in different ways on the real Ubuntu autopkgtest infrastructure [0] (networking related issues).
>
> Some developers use Bileto [1] to reproduce tests in such situations. But not everybody has access to Bileto and it comes with bigger overhead, due to running all reverse-depends tests as well.
>
> I found out about another way of running autopkgtests on the real infrastructure, using a PPA. The approach is documented in the wiki [2], but lots of people seemed to be surprised about it, so this is a heads up that this approach exists and works!
>
> Basically:
> * Upload your package (incl. debian/tests/*) to your PPA
> * Get a core-dev/MOTU to trigger the test for you, via this URL scheme:

A clarification: no need for a core-dev/MOTU if you have upload rights
for that package in Ubuntu. In that case you can trigger the test
yourself. The ubuntu-upload-permission tool in ubuntu-dev-tools is
handy to check whether you are allowed to upload (and therefore to
trigger tests for) a given source package.

> https://autopkgtest.ubuntu.com/request.cgi?release=RELEASE&arch=ARCH&package=SRCPKG&ppa=LPUSER/PPA&trigger=SRCPKG/VERSION
> * Check the results via this URL scheme:
> https://objectstorage.prodstack4-5.canonical.com/v1/AUTH_77e2ada1e7a84929a74ba3b87153c0ac/autopkgtest-RELEASE-LPUSER-PPA/
>
> Best,
>    Lukas
>
> [0] https://autopkgtest.ubuntu.com/
> [1] https://bileto.ubuntu.com/
> [2] https://wiki.ubuntu.com/ProposedMigration#Testing_against_a_PPA
> --
> ubuntu-devel mailing list
> ubuntu-devel at lists.ubuntu.com
> Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-devel



More information about the ubuntu-devel mailing list