113 Commits

Author SHA1 Message Date
Martin Pitt
123eb43320 Autopkgtest: Use correct Swift container for ADT_PPAS
When using ADT_PPAS, the results won't go into the "autopkgtest-%SERIES"
container but into the PPA specific "autopkgtest-%SERIES-LPUSER-PPANAME" one.
2015-12-14 10:58:02 +01:00
Martin Pitt
400f4087bb Add ADT_PPAS option for adding PPAs to autopkgtest requests
For using britney on PPAs we need to add the "ppas" test parameter to AMQP
autopkgtest requests. Add ADT_PPAS britney.conf option which gets passed
through to test requests.
2015-11-30 10:17:04 +01:00
Francis Ginther
2fdbe6e072 Disable boottest. 2015-09-25 11:25:21 -05:00
Martin Pitt
f803604274 Enable ppc64el in ADT_ARCHES 2015-08-26 16:25:25 +02:00
Martin Pitt
751989565e Enable armhf in ADT_ARCHES 2015-08-25 10:32:03 +02:00
Martin Pitt
e85c59b46a Always require ADT_{AMQP,SWIFT_URL} with ADT_ENABLE
Disabling AMQP requests with "ADT_ENABLE = yes" but ADT_AMQP unset made sense
while we still supported adt-britney. But as that's gone now, let's use the
ADT_ENABLE switch only, and if it's on, require ADT_AMQP and ADT_SWIFT_URL be
set.

This simplifies the code a bit and is less confusing.
2015-08-14 09:54:18 +02:00
Martin Pitt
65b2686232 config: Add public production Swift URL and Ubuntu AMQP server
These are all public information. Just use a stub for the (secret) password.
2015-08-14 09:45:24 +02:00
Martin Pitt
91418f7eb9 Add hints file for pitti 2015-07-16 15:39:35 +02:00
Martin Pitt
cb66355e95 Comment ADT_AMQP and ADT_SWIFT_URL config options
Their default values are invalid and must be set locally. But as
britney1-ubuntu copies these into production, we would run with an invalid
config with an unmodified config file.
2015-07-14 07:55:30 +02:00
Martin Pitt
ce775eeb5d Add test results from swift
Until now, autopkgtest results were triggered via an external "adt-britney"
command from lp:auto-package-testing. This required a lot of state files and
duplicated effort, uses hardcoded absolute paths to these external tools, and
is quite hard to understand and maintain. We also want to move away from
Jenkins and rsyncing state files.

Directly retrieve autopkgtest results from a publicly readable and browsable
Swift container, with a debci-compatible layout
(https://wiki.debian.org/debci/DistributedSpec). This now tracks both requests
and results on a per-architecture granularity, so that we can track
per-architecture regressions/always-failed.

Introduce a new ADT_SWIFT_URL config option that sets the swift base URL. If
this key is not set, the behaviour does not change compared to previous
versions, and no results will be retrieved from the cloud.

This still keeps the old adt-britney requests/results as the authoritative
data and for now merely shows the swift results in addition. With that we can
compare the results and run the cloud testing in parallel to find/fix problems
until we switch over. Due to that, the code to britney.py is temporary, does
*not* use AutoPackageTest.results(), and instead just reads the internal
results map.
2015-07-10 06:21:46 +02:00
Martin Pitt
335073e901 Add requesting tests through AMQP
Until now, autopkgtests were triggered via an external "adt-britney" command
from lp:auto-package-testing. This duplicated a lot of effort (such as its own
chdist and reverse dependency calculation), maintains a lot of state files,
uses hardcoded absolute paths to these external tools, and is quite hard to
understand and maintain. We want to get rid of all this.

Add logic to AutoPackageTest.request() to use britney's existing reverse
dependency maps and figure out the set of tests to run for packages in
unstable. These are being tracked in "requested_tests".

Add logic to AutoPackageTest.submit() to send test requests to the AMQP server
specified in the new "ADT_AMQP" config key. For testing this can be a file://
URL, and if not set no test requests will be sent at all.

The set of tests which were requested in previous runs are tracked in
UNSTABLE/autopkgtest/pending.txt, so that we don't re-request tests in
subsequent runs.

There is no implementation for collect() and results() yet, these will be done
in a separate commit.

Add initial test cases.
2015-07-02 17:41:49 +02:00
Francis Ginther
da2175f1f1 Set 'BOOTTEST_ENABLE = yes' to turn it on. 2015-03-05 08:57:03 -06:00
Steve Langasek
8effd3d220 Disable boottesting for now.
Britney runs failed with:

Traceback (most recent call last):
  File "/home/ubuntu-archive/proposed-migration/code/b2/britney.py", line 3259, in <module>
    Britney().main()
  File "/home/ubuntu-archive/proposed-migration/code/b2/britney.py", line 3211, in main
    self.write_excuses()
  File "/home/ubuntu-archive/proposed-migration/code/b2/britney.py", line 1982, in write_excuses
    upgrade_me.remove(excuse.name)
ValueError: list.remove(x): x not in list
2015-02-19 19:03:31 -08:00
Celso Providelo
bf8056a061 Cope with missing/broken results due to outdated apt cache. Britney will not fail, but source promotion will be blocked. 2015-02-11 09:45:20 -05:00
Celso Providelo
6e8e2adc35 Fix autopkgtest tests, extending the current test setup to mangle the shared configuration file appropriately for each test context (autopkgtest & boottest). 2015-02-05 09:17:54 -05:00
Celso Providelo
37bd9924f7 Introduce BOOTTEST_FETCH configuration option for enabling/disabling TouchManifest auto-fetching feature, for faster and isolated tests. 2015-02-02 13:10:53 -05:00
Celso Providelo
8d0cc0f292 Implement 'run_boottest' flag, similarly to 'run_autopkgset'. 2015-02-02 11:37:30 -05:00
Joe Talbott
056a0f6d37 Handle boottest like autopkgtest and remove boottest config file 2015-01-30 17:51:44 -05:00
Colin Watson
c1ad351f9a Merge trunk 2014-12-10 12:24:34 +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
72eb973a3c Change NOBREAKALL_ARCHES to amd64, now that that's nominatedarchindep for vivid. 2014-11-12 11:13:08 +00:00
Julien Cristau
a61dc9103f Revert "Set all urgencies to 10 days"
No longer necessary during the freeze, since they'll need an unblock
anyway, at which point age can be adjusted as well if necessary.

This reverts commit 6891fa39f63d649fb90111ce778c6a5e1e0c317c.

Signed-off-by: Julien Cristau <jcristau@debian.org>
2014-11-05 22:47:05 +00:00
Julien Cristau
4e0756e7ca Make arm64 and ppc64el regular archs
And reorder the list alphabetically.

Signed-off-by: Julien Cristau <jcristau@debian.org>
2014-11-03 23:09:05 +01:00
Julien Cristau
a29ef77cc2 Disable smooth updates
We don't want new library transitions during the freeze.

Signed-off-by: Julien Cristau <jcristau@debian.org>
2014-11-02 17:10:58 +01:00
Jonathan Wiltshire
60393b6746 Set all urgencies to 10 days
As agreed in the Jessie timetable, mandatory 10-day
ageing is in place for the freeze, starting today.

Signed-off-by: Jonathan Wiltshire <jmw@debian.org>
2014-10-05 09:09:17 +00:00
Andreas Barth
15a2796cfe add arm64 ppc64el 2014-09-14 21:33:53 +00:00
Colin Watson
d0d4ea5fa8 Rename --ubuntu-series option to just --series. 2014-07-24 15:18:26 +01:00
Colin Watson
e38a4842d6 Make all output files series-specific, and remove dependency on "testing" and "unstable" symlinks. 2014-06-06 13:22:26 +01:00
Colin Watson
6ac23e6d67 Add new --ubuntu-series option, replacing ADT_SERIES in the configuration file. Add ADT_ENABLE configuration file entry to allow disabling autopkgtests (previously done by setting ADT_SERIES to the empty string). 2014-06-05 11:42:14 +01:00
Julien Cristau
614ab74eb5 Add pochu
Signed-off-by: Julien Cristau <jcristau@debian.org>
2014-05-24 16:59:17 +02:00
Philipp Kern
a75002f472 britney{,_nobreakall.conf}: Drop sparc from testing.
Signed-off-by: Philipp Kern <pkern@debian.org>
2014-04-26 14:59:48 +00:00
Colin Watson
eecb3ba5fa trusty -> utopic 2014-04-23 20:46:40 +01:00
Niels Thykier
5dfa64624f britney.conf: Remove ia64 from testing
Signed-off-by: Niels Thykier <niels@thykier.net>
2014-01-31 21:38:44 +01:00
Niels Thykier
07ad1de5de britney.conf: Add sparc to {BREAK,FUCKED}_ARCHES
Signed-off-by: Niels Thykier <niels@thykier.net>
2014-01-29 23:04:28 +01:00
Colin Watson
33c441c500 ppc64el has pretty much caught up now; remove it from OUTOFSYNC_ARCHES. 2013-12-23 13:45:08 +00:00
Colin Watson
504a95d7c6 Add ppc64el to ARCHITECTURES and OUTOFSYNC_ARCHES. 2013-12-16 11:32:42 +00:00
Niels Thykier
d9f04b88c9 britney.conf: Add EXCUSES_YAML_OUTPUT
Signed-off-by: Niels Thykier <niels@thykier.net>
2013-12-11 21:49:17 +01:00
Julien Cristau
6fd11db7e9 Change the default urgency setting to medium
But don't force urgency to medium for new packages, they can still be
low.

Signed-off-by: Julien Cristau <jcristau@debian.org>
2013-12-01 19:01:19 +01:00
Adam D. Barratt
e06f514b80 Update hint permissions in line with team changes.
- Add ivodd
- Remove luk, he, vorlon and neilm
- Move faw to STANDARD

Signed-off-by: Adam D. Barratt <adam@adam-barratt.org.uk>
2013-11-28 20:56:11 +00:00
Julien Cristau
db5c81f71c Add ia64 to {fucked,break}_arches
Signed-off-by: Julien Cristau <jcristau@debian.org>
2013-11-24 10:31:11 +01:00
Colin Watson
44782c8e37 Remove arm64 from OUTOFSYNC_ARCHES, now that it's caught up. 2013-10-27 07:47:23 -07:00
Adam Conrad
71d7092550 Move from saucy to trusty 2013-10-20 09:12:12 -06:00
Julien Cristau
498459d5e6 britney.conf: remove s390
Signed-off-by: Julien Cristau <jcristau@debian.org>
2013-10-14 20:41:38 +02:00
Niels Thykier
f62025871f britney.conf: Add "auto-removals" as hinter
Signed-off-by: Niels Thykier <niels@thykier.net>
2013-09-29 19:53:15 +02:00
Colin Watson
4947186643 Explicitly set mindays to 0 for all urgencies. 2013-09-25 14:44:39 +01:00
Iain Lane
2bab00e9f6 Add a freeze role account for handling milestone freeze blocks 2013-09-24 18:07:13 +01:00
Colin Watson
bc791300e3 Delegate "block" and "unblock" hints to members of ~ubuntu-touch-release. 2013-09-23 10:21:41 +01:00
Colin Watson
8d2f676224 Remove arm64 from new_arches until we see whether it's actually useful. 2013-09-13 04:05:28 +01:00
Colin Watson
ca15db9e79 Add arm64 to ARCHITECTURES. 2013-09-12 18:14:11 +01:00