From Fedora Project Wiki
No edit summary |
(polish the test case) |
||
Line 1: | Line 1: | ||
{{admon/warning|Data loss possible|Don't test upgrades on your production machine. Make sure all your important data is backed up. Bugs can occur and destroy all your data.}} | |||
{{QA/Test_Case | {{QA/Test_Case | ||
|description=This test verifies how you can upgrade your Workstation | |description=This test verifies how you can upgrade your Workstation graphically from Fedora 23 to Fedora 24 using GNOME Software | ||
|setup= | |setup= | ||
# Make sure you are running Fedora 23 Workstation with a decent internet connection | # Make sure you are running Fedora 23 Workstation with a decent internet connection. | ||
|actions= | |actions= | ||
<ol> | |||
<li> Enable COPR repo with latest gnome-software: <pre>$ sudo dnf copr enable rhughes/f23-gnome320</pre> | |||
<li> Fully update your system: <pre>$ sudo dnf update</pre> | |||
<li> Reboot | |||
<li> Look for {{filename|~/.cache/gnome-software/3.20/upgrades/fedora.json}} file. If you don't see it, start GNOME Software a wait a bit, it should appear. If you still don't see it, try running: <pre>$ pkcon refresh force</pre> You should see it now. | |||
<li> Edit the file and search for <code>f24</code> string - you'll find a section related to Fedora 24. Change <code>status</code> key from <code>Under Development</code> value to <code>Active</code> value. This will convince GNOME Software that Fedora 24 is now a stable release and enable upgrade prompts. After the change, the section will look similarly to this (probably not exactly, at least the timestamps can be different): | |||
<pre> | |||
"allow_retire": true, | |||
"branchname": "f24", | |||
"date_created": "2016-02-23 22:57:55", | |||
"date_updated": "2016-02-25 20:39:53", | |||
"dist_tag": ".fc24", | |||
"koji_name": "f24", | |||
"name": "Fedora", | |||
"status": "Active", | |||
"version": "24" | |||
</pre> | |||
<li> Shortly you should see a system notification announcing available system upgrade. If you don't see it, try rebooting the computer or logging out and in again. | |||
<li> Click the banner, it should open up GNOME Software in the ''Updates'' tab, where you should see a larger banner informing about the upgrade. | |||
<li> Click ''Learn more'' link to see release notes. | |||
<li> Download the upgrade files. It should be happening in the background, you should be able to close GNOME Software or go to other tabs in GNOME Software without interrupting it. | |||
<li> Wait for a notification that the download is complete. | |||
<li> In the ''Updates'' tab in GNOME Software, confirm performing the upgrade. | |||
<li> Wait until your computer reboots into "offline upgrade" mode, perform the upgrade, and automatically reboots back into newly upgraded system. | |||
<li> Verify that the system is upgraded and basic functionality works correctly. | |||
</ol> | |||
|results= | |results= | ||
# | # You should be notified that a newer Fedora release is available. | ||
# You should see a banner about it in the | # You should see a banner about it in the ''Updates'' tab in gnome-software. | ||
# | # You should be able to display the release notes. | ||
# Downloading the upgrade should happen in the background. You should | # Downloading the upgrade should happen in the background. | ||
# You should see a notification when the download is complete. | |||
# Installing the update should work just like an offline update, in the "offline upgrade" mode after reboot | |||
# There should be warnings if you had RPMs installed before the upgrade that would be broken by the upgrade (e.g. 3rd party software). | |||
# Installing the update should work just like an offline update | |||
# There should be warnings if you had | |||
}} | }} |
Revision as of 07:49, 12 May 2016
Description
This test verifies how you can upgrade your Workstation graphically from Fedora 23 to Fedora 24 using GNOME Software
Setup
- Make sure you are running Fedora 23 Workstation with a decent internet connection.
How to test
- Enable COPR repo with latest gnome-software:
$ sudo dnf copr enable rhughes/f23-gnome320
- Fully update your system:
$ sudo dnf update
- Reboot
- Look for
~/.cache/gnome-software/3.20/upgrades/fedora.json
file. If you don't see it, start GNOME Software a wait a bit, it should appear. If you still don't see it, try running:$ pkcon refresh force
You should see it now. - Edit the file and search for
f24
string - you'll find a section related to Fedora 24. Changestatus
key fromUnder Development
value toActive
value. This will convince GNOME Software that Fedora 24 is now a stable release and enable upgrade prompts. After the change, the section will look similarly to this (probably not exactly, at least the timestamps can be different):"allow_retire": true, "branchname": "f24", "date_created": "2016-02-23 22:57:55", "date_updated": "2016-02-25 20:39:53", "dist_tag": ".fc24", "koji_name": "f24", "name": "Fedora", "status": "Active", "version": "24"
- Shortly you should see a system notification announcing available system upgrade. If you don't see it, try rebooting the computer or logging out and in again.
- Click the banner, it should open up GNOME Software in the Updates tab, where you should see a larger banner informing about the upgrade.
- Click Learn more link to see release notes.
- Download the upgrade files. It should be happening in the background, you should be able to close GNOME Software or go to other tabs in GNOME Software without interrupting it.
- Wait for a notification that the download is complete.
- In the Updates tab in GNOME Software, confirm performing the upgrade.
- Wait until your computer reboots into "offline upgrade" mode, perform the upgrade, and automatically reboots back into newly upgraded system.
- Verify that the system is upgraded and basic functionality works correctly.
Expected Results
- You should be notified that a newer Fedora release is available.
- You should see a banner about it in the Updates tab in gnome-software.
- You should be able to display the release notes.
- Downloading the upgrade should happen in the background.
- You should see a notification when the download is complete.
- Installing the update should work just like an offline update, in the "offline upgrade" mode after reboot
- There should be warnings if you had RPMs installed before the upgrade that would be broken by the upgrade (e.g. 3rd party software).