From Fedora Project Wiki

(Created page with '{{QA/Test_Case |description=This case tests upgrading a Fedora system from the previous stable release ({{FedoraVersion|long|previous}}) to the development release (Rawhide/{{Fed...')
 
No edit summary
Line 3: Line 3:
|actions=
|actions=
# Perform an installation of the previous stable release (e.g. {{FedoraVersion|long|previous}}) with default partitioning (no less than 200MB for <code>/boot</code>). Ensure there are only '''1''' kernel installed on the system.
# Perform an installation of the previous stable release (e.g. {{FedoraVersion|long|previous}}) with default partitioning (no less than 200MB for <code>/boot</code>). Ensure there are only '''1''' kernel installed on the system.
# To model a real-world use case, ensure there are a total of '''three''' kernels installed on the system.  You can locate and download older kernels from the [http://koji.fedoraproject.org/koji/packageinfo?packageID=8 koji build system] or by using a {{command|koji}}.  For example, the following commands will list available kernels and download a specified kernel package from koji.
#:<pre>
#: # yum update kernel -y
#:</pre>
# Install the newest available version of {{package|preupgrade}}.
# Install the newest available version of {{package|preupgrade}}.
# Run <code>preupgrade</code> from a command prompt or the ''Run Application'' dialog. Provide the requested password for root authorization.
# Run <code>preupgrade</code> from a command prompt or the ''Run Application'' dialog. Provide the requested password for root authorization.

Revision as of 06:26, 24 November 2009

Description

This case tests upgrading a Fedora system from the previous stable release (Fedora 39) to the development release (Rawhide/Fedora 41) using PreUpgrade.


How to test

  1. Perform an installation of the previous stable release (e.g. Fedora 39) with default partitioning (no less than 200MB for /boot). Ensure there are only 1 kernel installed on the system.
  2. To model a real-world use case, ensure there are a total of three kernels installed on the system. You can locate and download older kernels from the koji build system or by using a koji. For example, the following commands will list available kernels and download a specified kernel package from koji.
    # yum update kernel -y
  3. Install the newest available version of Package-x-generic-16.pngpreupgrade.
  4. Run preupgrade from a command prompt or the Run Application dialog. Provide the requested password for root authorization.
  5. On the "Choose desired release" screen, enable "unstable test releases".
  6. Choose Rawhide from the list of available upgrade targets.
  7. Click Apply.
  8. NOTE - If preupgrade presents a warning dialog noting that additional disk space in /boot is required to complete the upgrade process, it would be considered a test result of FAIL. See methods to free more space in /boot, then click Check again
  9. When the process completes, click Reboot.
  10. The system should reboot, perform the upgrade, and reboot into the new system automatically.
  11. Log in to upgraded system, open a terminal, file browser, or other system applications.

Expected Results

  1. The preupgrade utility will run to completion, without error.
  2. The upgrade should complete and reboot without user assistance.
  3. The system should be upgraded to new version without error.
  4. The opened terminal, file browser, or other system applications should display and work correctly.