From Fedora Project Wiki

Associated release criterion
This test case is associated with the Fedora_41_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 tests upgrading from the current KDE Spin release (presently Fedora 40) to the next release (presently Fedora 41) using the Discover GUI.

Setup

  1. Perform an installation of Fedora KDE 40 with default partitioning.
  2. Apply all system updates and reboot.

How to test

Upgrade to Rawhide instructions
Skip this box when upgrading to Fedora Branched.

But if you need to perform this test case when testing an upgrade to Rawhide, use the following edits to trick the system into being able to upgrade to it:

sudo sed -i '/<release / s/version="rawhide"/version="NUMBER"/' /usr/share/metainfo/org.fedoraproject.fedora.metainfo.xml
Replace NUMBER with the current Rawhide version number.
  1. Enable showing pre-release Fedora versions using this command:
    kwriteconfig6 --file discoverrc --group DistroUpgrade --key AllowPreRelease true
  2. Reset plasma-discover's counter for showing notifications:
    kwriteconfig6 --file PlasmaDiscoverUpdates --group Global --key LastNotificationTime --delete
  3. Reboot the system or log out and in again, then wait for at least 5 minutes.
  4. A notification of an available upgrade should appear. If it does, click it. If not, note this as a bug, but run plasma-discover (Discover in the application launcher) and click the refresh button at top-right.
  5. Check that there is a banner informing you about the new release, with an Upgrade to Fedora Linux 41 button.
  6. Click Upgrade to Fedora Linux 41, it should load the Updates page with the new release available.
  7. Click More Information..., it should load a document with a URL to the release webpage, as well as a list of packages and versions.
    • If it links to an appropriate URL but there is no content for the URL yet, this may be reported to the documentation team, but is not a failure of this test.
    • Return to the previous page with the arrow at the top-left.
  8. Click Update All. A progress bar should be displayed while the upgrade download takes place.
  9. Once the download process completes, complete the dialog asking for administrator authentication if it appears.
  10. Click the Restart Now button that should appear next. The system should reboot immediately.
  11. Once the system reboots, the system should boot into the upgrade environment and a graphical progress screen should be displayed.
  12. Once the upgrade process has completed, the system should reboot and an option to boot the new release should be on the grub menu.
  13. Log in to the upgraded system and test basic system applications (a terminal, file browser, or other, depending on the system flavor).

Expected Results

  1. The upgrade tool should run to completion without an error.
  2. The upgrade process should complete and reboot without user assistance.
  3. The system should be upgraded to the new release without error.
  4. If the original system had an encrypted storage, there should be no problem accessing encrypted storage in the upgraded system as well.
  5. The upgraded system should meet all relevant Fedora Release Criteria.