QA:Testcase upgrade fedup cli previous desktop encrypted

From FedoraProject

Jump to: navigation, search
Note.png
Associated release criterion
This test case is associated with the Fedora_21_Beta_Release_Criteria#upgrade-requirements release criterion. If you are doing release validation testing, a failure of this test case may be a breach of that release criterion. If so, please file a bug and nominate it as blocking the appropriate milestone, using the blocker bug nomination page.


Description

This test case tests upgrading from the current release (Fedora 20) to the branched release (Fedora 21) using the Fedup CLI with the default desktop package set and encryption.


How to test

  1. Perform an installation of the stable release (e.g. Fedora 20) with default partitioning (no less than 500MB for /boot), selecting the default package set, or using the default live image, and enabling storage encryption during installation.
  2. Do a full system update and reboot
  3. Install the latest version of Package-x-generic-16.pngfedup from the stable or updates repository
  4. Find the repository URL for the TC or RC you are testing. This should be of the form https://dl.fedoraproject.org/pub/alt/stage/<milestone>/Fedora/<arch>/os/
    • <milestone> is the TC/RC you are testing - e.g. 20-RC1
    • <arch> is the name of the arch running on the install to be upgraded (i386, x86_64 ...)
  5. Start the upgrade prep by executing following command
    • su -c 'fedup --network <version> --instrepo <URL>'
    • <version> is the version of Fedora you are upgrading to (currently 21)
    • <URL> is the location found in the previous step
  6. If you need to use a local mirror to test a brand new change, start the upgrade prep by executing the following command:
    • su -c 'fedup --network <version> --instrepo <URL> --disablerepo=fedora --repourl fedora-local=<URL-LOCAL>'
    • <URL-LOCAL> is the location of a local fedora repo if needed for faster response speeds
  7. Check /var/log/fedup.log file to see if any errors show up in the output from fedup
  8. Reboot the system if fedup has completed without error
  9. Once the system reboots, there should be a new entry in the GRUB menu titled System Upgrade
  10. Select the System Upgrade option from the GRUB menu
  11. The system should boot into the upgrade process and a fedup progress screen should be displayed
    • Pressing the <ESC> key should switch from the graphical progress screen to the text progress information display
  12. Once the upgrade process has completed, the system will reboot and an option to boot Fedora 21 will be on the grub menu
  13. Log in to upgraded system, open a terminal, file browser, or other system applications.

Expected Results

  1. fedup-cli will run to completion, without error
  2. The upgrade process should complete and reboot without user assistance beyond selecting System Upgrade from the GRUB menu
  3. The system should be upgraded to new version without error
  4. Accessing the encrypted storage volume(s) should work normally after the upgrade
  5. Typical desktop applications should display and work correctly
Important.png
Failures not related to encryption
If you encounter an issue that does not seem related to encryption, perform the simpler QA:Testcase_upgrade_fedup_cli_previous_desktop test case - which is just this test case without encryption - and verify the problem occurs in that case too. If so, consider it a failure of that test case, not this one.