From Fedora Project Wiki

Revision as of 12:41, 11 May 2016 by Sumantrom (talk | contribs)

Description

This test verifies how you can upgrade your Workstation Graphically from Fedora 23 to Fedora 24 with Gnome Software

Setup

  1. Make sure you are running Fedora 23 Workstation with a decent internet connection and root access.
  2. Enable COPR repo run dnf copr enable rhughes/f23-gnome320
  3. Install all packages run dnf install PackageKit libhif libgusb libappstream-glib json-glib gnome-software fwupd f24-backgrounds appstream-data
  4. Reboot and look for fedora.json which you will find ~/.cache/gnome-software/3.20/upgrades/fedora.json
  5. Once inside search for f24 change the corresponding key pair value from Under Development to Active this will create a situation for gnome-software to prompt us for the updates.

How to test

Warning.png
Data loss
During upgrade you are advised to backup all your important data as the following process might delete your important files
  1. fully update your machine and reboot
  2. Reboot and look for fedora.json which you will find ~/.cache/gnome-software/3.20/upgrades/fedora.json
  3. Once inside search for f24 change the corresponding key pair value from Under Development to Active
    • After change the section should look like this
  {
     "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"
    }

Expected Results

  1. gnome-software should notify you when it discovers that a newer OS version is available.
  2. You should see a banner about it in the updates page of gnome-software.
  3. The "Learn more" link should work (bring you to the release notes in a web browser).
  4. Downloading the upgrade should happen in the background. You should be able to close gnome-software and go to other pages in gnome-software without interrupting it.
  5. When the download is complete, you should get a notification, and the updates page in gnome-software should now offer you to install the update

The following must be true to consider this a successful test run.

  1. The above test cases should run successfully.
  2. Installing the update should work just like an offline update
  3. There should be warnings if you had rpms installed before the upgrade that would be broken by the upgrade (e.g. 3rd party software).

Optional

Optionally provide hints for exploratory testing.