~juliank/britney/+git/britney2-ubuntu:less-force-reset-test-logging

Last commit made on 2021-11-05
Get this branch:
git clone -b less-force-reset-test-logging https://git.launchpad.net/~juliank/britney/+git/britney2-ubuntu
Only Julian Andres Klode can upload to this branch. If you are Julian Andres Klode please log in for upload directions.

Branch merges

Branch information

Name:
less-force-reset-test-logging
Repository:
lp:~juliank/britney/+git/britney2-ubuntu

Recent commits

11a023d... by Julian Andres Klode

Only log force-reset-test hints for matching packages

Logging all force-reset-test hints for every package causes
about 850 MB of logs in the last run of 880 MB of logs in total,
let's only log ones matching the package instead, as we do for
force-badtest.

ef29d8e... by Steve Langasek

Set ADT_BASELINE=reference to honor baseline retests

e3f9714... by Steve Langasek

Turn on support for pulling autopkgtest results from sqlite instead of swift

d87dbf0... by Steve Langasek

Merge branch 'adt-results-from-swift'

383887a... by Steve Langasek

bdmurray-linting

4784a4c... by Steve Langasek

Merge branch 'options-not-mutually-exclusive'

a7b58b7... by Steve Langasek

--print-uninst and --nuninst-cache are not mutually-exclusive

This check has been present for a long time but there is no reason for it -
there is code elsewhere that explicitly checks for both options being set
together and DTRT. And this saves a minute on each britney run to not
regenerate uninstallability information that was just generated.

6cd47f3... by Steve Langasek

In the autopkgtest policy, cache the list of force-reset-test hints once

Due to the number of hints in standing use in Ubuntu, hints.search() is an
expensive operation, and we call it once for *every single test* referenced
from -proposed. Since force-reset-test are a small proportion of the hints
in use, searching once for all the hints of this type and only searching
this subset for each autopkgtest improves performance (with 23000
autopkgtests referenced in -proposed, this saves roughly 1 minute of
runtime, or 11% on a 9-minute britney run; the number of packages in
-proposed is typically much higher at other points in the release cycle,
therefore the absolute improvement in performance is expected to be
greater.)

The force-reset-test hints are an Ubuntu delta so this is not expected to be
upstreamed; and it could eventually be dropped if and when baseline
retesting is implemented in Ubuntu and the number of hints required drops.

This could be implemented with a more generic, elegant solution in
HintsCollection, but again, the scalability problem of hints is hopefully
short-lived so I didn't consider it worth the investment here.

794b14b... by Steve Langasek

Implement support for pulling autopkgtest results from sqlite db

173deaf... by Steve Langasek

Support setting test results in swift and sqlite3 simultaneously