PerformingSRUVerification

Differences between revisions 5 and 6
Revision 5 as of 2008-01-22 10:49:10
Size: 2890
Editor: yttrium
Comment:
Revision 6 as of 2008-01-22 10:50:06
Size: 2925
Editor: yttrium
Comment:
Deletions are marked like this. Additions are marked like this.
Line 19: Line 19:
 1. Update your '/etc/apt/sources.list' file to include the -proposed repository  1. Modify your '/etc/apt/sources.list' file to include the -proposed repository
Line 21: Line 21:
 1. Execute 'sudo apt-get update'

SRU Verification is the process of testing packages, updated to fix a bug, that exist in the -proposed repository. These packages need testing to ensure that the package continues to function as designed and that the bug is fixed.

How to find bugs needing verification

Bugs needing SRU verification can be found by querying Launchpad for the bug tag [https://launchpad.net/ubuntu/+bugs?field.tag=verification-needed verification-needed] or by viewing the [http://people.ubuntu.com/~ubuntu-archive/pending-sru.html Pending Ubuntu SRUs]. The Pending Ubuntu SRUs are generated by parsing the changelogs of the packages in -proposed repository. By clicking on changelog bugs entry you will be taken to the Launchpad bug report (if it exists). Some bugs resolved by -proposed packages require specific hardware and these can be identified by the hw-specific tag in Launchpad or by the (hw) next to the bug number at the Pending Ubuntu SRUs page.

Identifying how to test

The first step in identifying how to test is determing the release or releases of Ubuntu affected by the particular bug. This can be done by looking at the bug report and determining the release affected by the bug. (use a screenshot of bug 160176 to show what bugs targeted to a release look like). Alternatively, at the [http://people.ubuntu.com/~ubuntu-archive/pending-sru.html Pending Ubuntu SRUs] page there are sections for each release of Ubunut that is currently supported.

In addition to knowing the release or releases of Ubuntu affected you also need to have a detailed steps to recreate the bug. These can be found in the "TEST CASE" section at the end of the bug's description.

How to perform the test

After booting into the affected release of Ubuntu the following steps should be taken:

  1. Install all available updates
  2. Recreate the bug using the steps identified in the "TEST CASE"
  3. Modify your '/etc/apt/sources.list' file to include the -proposed repository
    • what the line looks like for Gutsy
  4. Execute 'sudo apt-get update'
  5. Install the updated package via 'sudo apt-get install package' or 'sudo apt-get install package=version-number'
  6. If the package being tested is a "system" package reboot the system
  7. Try to recreate the bug using the steps identified in the "TEST CASE"
  8. Use the software installed by the package in common ways

Ways to test using virtual machines

In the event that your current release of Ubuntu is not the same as the release of Ubuntu affected by the bug there are many ways for you to still perform the verification of the Stable Release Update without installing the affected release on your hardware. This can be done by using an emulator such as VMWare, virtual box, kvm or qemu. Depending on the nature of the bug report it may also be possible to use a chroot to perform the verification.

QATeam/PerformingSRUVerification (last edited 2017-09-27 12:43:57 by vorlon)