From Fedora Project Wiki

(Minor wording change. Reorganized action/result about running preupgrade-cli with no options)
(s/fedup/dnf)
 
(4 intermediate revisions by 4 users not shown)
Line 1: Line 1:
{{admon/note|Obsolete|As of Fedora 18, preupgrade has been replaced by [[FedUp]], which was itself replaced by the [[DNF_system_upgrade]] plugin. See [[:Category:Upgrade_system]].}}
{{QA/Test_Case
{{QA/Test_Case
|description=This case tests upgrading a Fedora system from the stable release (e.g. {{FedoraVersion|long}}) to the branched release ({{FedoraVersion|long|next}}) using {{command|PreUpgrade-cli}}.
|description=This case tests upgrading a Fedora system from the stable release (e.g. {{FedoraVersion|long}}) to the branched release ({{FedoraVersion|long|next}}) using {{command|PreUpgrade-cli}}.
|actions=
|actions=
# Perform an installation of the stable release (e.g. {{FedoraVersion|long}}) with default partitioning (no less than 500MB for {{filename|/boot}}). <!--Ensure there are only '''1''' kernel installed on the system. -->
# Perform an installation of the stable release (e.g. {{FedoraVersion|long}}) with default partitioning (no less than 500MB for {{filename|/boot}}). <!--Ensure there are only '''1''' kernel installed on the system. -->
# Install the newest available version of {{package|preupgrade}} and {{package|python-urlgrabber}}
# Install the newest available version of {{package|preupgrade}} and {{package|python-urlgrabber}}.
# From a command prompt, run {{command|preupgrade-cli}} with no additional command-line options.
# From a command prompt, run {{command|preupgrade-cli}} with no additional command-line options.
# From a command prompt, run {{command|preupgrade-cli}} with a valid release name, for example: <pre>preupgrade-cli "Fedora 14 (Laughlin)"</pre>
# From a command prompt, run {{command|preupgrade-cli}} with a valid release name, for example: <pre>preupgrade-cli "Fedora 14 (Laughlin)"</pre> Optionally, you can customize the process by specifying command-line options, use ''help'' to look up a list of available options: <pre>preupgrade-cli --help</pre>
# When the process completes, reboot the system.
# When the process completes, reboot the system.
# The system should perform the upgrade, and reboot into the new system automatically.
# The system should perform the upgrade, and reboot into the new system automatically.
# Log in to upgraded system, run some system applications.
# Log in to upgraded system, run some system applications.
|results=
|results=
# With no additional command-line options, {{command|preupgrade-cli}} will fail and prompt the user with a list of supported Fedora releases available for upgrade.  The list of supported releases '''must''' include only newer releases.  For example, if running {{command|preupgrade-cli}} on Fedora 13 while Fedora 14 is in development, you should see the following:
<ol>
#: <pre>
<li> With no additional command-line options, {{command|preupgrade-cli}} will fail and prompt the user with a list of supported Fedora releases available for upgrade.  The list of supported releases '''must''' include only newer releases.  For example, if running {{command|preupgrade-cli}} on Fedora 13 while Fedora 14 is in development, you should see the following:
#: please give a release to try to pre-upgrade to
<pre>
#: valid entries include:
please give a release to try to pre-upgrade to
#:    "Fedora 14 (Laughlin)"</pre>
valid entries include:
# When supplied a valid release name, the preupgrade utility will run to completion, without error.
    "Fedora 14 (Laughlin)"</pre>
# The upgrade should complete and reboot without user assistance.   
</li>
# The system should be upgraded to new version without error.
<li> When supplied a valid release name, the preupgrade utility will run to completion, without error.</li>
# The executed applications should display and work correctly.
<li> The specified command-line option(s) should be functional. </li>
<li> The upgrade should complete and reboot without user assistance.  </li>
<li> The system should be upgraded to new version without error.</li>
<li> The executed applications should display and work correctly.</li>
</ol>
}}
}}
[[Category:Upgrade_system]]
[[Category:Obsolete_Test_Cases]]

Latest revision as of 19:03, 2 November 2015

Note.png
Obsolete
As of Fedora 18, preupgrade has been replaced by FedUp, which was itself replaced by the DNF_system_upgrade plugin. See Category:Upgrade_system.


Description

This case tests upgrading a Fedora system from the stable release (e.g. Fedora 36) to the branched release (Fedora 37) using PreUpgrade-cli.


How to test

  1. Perform an installation of the stable release (e.g. Fedora 36) with default partitioning (no less than 500MB for /boot).
  2. Install the newest available version of Package-x-generic-16.pngpreupgrade and Package-x-generic-16.pngpython-urlgrabber.
  3. From a command prompt, run preupgrade-cli with no additional command-line options.
  4. From a command prompt, run preupgrade-cli with a valid release name, for example:
    preupgrade-cli "Fedora 14 (Laughlin)"
    Optionally, you can customize the process by specifying command-line options, use help to look up a list of available options:
    preupgrade-cli --help
  5. When the process completes, reboot the system.
  6. The system should perform the upgrade, and reboot into the new system automatically.
  7. Log in to upgraded system, run some system applications.

Expected Results

  1. With no additional command-line options, preupgrade-cli will fail and prompt the user with a list of supported Fedora releases available for upgrade. The list of supported releases must include only newer releases. For example, if running preupgrade-cli on Fedora 13 while Fedora 14 is in development, you should see the following:
     please give a release to try to pre-upgrade to
     valid entries include:
        "Fedora 14 (Laughlin)"
  2. When supplied a valid release name, the preupgrade utility will run to completion, without error.
  3. The specified command-line option(s) should be functional.
  4. The upgrade should complete and reboot without user assistance.
  5. The system should be upgraded to new version without error.
  6. The executed applications should display and work correctly.