From Fedora Project Wiki
(include btrfs recovery message per https://lists.fedoraproject.org/archives/list/test@lists.fedoraproject.org/thread/35PDQ7JWNBFLSSKZJ6EO24MOXSGP43M3/) |
(clarify expected results) |
||
Line 40: | Line 40: | ||
</pre>}} | </pre>}} | ||
|results= | |results= | ||
# Each {{command|grep}} command should produce no output. | # Each {{command|grep}} command should produce no output (or it should be unrelated to disk operations). | ||
# Requesting reboot should cause an orderly shutdown and restart of the system. | # Requesting reboot should cause an orderly shutdown and restart of the system. | ||
}} | }} | ||
[[Category:Base Acceptance Test Cases]] | [[Category:Base Acceptance Test Cases]] |
Revision as of 13:42, 17 July 2020
Description
This test case ensures that disk drive(s) are properly unmounted during a power down or a restart.
Setup
- Install or deploy the Fedora release media you wish to test. You can use any allowed configuration by the installer.
- Reboot to the installed system.
How to test
- On the installed system, search for disk mount/unmount errors using the following command:
sudo journalctl -b | grep -iv '\<recovery algorithm\>' | grep -iE '\<(dirty bit|corrupt|run fsck|recovery|recovering|tree-log replay)\>'
If there is no output, there were no such errors and everything seems correct.- If there was some output from the grep command, save the full journal log using
sudo journalctl -b > journal.log
If the grep output does not show clearly that the output is related to a disk mount/unmount problem, open thejournal.log
file, find the relevant lines and verify whether this is an error related to disk mounting or an unrelated message. - If the output is related to disk mounting, please file a bug report (the kernel is most likely the correct package to file the report against) and attach the
journal.log
file to the bug report.
- If there was some output from the grep command, save the full journal log using
- Restart the system.
- Repeat all the steps above once more (the first pass checks whether the system unmounted disks properly when rebooting from the installer, the second pass checks whether the system unmounted disks properly when rebooting from the installed system).
Expected Results
- Each
grep
command should produce no output (or it should be unrelated to disk operations). - Requesting reboot should cause an orderly shutdown and restart of the system.