From Fedora Project Wiki

m (add category)
(link to documentation)
Line 1: Line 1:
{{QA/Test_Case
{{QA/Test_Case
|description= This test case will focus on testing Fedora CoreOS to upgrade from Stable/Testing to the new stable.  
|description=This tests whether an existing Fedora CoreOS instance running on `stable` or `testing` stream can switch to the `next` stream.  
|setup=
|setup=
# Download and verify the latest [https://getfedora.org/coreos/download?tab=metal_virtualized&stream=stable <b>stable</b>]
# Have access to a (or install a new) FCOS instance running from the `stable` or `testing` stream (`stable` is preferred).
# Download and verify the latest [https://getfedora.org/coreos/download?tab=metal_virtualized&stream=testing <b>testing</b>]
|actions=
|actions=
# Stop the service that performs automatic updates by executing <code>$ sudo systemctl stop zincati.service</code>
# Follow [https://docs.fedoraproject.org/en-US/fedora-coreos/update-streams/ Update Streams] documentation and switch your system to the `next` stream.
# Perform the rebase to a different stream and reboot
#* A package difference should be displayed during the switch operation for you to review.
<pre>Available streams: "stable", "testing", and "next"
# Reboot
STREAM="testing"
$ sudo rpm-ostree rebase "fedora/x86_64/coreos/${STREAM}"</pre>


|results=
|results=
# Inspect the package difference
# The system should successfully reboot and run on the `next` stream.
# The system will boot the latest release on the new stream and will follow that stream for future updates
#* '''FIXME:''' How to check that the `next` stream is active?
 
|optional=
}}
}}


[[Category:CoreOS Test Cases]]
[[Category:CoreOS Test Cases]]

Revision as of 13:32, 29 May 2020

Description

This tests whether an existing Fedora CoreOS instance running on stable or testing stream can switch to the next stream.

Setup

  1. Have access to a (or install a new) FCOS instance running from the stable or testing stream (stable is preferred).

How to test

  1. Follow Update Streams documentation and switch your system to the next stream.
    • A package difference should be displayed during the switch operation for you to review.
  2. Reboot

Expected Results

  1. The system should successfully reboot and run on the next stream.
    • FIXME: How to check that the next stream is active?