QA:Testcase upgrade fedup cli previous desktop
From FedoraProject
Description
This test case tests upgrading from the current release (Fedora 18) to the branched release (Fedora 19) using the Fedup CLI with the default desktop package set.
How to test
- Perform an installation of the stable release (e.g. Fedora 18) with default partitioning (no less than 500MB for
/boot), selecting the default package set, or using the default live image. - Do a full system update and reboot
- Install
. It is usually a good idea to install the very latest version from updates-testing:
fedupsu -c 'yum --enablerepo=updates-testing install fedup' - Find the URL of the development branch for Fedora 19. This URL should be of the form http://dl.fedoraproject.org/pub/fedora/linux/development/<version>/<arch>/os/
- <version> is the of fedora under test (currently 19)
- <arch> is the name of the arch running on the install to be upgraded (i386, x86_64 ...)
- Due to the way that branched composes are done, the fedup client is not capable of grabbing initrd and kernel from those branches. The devel branch will rebuild from whatever is in stable for every push to the devel stable branch.
- Start the upgrade prep by executing following command
-
su -c 'fedup-cli --network <version> --debuglog fedupdebug.log --instrepo <URL>' - <version> is the version of Fedora you are upgrading to (currently 19)
- <URL> is the location found in the previous step
-
- If you need to use a local mirror to test a brand new change, start the upgrade prep by executing following command:
-
su -c 'fedup-cli --network <version> --debuglog fedupdebug.log --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
-
- Check the
fedupdebug.logfile to see if any errors show up in the output fromfedup-cli - Reboot the system if
fedup-clihas completed without error - Once the system reboots, there should be a new entry in the GRUB menu titled
System Upgrade - Select the
System Upgradeoption from the GRUB menu - The system should boot into the upgrade process and a fedup progress screen should be displayed
- Press the <ESC> key, will switch from the graphical progress screen to the textual progress information display
- Once the upgrade process has completed, the system will reboot and an option to boot Fedora 19 will be on the grub menu
- Log in to upgraded system, open a terminal, file browser, or other system applications.
Expected Results
-
fedup-cliwill run to completion, without error - The upgrade process should complete and reboot without user assistance beyond selecting
System Upgradefrom the GRUB menu - The system should be upgraded to new version without error
- Typical desktop applications should display and work correctly
- Running through the desktop test cases would be good for verification.