92 Commits

Author SHA1 Message Date
Steve Langasek
100a3f4e90 adjust variable name for ubuntu-sru as well 2018-04-08 23:45:02 -07:00
Steve Langasek
336b115ab5 adjust variable name so that hints files can reflect actual team names 2018-04-08 22:04:35 -07:00
Steve Langasek
82b448e3ad devel series hints are governed by the release team, not the archive team 2018-04-08 12:41:58 -07:00
Steve Langasek
0969097d48 Turn on arm64 for autopkgtest. 2017-11-21 23:52:41 -08:00
Steve Langasek
c4c3c21387 Add support for 'team' hint files, so we don't have to manage them by individual team member names 2017-11-14 08:28:39 -08:00
Brian Murray
c2de27c3b3 Add in some more SRU team members and sort alphabetically. 2017-09-28 10:51:27 -07:00
Iain Lane
9a32ef781f email: Enable again 2017-03-09 18:02:59 +00:00
Iain Lane
1fe3e56cc7 Revert "enable the email policy"
We're getting

  Traceback (most recent call last):
    File "/srv/ubuntu-archive/proposed-migration/code/b2/britney2/policies/email.py", line 171, in apply_policy_impl
      with smtplib.SMTP('localhost') as smtp:
  AttributeError: __exit__

  During handling of the above exception, another exception occurred:

  Traceback (most recent call last):
    File "/home/ubuntu-archive/proposed-migration/code/b2/britney.py", line 2892, in <module>
      Britney().main()
    File "/home/ubuntu-archive/proposed-migration/code/b2/britney.py", line 2860, in main
      self.write_excuses()
    File "/home/ubuntu-archive/proposed-migration/code/b2/britney.py", line 1680, in write_excuses
      if should_upgrade_src(pkg, 'unstable'):
    File "/home/ubuntu-archive/proposed-migration/code/b2/britney.py", line 1585, in should_upgrade_src
      v = policy.apply_policy(policy_info, suite, src, source_t, source_u, excuse)
    File "/srv/ubuntu-archive/proposed-migration/code/b2/britney2/policies/policy.py", line 103, in apply_policy
      return self.apply_policy_impl(pinfo, suite, source_name, source_data_tdist, source_data_srcdist, excuse)
    File "/srv/ubuntu-archive/proposed-migration/code/b2/britney2/policies/email.py", line 176, in apply_policy_impl
      except ConnectionRefusedError as err:
  NameError: global name 'ConnectionRefusedError' is not defined

on the production machine, which is currently running Python 3.2. It seems like smtplib.SMTP isn't a context manager in 3.2, and also ConnectionRefusedError doesn't exist there (it raises socket.error instead).

Robert's going to fix this, but for now let's go back to dry-run.

This reverts commit c05b6871851143efe5e2f2388b52544ecf3f7a32.
2017-03-09 17:35:55 +00:00
Iain Lane
c05b687185 enable the email policy
weee
2017-03-09 16:43:40 +00:00
Iain Lane
b896fbf038 Enable email policy based on a config flag
So we can turn it off for the "notest" run and for the non-dev series.

This is a tristate

 - 'yes': send email as normal
 - 'dry-run': log what it would do, but send no email [nor update the
   cache, so each run is effectively a fresh run]
 - 'no': disable completely
2017-03-09 11:43:30 +00:00
Martin Pitt
96df4080b9 Add autopkgtest policy
Add new autopkgtest policy: it determines the autopkgtests for a
source package (its own, direct reverse binary dependencies, and
Testsuite-Triggers), requests tests via AMQP, fetches results from swift, and
keeps track of pending tests between run. This also caches the downloaded
results from swift, as re-dowloading them all is very expensive.

This introduces two new hints:

 * force-badtest pkg/ver[/arch]: Failing results for that package will be
   ignored. This is useful to deal with broken tests that get imported from
   Debian or are from under-maintained packages, or broke due to some
   infrastructure changes. These are long-lived usually.

 * force-skiptest pkg/ver: Test results *triggered by* that package (i. e.
   reverse dependencies) will be ignored. This is mostly useful for landing
   packages that trigger a huge amount of tests (glibc, perl) where some tests
   are just too flaky to get them all passing, and one just wants to land it
   after the remaining failures have been checked. This should be used rarely
   and the hints should be removed immediately again.

Add integration tests that call britney in various scenarios on constructed
fake archives, with mocked AMQP and Swift results.
2016-12-12 11:33:45 +01:00
Colin Watson
bfb5af7d0b britney.conf: add Ubuntu hinters
Delegate "block" and "unblock" hints to members of ~ubuntu-touch-release.

Add active members of the SRU team to hint permissions.
2016-12-12 11:33:44 +01:00
Colin Watson
072f125caf britney.conf: Ubuntu configuration
- use relative paths
 - set Ubuntu architectures
 - make all output files series specific
 - mark -proposed as a partial suite
 - set mindays to 0 for all urgencies
 - drop tpu and pu
 - disable smooth updates
 - disable removals of obsolete source packages
 - disable components, using old merged package lists for now
2016-12-12 11:33:44 +01:00
Niels Thykier
0349cd9477 Implement a mandatory 10 day migration delay
Per https://lists.debian.org/debian-devel-announce/2016/11/msg00002.html

Signed-off-by: Niels Thykier <niels@thykier.net>
2016-12-07 21:39:45 +00:00
Niels Thykier
dfaf0c63c3 Pull defaults for Components and Architectures from Release
Why duplicate that in the configuration when Britney can just pull it
in the Release file for testing? :)

Closes: Debian/britney2#11
Signed-off-by: Niels Thykier <niels@thykier.net>
2016-11-13 11:18:45 +00:00
Niels Thykier
c86e1f7e9c britney: Skip architectures not listed in Release files
As a side effect, remove mips64el from NEW_ARCHES as we no longer need
that as a work around.

Closes: Debian/britney2#12
Signed-off-by: Niels Thykier <niels@thykier.net>
2016-11-13 11:18:45 +00:00
Jonathan Wiltshire
9cfe9d1072 Remove powerpc from release architectures
https://lists.debian.org/debian-devel-announce/2016/10/msg00008.html

Signed-off-by: Jonathan Wiltshire <jmw@debian.org>
2016-11-04 18:41:28 +00:00
Emilio Pozuelo Monfort
e7eb6603fe Remove mips64el from break/outofsync arches
Signed-off-by: Emilio Pozuelo Monfort <pochu@debian.org>
2016-10-10 00:59:58 +02:00
Colin Watson
fe7cc466e1 Rename fucked_arches to outofsync_arches
To avoid getting in trouble when bringing up new commercially-supported
architectures.

Signed-off-by: Niels Thykier <niels@thykier.net>
2016-10-03 18:29:09 +00:00
Niels Thykier
3a4acc07bd Add mips64el as a new architecture
Signed-off-by: Niels Thykier <niels@thykier.net>
2016-07-09 13:35:20 +00:00
Niels Thykier
5176bbdea0 Update paths to the local mirror
Signed-off-by: Niels Thykier <niels@thykier.net>
2016-07-05 08:02:04 +00:00
Niels Thykier
dfcbae7403 britney.conf: Set HINTSDIR
Signed-off-by: Niels Thykier <niels@thykier.net>
2016-05-26 16:41:45 +00:00
Niels Thykier
247b083e31 Revert "britney.conf: Add components for d-i"
Turns out it does not work (as d-i does not have a Sources file as
they would be redundant).

This reverts commit bb79d9333fbffb77673e6d2e6da0c8b5d0a5b965.
2016-05-26 16:37:55 +00:00
Niels Thykier
bb79d9333f britney.conf: Add components for d-i
Possibly, Britney should support this somewhat more gracefully.  But
start with this work around for now.

Signed-off-by: Niels Thykier <niels@thykier.net>
2016-05-26 16:32:50 +00:00
Niels Thykier
d2663d2631 Use paths valid for franck.d.o
Signed-off-by: Niels Thykier <niels@thykier.net>
2016-05-26 16:30:31 +00:00
Niels Thykier
f5c037cbb7 britney.conf: Read packages from a local mirror
Signed-off-by: Niels Thykier <niels@thykier.net>
2016-05-26 16:16:34 +00:00
Niels Thykier
f3e37faf7e Add present-and-installable constraints support
Solves first half of GH#5.

Signed-off-by: Niels Thykier <niels@thykier.net>
2016-05-21 12:47:23 +00:00
Niels Thykier
bcff800040 Move Dates into a new state-dir
Partly solves GH#2.

Signed-off-by: Niels Thykier <niels@thykier.net>
2016-05-21 12:43:36 +00:00
Emilio Pozuelo Monfort
717804c5ab Give me force-hint permissions
Signed-off-by: Emilio Pozuelo Monfort <pochu@debian.org>
2016-04-09 10:15:35 +02:00
Emilio Pozuelo Monfort
be822d0791 Give me force permissions
Signed-off-by: Emilio Pozuelo Monfort <pochu@debian.org>
2015-10-27 18:32:31 +01:00
Ivo De Decker
88bf620896 Add option to ignore cruft
Signed-off-by: Ivo De Decker <ivodd@debian.org>
2015-09-06 15:21:30 +00:00
Niels Thykier
4b3a5ac176 britney.conf: Renable smooth updates for libs+oldlibs 2015-04-26 19:45:28 +02:00
Jonathan Wiltshire
48b4021aa2 britney.conf: NOBREAKALL amd64 in addition to i386
Signed-off-by: Jonathan Wiltshire <jmw@debian.org>
2015-04-25 20:03:48 +00:00
Adam D. Barratt
bf87fb7d63 britney{,_nobreakall}.conf: remove kfreebsd
Signed-off-by: Adam D. Barratt <adam@adam-barratt.org.uk>
2015-04-24 05:11:42 +00:00
Niels Thykier
59f099d080 britney.conf: Allow kfreebsd packages to go out of sync
Done as kFreeBSD is not a release architecture and it has started to
block migration of release related changes.  I have kept it out of
"BREAK_ARCHES" as I do not yet see a reason to add it there.

Signed-off-by: Niels Thykier <niels@thykier.net>
2014-12-17 22:51:33 +01:00
Julien Cristau
31ba6fc228 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
26936d1876 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
213f9ad0e8 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
6891fa39f6 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
d51fa09c75 add arm64 ppc64el 2014-09-14 21:33:53 +00:00
Julien Cristau
66c9fb6efa Add pochu
Signed-off-by: Julien Cristau <jcristau@debian.org>
2014-05-24 16:59:17 +02:00
Philipp Kern
9f0e09e416 britney{,_nobreakall.conf}: Drop sparc from testing.
Signed-off-by: Philipp Kern <pkern@debian.org>
2014-04-26 14:59:48 +00:00
Niels Thykier
c89dc58e73 britney.conf: Remove ia64 from testing
Signed-off-by: Niels Thykier <niels@thykier.net>
2014-01-31 21:38:44 +01:00
Niels Thykier
cf4405375a britney.conf: Add sparc to {BREAK,FUCKED}_ARCHES
Signed-off-by: Niels Thykier <niels@thykier.net>
2014-01-29 23:04:28 +01:00
Niels Thykier
f978d2c69a britney.conf: Add EXCUSES_YAML_OUTPUT
Signed-off-by: Niels Thykier <niels@thykier.net>
2013-12-11 21:49:17 +01:00
Julien Cristau
7966ceae1a 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
b71bf02575 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
5b487768da Add ia64 to {fucked,break}_arches
Signed-off-by: Julien Cristau <jcristau@debian.org>
2013-11-24 10:31:11 +01:00
Julien Cristau
7102bd114b britney.conf: remove s390
Signed-off-by: Julien Cristau <jcristau@debian.org>
2013-10-14 20:41:38 +02:00
Niels Thykier
b1dca8c2e5 britney.conf: Add "auto-removals" as hinter
Signed-off-by: Niels Thykier <niels@thykier.net>
2013-09-29 19:53:15 +02:00