From Fedora Project Wiki

< User:Roshi

Revision as of 15:45, 15 July 2014 by Roshi (talk | contribs) (Roshi moved page User:Roshi/drafts/Testcase base system logging to User:Roshi/QA/Testcase base system logging: basic organization.)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

Note.png
Associated release criterion
This test case is associated with the Basic_Release_Criteria#system-logging 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.


Description

This test case tests if system logging infrastructure is available and working as expected.

Setup

  1. Install Fedora using one of the following methods (configure an administrator account during installation):
    1. Boot ISO: QA/TestCases/InstallSourceBootIso
    2. DVD: QA/TestCases/InstallSourceDvd
    3. Live Image: QA:TestCases/Install_Source_Live_Image
    4. Cloud: Launch an instance in a cloud provider (the default 'fedora' user is already an admin user)
  2. If necessary, reboot your system after the installation.

How to test

  1. If you are using a graphical environment, open a terminal window.
  2. Check if system logging facility is working (tail can be replaced with less in the following):
    1. su -c 'journalctl -a'
    2. su -c 'tail /var/log/secure'
Note.png
Note:
If testing a cloud image, use 'sudo' instead of 'su -c'

Expected Results

  1. Log files should not be empty.
  2. The last entries in logs should correspond to the current date and time.