From Fedora Project Wiki
m
 
(One intermediate revision by one other user not shown)
Line 7: Line 7:
 
|actions=
 
|actions=
 
# On the running system, Switch to a free virtual console using Ctrl+Alt+F<n> shortcut and log in.
 
# On the running system, Switch to a free virtual console using Ctrl+Alt+F<n> shortcut and log in.
# <pre>At the command prompt, issue the following command: journalctl -b | grep -E "dirty bit|data may be corrupt|recovery|unmounted|recovering"</pre> There should not be any output.
+
# 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.
# If there has been output from the grep command, issue the following command {{command| journalctl -b -l > journal.txt}} Please file a bug report and attach the journal.txt file to the bug report.
+
# 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.
 
# Restart the test system using the command {{command|reboot}} on the virtual console.
 
# Restart the test system using the command {{command|reboot}} on the virtual console.
 
# Repeat steps 1 and 3 above.
 
# Repeat steps 1 and 3 above.

Latest revision as of 16:30, 6 January 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.