From Fedora Project Wiki

< User:Adamwill

Revision as of 18:01, 9 December 2019 by Adamwill (talk | contribs) (create a draft of this proposed test based on tablepc's draft with cleanups and additions)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

Associated release criterion
This test case is associated with the Basic_Release_Criteria#shutdown release criterion. If you are doing release validation testing, a failure of this test case may be a breach of that release criterion. If so, please file a bug and nominate it as blocking the appropriate milestone, using the blocker bug nomination page.


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


  1. Install or deploy the Fedora release media you wish to test. Follow all defaults, except that you can use any file system supported by the installer for the system partitions (ideally, this test should be run at least once with each of them).
  2. Reboot to the installed system.
  3. If you are testing a live image, perform the steps below from the live environment before doing the install. After this go ahead with the install. Then perform the steps below from the installed system.

How to test

  1. On the installed system, run a console and become root with sudo su or su.
  2. Run the following command: journalctl -b | grep -E "dirty bit|data may be corrupt|recovery|unmounted|recovering" and see whether there is any output.
  3. If there was output from the grep command, run the command journalctl -b -l > journal.log. 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.
  4. Restart the test system using the command reboot on the virtual console.
  5. Repeat steps 1 to 3 above.
Manual error checking
This test relies on specific expected text in error messages. It's possible these messages may change in the future and there may be an error that is not caught by the grep command. Optionally you can examine the journalctl -b output manually for error messages that might indicate a filesystem not being cleanly unmounted at shutdown, and file a bug report if you find any.

Expected Results

  1. Each grep command should produce no output.
  2. Running reboot should cause an orderly shutdown and restart of the system.