From Fedora Project Wiki
No edit summary
(drop categories (drafts in personal spaces shouldn't be in categories))
 
(38 intermediate revisions by 2 users not shown)
Line 1: Line 1:
{{QA/Test_Case
{{QA/Test_Case
|description=This test case ensures that disk drive(s) are properly dismounted during a shut-down or a restart.
|description=This test case ensures that disk drive(s) are properly unmounted during a power-down or a restart.
|setup=
|setup=
# Install the pre-released version of Fedora to be tested on bare metal using the default Anaconda disk settings except to delete all and reclaim all disk space.
# Install the pre-released version of Fedora to be tested. If you are installing from a LiveOS, perform the steps below with the LiveOS before doing the install. After this go ahead with the install. Then perform the steps below when the system is running from the hard drive.
# Reboot the system to the hard drive after the install.
# Reboot the system to the hard drive after the install.
{{admon/warning| Be sure to reclaim all disk space.}}


|actions=
|actions=
# On a running system, change to a virtual console by pressing Ctrl+Alt+F2
# On the running system, Switch to a free virtual console using Ctrl+Alt+F<n> shortcut and log in.
      Result: A virtual console appears with a login prompt.
# At the command prompt, issue the following command: <pre>journalctl -b | grep -E "dirty bit|data may be corrupt|recovery|unmounted|recovering"</pre> There should not be any output.
# At the virtual console, login as the root user
# If there has been output from the grep command, issue the following command {{command| journalctl -b -l > journal.log}} Please file a bug report and attach the journal.log file to the bug report.
      Result: Login accepted
# Restart the test system using the command {{command|reboot}} on the virtual console.
# Halt the system by running the command: “halt”
# Repeat steps 1 and 3 above.
      Result: The `halt` is accepted and halts the system. The screen is left powered on, showing the final shutdown messages. No system filesystem / LVM device is left mounted / active when the system finally halts.  In some cases you might see a number of retries. This is okay as long as the last retry is successful.
 
# Hold {{command| left-ctrl + 'L'}} to enter seamless mode
|results=
|results=
# The installer successfully boots from the ISO image
# The greps should not produce any output.
# The installer is able to activate and use the virtual network device(s)
# The installer is able to activate and use the virtual storage device(s)
# The install completes successfully
# The system reboots successfully, recognizing filesystems created on the virt device(s)
# The seamless mode will allow users to surf between the opened windows
}}
}}

Latest revision as of 22:24, 22 May 2020

Description

This test case ensures that disk drive(s) are properly unmounted during a power-down or a restart.

Setup

  1. Install the pre-released version of Fedora to be tested. If you are installing from a LiveOS, perform the steps below with the LiveOS before doing the install. After this go ahead with the install. Then perform the steps below when the system is running from the hard drive.
  2. Reboot the system to the hard drive after the install.

How to test

  1. On the running system, Switch to a free virtual console using Ctrl+Alt+F<n> shortcut and log in.
  2. At the command prompt, issue the following command:
    journalctl -b | grep -E "dirty bit|data may be corrupt|recovery|unmounted|recovering"
    There should not be any output.
  3. If there has been output from the grep command, issue the following command journalctl -b -l > journal.log Please file a bug report and attach the journal.log file to the bug report.
  4. Restart the test system using the command reboot on the virtual console.
  5. Repeat steps 1 and 3 above.

Expected Results

  1. The greps should not produce any output.