Stable Release Updates (SRU)¶
SRU series
The article series covers all aspects of Stable Release Updates (SRUs).
Understand the SRU process:
Stable Release Updates (SRU) - What SRUs are and how an update travels through the SRU pipeline
Principles - The principles behind the strict rules implying What is acceptable to SRU
About the SRU role - Who does what in the process, and the internal team docs
Perform an SRU:
Perform a standard SRU - How to fix a straightforward bug, step by step, and the common issues to avoid
Status pages - Track your SRU’s progress from sponsorship to release
SRU verification - Test the update in -proposed and report the results
Report a regression - Timely reports help to minimize impact
References in regard to the SRU process:
Prepare a special type of SRU - Special types such as staged uploads, NEW queue entries or package removals
Troubleshooting - How to Handle an autopkgtest failure or halted phased updates
SRU bug template - Used to Document how an SRU bug fulfills the criteria in a structured way
Package-specific notes - Standing exceptions for individual packages
Stable release updates (SRUs) are package updates to a currently supported Ubuntu release.
Once an Ubuntu release has been completed and published, updates for it are only released under certain circumstances, and must follow a special procedure called SRU.
The SRU principles and processes ensure that stable Ubuntu releases remain stable and predictable to the user.
This documentation is intended for all Ubuntu users if they wish to understand what to expect from Ubuntu stable releases, and also for upstream and Ubuntu developers if they wish to understand what changes would or would not be acceptable to us. The rest is intended for Ubuntu developers and SRU team members to achieve this in practice.
Important
Did you notice a regression in a package that went to the -updates pocket?
Please report this by following Report a regression.
Learn how Canonical determines which updates qualify for SRUs, who supervises the update process, who contributes and what responsibilities they have.
Which updates we release¶
We follow strict rules to ensure that SRUs fix real-world problems and introduce no disruptions.
You can propose an SRU in the following cases:
To fix high-impact bugs, including those that may directly cause security vulnerabilities, severe regressions from the previous release, or bugs that may directly cause loss of user data.
To adjust to changes in the environment, server protocols, or web services. This ensures that Ubuntu remains compatible with evolving technologies.
For safe cases with low regression potential but high user experience improvement.
To introduce new features in LTS releases, usually under strict conditions.
To update commercial software in the Partner archive.
To fix Failed to build from Source issues.
To fix autopkgtest failures, usually in conjunction with other high-priority fixes.
For the authoritative criteria, see Reference → Requirements → What is acceptable to SRU.
Who releases updates¶
The SRU team and other stakeholders review and release updates. Community members outside of Canonical can contribute in the process.
Processes¶
You must follow these rules when you upload a package update. Processes such as automatic tests, phasing and user reports prevent regressions in updates. Certain exceptions to standard processes are possible.
How-to guides¶
As a contributor, follow these guides to upload an SRU and to ensure that it works correctly.
Getting started¶
The basic SRU process consists of the following steps:
An SRU driver prepares the relevant bugs with the necessary documentation, using the SRU bug template, and makes an SRU upload available.
When an SRU is uploaded by a developer with upload access to the Ubuntu package archive, it enters the “Unapproved” queue, which you can see here: Upload queue (modify for different series as needed).
The SRU team will then review both the upload in the Unapproved queue, and the SRU documentation on each bug. As necessary, the SRU team will leave comments about the upload or SRU documentation on the relevant bug. When ready, the upload is accepted into the -proposed pocket, and then built. Once accepted into -proposed, its status appears in the Pending SRU Report when the report is next generated.
Once builds are ready, the agreed QA steps are performed on the package build using the -proposed pocket, with results being posted to the relevant bugs as comments. The Pending SRU Report tracks progress on this, as well as any other blockers detected, such as build or test failures.
Once the Pending SRU Report displays all outstanding tasks as reported to be resolved, the SRU is ready to be released. The SRU team regularly reviews the report. For packages marked as ready, they review the corresponding bug comments, ensure that all agreed QA steps have been performed satisfactorily and that there are no outstanding blockers. If satisfied, they release packages into the -updates pocket.
The SRU is now complete. If a regression is found, see How-to → Handling regressions for next steps.
The following diagram illustrates this pipeline:
%%{init: {'themeVariables': {
'fontSize': '0.8em',
'fontFamily': 'Ubuntu'}}}%%
flowchart TD
prepare_package["Prepare the bug fix, and the SRU template"]
unapproved["Upload the package to the unapproved queue"]
review{"Does the SRU team accept the changes and documentation?"}
proposed["Package builds in<br>-proposed"]
build{"Does the package build on all architectures?"}
verification{"Does the package pass the SRU test plan?"}
autopkgtest{"Are there autopkgtest regressions triggered by the upload?"}
age["Package ages in<br>-proposed for minimum 7 days"]
released(["Package is released<br>to -updates"])
troubleshoot(["Refer to SRU documentation, or ask SRU team for guidance."])
prepare_package --> unapproved
unapproved --> review
review -- Yes --> proposed
proposed --> build
build -- Yes --> verification
verification -- Yes --> autopkgtest
autopkgtest -- No --> age
age --> released
review -- No --> troubleshoot
build -- No --> troubleshoot
verification -- No --> troubleshoot
autopkgtest -- Yes --> troubleshoot
For next steps, see How-to → Perform a standard SRU.