Niels Thykier
bd5b3ac4ec
Remove unused assignments/parameters
...
Signed-off-by: Niels Thykier <niels@thykier.net>
2015-04-26 18:20:11 +02:00
Niels Thykier
a5aad84699
britney.py: Remove trailing semi-colons
...
Signed-off-by: Niels Thykier <niels@thykier.net>
2015-04-26 18:20:10 +02:00
Niels Thykier
3230d1dc75
britney.py: Fix use before assignment
...
Signed-off-by: Niels Thykier <niels@thykier.net>
2015-04-26 18:20:10 +02:00
Niels Thykier
a13386ae34
britney.py: Avoid some redundancy in auto_hinter()
...
Signed-off-by: Niels Thykier <niels@thykier.net>
2015-04-26 18:20:10 +02:00
Niels Thykier
11e84d01a3
britney: Optimise the original auto-hinter a bit
...
Notably:
* Avoid repeated calls frozenset(X), where we can trivially do
without.
* Skip the inner loop, when "i" is in "to_skip".
* Use a set rather than a list for "to_skip" as we do more
membership tests.
Signed-off-by: Niels Thykier <niels@thykier.net>
2015-04-26 18:20:10 +02:00
Niels Thykier
3710980b10
get_dependency_solvers: Avoid unnecessary boolean ret value
...
The get_dependency_solvers method returns a (boolean, list)-tuple, but
the boolean can always be implied from the list (in boolean context).
Signed-off-by: Niels Thykier <niels@thykier.net>
2015-04-26 18:20:10 +02:00
Julien Cristau
d127ac65ae
Fix silly NameError
...
Signed-off-by: Julien Cristau <jcristau@debian.org>
2015-04-26 18:20:10 +02:00
Julien Cristau
62c1c9ec3c
Add explicit encoding to all files
...
Signed-off-by: Julien Cristau <jcristau@debian.org>
2015-04-26 18:20:10 +02:00
Julien Cristau
f64f7072c0
Sources and Packages are utf-8
...
Signed-off-by: Julien Cristau <jcristau@debian.org>
2015-04-26 18:20:10 +02:00
Julien Cristau
7b0138ecb7
Don't crash if the urgencies file contains non-ascii
...
The live-2011-12-13 test set has random garbage in the middle.
Signed-off-by: Julien Cristau <jcristau@debian.org>
2015-04-26 18:20:10 +02:00
Julien Cristau
c42fbcc5d3
Remove dependency on six
...
Signed-off-by: Julien Cristau <jcristau@debian.org>
2015-04-26 18:20:10 +02:00
Julien Cristau
8044667ed6
Use python3
...
Signed-off-by: Julien Cristau <jcristau@debian.org>
2015-04-26 18:20:10 +02:00
Julien Cristau
b354afc39d
Use six.moves for itertools, urllib and intern
...
They're renamed in python3.
Signed-off-by: Julien Cristau <jcristau@debian.org>
2015-04-26 18:20:10 +02:00
Julien Cristau
1e1f574f8a
Use the key= argument to sorted()
...
cmp is gone in python3. Also add a sorting method to Excuse that is
compatible with its __eq__/__hash__ methods.
Signed-off-by: Julien Cristau <jcristau@debian.org>
2015-04-26 18:20:09 +02:00
Julien Cristau
63ccd53759
Stop using sys.maxint
...
It doesn't exist in python3, but 1000 days should be safe enough as a
fallback for a package without urgency.
Signed-off-by: Julien Cristau <jcristau@debian.org>
2015-04-26 18:20:09 +02:00
Julien Cristau
b3aef7fe6d
Stop using dict.iter* methods
...
Signed-off-by: Julien Cristau <jcristau@debian.org>
2015-04-26 18:20:09 +02:00
Julien Cristau
c580fb7683
Use python3-compatible form for except clause
...
Signed-off-by: Julien Cristau <jcristau@debian.org>
2015-04-26 18:20:09 +02:00
Julien Cristau
24e8e9337c
Replace map() with list comprehensions
...
As a bonus this removes a use of string.strip (not in python3).
Signed-off-by: Julien Cristau <jcristau@debian.org>
2015-04-26 18:20:09 +02:00
Julien Cristau
49475f79ba
Simplify a bit the loop to read our config file
...
- split the one-liner into a for and an if
- use open() as a context manager
- don't use string.strip which is gone in python3
Signed-off-by: Julien Cristau <jcristau@debian.org>
2015-04-26 18:20:09 +02:00
Julien Cristau
b64afb639f
Don't use the file builtin
...
Signed-off-by: Julien Cristau <jcristau@debian.org>
2015-04-26 18:20:09 +02:00
Julien Cristau
5d7393cf86
Switch to print_function
...
Signed-off-by: Julien Cristau <jcristau@debian.org>
2015-04-26 18:20:09 +02:00
Julien Cristau
726bbde3a3
Remove sys.path frobbing
...
I don't think this has been necessary since we stopped loading a C
extension.
Signed-off-by: Julien Cristau <jcristau@debian.org>
2015-04-26 18:20:09 +02:00
Julien Cristau
bf1d91d587
Fix typo
...
Signed-off-by: Julien Cristau <jcristau@debian.org>
2015-04-26 18:20:09 +02:00
Celso Providelo
50e0bc137d
Add 'boottest' excuse failure reason when it has failed even if the previous tests had already failed.
2015-02-20 17:02:00 -02:00
Celso Providelo
c76874fda5
Test ADT & BootTest criteria running simultaneously. Fixed minor issue related to doubling-blocking promotions.
2015-02-20 14:12:51 -02:00
Celso Providelo
496a2f3134
Suppress boottest SKIPPED notice on excuses, it's unnecessary noise.
2015-02-10 15:56:35 -05:00
Celso Providelo
b9890e1b7c
Adding links to the boottest jobs (results) in the public and the private servers.
2015-02-10 14:51:44 -05:00
Celso Providelo
011aa3570e
Stop announcing skipped boottest attempts.
2015-02-10 13:49:43 -05:00
Celso Providelo
1e8dc398e9
Merge the boottest-jenkins script wrapper into BootTest class for simplicity and extend the API to match what we already for auto-package-testing (ADT).
2015-02-04 08:54:00 -05:00
Celso Providelo
06ea2ab941
Request boottests for sources, not binaries. Jenkins glue will drive adt properly.
2015-02-03 12:27:22 -05:00
Joe Talbott
056a0f6d37
Handle boottest like autopkgtest and remove boottest config file
2015-01-30 17:51:44 -05:00
Francis Ginther
c340a46e7a
Correct copy-n-paste of 'e.' for 'excuse.'.
2015-01-26 15:09:50 -06:00
Celso Providelo
913539ffe9
Allow hints for ignoring boottest results (force and force-skiptest).
2015-01-23 10:17:10 -02:00
Celso Providelo
eeaf8e3deb
Silently skipping boottesting for sources not yet built on the allowed architectures (all and armhf).
2015-01-22 21:30:03 -02:00
Celso Providelo
ed31f1129b
Cosmetic changes for adding excuse labels (html) and more readable image manifest path.
2015-01-22 16:44:18 -02:00
Celso Providelo
a84720951a
merging cleaned test-refactoring
2015-01-22 15:18:37 -02:00
Celso Providelo
b8e5851905
Reverting whitespace cleanup.
2015-01-22 15:16:49 -02:00
Celso Providelo
1bfe4c69eb
Addressing cjwatson points, mainly moving 'excuse' handling logic back to britney.
2015-01-22 14:43:37 -02:00
Celso Providelo
f7e1fa67c0
Implementing boottest entry points for checking phone-image presence and test current status.
2015-01-21 10:25:40 -02:00
Celso Providelo
fe5f4c09ac
Very basic bootstack testing criteria support.
2015-01-19 17:59:19 -02:00
Celso Providelo
46281510e3
Refactoring the existing test (autopkgtest), so its features can be re-used for other criterias (boottest) tests.
2015-01-19 17:16:46 -02:00
Colin Watson
7959019916
Use Launchpad's new DistributionSourcePackageRelease:+latestbuild/archtag redirects.
2015-01-09 11:57:33 +00:00
Colin Watson
d1d7bb27b0
remove vestige of maybe_nbs
2014-12-10 12:44:23 +00:00
Colin Watson
c1ad351f9a
Merge trunk
2014-12-10 12:24:34 +00:00
Colin Watson
7c8fd39803
Merge trunk up to 2014-08-05
2014-12-10 11:39:27 +00:00
Colin Watson
24e20560e7
Merge trunk up to 2014-07-13
2014-12-10 11:08:56 +00:00
Colin Watson
b3562dbfe8
Merge trunk up to 2014-05-24
2014-12-10 10:36:01 +00:00
Colin Watson
6904969c7c
Merge trunk up to 2013-12-06
2014-12-09 16:02:16 +00:00
Colin Watson
11af066dda
Make sure that self.binaries['tpu'][arch] is properly initialised.
2014-12-09 15:36:09 +00:00
Colin Watson
9627ee7661
Merge trunk up to second commit from 2013-11-27 (rewritten installability tester)
2014-12-09 15:12:29 +00:00