1405 Commits

Author SHA1 Message Date
Ivo De Decker
409deee905 switch missing builds to detailed excuse info 2019-09-04 11:44:11 +00:00
Ivo De Decker
63a9d786a8 switch no binaries to detailed excuse info 2019-09-04 11:44:11 +00:00
Ivo De Decker
3576ed6667 switch buildd policy to detailed excuse info 2019-09-04 11:44:11 +00:00
Ivo De Decker
deb27e7ec0 switch built-using policy to detailed excuse info 2019-09-04 11:44:11 +00:00
Ivo De Decker
76f33a5fc2 switch piuparts policy to detailed excuse info 2019-09-04 11:44:11 +00:00
Ivo De Decker
370bf52d56 switch age policy to detailed excuse info 2019-09-04 11:44:10 +00:00
Ivo De Decker
b70d1d09d7 keep track of verdict when invalidating deps 2019-09-04 11:44:10 +00:00
Ivo De Decker
abaa4c7205 render html excuse based on 'text'
The html rendered is horrible, but we're stuck due to the broken grep-excuses
in stretch.
2019-09-04 11:44:10 +00:00
Ivo De Decker
065dbd26ee Add functions for details excuse info 2019-09-04 11:44:10 +00:00
Ivo De Decker
aa02edcbfb ci: switch sid tests to bullseye and allow failure
Signed-off-by: Ivo De Decker <ivodd@debian.org>
2019-09-03 23:50:00 +02:00
Ivo De Decker
19392f63c2 fix codestyle issues in policy_.py 2019-09-03 23:50:00 +02:00
Ivo De Decker
5890cb914e Fix codestyle issues is britney.py
Signed-off-by: Ivo De Decker <ivodd@debian.org>
2019-09-02 22:22:04 +00:00
Ivo De Decker
7fdbfcbeb2 Check version of cruft removal item
If the cruft removal item has a different version than the binary currently in
testing, then the cruft item was replaced since it was added, or it was added
in error. In this case, the item should not be processed.

Signed-off-by: Ivo De Decker <ivodd@debian.org>
2019-09-02 22:21:52 +00:00
Ivo De Decker
e3af8993be compute_groups: rename badly named source_name
When the item is a cruft removal item, the variable contains the binary name,
not the source name. So rename it to item_package and set source_name, to the
source in both cases.

Signed-off-by: Ivo De Decker <ivodd@debian.org>
2019-09-02 19:51:03 +00:00
Ivo De Decker
fdf273ad05 Log initial list of cruft items added to the list of items
Signed-off-by: Ivo De Decker <ivodd@debian.org>
2019-09-02 19:04:44 +00:00
Ivo De Decker
c7cfb4e09f Log new cruft items added to the list of items
Signed-off-by: Ivo De Decker <ivodd@debian.org>
2019-09-02 19:03:41 +00:00
Paul Gevers
747c67854a
tests: use yaml.safe_load as yaml.load is deprecated 2019-08-25 20:47:14 +02:00
Paul Gevers
2fc265be91
Save the state of policies on every non-dry run, not only during migration runs
The autopkgtest policy is really sending requests during every non-dry run,
we want to capture that state.
2019-08-24 21:46:59 +02:00
Ivo De Decker
b21b129527 Enable smooth updates again, the freeze is over.
Signed-off-by: Ivo De Decker <ivodd@debian.org>
2019-08-17 20:09:53 +00:00
Ivo De Decker
edbef619e3 gitlab-ci: add buster test and move doc and pages build
Signed-off-by: Ivo De Decker <ivodd@debian.org>
2019-08-08 23:12:05 +00:00
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>
2019-08-08 23:00:59 +00:00
Ivo De Decker
aff88095ea Give myself ALL permissions
Signed-off-by: Ivo De Decker <ivodd@debian.org>
2019-07-23 22:53:50 +00:00
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
2019-07-14 14:43:22 +00:00
Ivo De Decker
6f1295e3fe Enable CHECK_BUILDD
Signed-off-by: Ivo De Decker <ivodd@debian.org>
2019-07-06 13:20:04 +00:00
Ivo De Decker
208726f538 Add BuiltOnBuilddPolicy
Signed-off-by: Ivo De Decker <ivodd@debian.org>
2019-07-06 09:18:16 +00:00
Paul Gevers
affa1c9b70
britney*.conf: update autopktest output file for multi-instance support in britney1 2019-05-23 12:51:25 +02:00
Paul Gevers
909a4e228a
Default series option to target suite name 2019-05-18 21:40:27 +02:00
Paul Gevers
85d10a27d2
Take suite name from Release file if it exist 2019-05-18 21:40:26 +02:00
Paul Gevers
964ecaf045
tests: add the suite to debci results 2019-05-18 21:40:26 +02:00
Ivo De Decker
6a0d3994e2 Disable smooth updates
Signed-off-by: Ivo De Decker <ivodd@debian.org>
2019-05-18 14:13:32 +00:00
Paul Gevers
eb3fb3ef6e
Add support for partial source suites via options 2019-04-27 22:35:09 +02:00
Paul Gevers
86c728321e
autopkgtest.py: Lower the logging level for lots of messages 2019-04-13 10:39:29 +02:00
Ivo De Decker
48d0777e2a Revert to standard aging.
All packages need manual approval anyway, so we might as well get the fixes in
quickly.

This reverts commit 40aa315c0c71730a861ab64f4346337c85cca8ed.
2019-03-31 14:06:03 +00:00
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>
2019-03-06 19:07:17 +00:00
Niels Thykier
533288fa3e
utils: Remove obsolete imports
Signed-off-by: Niels Thykier <niels@thykier.net>
2019-03-05 19:40:39 +00:00
Niels Thykier
6875272618
AgePolicy: Update age-requirement in excuses to match hints
Signed-off-by: Niels Thykier <niels@thykier.net>
2019-03-05 19:29:16 +00:00
Felix Yan
39e3ad9d55
Fix some typos in doc/short-intro-to-migrations.rst
Closes: Debian/britney2#26
Signed-off-by: Niels Thykier <niels@thykier.net>
2019-02-25 19:27:41 +00:00
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>
2019-02-21 12:41:40 +01:00
Niels Thykier
40aa315c0c
Implement 10-day migration delay (Soft-freeze)
Per https://release.debian.org/buster/freeze_policy.html

Signed-off-by: Niels Thykier <niels@thykier.net>
2019-02-12 18:00:53 +00:00
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>
2019-02-11 21:27:46 +00:00
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>
2019-02-11 21:05:55 +00:00
Niels Thykier
fce1fe5c27
autopkgtests: Move some common code into a function
Signed-off-by: Niels Thykier <niels@thykier.net>
2019-02-11 21:00:13 +00:00
Paul Gevers
ccc1c25f61
Fix pycodestyle issues in test_policy.py 2019-02-07 19:46:37 +01:00
Paul Gevers
e8b5f5e631
Fix loads of pycodestyle issues in test_autopkgtest 2019-02-07 19:17:16 +01:00
Paul Gevers
7611231ee2
Fix all pycodestyle issues in b/p/autopkgtest.py 2019-02-07 13:35:52 +01:00
Paul Gevers
992b27abb3
autopkgtest: retrigger old failures 2019-02-07 13:35:52 +01:00
Paul Gevers
42ac9c34a1
autopkgtest: add timestamp to results 2019-01-31 15:37:13 +01:00
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>
2019-01-29 19:15:15 +00:00
Niels Thykier
14e9bf5864
Update elbrus's hint permissions to STANDARD
Signed-off-by: Niels Thykier <niels@thykier.net>
2019-01-28 18:58:37 +00:00
Niels Thykier
f4ecd86000
Pass migration items to policies (instead of src + suite)
Signed-off-by: Niels Thykier <niels@thykier.net>
2019-01-27 09:52:33 +00:00