893 Commits

Author SHA1 Message Date
Colin Watson
5d00fa864e fix pkglist lookup 2013-07-09 16:14:25 +01:00
Colin Watson
823899c6b3 Only record autopkgtest causes for the latest tested version. 2013-07-09 14:33:38 +01:00
Niels Thykier
14cefe379e INSTALL: Update package list to use python2.7
Signed-off-by: Niels Thykier <niels@thykier.net>
2013-07-07 15:47:04 +02:00
Niels Thykier
1641706305 Migrate to python2.7
Signed-off-by: Niels Thykier <niels@thykier.net>
2013-07-07 15:37:15 +02:00
Adam D. Barratt
527d7f03e6 Remove two "the the"s
Signed-off-by: Adam D. Barratt <adam@adam-barratt.org.uk>
2013-07-06 12:42:52 +00:00
Adam D. Barratt
141d62cca1 Correct a thinko in a comment in should_upgrade_srcarch()
A removal hint will generate both source and per-arch excuses if the
version of the source package differs between testing and unstable. If
the source versions are the same then only the per-arch excuses will
be generated.

Signed-off-by: Adam D. Barratt <adam@adam-barratt.org.uk>
2013-07-06 11:26:11 +00:00
Adam D. Barratt
6d8aec3a6a Improve comments in should_upgrade_srcarch()
Signed-off-by: Adam D. Barratt <adam@adam-barratt.org.uk>
2013-07-06 11:21:53 +00:00
Colin Watson
33d905fc3a Apply undo list in reverse order.
In rare cases with hints with overlapping virtual packages provided by
different sources, this can make a difference.

Signed-off-by: Adam D. Barratt <adam@adam-barratt.org.uk>
2013-07-05 18:06:40 +00:00
Colin Watson
e99ea14601 Don't crash on unversioned unblock hints.
Signed-off-by: Adam D. Barratt <adam@adam-barratt.org.uk>
2013-07-05 18:04:33 +00:00
Colin Watson
dddd9eb88b Don't linkify "-" versions. 2013-07-02 16:34:52 +01:00
Colin Watson
24d57f4f89 Show links to Launchpad package pages in excuses. 2013-07-02 15:39:24 +01:00
Colin Watson
59705dda61 Improve "Requested autopkgtest" logging. 2013-07-02 12:34:41 +01:00
Colin Watson
8584a061e1 Run autopkgtests as soon as amd64 and i386 are ready to go. 2013-07-02 11:59:29 +01:00
Colin Watson
cb7878320e Link to Jenkins logs for autopkgtests. 2013-07-02 11:39:57 +01:00
Colin Watson
8023ee2a40 Stop limiting adt-britney to amd64; this shouldn't make a difference anyway, per Jean-Baptiste. 2013-07-02 11:32:45 +01:00
Adam D. Barratt
84bad954ad Only record a package once in the source->binary package mapping
If there are multiple versions of an arch:all package in unstable (due
to outdated or no longer built arch:any packages) then only one of them
should be recorded in the list of binary packages built from the source
package. Otherwise we may try and remove the binary package from various
lists multiple times, leading to crashes.

Signed-off-by: Adam D. Barratt <adam@adam-barratt.org.uk>
2013-07-01 18:13:51 +00:00
Colin Watson
b45bc14d4f Split force-autopkgtest into force-badtest (tested package) and force-skiptest (triggering package). 2013-06-27 08:18:04 +01:00
Colin Watson
c04c71055e Only issue "From wrong source" for binaries not at the same version in testing (same-version could happen for merged binaries in partial-unstable mode). 2013-06-26 17:57:37 +01:00
Colin Watson
55d5a1651c Clarify force-autopkgtest excuse message. 2013-06-25 18:29:41 +01:00
Colin Watson
75b84eebe5 Run autopkgtests for blocked packages. 2013-06-25 18:15:43 +01:00
Colin Watson
9da36a9385 Don't crash on unversioned unblock hints. 2013-06-25 11:54:53 +01:00
Colin Watson
1c1d8cf891 Make force hints imply force-autopkgtest. 2013-06-25 11:14:26 +01:00
Colin Watson
c1e29f844f Make force-autopkgtest apply to the tested package, not the triggering package. 2013-06-24 13:25:29 +01:00
Colin Watson
2e34feee1f Log autopkgtest status collection. 2013-06-24 11:00:58 +01:00
Colin Watson
bc85ea45cb Add force-autopkgtest to HINTS_ALL. 2013-06-24 10:44:13 +01:00
Colin Watson
41821072e2 Make autopkgtest request logging more useful by moving it after adt-britney request. 2013-06-17 17:57:44 +01:00
Colin Watson
6da7f96ca2 Pass Britney instances through to AutoPackageTest. 2013-06-17 17:24:50 +01:00
Colin Watson
5ed767701b Log autopkgtest requests. 2013-06-17 16:59:57 +01:00
Colin Watson
1cf35e27c8 Fix cause handling in AutoPackageTest.request. 2013-06-17 14:04:23 +01:00
Colin Watson
f961f74ef3 Run autopkgtests for valid candidates, and wait for the results. 2013-06-17 13:56:21 +01:00
Adam D. Barratt
9ee37c5160 Enable support for p-u packages
Signed-off-by: Adam D. Barratt <adam@adam-barratt.org.uk>
2013-06-12 19:39:27 +00:00
Colin Watson
111ab78d7d Apply undo list in reverse order; in rare cases with hints with overlapping virtual packages provided by different sources, this can make a difference. 2013-06-12 15:55:04 +01:00
Adam D. Barratt
a58f6d72c9 Ensure that binNMUs from superseded sources are not considered
Given a source which provides two packages and has different versions
in testing and unstable, binNMUs in unstable corresponding to the
older source version should not be considered as migration candidates.

For example:

testing
-------

source 1
bin 1 arch1
bin 1 arch2

unstable
--------

source 2
bin 2 arch1
bin 1+b1 arch2

The binary migration on arch2 should not be considered a candidate.

Signed-off-by: Adam D. Barratt <adam@adam-barratt.org.uk>
2013-06-08 15:40:07 +00:00
Adam D. Barratt
c7f27a8225 Re-enable smooth-updates
Signed-off-by: Adam D. Barratt <adam@adam-barratt.org.uk>
2013-05-05 11:09:37 +00:00
Adam D. Barratt
858e8de218 same_source: handle being passed "None" as a version
Although this should never happen, rather than crashing if one of the
versions is none, simply indicate that they are unequal.

Signed-off-by: Adam D. Barratt <adam@adam-barratt.org.uk>
2013-03-17 10:33:59 +00:00
Adam D. Barratt
7933a720aa Completer: add "approve" to the command completion
Signed-off-by: Adam D. Barratt <adam@adam-barratt.org.uk>
2013-03-16 17:19:49 +00:00
Adam D. Barratt
ce72b31bc6 Completer: offer tpu packages when completing "approve" hints
Signed-off-by: Adam D. Barratt <adam@adam-barratt.org.uk>
2013-03-16 17:19:01 +00:00
Adam D. Barratt
af86002dea Completer: copyright foo
Signed-off-by: Adam D. Barratt <adam@adam-barratt.org.uk>
2013-03-16 17:12:04 +00:00
Adam D. Barratt
c345dea3b5 Completer: when processing a "remove", only offer packages from testing
Signed-off-by: Adam D. Barratt <adam@adam-barratt.org.uk>
2013-03-16 17:10:11 +00:00
Adam D. Barratt
de56c719b6 Completer: add forgotten "remove" to command completion
Signed-off-by: Adam D. Barratt <adam@adam-barratt.org.uk>
2013-03-16 16:59:19 +00:00
Adam D. Barratt
d9a9a26c57 Completer: support all hints
Signed-off-by: Adam D. Barratt <adam@adam-barratt.org.uk>
2013-03-16 16:39:23 +00:00
Adam D. Barratt
0463c666f0 write_excuses: clear the list of excuses before building
Although this isn't an issue during normal runs, the excuses might be
built multiple times during a hint-tester run and should not accumulate
during the run.

Signed-off-by: Adam D. Barratt <adam@adam-barratt.org.uk>
2013-03-16 16:31:04 +00:00
Adam D. Barratt
33bc6cb7fb hint_tester: accept all hints
For those hints which don't cause an immediate run (i.e. other than
easy, hint and force-hint), re-build the excuses after adding the
hint so that the actions are accounted for in later hints.

Signed-off-by: Adam D. Barratt <adam@adam-barratt.org.uk>
2013-03-16 16:30:18 +00:00
Adam D. Barratt
8e72456651 Completer: don't crash if there are candidates in t-p-u
Signed-off-by: Adam D. Barratt <adam@adam-barratt.org.uk>
2013-03-14 19:58:14 +00:00
Stefano Rivera
71e133356a Add myself as a hinter 2013-03-13 11:04:09 +02:00
Stéphane Graber
c531ec1b5a Ad myself to hints permissions. 2013-03-11 13:48:55 -04:00
Jonathan Riddell
0a3141b2db Add myself to hinters 2013-03-11 17:48:15 +00:00
Adam D. Barratt
8c15568b8f Don't remove arch:all packages when migrating binNMUs via *pu
A binNMU does not rebuild architecture:all packages. For migrations via
unstable this is not a problem as the packages corresponding to the
source upload are still present. However, for *pu migrations, the set of
packages considered only includes architecture-specific packages. In
order to avoid installability issues with packages in testing which
depend on the arch:all packages, we leave the existing arch:all packages
in testing and only consider the arch-specific packages for migration.

Signed-off-by: Adam D. Barratt <adam@adam-barratt.org.uk>
2013-03-03 17:23:38 +00:00
Adam D. Barratt
2a590ff095 Replace a single-use list in the smooth updates checks with any()
Signed-off-by: Adam D. Barratt <adam@adam-barratt.org.uk>
2013-02-06 19:56:04 +00:00
Adam D. Barratt
acec4ff6e3 Use any() in tpu o-o-d checks rather than throwaway lists
The test only needs to consider whether any binaries exist on a given
arch, not how many of them there are (or indeed which binaries they are)

Signed-off-by: Adam D. Barratt <adam@adam-barratt.org.uk>
2013-02-06 19:09:04 +00:00