984 Commits

Author SHA1 Message Date
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
Adam D. Barratt
25cc2c3b36 Split the tpu o-o-d checks up to make them more readable
Signed-off-by: Adam D. Barratt <adam@adam-barratt.org.uk>
2013-02-06 19:05:16 +00:00
Adam D. Barratt
9f4af0171e Fix tpu out-of-date checks for sources with multiple versions in tpu
When checking whether a tpu source has built on a particular arch, we
should only consider binaries produced by the latest version of the
source package in tpu.

Signed-off-by: Adam D. Barratt <adam@adam-barratt.org.uk>
2013-02-06 17:18:46 +00:00
Adam D. Barratt
74d1b70096 Don't flag unbuilt binary *pu binNMUs for removal in excuses
Originally when binNMUs for packages in testing were scheduled, the
binaries would be installed into tpu with no accompanying source. This
allowed the "removed binary" portions of should_upgrade_srcarch() to be
skipped (as britney had generated a faux source record).

dak now adds the source package to tpu in such cases which lead to the
"removed binary" checks being applied to binNMUs in tpu with potentially
destructive consequences. For example, if a package with amd64 and i386
binaries in testing were binNMUed on just amd64, britney would notice
that there were no i386 binaries in tpu and subsequently remove the i386
binaries from testing as well.

In order to resolve this, we skip the check for removed binaries when
building excuses for a binary-only migration via *pu.

Signed-off-by: Adam D. Barratt <adam@adam-barratt.org.uk>
2013-02-02 22:47:56 +00:00
Adam D. Barratt
cf79fe5618 Add jmw
Signed-off-by: Adam D. Barratt <adam@adam-barratt.org.uk>
2013-01-22 13:02:13 +00:00
Adam D. Barratt
67a181d8fc Merge excuses "unblock" parsing for unstable and *pu
The primary difference between the parsing / output of excuses for *pu
and unstable unblocks is the messages displayed. We can therefore remove
some duplication by having the same code handle both, outputting the
appropriate message.

Where a *pu package is also the subject of a "block" (most likely during
a freeze) we only supply the "needs approval" or "approved" message;
previously both "needs approval" and "not touching due to block" were
output, which is redundant. We ensure that there is always a dummy
"block" hint for *pu packages to provide the "needs approval" behaviour.

Signed-off-by: Adam D. Barratt <adam@adam-barratt.org.uk>
2013-01-18 18:52:07 +00:00
Adam D. Barratt
83f25ca602 Remove remaining "approve" hint support code
Signed-off-by: Adam D. Barratt <adam@adam-barratt.org.uk>
2013-01-18 18:47:06 +00:00
Adam D. Barratt
ce69eb3345 Make "approve" an alias for "unblock"
An "approve" hint is effectively an unblock for tpu packages and britney
is already quiite happy to parse "unblock $pkg/$tpuversion".

We allow the old name to be used for compatibility and replace it with
"unblock" internally.

Signed-off-by: Adam D. Barratt <adam@adam-barratt.org.uk>
2013-01-18 18:42:10 +00:00
Niels Thykier
b0172d74c4 Ignore sources only referenced by Built-Using
Signed-off-by: Niels Thykier <niels@thykier.net>
Signed-off-by: Adam D. Barratt <adam@adam-barratt.org.uk>
2013-01-12 12:31:17 +01:00
Colin Watson
9388587b95 merge lp:~ubuntu-archive/britney/britney2 2012-12-28 05:00:22 +00:00