~wgrant/launchpad:buildd-manager-failure-metrics

Last commit made on 2023-10-27
Get this branch:
git clone -b buildd-manager-failure-metrics https://git.launchpad.net/~wgrant/launchpad
Only William Grant can upload to this branch. If you are William Grant please log in for upload directions.

Branch merges

Branch information

Name:
buildd-manager-failure-metrics
Repository:
lp:~wgrant/launchpad

Recent commits

8128720... by William Grant

Rename base failure count metric to not clash with numbercruncher

Succeeded
[SUCCEEDED] docs:0 (build)
[SUCCEEDED] lint:0 (build)
[SUCCEEDED] mypy:0 (build)
13 of 3 results
0d9cfad... by William Grant

Tweak buildd-manager failure handling metrics

They all now start with "builders.failure", labels are more consistent,
and builder failure/reset are counted.

Succeeded
[SUCCEEDED] docs:0 (build)
[SUCCEEDED] lint:0 (build)
[SUCCEEDED] mypy:0 (build)
13 of 3 results
a981c18... by William Grant

Refactor buildd-manager job dispatch error handling

Previously scan sometimes caught its own errors so it could _scanFailed
with retry=False. Instead use a flag that's reset at the start of every
scan, so singleCycle can always invoke _scanFailed the right way. This
means singleCycle can always know whether a scan succeeded or failed.

Succeeded
[SUCCEEDED] docs:0 (build)
[SUCCEEDED] lint:0 (build)
[SUCCEEDED] mypy:0 (build)
13 of 3 results
d53bc13... by William Grant

Convert buildd-manager's singleCycle to inlineCallbacks

_scanFailed also needed porting from failures to exceptions.

c9f30b9... by Ines Almeida

Fix failing pro-enable unit test

Merged from https://code.launchpad.net/~ines-almeida/launchpad/+git/launchpad/+merge/454273

29afe26... by Colin Watson

Fix test failures caused by "Remove/rename unused loop variables"

Merged from https://code.launchpad.net/~cjwatson/launchpad/+git/launchpad/+merge/454266

3bee7b2... by Ines Almeida

Fix failing pro-enable unit test

a64e35b... by Colin Watson

charm: Bump launchpad-layers to 0fd04056ad

Merged from https://code.launchpad.net/~cjwatson/launchpad/+git/launchpad/+merge/454263

c5cfb73... by Colin Watson

Fix librarian GC merge_duplicates

I missed out a variable when removing use of `vars()` recently, causing
some extremely verbose test fallout.

a5afdfa... by Colin Watson

Fix test_findSharedGroupsPOTMsgSet

I made an off-by-one error while fixing what `flake8-bugbear` thought
was an unused loop variable.