Overview of the SRU pipeline¶
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
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
See also: Reference → Status Pages