PerformingSRUVerification

Differences between revisions 27 and 28
Revision 27 as of 2008-06-23 08:34:22
Size: 4873
Editor: 82-47-39-199
Comment: a > A in link
Revision 28 as of 2008-07-29 17:42:01
Size: 4903
Editor: 12
Comment:
Deletions are marked like this. Additions are marked like this.
Line 1: Line 1:
[[Include(QATeam/Header)]]

Include(QATeam/Header)

SRU Verification is the process of testing packages from the -proposed repository, that have been updated to fix bugs. These packages need testing to ensure that the package continues to function as designed and that the bug is fixed. It is also important to ensure no regression has been introduced by the fix. More information about the process can be found at [https://wiki.ubuntu.com/StableReleaseUpdates Stable Release Update] page. To find out how to enable -proposed look at the [https://wiki.ubuntu.com/Testing/EnableProposed Enable Proposed] page.

How to find bugs needing verification

There are many ways to find bugs needing SRU verification: by viewing the [http://people.ubuntu.com/~sbeattie/sru_todo.html SRU To Do] or [http://people.ubuntu.com/~ubuntu-archive/pending-sru.html Pending Ubuntu SRUs] or by querying Launchpad for the bug tag [https://launchpad.net/ubuntu/+bugs?field.tag=verification-needed verification-needed] or by looking at bugs which the SRU verification team is [https://bugs.launchpad.net/~sru-verification/+subscribedbugs subscribed].

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 determining 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.

In the example below the Postgresql8.1 bug affects the Dapper, Feisty, Gutsy and Hardy releases of Ubuntu and should be verified in each one.

Alternatively, at the [http://people.ubuntu.com/~ubuntu-archive/pending-sru.html Pending Ubuntu SRUs] page there are sections for each release of Ubuntu that is currently supported.

In addition to knowing the release or releases of Ubuntu affected you also need to have detailed steps to recreate the bug. These can be found in the "TEST CASE" section at the end of the bug's description. [https://bugs.launchpad.net/ubuntu/+source/ghostscript/+bug/172264 Bug 172264] has an example of what the test case will look like.

How to perform the test

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

  1. Ensure that your system is up to date by installing all available updated packages from the -updates and -security repositories
  2. Verify that you do not have the proposed package installed by checking the package version using 'dpkg -l PKGNAME | cat'
  3. Recreate the bug using the steps identified in the "TEST CASE"
  4. Modify your '/etc/apt/sources.list' file to include the -proposed repository
  5. Execute 'sudo apt-get update'
  6. Install the proposed package via 'sudo apt-get install PKGNAME' or 'sudo apt-get install PKGNAME=VERSION-NUM'
  7. Verify that you installed the correct package version using 'dpkg -l PKGNAME | cat'
  8. Reboot the system
  9. Try to recreate the bug using the steps identified in the "TEST CASE"
  10. Use the software installed by the package in common ways

Updating the bug report

Include(StableReleaseUpdates,,from="== Verification ==", to="[[Anchor")

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 still many ways for you to 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 [https://wiki.ubuntu.com/Testing/VirtualBox Virtual Box], [https://wiki.ubuntu.com/KvmVirtManagerEtc kvm], [https://help.ubuntu.com/community/Installation/QemuEmulator qemu] or VMware. Virtual machines images for VMware are available at [http://isv-image.ubuntu.com/vmware/]. Depending on the nature of the bug report it may also be possible to use a [https://wiki.ubuntu.com/DebootstrapChroot chroot] to perform the verification.

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