Niels Thykier
77ec8a34f9
Optimize some hash lookups
...
Signed-off-by: Niels Thykier <niels@thykier.net>
7 years ago
Niels Thykier
499f7d993c
Move loop-invariant out of loop
...
Signed-off-by: Niels Thykier <niels@thykier.net>
7 years ago
Niels Thykier
74fe0c8b8e
Use finally to close handles from urlopen
...
Arguable, this is not a problem in the code as the failure case
invokes sys.exit. However, this is more future proof as the sys.exit
may be replaced (or we may later catch another exception that is
"recoverable").
Signed-off-by: Niels Thykier <niels@thykier.net>
7 years ago
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
9030ff4d99
do_all: Simplify the assignments to a variable
...
At a glance, it looks like the value of "better" variable can be
decided from 3-4 places. However, due to the code flow only two of
those assignments are truly "live"/useful.
Signed-off-by: Niels Thykier <niels@thykier.net>
7 years ago
Niels Thykier
ba74012678
Fix shinx warning
...
Signed-off-by: Niels Thykier <niels@thykier.net>
7 years ago
Niels Thykier
41978869ce
Migrate solver's ad-hoc debug logging
...
Signed-off-by: Niels Thykier <niels@thykier.net>
7 years ago
Niels Thykier
b478460b96
Merge branch 'master' into autopkgtest
7 years ago
Niels Thykier
1e9fc7e826
britney: Log to stdout by default
...
Signed-off-by: Niels Thykier <niels@thykier.net>
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
e441902d92
doc: Fix missing letter in title
...
Signed-off-by: Niels Thykier <niels@thykier.net>
7 years ago
Paul Gevers
e667e4dcaf
doc: Initial version for piuparts solutions
7 years ago
Paul Gevers
f25060edf4
doc: Wording/typos
7 years ago
Niels Thykier
e069d5e837
Merge remote-tracking branch 'github/master'
...
Fixes the travis test-runner on github
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
b23777c852
britney: Replace all calls to "log" with logger
...
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
ac69b3b5c7
Migrate hint parser to fully use logging
...
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
Niels Thykier
e5d790f592
Typo fix
...
Signed-off-by: Niels Thykier <niels@thykier.net>
7 years ago
Niels Thykier
0c1147e4e1
test: Fix typo
...
Signed-off-by: Niels Thykier <niels@thykier.net>
7 years ago
Paul Gevers
502f4c14a2
travis: clone autopkgtest branch of test data
7 years ago
Paul Gevers
e95315e57c
codecov: try alternative approach to get codecov data out of the docker container
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
7635a22d55
tests: disable different live data set on Travis
7 years ago
Paul Gevers
495200e68f
travis: show ci_env for debugging
7 years ago
Paul Gevers
df17112bbe
autopkgtest: ignore results without trigger
7 years ago
Paul Gevers
0e6c43202d
Merge branch 'master' into autopkgtest
7 years ago
Paul Gevers
2e627f9be5
travis: Disable one live data test to prevent time outs
7 years ago
Paul Gevers
49cd47681b
travis: Enable submission to codecov
7 years ago
Paul Gevers
9988a6c7aa
Merge branch 'master' into autopkgtest
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
bc73500002
tests: data has moved to salsa
7 years ago
Paul Gevers
dbf024bf7a
travis: Build Debian stable docker image and use it for testing
7 years ago
Paul Gevers
754defc49c
doc: minor tweaks to autopkgtest part in solutions-to...
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
d6f713b8a1
tests: Update for recent changes
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