From Fedora Project Wiki
No edit summary
No edit summary
Line 2: Line 2:
|description=This test case ensures that disk drive(s) are properly unmounted during a power-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. If you are installing from a Live OS, perform the steps below with the LiveOS before doing the install. After this go ahead with the install
# 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
# Reboot the system to the hard drive after the install.
# Reboot the system to the hard drive after the install.


|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.
# At the command prompt, issue the following command journalctl -b | grep -E 'dirty bit|data may be corrupt|recovery' There should not be any output from this command
# At the command prompt, issue the following command {{command| journalctl -b -l > journal.txt}}
# At the command prompt, issue the following command {{journalctl -b | grep -E 'unmounted|recovering'}} There should not be any output from this command
# At the command prompt, issue the following commands
# If there has been any output from this command or the prior command, and the command prompt issue the following command {{command|journalctl -b > journal.txt}} File a bug report and attach the journal.txt file to the report.
{{command| grep 'dirty bit' journal.txt}}
 
{{command| grep 'data may be corrupt' journal.txt}}
 
{{command| grep 'recovery' journal.txt}}
 
{{command| grep 'unmounted' journal.txt}}
 
{{command| grep 'recovering' journal.txt}}
 
There should not be any output from any of these commands
# If there has been any output from any of these commands, file a bug report and attach the journal.txt file to the report.
# Close the Journal output and restart the test system using the command {{command|reboot}} on the virtual console.
# Close the Journal output and restart the test system using the command {{command|reboot}} on the virtual console.
# Repeat steps 1 through 3 above.
# Repeat steps 1 through 3 above.

Revision as of 15:58, 5 December 2019

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
  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 -l > journal.txt
  3. At the command prompt, issue the following commands

grep 'dirty bit' journal.txt

grep 'data may be corrupt' journal.txt

grep 'recovery' journal.txt

grep 'unmounted' journal.txt

grep 'recovering' journal.txt

There should not be any output from any of these commands

  1. If there has been any output from any of these commands, file a bug report and attach the journal.txt file to the report.
  2. Close the Journal output and restart the test system using the command reboot on the virtual console.
  3. Repeat steps 1 through 3 above.

Expected Results