From Fedora Project Wiki

(Created page with " = Description = A validation test case for upgrading an rpm-ostree based IoT installation from the previous compose to the latest. This testcase can be run on either an image or installation, on hardware or in virtualization. = Setup = = How to test = Run the command: rpm-ostree upgrade Once completed, reboot the system: ... systemctl reboot Once rebooted, check to make sure the system is now running the new deployment rpm-ostree status = Results= 1. System...")
 
No edit summary
Line 1: Line 1:


= Description =
= Description =
A validation test case for upgrading an rpm-ostree based IoT installation from the previous compose to the latest. This testcase can be run on either an image or installation, on hardware or in virtualization.
A validation test case for upgrading an rpm-ostree based IoT installation from a previous compose to the latest. This testcase can be run on either an image or installation, on hardware or in virtualization.
= Setup =
= Setup =
 
Download and boot/install an IoT compose that is the not the current one. IoT images can be found [https://kojipkgs.fedoraproject.org/compose/iot/ here]. You can run the following command to ensure the Fedora IoT deployment that you have booted/installed is the not the current compose:
rpm-ostree status




Line 9: Line 10:
= How to test =
= How to test =
Run the command:
Run the command:
  rpm-ostree upgrade
  rpm-ostree upgrade --reboot


Once completed, reboot the system:
...
systemctl reboot
Once rebooted, check to make sure the system is now running the new deployment
Once rebooted, check to make sure the system is now running the new deployment
  rpm-ostree status
  rpm-ostree status


= Results=
= Results=
1. System is upgraded, reboots into the new deployment.
1. System is upgraded and reboots into the new deployment by default, with the previous deployment still listed in 'rpm-ostree status'.




[[Category:IoT_Acceptance_Test_Cases]]
[[Category:IoT_Acceptance_Test_Cases]]

Revision as of 22:43, 12 September 2023

Description

A validation test case for upgrading an rpm-ostree based IoT installation from a previous compose to the latest. This testcase can be run on either an image or installation, on hardware or in virtualization.

Setup

Download and boot/install an IoT compose that is the not the current one. IoT images can be found here. You can run the following command to ensure the Fedora IoT deployment that you have booted/installed is the not the current compose:

rpm-ostree status


How to test

Run the command:

rpm-ostree upgrade --reboot

Once rebooted, check to make sure the system is now running the new deployment

rpm-ostree status

Results

1. System is upgraded and reboots into the new deployment by default, with the previous deployment still listed in 'rpm-ostree status'.