From Fedora Project Wiki

(add the 'associated criterion' block)
(use sudo instead of su, root user it not guaranteed to be included)
 
(6 intermediate revisions by 3 users not shown)
Line 1: Line 1:
{{Template:Associated_release_criterion|releasecriterion=Fedora_{{FedoraVersionNumber|next}}_Alpha_Release_Criteria#System_logging}}
+
{{Template:Associated_release_criterion|Alpha|system-logging}}
  
 
{{QA/Test_Case
 
{{QA/Test_Case
 
|description=This test case tests if system logging infrastructure is available and working as expected.
 
|description=This test case tests if system logging infrastructure is available and working as expected.
 
|setup=
 
|setup=
# Install Fedora using one of the following methods:
+
# Install Fedora according to [[QA:Testcase_Boot_default_install]], using one of the release-blocking media (e.g. Workstation live image or Server DVD).
## Boot ISO: [[QA/TestCases/InstallSourceBootIso]]
 
## DVD: [[QA/TestCases/InstallSourceDvd]]
 
## Live Image: [[QA:TestCases/Install_Source_Live_Image]]
 
 
# If necessary, reboot your system after the installation.  
 
# If necessary, reboot your system after the installation.  
 
|actions=  
 
|actions=  
 
# If you are using a graphical environment, open a terminal window.
 
# If you are using a graphical environment, open a terminal window.
# Check if system logging facility is working ({{command|tail}} can be replaced with {{command|less}} in the following):  
+
# Check if system logging facility is working:  
## {{command| su -c 'tail /var/log/messages'}}  
+
## {{command|sudo journalctl -aeb}}  
## {{command| su -c 'tail /var/log/secure'}}  
+
# If rsyslog is installed (for example, on the Server Edition), check:
 +
## {{command|sudo tail /var/log/secure}}  
  
 
|results=
 
|results=

Latest revision as of 10:31, 31 May 2017

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 according to QA:Testcase_Boot_default_install, using one of the release-blocking media (e.g. Workstation live image or Server DVD).
  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:
    1. sudo journalctl -aeb
  3. If rsyslog is installed (for example, on the Server Edition), check:
    1. sudo tail /var/log/secure

Expected Results

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