ubuntu-system-image

Differences between revisions 2 and 3
Revision 2 as of 2014-02-21 23:30:02
Size: 1913
Editor: mail
Comment:
Revision 3 as of 2014-03-04 21:43:26
Size: 2364
Editor: mail
Comment:
Deletions are marked like this. Additions are marked like this.
Line 17: Line 17:

=== Test A ===
Line 36: Line 38:

=== Test B ===

 * Set the device to download manually.
 * Flash to an older revision
 * Open ''System Settings'' and wait for it to say ''Updates available''
 * Click on ''About this phone''
 * Click on ''Check for Update'' and wait for it to say ''Install 1 update''
 * Click on ''Install 1 update'' and while the files are downloading, swipe up from the bottom and click ''Back''
 * Click on ''Check for Update'' again

Dependents/Clients

Dependents:

  • ubuntu-download-manager

Clients:

  • ubuntu-system-settings

Test Plan

This test plan is not supposed to be complete; use it to guide your manual testing so they don't miss big functional areas that are part in the component; also this should be used as guideline to inspire the exploratory testing which should be adapted smartly based on the real content of a MP

Test A

  • Flash device to an older version than the current one, e.g. ubuntu-device-flash --channel trusty --revision 174 --bootstrap

  • Install freshly built MPs that are needed for landing, e.g.
    • Make device writable
    • add-apt-repository the relevant PPA
    • apt-get update
    • apt-get install system-image-cli system-image-common system-image-dbus ubuntu-download-manager ubuntu-system-settings
  • Install any new versions of ubuntu-download-manager and ubuntu-system-settings from the same silo

  • Possibly install any new versions of the Qt networking stack that may also be part of the silo
  • Run the following manual tests (automated tests are run during package build and via DEP 8)
    • Open System Settings panel
    • After one second, open Updates panel
    • Watch for progress
    • If update completes and you are prompted to reboot, then the test succeeded
    • Optionally reboot
    • If the test fails, capture the log files
      • adb pull /var/log/system-image/client.log

      • Optionally capture the u-d-m log files (TBD)
  • Install the update, let the system reboot, and then try again. This time you should be up-to-date.

Test B

  • Set the device to download manually.
  • Flash to an older revision
  • Open System Settings and wait for it to say Updates available

  • Click on About this phone

  • Click on Check for Update and wait for it to say Install 1 update

  • Click on Install 1 update and while the files are downloading, swipe up from the bottom and click Back

  • Click on Check for Update again

Process/Merges/TestPlan/ubuntu-system-image (last edited 2016-03-04 20:58:34 by localhost)