From Fedora Project Wiki
No edit summary |
No edit summary |
||
Line 1: | Line 1: | ||
{{QA/Test_Case | {{QA/Test_Case | ||
|description=This | |description=This test verifies upgrading a Fedora system from the current stable release ({{FedoraVersion|long}}) to the development release (Rawhide/{{FedoraVersion|long|next}}) using [[PreUpgrade]]. Verification will confirm that {{command||preupgrade}} is able to detect and recover from 2 low disk space conditions: | ||
# Insufficient disk space on {{filename|/boot}} partition for anaconda to install a new kernel | |||
|actions= | |actions= | ||
# Perform an installation of the stable release (e.g. {{FedoraVersion|long}}) with default partitioning (200MB for | # Perform an installation of the current stable release (e.g. {{FedoraVersion|long}}) with default partitioning (200MB for {{filename|/boot}}). | ||
# Install another kernel on the system. You can locate and download older kernel 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. | # Install another kernel on the system. You can locate and download older kernel 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> | #:<pre> | ||
Line 10: | Line 11: | ||
#:</pre> | #:</pre> | ||
# Install the newest available version of {{package|preupgrade}}. | # Install the newest available version of {{package|preupgrade}}. | ||
# Run | # Run {{command|preupgrade}} from a command prompt or the ''Run Application'' dialog. Provide the requested password for root authorization. | ||
# On the | # On the ''Choose desired release'' screen, enable ''unstable test releases''. | ||
# Choose ''Rawhide'' from the list of available upgrade targets, then click ''Apply''. | # Choose ''Rawhide'' from the list of available upgrade targets, then click ''Apply''. | ||
# Preupgrade will present a warning dialog noting that additional disk space in {{filename|/boot}} is required to complete the upgrade process. Remove older kernels by consulting the instructions at [[How_to_use_PreUpgrade#Troubleshooting]] to free more space in /boot], then click ''Check again'' | # Preupgrade will present a warning dialog noting that additional disk space in {{filename|/boot}} is required to complete the upgrade process. Remove older kernels by consulting the instructions at [[How_to_use_PreUpgrade#Troubleshooting]] to free more space in /boot], then click ''Check again'' |
Revision as of 07:01, 7 January 2010
Description
This test verifies upgrading a Fedora system from the current stable release (Fedora 41) to the development release (Rawhide/Fedora 42) using PreUpgrade. Verification will confirm that is able to detect and recover from 2 low disk space conditions:
- Insufficient disk space on
/boot
partition for anaconda to install a new kernel
How to test
- Perform an installation of the current stable release (e.g. Fedora 41) with default partitioning (200MB for
/boot
). - Install another kernel on the system. You can locate and download older kernel 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 install koji
- # koji list-tagged --quiet dist-f11-updates kernel
- # koji download-build --arch $(uname -p) --arch noarch kernel-2.6.30.5-43.fc11
- Install the newest available version of
preupgrade
. - Run
preupgrade
from a command prompt or the Run Application dialog. Provide the requested password for root authorization. - On the Choose desired release screen, enable unstable test releases.
- Choose Rawhide from the list of available upgrade targets, then click Apply.
- Preupgrade will present a warning dialog noting that additional disk space in
/boot
is required to complete the upgrade process. Remove older kernels by consulting the instructions at How_to_use_PreUpgrade#Troubleshooting to free more space in /boot], then click Check again - When the process completes, click Reboot.
- The system should reboot, perform the upgrade, and reboot into the new system automatically.
- Log in to upgraded system, open a terminal, file browser, or other system applications.
Expected Results
- The preupgrade utility will run to completion, without error.
- The users are prompted with a low disk-space warning.
- Removing older kernels allows the upgrade to proceed beyond the low disk-space warning.
- The system should be upgraded to new version without error.
- The opened terminal, file browser, or other system applications should display and work correctly.