Ivo De Decker
8b0803e3bb
Buildd: don't block binnmu with maintainer arch: all
...
When the arch: all packages were uploaded by the maintainer, a binnmu (built
on the buildds) shouldn't be blocked, because it doesn't contain the arch: all
binaries anyway.
Signed-off-by: Ivo De Decker <ivodd@debian.org>
5 years ago
Steve Langasek
df2babdd0c
Trigger linux rebuild test on upload of gcc-defaults
...
The update of gcc to gcc-9 introduced a regression in buildability of
anything relying on kernel headers. This could have been caught by the
kernel's standard rebuild autopkgtest, but we currently only trigger the
linux autopkgtest for source packages named gcc-N, which excludes
gcc-defaults.
Include gcc-defaults in the list of packages that trigger a linux rebuild
test.
Bug-Ubuntu: https://bugs.launchpad.net/bugs/1836100
6 years ago
Ivo De Decker
208726f538
Add BuiltOnBuilddPolicy
...
Signed-off-by: Ivo De Decker <ivodd@debian.org>
6 years ago
Paul Gevers
85d10a27d2
Take suite name from Release file if it exist
6 years ago
Paul Gevers
eb3fb3ef6e
Add support for partial source suites via options
6 years ago
Paul Gevers
86c728321e
autopkgtest.py: Lower the logging level for lots of messages
6 years ago
Niels Thykier
c741b03aaf
Make PolicyVerdict ordered/comparable
...
This shortens the annyoing "a.value < b.value" to "a < b".
Signed-off-by: Niels Thykier <niels@thykier.net>
6 years ago
Niels Thykier
533288fa3e
utils: Remove obsolete imports
...
Signed-off-by: Niels Thykier <niels@thykier.net>
6 years ago
Niels Thykier
6875272618
AgePolicy: Update age-requirement in excuses to match hints
...
Signed-off-by: Niels Thykier <niels@thykier.net>
6 years ago
Mattia Rizzolo
bc0fb3f61d
Display bounty/penalty information only if they would actually be changing anything
...
This avoid messages like
Required age reduced by 0 days because of autopkgtest
that is hardly useful.
Signed-off-by: Mattia Rizzolo <mattia@debian.org>
6 years ago
Niels Thykier
198e257a91
autopkgtest: Move cache upgrade into its own function
...
The intialise method is already complex enough and this was a trivial
snippet to extract to reduce the complexity a bit.
Signed-off-by: Niels Thykier <niels@thykier.net>
6 years ago
Niels Thykier
cd654183b7
autopkgtest: Extract some ("boring") loops into a function
...
When we convert legacy results in the autopkgtest-results.cache file,
we are only touching leaf results. By moving the loops into a
function, we can remove 2-3 levels of ("redundant") nesting. This in
turn makes it more clear what is relevant in the conversion.
This same also holds in save_state when we convert an Enum to a
string.
Signed-off-by: Niels Thykier <niels@thykier.net>
6 years ago
Niels Thykier
fce1fe5c27
autopkgtests: Move some common code into a function
...
Signed-off-by: Niels Thykier <niels@thykier.net>
6 years ago
Paul Gevers
7611231ee2
Fix all pycodestyle issues in b/p/autopkgtest.py
6 years ago
Paul Gevers
992b27abb3
autopkgtest: retrigger old failures
6 years ago
Paul Gevers
42ac9c34a1
autopkgtest: add timestamp to results
6 years ago
Niels Thykier
915b4a012d
Since dpkg/1.19.1, "foo:native" is also valid for arch:all pkgs
...
We allow this already now even though dpkg/1.19.1 is not in stable as
it will not cause issues with upgrades (only dpkg-checkbuilddeps
needed change, so it will not cause issues on the buildds as we can
rely on dpkg from buster being present there).
Signed-off-by: Niels Thykier <niels@thykier.net>
6 years ago
Niels Thykier
f4ecd86000
Pass migration items to policies (instead of src + suite)
...
Signed-off-by: Niels Thykier <niels@thykier.net>
6 years ago
Niels Thykier
97abb6f467
ExcuseFinder: Reduce the number of migration items created
...
With this change, we reduce the number of migration items creted only
to be discarded because the item is not relevant/actionable.
Signed-off-by: Niels Thykier <niels@thykier.net>
6 years ago
Niels Thykier
78d120114f
ExcuseFinder: Merge two loops
...
Signed-off-by: Niels Thykier <niels@thykier.net>
6 years ago
Niels Thykier
9a0a99abc9
ExcuseFinder: Have _should_* work on migration items
...
Signed-off-by: Niels Thykier <niels@thykier.net>
6 years ago
Niels Thykier
d9f9c6d4a9
Let ExcuseFinder create migration items
...
Signed-off-by: Niels Thykier <niels@thykier.net>
6 years ago
Niels Thykier
6dde43a339
Create an ExcuseFinder class for computing relevant excuses
...
Signed-off-by: Niels Thykier <niels@thykier.net>
6 years ago
Niels Thykier
59633a92b5
Clone all_buildarchs before mutating it
...
Signed-off-by: Niels Thykier <niels@thykier.net>
6 years ago
Niels Thykier
2c9e0b9b97
do_all: Prune cruft after non-recursive hints (e.g. "easy")
...
Signed-off-by: Niels Thykier <niels@thykier.net>
6 years ago
Niels Thykier
c30ecbb7e8
Skip cruft on source migration / removal items
...
Signed-off-by: Niels Thykier <niels@thykier.net>
6 years ago
Niels Thykier
73791e48d0
Rename migrate_item{,s}_to_target_suite
...
It accepts multiple items, so using a singular "item" seems like a
misfeature.
Signed-off-by: Niels Thykier <niels@thykier.net>
6 years ago
Niels Thykier
5d408fa800
Remove new cruft items in iter_packages
...
Signed-off-by: Niels Thykier <niels@thykier.net>
6 years ago
Niels Thykier
32ebe9d4e0
Ensure get_auto_hinter_hints does not choke on cruft items
...
Signed-off-by: Niels Thykier <niels@thykier.net>
6 years ago
Paul Gevers
16f823dd91
autopkgtest: in Debian we want linux to be treated as any other
6 years ago
Paul Gevers
1ca76486b5
Replace libreoffice with doxygen as the libgcc smoke test for gcc.
...
Bug-Ubuntu: https://bugs.launchpad.net/bugs/1793260
Original patches by Steve Langasek
6 years ago
Niels Thykier
69d42ffb36
solver: improve apply_order to simplify more code
...
Signed-off-by: Niels Thykier <niels@thykier.net>
6 years ago
Niels Thykier
b306700376
solver: Extract a function from _comute_group_order_adds
...
Signed-off-by: Niels Thykier <niels@thykier.net>
6 years ago
Niels Thykier
259fecf6cf
solver: Rename a variable to avoid confusion
...
Signed-off-by: Niels Thykier <niels@thykier.net>
6 years ago
Niels Thykier
cdcfe85bfa
solver: Replace dict with a proper object
...
Signed-off-by: Niels Thykier <niels@thykier.net>
6 years ago
Niels Thykier
93f101bee2
solver: Extract some common code into a function
...
Signed-off-by: Niels Thykier <niels@thykier.net>
6 years ago
Niels Thykier
2ed6161b49
solver: Refactor out a function to avoid duplicated code
...
Signed-off-by: Niels Thykier <niels@thykier.net>
6 years ago
Niels Thykier
af20634b12
solver: Merge some loops to reduce nesting level
...
Signed-off-by: Niels Thykier <niels@thykier.net>
6 years ago
Niels Thykier
b61e1086bd
solver: Invert an if-statement to reduce max indentation level
...
Signed-off-by: Niels Thykier <niels@thykier.net>
6 years ago
Niels Thykier
68407c53c0
Remove an unnecessary if-statement
...
Signed-off-by: Niels Thykier <niels@thykier.net>
6 years ago
Niels Thykier
9971714e27
solver: Merge two loops by using chain
...
Signed-off-by: Niels Thykier <niels@thykier.net>
6 years ago
Niels Thykier
16dc303190
solver: Reduce two small loops into a comprehension
...
Signed-off-by: Niels Thykier <niels@thykier.net>
6 years ago
Niels Thykier
d3e06fc45f
solver: Split _compute_group_order into three methods
...
Signed-off-by: Niels Thykier <niels@thykier.net>
6 years ago
Niels Thykier
c65b377c5d
solver: Split solve_groups into 3 smaller methods
...
Signed-off-by: Niels Thykier <niels@thykier.net>
6 years ago
Niels Thykier
4eb038ab6d
autopkgtest: Move field creation into __init__
...
Signed-off-by: Niels Thykier <niels@thykier.net>
6 years ago
Paul Gevers
1ecb07ac2d
autopkgtest: bug fix in baseline cache
6 years ago
Paul Gevers
075d4d823b
autopkgtest: fix copy() in save_state
6 years ago
Paul Gevers
c6c5c45287
autopkgtest: tiny change for easier understanding
6 years ago
Paul Gevers
d038e7bbe6
autopkgtest: simplify bin_triggers logic/naming
6 years ago
Niels Thykier
caf83b9357
Fix the remaining two style issues in britney2/__init__.py
...
Signed-off-by: Niels Thykier <niels@thykier.net>
6 years ago