NewReleaseCycleProcess
Size: 4360
Comment: fix link
|
← Revision 254 as of 2024-05-09 04:29:15 ⇥
Size: 19960
Comment: Update add-missing-builds.py invocation for new deployment
|
Deletions are marked like this. | Additions are marked like this. |
Line 1: | Line 1: |
To be carried out by: Adam Conrad and Ubuntu Release Manager | <<TableOfContents>> |
Line 3: | Line 3: |
Goals: | To be carried out by: Ubuntu Release Team == Goals == |
Line 8: | Line 10: |
Previous release minus 1 month: | == Stages == |
Line 10: | Line 12: |
1. Contact Soyuz development/production teams to ensure that they will be ready to create the new distrorelease on time. | Bugs related to this process are tagged with [[https://bugs.launchpad.net/launchpad-project/+bugs?field.tag=new-release-cycle-process|new-release-cycle-process]]. If you discover new glitches or things that can be automated, please file a bug with that tag. === Previous release minus 1 month === 1. If there is a release scheduled to End of Life, start off EndOfLifeProcess for it. |
Line 12: | Line 18: |
1. Confirm final schedule for the new release and communicate key release dates * Create codenameReleaseSchedule page * Update ReleaseSchedule * Ask teams to add major transitions/changes to the release schedule. * Add events for key release dates to the Canonical Ubuntu Release Calendar and invite ab54tjqqlaol3rdnksieju8mcc@group.calendar.google.com (Ubuntu News Release Calendar) to the events. When you invite them choose “Guests can modify event” and do not “send invitations to new guests”. N.B. Don't forget the EoL date! * Additionally create an event 45 days before the EoL date to remind the release team to send the "Ubuntu XX.YY EoL Reminder" - do not invite the Ubuntu News Release Calendar to this event. |
|
Line 13: | Line 25: |
Previous release minus 2 weeks: | === Previous release minus 2 weeks === |
Line 15: | Line 27: |
1. Double-check with Soyuz development/production teams. 1. File an RT ticket asking for distrorelease-changes to be set up. |
1. Ask for the maillist distroseries-changes to be set up by sending email to ubuntu-platform@rt.canonical.com to file an RT ticket. * Note that this requires [[https://wiki.canonical.com/InformationInfrastructure/SA/ListCreation#Ubuntu.27s_.3Crelease.3E-changes_lists|special configuration]]. 1. Create a release schedule for the new series. If the release name is not yet known, substitute the letter twice, e.g. FF for the F-series. * Create a thread on [[https://discourse.ubuntu.com/c/release|the release category on discourse]]. Use `generate-release-schedule-markdown CODENAME STARTDATE ENDDATE` from `lp:ubuntu-archive-tools` to make a template, and then edit as needed (mark as draft). * Create a redirect from [[https://wiki.ubuntu.com/ReleaseName/ReleaseSchedule]] to the new page (syntax: `#REFRESH 0 https://URL.TO.THREAD`) 1. Create a release notes document for the new series. If the release name is not yet known, substitute the letter twice, e.g. FF for the F-series. * Create a thread on [[https://discourse.ubuntu.com/c/release|the release category on discourse]]. Check previous discourse release notes for format. * Create a redirect from [[https://wiki.ubuntu.com/ReleaseName/ReleaseNotes]] to the new page (syntax: `#REFRESH 0 https://URL.TO.THREAD`) 1. Close the new threads, so they can be edited but not replied to. Release team members can do this. Until Discourse can sync groups from SSO (LP) directly, the release team group in Discourse is manually managed. Contact an admin (e.g. the Canonical community team) to be added if you need this. |
Line 18: | Line 37: |
Previous release plus 1 day: | === Previous release plus 1 day === |
Line 20: | Line 39: |
1. Notify a Launchpad admin to create new distrorelease with status `FROZEN`. 1. Create a milestone named `ubuntu-$version` in the release 1. Create new seed branches based on those for the previous release, and push them to the appropriate subdirectories of `sftp://bazaar.launchpad.net/~ubuntu-core-dev/ubuntu-seeds/`. 1. Notify Colin Watson to set up seed mirrors and germinate output for the new distrorelease. 1. Reject any queued uploads to `RELEASE` pocket of previous distrorelease. 1. Disable the Soyuz publisher cron jobs. 1. Check that the new distrorelease exists with status `FROZEN`, and that the previous distrorelease has status `CURRENT`. 1. Notify Soyuz production team to run `lp_publish:$ LPCONFIG=ftpmaster ./scripts/ftpmaster-tools/initialise-from-parent.py <new-distrorelease-name>` on drescher (takes around 8 minutes). 1. Run the publisher once: `lp_publish:$ LPCONFIG=ftpmaster ./scripts/publish-distro.py -d ubuntu -vv -A -s DRN -s DRN-updates -s DRN-security -s DRN-proposed -s DRN-backports` where DRN is the new distrorelease name. This run will create the proper archive indexes for all suites (takes around 25 minutes). 1. Compare `dists` trees for previous and current distrorelease and sign off on any differences; the only differences should be the distrorelease name. * `~ubuntu-archive/bin/compare-archives` or other tools may be useful for this - XXX nominate one and install in a standard location on drescher 1. Verify hard-coded parameters in Soyuz shell-scripts: './cronscripts/publishing/cron.germinate' and './cronscripts/publishing/gen-contents/generate-contents'. 1. Re-enable the Soyuz publisher cron jobs. 1. Notify Colin Watson to modify various reports (`britney`, `anastacia`, `jessica`) to point to the new distrorelease. 1. Notify Scott James Remnant to set up `merge-o-matic` to point to the new distrorelease. |
1. Edit (cowboy) run-proposed-migration on snakefruit to disable proposed-migration for the new series (add an exit 0 to the `ubuntu/$DEFAULT_SERIES` case branch). proposed-migration must not run until autopkgtest is ready to receive test requests for the series. 1. Update lp:ubuntu-archive-scripts update-seeds, update-germinate etc. for the new name and pull it into snakefruit:~ubuntu-archive/bin/. This will cause update-seeds to start failing until the below step is done, so do it quickly afterwards. 1. Create new seed branches based on those for the previous release, and push them to the appropriate subdirectories of `git+ssh://git.launchpad.net/~ubuntu-core-dev/ubuntu-seeds/+git`. The `branch-seeds` script in [[https://code.launchpad.net/+branch/ubuntu-archive-tools|lp:ubuntu-archive-tools]] can do the hard work here. 1. Create new seed branches based on those for the previous release, and push them to the appropriate branches on Launchpad. The branch-seeds script in lp:ubuntu-archive-tools can do the hard work here: 1. Have a checkout of all the seeds for the current stable release as COLLECTION.series 1. Run branch-seeds --dest-series <new series> <collection> ... for all the collections 1. Run update-seeds manually on snakefruit to confirm this all worked. Check the exit status is 0. 1. Request Launchpad disable the primary Ubuntu publisher cron jobs: * https://wiki.canonical.com/InformationInfrastructure/OSA/LaunchpadRollout#Disable_fragile_Soyuz_cron_jobs_.2835_mins_before_rollout.29 1. Notify a Launchpad admin to create new distroseries with status `FROZEN`. * Copy the Release Manager and Drivers forward 1. Create milestones in the new series: * ubuntu-YY.MM etc., set at monthly intervals after the previous release until feature freeze * ubuntu-$version-feature-freeze, ubuntu-$version-beta or ubuntu-$version-beta-1 etc. as required * ubuntu-$version at the next release date * ubuntu-$version-updates at EOL 1. Check that the new distroseries exists with status `FROZEN`, and that the previous distroseries has status `CURRENT`. 1. Visit http://launchpad.net/ubuntu/<series> and click "Initialize Series" in the top right menu. Select which Debian parents you want for this series (it defaults to the existing ones), which architectures you want, ensure "Copy Source And Binaries" is selected and click the "Initialize Series" button. Wait for this to finish before running the publisher, this will take 15 to 30 minutes. * In the event that a new architecture was added ensure it is also added to command-not-found-extractor's [[https://git.launchpad.net/~mvo/command-not-found-extractor/tree/update_all.sh|update_all.sh]] script. 1. Re-enable the Soyuz publisher cron job for a single publisher run. 1. Add the new series name to the [[https://launchpad.net/ubuntu/+manage-official-tags|official Launchpad bug tags]], and add `verification-needed-PREVIOUS` and `verification-done-PREVIOUS` where `PREVIOUS` is the name of the previous series. 1. After the first publisher run has completed, ask ~IS to run "ANALYZE sourcepackagepublishinghistory; ANALYZE binarypackagepublishinghistory;" on launchpad_prod. 1. Re-enable the Soyuz publisher cron job for a second publisher run. Watch the logs to make sure this work. 1. As `ubuntu-archive@snakefruit`, use `compare-archives` to compare `dists` trees under `~/mirror/ubuntu/` for previous and current distroseries and sign off on any differences; the only differences should be the distroseries name, that custom uploads (`installer-*`, `dist-upgrader-all`, and `i18n`) are missing from `dists/DSN/main`, that `Release.gpg` does not yet exist (this will be created when the full publisher cron job next runs), and that `Contents-*.gz` do not yet exist (these will be created when `generate-contents` next runs). 1. Permanently re-enable the Soyuz publisher cron job 1. Copy the pending syncs which we didn’t want to accept from previous-proposed UNAPPROVED, and then reject them 1. Notify juliank, sil2100, or vorlon to run through https://autopkgtest-cloud.readthedocs.io/en/latest/administration.html#opening-up-a-new-series 1. Update lp:~ubuntu-release/britney/britney1-ubuntu/ with the new DEFAULT_SERIES. 1. Once autopkgtest is ready: * on snakefruit, `cp -a ~/proposed-migration/data/OLDRELEASE ~/proposed-migration/data/NEWRELEASE` and `cp -a ~/proposed-migration/data/OLDRELEASE-proposed ~/proposed-migration/data/NEWRELEASE-proposed` so that we do not reset state for devel. * undo the run-proposed-migration cowboy from above, so that proposed-migration can start running for the new series. 1. XXX: partner is being deprecated, check with Steve Langasek if you find there are any packages to copy. Initialise the `partner` repository on `archive.canonical.com` for the new series. Either: * copy packages forward from `partner` for the previous series (use `curl -s http://archive.canonical.com/dists/PREVIOUS/partner/source/Sources.xz | xzcat | grep-dctrl -sPackage,Version ''` to list the contents, and `copy-package --from ubuntu/partner --from-suite PREVIOUS --to-suite NEW --include-binaries --auto-approve SOURCE` to copy individual source packages); or * tell Launchpad to create it even though it's empty (`mark-suite-dirty -A ubuntu/partner -s NEW`). 1. [~techboard] Check that the process of initialising the new distroseries granted queue admin access to ~ubuntu-release to the new distroseries (`edit-acl -p ubuntu-release -S NEW -t admin query`). 1. Move the bootstrap archive on snakefruit to use the new series, so the chroots can reference it. 1. As prod-launchpad's launchpad@launchpad-ftpmaster-uploader/leader, run `LPCONFIG=launchpad-ftpmaster-uploader /srv/launchpad/code/scripts/add-missing-builds.py -s NEW-proposed` plus `-a ARCH` for each architecture in NEW (ask IS). 1. [[https://answers.launchpad.net/launchpad/+addquestion|Add a request to Launchpad devs and admins]] to open Launchpad translations for the new distroseries. * Also make sure this actually happens. (TODO: Work out a better process for keeping track of this in conjunction with Launchpad.) 1. Modify various reports on snakefruit (at least `britney`) to point to the new distroseries. * britney: ~ubuntu-archive/public_html/proposed-migration: Update symlinks * See the bzr log in ~ubuntu-archive/ubuntu-archive-tools for the changes done for the last release and update to the current one. * Add the new release to ~ubuntu-archive/.madison-lite/config on snakefruit so that rmadison starts working. 1. Notify someone in the 'merges' LDAP group to set up `merge-o-matic` to point to the new distroseries. Switch to the merge user, cd /srv/patches.ubuntu.com/code/, bzr pull. 1. Upload some basic packages for the new series. * Update distro-info-data for the new series. * Merge base-files if necessary and change /etc/issue, /etc/issue.net, /etc/lsb-release, and /etc/os-release to refer to the new release. * Add the symlink for the new series in debootstrap [No longer needed, check if we need to SRU this -tsimonq2] * Make sure these are migrated and ping the cpc team to do the livefs builds. 1. Update `global.conf` and go in `lp:~ubuntu-transition-trackers/ubuntu-transition-tracker/configs` |
Line 36: | Line 91: |
1. Notify a Launchpad admin to set the status of the new distrorelease to `DEVELOPMENT`. 1. Inform `#ubuntu-devel` and `ubuntu-devel-announce` that the new release is now open for uploads, pointing to `merge-o-matic` output. 1. Create `data/RELEASE`, `tools/RELEASE`, and `tools/boot/RELEASE` directories in `debian-cd` based on corresponding directories for the previous release. Set `OFFICIAL` to "Alpha" in `CONF.sh` for the new release. Adjust `cdimage` code to be aware of the new release. |
1. Make sure that proposed-migration is configured properly for the new series. 1. Check that `https://people.canonical.com/~ubuntu-archive/proposed-migration/<NEWSERIES>/autopkgtest-results.cache exists`, as required by bileto. If not, this can be done by creating a new symlink to the proposed-migration’s data directory. 1. Remove the "block-all source" hint from proposed-migration. 1. Once the tool chain is ready: * Notify a Launchpad admin to set the status of the new distroseries to `DEVELOPMENT`. * Inform `#ubuntu-devel` and `ubuntu-devel-announce` that the new release is now open for uploads, pointing to `merge-o-matic` output. 1. Check whether there are any uploads in the previous release's -updates pocket not in the new release, and copy them over if so. 1. [~ubuntu-archive] Copy everything from PREVIOUS-proposed to DEVEL-proposed, and delete the ones from PREVIOUS-proposed that aren't SRUs. 1. [~techboard] Grant ~ubuntu-sru queue admin access to the previous distroseries (`for pocket in proposed updates; do edit-acl -p ubuntu-sru -S PREVIOUS --pocket $pocket -t admin add; done`) and remove ~ubuntu-release's queue admin access (`for pocket in release proposed; do edit-acl -p ubuntu-release -S PREVIOUS --pocket $pocket -t admin delete; done`). 1. Inform the SRU team that the bulk copy has been done, so that they know to sort out PREVIOUS-proposed vs. DEVEL-proposed for any new SRUs they accept. 1. Drop the `--dry-run` flag from the `auto-sync` job in `ubuntu-archive@snakefruit`'s crontab. 1. Contact owners of each image with seeded snaps to have snap channels opened and closed for the new release. 1. Create new live filesystem configurations for the new distroseries, using `branch-livefses` in [[https://code.launchpad.net/+branch/ubuntu-archive-tools|lp:ubuntu-archive-tools]]. This requires someone in ~launchpad-ppa-admins/~launchpad-ppa-self-admins, ~ubuntu-cdimage and ~launchpad-livefs-builders. This currently needs to be done for OWNER where OWNER is: * ubuntu-cdimage * cloud-images * cloudware * cloud-images-release-managers 1. Create `data/RELEASE`, `tools/RELEASE`, and `tools/boot/RELEASE` directories in `debian-cd` based on corresponding directories for the previous release. Set `OFFICIAL` to "Alpha" in `CONF.sh` for the new release. 1. Adjust `cdimage` code to be aware of the new release, and configure ~cdimage/.isotracker.conf 1. Notify stgraber, vorlon, or bdmurray to follow README.series on db@limequat (the ISO tracker database) after sudo'ing to db. Then confirm that the new series has a manifest in the ISO tracker administrative interface. 1. Target issues from the previous release's release notes to be fixed in the new release. 1. Notify Brian Murray or a real ~ubuntu-archive member to create an Apport retracer apt configuration ([[http://bazaar.launchpad.net/~ubuntu-archive/apport/lp-retracer-config/revision/30|example for 17.04]]) for the new release and roll it out to porter-i386:/home/ubuntu-archive/config. Additionally, enable -proposed for the version of Ubuntu which was just released. It'd also be good to clean out the retracer cache (in /home/ubuntu-archive/cache-$arch/) for the previous development release as crashes should no longer be submitted to Launchpad. 1. Check http://ddebs.ubuntu.com for the new release. (In principle that should happen by itself, but in practice it may crash/hang on archive.ubuntu.com not yet having indexes, or run into time outs on the gigantic first import after opening/copying the new release). This is running on `ddebs.internal` → `sudo -u ddebs -i`; This has a checkout of [[http://bazaar.launchpad.net/~ubuntu-archive/ddeb-retriever/trunk/|lp:ddeb-retriever]] and is cron driven. 1. Notify Iain Lane or someone with access to the user update config.json to add the new release to the list in git lp:~ubuntu-desktop/+git/appstream-cloud (*make sure the json is valid*), and then as prod-ue-appstream-back@wendigo run `juju set appstream-generator config="$(cat config.json)"` after pulling. See `9163c1a2bc5fb3c2c2ba1c27df8f7573a54b4045`. 1. Notify William Grant to update the ftbfs on qa.ubuntuwire.com. 1. Notify Rhonda D'Vine (Rhonda) to update packages.ubuntu.com. 1. Notify Iain Lane (Laney) to update people.c.c/~ubuntu-archive/transitions and udd.debian.org 1. Update lp:ubuntu-manpage-repository for the new release codename e.g. [[https://bazaar.launchpad.net/~ubuntu-manpage-repository-dev/ubuntu-manpage-repository/trunk/revision/229|adding a release]], and submit an RT to have the server updated. 1. Notify Brian Murray to update whoopsie-update-daily-users cronjob in the retracer charm owned by the daisy-pluckers team to include the new release of Ubuntu. 1. Notify Brian Murray to update the Ubuntu Error Tracker for the new release of Ubuntu e.g. [[https://bazaar.launchpad.net/~daisy-pluckers/errors/trunk/revision/600|errors change]] and [[https://bazaar.launchpad.net/~daisy-pluckers/daisy/trunk/revision/828|daisy change]] 1. Notify someone with access to the "prod-cnf-extractor" group to enable generation of `command-not-found` indices (`juju config cnf-extractor releases="space separated list of releases"`) 1. Update `ubuntu-release-upgrader` to handle the new release e.g. https://bazaar.launchpad.net/~ubuntu-core-dev/ubuntu-release-upgrader/trunk/revision/3181 and DistUpgradeQuirks e.g. https://bazaar.launchpad.net/~ubuntu-core-dev/ubuntu-release-upgrader/trunk/revision/3232. 1. If the new release is an LTS, reach out to the official Ubuntu flavors regarding their LTS status (the maintenance period) and, after gathering feedback, updating both the release schedule and release notes discourse threads. 1. Revisit the [[https://wiki.ubuntu.com/ReleaseProcess|post-release items]] for the release which was just performed, confirm they were completed, and complete them now if not. === First weeks, after toolchain complete === 1. Notify 'ubuntu-devel' and 'ubuntu-devel-announce' that the release is now open and where to subscribe to the release'-changes' maillist. 1. Notify the Launchpad team to upload new buildd chroots (which should be done occasionally throughout the cycle, for efficiency). 1. Merge `base-files` if necessary and change `/etc/issue`, `/etc/issue.net`, `/etc/lsb-release`, and `/etc/os-release` to refer to the new release. 1. Merge `debootstrap` if necessary. In the past, we had to symlink each release to gutsy, now it is read from distro-info-data automatically. Check if this needs to be SRUed. 1. Merge `lintian` if necessary and update the lists of Ubuntu release names to include the new release name in all supported releases of Ubuntu (i.e. [[https://launchpad.net/bugs/994208|SRU it!]]). 1. Merge `vim` if necessary and update lists of Ubuntu release names to include the new release name. 1. Merge `clang` if necessary and update lists of Ubuntu release names to include the new release name. 1. Do a no change rebuild of devscripts to pick up the new development release from distro-info. 1. Update `meta-release-development` to handle the new release. 1. Notify `ubiquity` maintainer(s) to run `debian/rules update`, adjust as necessary to account for changes, and upload. 1. Ensure that the ISO tracker has a daily-build "milestone" for the new release 1. Edit `default_milestone` in `~cdimage/.isotracker.conf` to match the new milestone name in the ISO tracker 1. Notify canonical-platform-qa (qa-team@lists.canonical.com) to set up Utah jobs for Ubuntu desktop and server. 1. If needed (if anything is not open ended in the second column) new series to `production/current-triggers` on cdimage-builder.internal. |
Line 40: | Line 143: |
1. Update UbuntuDevelopment to reflect the code name of the current release | 1. Add the date of the previous release to `calendar.ubuntu` in `bsdmainutils` 1. Defect Analysts (or team lead for those teams without Defect Analysts) will triage the {{{+nominations}}} bugs list, declining non-SRU candidate nominations and re-target bugs. The release team will evaluate the remaining list, accepting good SRU candidates 1. Check to make sure the future+1 and future+2 series is available on launchpad to assign bugs to, if not present, then ask webops on #launchpad-ops to add letter-series, with status Future. 1. Two weeks after new release starts, finish EndOfLifeProcess for any old releases scheduled now that we've had some migration overlap. 1. Update ubuntu-release-notes project to know about the new series. 1. Ask `firefox` maintainer to update start page for the new release. 1. Contact flavours to confirm their ongoing participation in the new release, and verify that the contact in the ISO tracker is still accurate. 1. Have Debian [[https://salsa.debian.org/qa/udd/-/merge_requests/48|update]] the [[https://wiki.debian.org/UltimateDebianDatabase/|udd]] config for the new Ubuntu development release codename 1. If it has not already been done calculate the release date for the next release of Ubuntu. In general, October releases follow a 25-week schedule, while April releases follow a 27-week schedule, to compensate for year-end holiday (non-LTS releases might break this cycle to wiggle things a bit). Add the release date to the Canonical Ubuntu Release Calendar. 1. Continue on MilestoneProcess. |
Line 42: | Line 154: |
First weeks, after toolchain complete: 1. Merge `base-files` if necessary and change `/etc/issue`, `/etc/issue.net`, `/etc/motd`, and `/etc/lsb-release` to refer to the new release. 1. Merge `debootstrap` if necessary and create a bootstrap script for the new release as a copy of the previous one. 1. Merge `devscripts`, `lintian`, and `vim` if necessary and update lists of Ubuntu release names to include the new release name. 1. Merge `cdrom-detect`, `choose-mirror`, and `iso-scan` if necessary and update `cdrom/suite` and `/mirror/suite` debconf templates to include a choice for the new release and update any previous default. 1. Merge the rest of the installer in dependency order, ending with `debian-installer` once all other installer components have built successfully on all architectures. 1. Notify `oem-config` and `ubiquity` maintainer(s) to run `debian/rules update`, adjust as necessary to account for changes, and upload. 1. Upload a new version of WinFOSS with new version numbers (heno) 1. Continue on MilestoneProcess. |
---- CategoryProcess |
Contents
To be carried out by: Ubuntu Release Team
Goals
- Unblock development process for new release as quickly as possible.
- Prepare for first milestone CD release.
Stages
Bugs related to this process are tagged with new-release-cycle-process. If you discover new glitches or things that can be automated, please file a bug with that tag.
Previous release minus 1 month
If there is a release scheduled to End of Life, start off EndOfLifeProcess for it.
- Remind toolchain developers to begin preparing the new toolchain.
- Confirm final schedule for the new release and communicate key release dates
- Create codenameReleaseSchedule page
Update ReleaseSchedule
- Ask teams to add major transitions/changes to the release schedule.
Add events for key release dates to the Canonical Ubuntu Release Calendar and invite ab54tjqqlaol3rdnksieju8mcc@group.calendar.google.com (Ubuntu News Release Calendar) to the events. When you invite them choose “Guests can modify event” and do not “send invitations to new guests”. N.B. Don't forget the EoL date!
- Additionally create an event 45 days before the EoL date to remind the release team to send the "Ubuntu XX.YY EoL Reminder" - do not invite the Ubuntu News Release Calendar to this event.
Previous release minus 2 weeks
Ask for the maillist distroseries-changes to be set up by sending email to ubuntu-platform@rt.canonical.com to file an RT ticket.
Note that this requires special configuration.
- Create a release schedule for the new series. If the release name is not yet known, substitute the letter twice, e.g. FF for the F-series.
Create a thread on the release category on discourse. Use generate-release-schedule-markdown CODENAME STARTDATE ENDDATE from lp:ubuntu-archive-tools to make a template, and then edit as needed (mark as draft).
Create a redirect from https://wiki.ubuntu.com/ReleaseName/ReleaseSchedule to the new page (syntax: #REFRESH 0 https://URL.TO.THREAD)
- Create a release notes document for the new series. If the release name is not yet known, substitute the letter twice, e.g. FF for the F-series.
Create a thread on the release category on discourse. Check previous discourse release notes for format.
Create a redirect from https://wiki.ubuntu.com/ReleaseName/ReleaseNotes to the new page (syntax: #REFRESH 0 https://URL.TO.THREAD)
- Close the new threads, so they can be edited but not replied to. Release team members can do this. Until Discourse can sync groups from SSO (LP) directly, the release team group in Discourse is manually managed. Contact an admin (e.g. the Canonical community team) to be added if you need this.
Previous release plus 1 day
Edit (cowboy) run-proposed-migration on snakefruit to disable proposed-migration for the new series (add an exit 0 to the ubuntu/$DEFAULT_SERIES case branch). proposed-migration must not run until autopkgtest is ready to receive test requests for the series.
- Update lp:ubuntu-archive-scripts update-seeds, update-germinate etc. for the new name and pull it into snakefruit:~ubuntu-archive/bin/. This will cause update-seeds to start failing until the below step is done, so do it quickly afterwards.
Create new seed branches based on those for the previous release, and push them to the appropriate subdirectories of git+ssh://git.launchpad.net/~ubuntu-core-dev/ubuntu-seeds/+git. The branch-seeds script in lp:ubuntu-archive-tools can do the hard work here.
- Create new seed branches based on those for the previous release, and push them to the appropriate branches on Launchpad. The branch-seeds script in lp:ubuntu-archive-tools can do the hard work here:
- Have a checkout of all the seeds for the current stable release as COLLECTION.series
Run branch-seeds --dest-series <new series> <collection> ... for all the collections
- Run update-seeds manually on snakefruit to confirm this all worked. Check the exit status is 0.
- Request Launchpad disable the primary Ubuntu publisher cron jobs:
Notify a Launchpad admin to create new distroseries with status FROZEN.
- Copy the Release Manager and Drivers forward
- Create milestones in the new series:
- ubuntu-YY.MM etc., set at monthly intervals after the previous release until feature freeze
- ubuntu-$version-feature-freeze, ubuntu-$version-beta or ubuntu-$version-beta-1 etc. as required
- ubuntu-$version at the next release date
- ubuntu-$version-updates at EOL
Check that the new distroseries exists with status FROZEN, and that the previous distroseries has status CURRENT.
Visit http://launchpad.net/ubuntu/<series> and click "Initialize Series" in the top right menu. Select which Debian parents you want for this series (it defaults to the existing ones), which architectures you want, ensure "Copy Source And Binaries" is selected and click the "Initialize Series" button. Wait for this to finish before running the publisher, this will take 15 to 30 minutes.
In the event that a new architecture was added ensure it is also added to command-not-found-extractor's update_all.sh script.
- Re-enable the Soyuz publisher cron job for a single publisher run.
Add the new series name to the official Launchpad bug tags, and add verification-needed-PREVIOUS and verification-done-PREVIOUS where PREVIOUS is the name of the previous series.
- After the first publisher run has completed, ask ~IS to run "ANALYZE sourcepackagepublishinghistory; ANALYZE binarypackagepublishinghistory;" on launchpad_prod.
- Re-enable the Soyuz publisher cron job for a second publisher run. Watch the logs to make sure this work.
As ubuntu-archive@snakefruit, use compare-archives to compare dists trees under ~/mirror/ubuntu/ for previous and current distroseries and sign off on any differences; the only differences should be the distroseries name, that custom uploads (installer-*, dist-upgrader-all, and i18n) are missing from dists/DSN/main, that Release.gpg does not yet exist (this will be created when the full publisher cron job next runs), and that Contents-*.gz do not yet exist (these will be created when generate-contents next runs).
- Permanently re-enable the Soyuz publisher cron job
- Copy the pending syncs which we didn’t want to accept from previous-proposed UNAPPROVED, and then reject them
Notify juliank, sil2100, or vorlon to run through https://autopkgtest-cloud.readthedocs.io/en/latest/administration.html#opening-up-a-new-series
- Update lp:~ubuntu-release/britney/britney1-ubuntu/ with the new DEFAULT_SERIES.
- Once autopkgtest is ready:
on snakefruit, cp -a ~/proposed-migration/data/OLDRELEASE ~/proposed-migration/data/NEWRELEASE and cp -a ~/proposed-migration/data/OLDRELEASE-proposed ~/proposed-migration/data/NEWRELEASE-proposed so that we do not reset state for devel.
- undo the run-proposed-migration cowboy from above, so that proposed-migration can start running for the new series.
- XXX: partner is being deprecated, check with Steve Langasek if you find there are any packages to copy.
Initialise the partner repository on archive.canonical.com for the new series. Either:
copy packages forward from partner for the previous series (use curl -s http://archive.canonical.com/dists/PREVIOUS/partner/source/Sources.xz | xzcat | grep-dctrl -sPackage,Version '' to list the contents, and copy-package --from ubuntu/partner --from-suite PREVIOUS --to-suite NEW --include-binaries --auto-approve SOURCE to copy individual source packages); or
tell Launchpad to create it even though it's empty (mark-suite-dirty -A ubuntu/partner -s NEW).
[~techboard] Check that the process of initialising the new distroseries granted queue admin access to ~ubuntu-release to the new distroseries (edit-acl -p ubuntu-release -S NEW -t admin query).
- Move the bootstrap archive on snakefruit to use the new series, so the chroots can reference it.
As prod-launchpad's launchpad@launchpad-ftpmaster-uploader/leader, run LPCONFIG=launchpad-ftpmaster-uploader /srv/launchpad/code/scripts/add-missing-builds.py -s NEW-proposed plus -a ARCH for each architecture in NEW (ask IS).
Add a request to Launchpad devs and admins to open Launchpad translations for the new distroseries.
- Also make sure this actually happens. (TODO: Work out a better process for keeping track of this in conjunction with Launchpad.)
Modify various reports on snakefruit (at least britney) to point to the new distroseries.
- britney: ~ubuntu-archive/public_html/proposed-migration: Update symlinks
- See the bzr log in ~ubuntu-archive/ubuntu-archive-tools for the changes done for the last release and update to the current one.
- Add the new release to ~ubuntu-archive/.madison-lite/config on snakefruit so that rmadison starts working.
Notify someone in the 'merges' LDAP group to set up merge-o-matic to point to the new distroseries. Switch to the merge user, cd /srv/patches.ubuntu.com/code/, bzr pull.
- Upload some basic packages for the new series.
- Update distro-info-data for the new series.
- Merge base-files if necessary and change /etc/issue, /etc/issue.net, /etc/lsb-release, and /etc/os-release to refer to the new release.
- Add the symlink for the new series in debootstrap [No longer needed, check if we need to SRU this -tsimonq2]
- Make sure these are migrated and ping the cpc team to do the livefs builds.
Update global.conf and go in lp:~ubuntu-transition-trackers/ubuntu-transition-tracker/configs
- Notify toolchain developers to upload new toolchain. Iterate uploads as necessary until this has successfully built on all architectures.
- Make sure that proposed-migration is configured properly for the new series.
Check that https://people.canonical.com/~ubuntu-archive/proposed-migration/<NEWSERIES>/autopkgtest-results.cache exists, as required by bileto. If not, this can be done by creating a new symlink to the proposed-migration’s data directory.
- Remove the "block-all source" hint from proposed-migration.
- Once the tool chain is ready:
Notify a Launchpad admin to set the status of the new distroseries to DEVELOPMENT.
Inform #ubuntu-devel and ubuntu-devel-announce that the new release is now open for uploads, pointing to merge-o-matic output.
- Check whether there are any uploads in the previous release's -updates pocket not in the new release, and copy them over if so.
- [~ubuntu-archive] Copy everything from PREVIOUS-proposed to DEVEL-proposed, and delete the ones from PREVIOUS-proposed that aren't SRUs.
[~techboard] Grant ~ubuntu-sru queue admin access to the previous distroseries (for pocket in proposed updates; do edit-acl -p ubuntu-sru -S PREVIOUS --pocket $pocket -t admin add; done) and remove ~ubuntu-release's queue admin access (for pocket in release proposed; do edit-acl -p ubuntu-release -S PREVIOUS --pocket $pocket -t admin delete; done).
- Inform the SRU team that the bulk copy has been done, so that they know to sort out PREVIOUS-proposed vs. DEVEL-proposed for any new SRUs they accept.
Drop the --dry-run flag from the auto-sync job in ubuntu-archive@snakefruit's crontab.
- Contact owners of each image with seeded snaps to have snap channels opened and closed for the new release.
Create new live filesystem configurations for the new distroseries, using branch-livefses in lp:ubuntu-archive-tools. This requires someone in ~launchpad-ppa-admins/~launchpad-ppa-self-admins, ~ubuntu-cdimage and ~launchpad-livefs-builders. This currently needs to be done for OWNER where OWNER is:
- ubuntu-cdimage
- cloud-images
- cloudware
- cloud-images-release-managers
Create data/RELEASE, tools/RELEASE, and tools/boot/RELEASE directories in debian-cd based on corresponding directories for the previous release. Set OFFICIAL to "Alpha" in CONF.sh for the new release.
Adjust cdimage code to be aware of the new release, and configure ~cdimage/.isotracker.conf
- Notify stgraber, vorlon, or bdmurray to follow README.series on db@limequat (the ISO tracker database) after sudo'ing to db. Then confirm that the new series has a manifest in the ISO tracker administrative interface.
- Target issues from the previous release's release notes to be fixed in the new release.
Notify Brian Murray or a real ~ubuntu-archive member to create an Apport retracer apt configuration (example for 17.04) for the new release and roll it out to porter-i386:/home/ubuntu-archive/config. Additionally, enable -proposed for the version of Ubuntu which was just released. It'd also be good to clean out the retracer cache (in /home/ubuntu-archive/cache-$arch/) for the previous development release as crashes should no longer be submitted to Launchpad.
Check http://ddebs.ubuntu.com for the new release. (In principle that should happen by itself, but in practice it may crash/hang on archive.ubuntu.com not yet having indexes, or run into time outs on the gigantic first import after opening/copying the new release). This is running on ddebs.internal → sudo -u ddebs -i; This has a checkout of lp:ddeb-retriever and is cron driven.
Notify Iain Lane or someone with access to the user update config.json to add the new release to the list in git lp:~ubuntu-desktop/+git/appstream-cloud (*make sure the json is valid*), and then as prod-ue-appstream-back@wendigo run juju set appstream-generator config="$(cat config.json)" after pulling. See 9163c1a2bc5fb3c2c2ba1c27df8f7573a54b4045.
- Notify William Grant to update the ftbfs on qa.ubuntuwire.com.
- Notify Rhonda D'Vine (Rhonda) to update packages.ubuntu.com.
- Notify Iain Lane (Laney) to update people.c.c/~ubuntu-archive/transitions and udd.debian.org
Update lp:ubuntu-manpage-repository for the new release codename e.g. adding a release, and submit an RT to have the server updated.
- Notify Brian Murray to update whoopsie-update-daily-users cronjob in the retracer charm owned by the daisy-pluckers team to include the new release of Ubuntu.
Notify Brian Murray to update the Ubuntu Error Tracker for the new release of Ubuntu e.g. errors change and daisy change
Notify someone with access to the "prod-cnf-extractor" group to enable generation of command-not-found indices (juju config cnf-extractor releases="space separated list of releases")
Update ubuntu-release-upgrader to handle the new release e.g. https://bazaar.launchpad.net/~ubuntu-core-dev/ubuntu-release-upgrader/trunk/revision/3181 and DistUpgradeQuirks e.g. https://bazaar.launchpad.net/~ubuntu-core-dev/ubuntu-release-upgrader/trunk/revision/3232.
- If the new release is an LTS, reach out to the official Ubuntu flavors regarding their LTS status (the maintenance period) and, after gathering feedback, updating both the release schedule and release notes discourse threads.
Revisit the post-release items for the release which was just performed, confirm they were completed, and complete them now if not.
First weeks, after toolchain complete
- Notify 'ubuntu-devel' and 'ubuntu-devel-announce' that the release is now open and where to subscribe to the release'-changes' maillist.
- Notify the Launchpad team to upload new buildd chroots (which should be done occasionally throughout the cycle, for efficiency).
Merge base-files if necessary and change /etc/issue, /etc/issue.net, /etc/lsb-release, and /etc/os-release to refer to the new release.
Merge debootstrap if necessary. In the past, we had to symlink each release to gutsy, now it is read from distro-info-data automatically. Check if this needs to be SRUed.
Merge lintian if necessary and update the lists of Ubuntu release names to include the new release name in all supported releases of Ubuntu (i.e. SRU it!).
Merge vim if necessary and update lists of Ubuntu release names to include the new release name.
Merge clang if necessary and update lists of Ubuntu release names to include the new release name.
- Do a no change rebuild of devscripts to pick up the new development release from distro-info.
Update meta-release-development to handle the new release.
Notify ubiquity maintainer(s) to run debian/rules update, adjust as necessary to account for changes, and upload.
- Ensure that the ISO tracker has a daily-build "milestone" for the new release
Edit default_milestone in ~cdimage/.isotracker.conf to match the new milestone name in the ISO tracker
Notify canonical-platform-qa (qa-team@lists.canonical.com) to set up Utah jobs for Ubuntu desktop and server.
If needed (if anything is not open ended in the second column) new series to production/current-triggers on cdimage-builder.internal.
- Turn live filesystem and cdimage cron jobs back on.
Add the date of the previous release to calendar.ubuntu in bsdmainutils
Defect Analysts (or team lead for those teams without Defect Analysts) will triage the +nominations bugs list, declining non-SRU candidate nominations and re-target bugs. The release team will evaluate the remaining list, accepting good SRU candidates
- Check to make sure the future+1 and future+2 series is available on launchpad to assign bugs to, if not present, then ask webops on #launchpad-ops to add letter-series, with status Future.
Two weeks after new release starts, finish EndOfLifeProcess for any old releases scheduled now that we've had some migration overlap.
- Update ubuntu-release-notes project to know about the new series.
Ask firefox maintainer to update start page for the new release.
- Contact flavours to confirm their ongoing participation in the new release, and verify that the contact in the ISO tracker is still accurate.
Have Debian update the udd config for the new Ubuntu development release codename
- If it has not already been done calculate the release date for the next release of Ubuntu. In general, October releases follow a 25-week schedule, while April releases follow a 27-week schedule, to compensate for year-end holiday (non-LTS releases might break this cycle to wiggle things a bit). Add the release date to the Canonical Ubuntu Release Calendar.
Continue on MilestoneProcess.
NewReleaseCycleProcess (last edited 2024-05-09 04:29:15 by wgrant)