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
Colin Watson
3290b4cccf
Merge trunk up to first commit from 2013-11-27
2014-12-09 14:48:58 +00:00
Niels Thykier
b2cef666f4
britney: Ignore "remark" hints as they are not meant for us
...
The "remark" hint is only intended for showing up in the output of "d"
(or via hint grep). It has no effect on Britney's behaviour.
Admittedly, the original code would have ignored it as well. But this
change makes it explicit and not simply a "ignored due to insufficient
permissions".
Signed-off-by: Niels Thykier <niels@thykier.net>
2014-11-23 19:19:33 +01:00
Colin Watson
da9e838067
Revert to r414; this gets things wrong if there are sources with some Architecture: all binaries in unstable and some incompletely-built architecture-dependent ones.
2014-11-12 12:36:53 +00:00
Colin Watson
301dd2df1e
Refine merging of binaries: only count unstable-architecture-independent as built if all binaries are now architecture-independent.
2014-11-12 12:17:50 +00:00
Colin Watson
4cc353296a
When merging binaries, count a binary as built in unstable if the testing architecture is architecture-dependent and the unstable architecture is architecture-independent.
2014-11-12 12:08:46 +00:00
Ivo De Decker
b7f3100b91
excuses: show cruft and missing builds
...
For out-of-date binaries, generate different excuses when the build is
missing, or when old (cruft) binaries for previous version are still around.
Signed-off-by: Ivo De Decker <ivodd@debian.org>
2014-11-08 11:33:05 +00:00
Ivo De Decker
70c4a7cc55
Link to the freeze policy for blocked packages
...
Don't tell people to mail debian-release.
Signed-off-by: Ivo De Decker <ivodd@debian.org>
2014-11-07 15:21:22 +00:00
Martin Pitt
d57c0bbeb8
autopkgtest: Update public Jenkins URL to not depend on /view/<Release> to be created
2014-10-31 08:35:03 +01:00
Colin Watson
9dec8a1daf
Fix log message if Dates is missing.
2014-10-23 18:28:42 -04:00
Adam D. Barratt
f516b38256
Don't remove arch:all binaries when migrating *pu binNMUs
...
As part of a migration, we remove all the existing binaries built by
the source (possibly on a particular architecture) from testing; this
includes architecture-independent binary packages. However, when a
binNMU is in *pu, only the arch-dependent binary pakcages are present.
As a result, after the migration the architecture-independent packages
are no longer present in testing. This usually isn't a practical
problem, as dak will re-add them when it generates the packages files.
It is, however, wrong and will break if a source migration is tempted
during the same run as (and after) the *pu binary migration happened.
The simple fix is to not remove the architecture-independent packages
when performing such migrations.
Signed-off-by: Adam D. Barratt <adam@adam-barratt.org.uk>
2014-09-21 15:50:50 +00:00
Niels Thykier
3c91f65f1f
britney.py: Fix bug where nuninst would be copied incorrectly
...
Signed-off-by: Niels Thykier <niels@thykier.net>
2014-08-23 10:56:20 +02:00
Colin Watson
1982bf4bd1
Remove a stray "break" that caused broken out-of-date output.
2014-08-19 12:49:35 +01:00
Niels Thykier
666dd187e4
britney.py: Fix a regression in nuninst counting for hints
...
In the rare case that a hint removed an uninstallable binary, the
binary could still be included in the nuninst counter.
Regression introduced in a46dd88.
Signed-off-by: Niels Thykier <niels@thykier.net>
2014-08-07 19:56:19 +02:00
Niels Thykier
30d686164c
do_all(): Only sort_actions after recurse runs
...
sort_actions() can be quite expensive and it is wasteful to resort
actions after each successful "easy"-hint.
Signed-off-by: Niels Thykier <niels@thykier.net>
2014-08-06 20:57:38 +02:00
Niels Thykier
513fea07b8
britney.py: Skip lundo maintenance in non-hint recurse runs
...
There are no uses of "lundo" left for a non-hint recurse run (i.e.
the "main run"), so there is no point in building it.
The "lundo"-list is still used in the recurse run of a "hint"-hint.
Signed-off-by: Niels Thykier <niels@thykier.net>
2014-08-06 20:57:38 +02:00