ppa-dev-tools:results-class

Last commit made on 2022-08-31
Get this branch:
git clone -b results-class https://git.launchpad.net/ppa-dev-tools
Only Bryce Harrington can upload to this branch. If you are Bryce Harrington please log in for upload directions.

Branch merges

Branch information

Name:
results-class
Repository:
lp:ppa-dev-tools

Recent commits

801f354... by Bryce Harrington

Add Results class and test

The result, subtest, and trigger modules can also be invoked as scripts:

    $ python3 -m ppa.result

These are intended to serve as simple smoketests.

f6d0a46... by Bryce Harrington

Add Subtest class and test

5ce23e2... by Bryce Harrington

Add Trigger class and test case

c44bfd4... by Bryce Harrington

tests: Fix flake/lint issues

84609b3... by Bryce Harrington

Add the 'tests' command

This pulls in show_running() and show_waiting() from lp-test-ppa with
some modifications to work with the current Job class, and adds a new
command called 'tests' to report these.

Note that we're not yet showing the completed results, so the command as
implemented currently is only useful when a PPA's tests are in process.

7b06ee4... by Bryce Harrington

Add a constants module

Move some constants like URLs, arch lists, etc. into a shared module.

(Thx goes to Athos' lppa for the idea.)

1c3c6fb... by Bryce Harrington

Add io module with open_url()

8fcdc4f... by Bryce Harrington

Job: Add smoketest for get_waiting() and get_running()

Extract the job info for a given ppa from static snapshots of the
autopkgtest running.json and queues.json.

86c29bf... by Bryce Harrington

Job: Fix flake/lint issues

e399374... by Bryce Harrington

Job: Refactor jobinfo out of init API

The only thing the jobinfo structure is used for is to pass in ppas and
triggers. Just pass these lists directly, thus simplifying the calling
syntax.

We'll retain use of jobinfo in the test cases for now, since it is
representative of the original data from autopkgtest.