Niels Thykier
2c34b70492
Remove unused import
...
Signed-off-by: Niels Thykier <niels@thykier.net>
7 years ago
Paul Gevers
def9d81c76
Make retry URL configurable (two flavors)
7 years ago
Paul Gevers
9a28ec184b
Revert "autopkgtest: Drop retry_url from the excuses as this works different in Debian"
...
This reverts commit 054830d03f
.
7 years ago
Paul Gevers
cb716e3186
Don't excuse.force() on skiptest hint
7 years ago
Paul Gevers
6252826fad
autopkgtest: add adt_baseline = reference option
...
- revert most of commit adbe6d5
as checking the version in testing doesn't work
when other packages migrate and cause regressions
- Alternative way of determining if a package is regressing, by comparison to a
reference set. The reference set is to be created by a holy trigger that
doesn't take packages from the base suite, but instead tests in the testing
suite. This reference needs a retry when a package causing regression
migrates nevertheless, e.g. due to hints or to bounty/penalty policy.
7 years ago
Niels Thykier
8eaee4309e
Rewrite "self.log -> self.logger.<severity>" for autopkgtest
...
Signed-off-by: Niels Thykier <niels@thykier.net>
7 years ago
Niels Thykier
f752ea4ac7
Merge branch 'master' into autopkgtest
7 years ago
Niels Thykier
32b2ee326a
Use lazy evaluation of format arguments in logging
...
Signed-off-by: Niels Thykier <niels@thykier.net>
7 years ago
Niels Thykier
8bf73610ee
policies: Use logger instead of "log"
...
Signed-off-by: Niels Thykier <niels@thykier.net>
7 years ago
Niels Thykier
5e825043d3
Replace "print" logging with the "logging" module
...
This commit rewrites the make-shift "log" methods to use the logging
framework without requiring changes to the callers. This will be done
in a latter commit to keep things reviewable.
Signed-off-by: Niels Thykier <niels@thykier.net>
7 years ago
Paul Gevers
5dfde99fe6
sources is a proper class with a version method
...
Thank nthykier
7 years ago
Paul Gevers
c7107d1fd4
autopkgtest: rewrite processing of debci2britney data
7 years ago
Paul Gevers
12e2cb7596
autopkgtest: don't log a very much occuring ignored situation
7 years ago
Paul Gevers
67becb2aec
autopkgtest: in the final API, run_id is a number, convert it to string internally
7 years ago
Paul Gevers
d0fd1872d4
autopkgtest: give blacklisted packages a version of 'blacklisted'
7 years ago
Paul Gevers
df17112bbe
autopkgtest: ignore results without trigger
7 years ago
Paul Gevers
adbe6d5f67
autopkgtest: redefine regression, if possible, only take test results in testing into account
7 years ago
Paul Gevers
054830d03f
autopkgtest: Drop retry_url from the excuses as this works different in Debian
7 years ago
Paul Gevers
fc5eacf7d1
autopkgtest: minor change
...
reorder adding trigger vs removing
making two stings in the code more readable
7 years ago
Paul Gevers
d59538a514
Enable correct result file url for Debian
7 years ago
Paul Gevers
93ca29c3aa
Load the debci API status file directly
7 years ago
Paul Gevers
03292d1df4
On ci.d.n the running test page is under status/pending
7 years ago
Paul Gevers
1e022af99e
Minor enhancement of log message as in Debian a package can be in unstable without being in testing.
7 years ago
Paul Gevers
9790dbf7c2
Don't reward bounty while tests are running or are always-failed
7 years ago
Paul Gevers
44f983dc63
autopkgtest: Remove hack for gccgo-5/6
7 years ago
Paul Gevers
011e9a14b7
Merge branch 'master' into autopkgtest
7 years ago
Paul Wise
94a3136f64
Drop duplicate 'has new bugs' excuses item
...
The other item includes bug numbers so this one is less useful.
Closes: https://bugs.debian.org/886509
Signed-off-by: Niels Thykier <niels@thykier.net>
7 years ago
Paul Gevers
fd03083ea5
Merge branch 'master' into autopkgtest
7 years ago
Niels Thykier
b82f4fc632
autopkgtests policy: only load amqplib if needed
...
Signed-off-by: Niels Thykier <niels@thykier.net>
7 years ago
Niels Thykier
2242821c01
BuildDependsPolicy: Add missing build_depends=True to get_dependency_solvers
...
Signed-off-by: Niels Thykier <niels@thykier.net>
7 years ago
Niels Thykier
c195268019
piuparts: Properly discard the URL for testing
...
The PiupartsPolicy does not use the report URL for testing, so we do
not need to store it in memory. Unfortunately, the logic was broken
and the discard did not happen.
Signed-off-by: Niels Thykier <niels@thykier.net>
7 years ago
Niels Thykier
bda39f8ca0
Support :native in build-dependency relations
...
Signed-off-by: Niels Thykier <niels@thykier.net>
7 years ago
Niels Thykier
89765bc374
BuildDependsPolicy: Keep block_txt and block in sync
...
If a package had:
Build-Depends: foo [i386], uninstallable-pkg
Then the excuses for amd64 would point to "foo [i386]" rather than
"uninstallable-pkg".
Signed-off-by: Niels Thykier <niels@thykier.net>
7 years ago
Niels Thykier
ee27d7a67c
Add BuildDependsPolicy to check Build-Depends(-Arch) availability
...
Add a new "BuildDependsPolicy" that will check the satisfiability of
the build-dependencies listed in the Build-Depends and
Build-Depends-Arch fields. This enables gating of packages based on
missing / broken build-dependencies.
There are some limitations:
* Build-Depends-Indep is ignored for now. Missing or broken packages
listed in Build-Depends-Indep will be continue to be silently
ignored.
* Being a policy check, it does not enforce "self-containedness" as
a package can still migrate before a build-dependency. However,
this can only happen if the build-dependency is ready to migrate
itself. If the build-dependency is not ready (e.g. new RC bugs),
then packages build-depending on it cannot migrate either (unless
the version in testing satisfies there requirements).
Signed-off-by: Niels Thykier <niels@thykier.net>
7 years ago
Niels Thykier
c537f0554f
Move PolicyVerdict to britney2.policies
7 years ago
Paul Gevers
f03f59548d
Fix logic in exception handling of unknown autopkgtest results
7 years ago
Paul Gevers
089c4f6e57
Rename new excuse field and method to unsatisfiable_on_archs and add_unsatisfiable_on_arch
7 years ago
Paul Gevers
a16e4e5a55
Enable autopkgtesting on built arches when not all have been built yet
...
- autopkgtest now honors break_arches option
- incomplete testing is now treated with penalty behavior
7 years ago
Paul Gevers
41c4729506
Only give bounty on passing packages if the package has a test suite itself
7 years ago
Paul Gevers
d975b2fc39
Make the huge queue in autopkgtest optional
7 years ago
Paul Gevers
b553b205ce
Add age changes due to penalties or bounties to the excuses output
7 years ago
Paul Gevers
f2f20eb460
Limit accumulated bounties to configurable minum age
7 years ago
Paul Gevers
77ea1cc8d5
Enable no-penalties urgencies; to exempt urgency >= high from penalties
7 years ago
Paul Gevers
be5a378da5
Enhance debugging information for applied bounties and penalties
7 years ago
Paul Gevers
287a9d328c
os.path.join(options.unstable, 'autopkgtest') isn't writable in the Debian setup and we have options.state_dir already
7 years ago
Paul Gevers
eb60fc557e
Implement bounty/penalty system for autopkgtest
7 years ago
Paul Gevers
acec564443
Make autopkgtest web site URL an option
7 years ago
Paul Gevers
648feb71d3
Implement swift free usage of autopkgtest
7 years ago
Paul Gevers
bee197f085
policy/autopkgtest Add minor comments
7 years ago
Paul Gevers
2bce9e334e
Initial commit for autokpgtest
...
* copy of Ubuntu's version at 593acb2753
* merge tests/__init__.py with Ubuntu's (that only contained autopkgtest)
7 years ago
Niels Thykier
189edf42ec
britney: Move britney's start of day to 7 pm
...
In preparation for running Britney 4 times a day and we wanting the
22:00 UTC run to do the aging.
Signed-off-by: Niels Thykier <niels@thykier.net>
8 years ago
Niels Thykier
f6120e5ec3
Use the correct required age in html excuses
...
Signed-off-by: Niels Thykier <niels@thykier.net>
8 years ago
Niels Thykier
9ca5f7e24e
Add more verdicts to provide more detailed excuses
...
Signed-off-by: Niels Thykier <niels@thykier.net>
8 years ago
Niels Thykier
b34ac3bdd9
Add a verdict field to all policies with the actual verdict
...
Signed-off-by: Niels Thykier <niels@thykier.net>
8 years ago
Niels Thykier
5f2a84a4f8
Remove redundant if-else - if branch is always true
...
Signed-off-by: Niels Thykier <niels@thykier.net>
8 years ago
Jonathan Wiltshire
3156b2c753
Fix call to super() in SimplePolicyHint
...
Signed-off-by: Jonathan Wiltshire <jmw@debian.org>
8 years ago
Niels Thykier
3e888a9fdf
PiupartsPolicy: Improve html message
...
Signed-off-by: Niels Thykier <niels@thykier.net>
8 years ago
Niels Thykier
bcdb2b39cd
Add PiupartsPolicy to avoid piuparts regressions
...
Closes : Debian/britney2#16
Signed-off-by: Niels Thykier <niels@thykier.net>
8 years ago
Niels Thykier
d3e343a3bd
AgePolicy: Fix bug in creating the age file
...
Signed-off-by: Niels Thykier <niels@thykier.net>
8 years ago
Niels Thykier
fc2269ba02
rc-bugs policy: Ignored bugs are not unique to testing
...
Signed-off-by: Niels Thykier <niels@thykier.net>
8 years ago
Niels Thykier
20c2b87833
Sprinkle some "no cover" pragmas over the code base
...
Add some "no cover" to some unrecoverable exceptions
(e.g. misconfiguration) or base-class methods that are not intended to
be invoked.
Signed-off-by: Niels Thykier <niels@thykier.net>
8 years ago
Niels Thykier
50d4d45c59
Collect suite metadata in a new member hash
...
Signed-off-by: Niels Thykier <niels@thykier.net>
8 years ago
Niels Thykier
9bc94db01c
Refactor all modules into a britney2 subdir
...
That way they are all contained.
Signed-off-by: Niels Thykier <niels@thykier.net>
8 years ago