From Fedora Project Wiki

Revision as of 08:44, 1 October 2012 by Dkutalek (talk | contribs)

The printable version is no longer supported and may have rendering errors. Please update your browser bookmarks and please use the default browser print function instead.

Description

This test case tests the functionality of the ABRT kerneloops feature.


How to test

Note.png
Syslog
This test abuses syslog a bit - don't forget to restart it at the end of the test case.
  1. Ensure you have the plugin installed with the following command:
    • su -c 'yum install abrt-addon-kerneloops'
  2. Ensure that the system log watcher service is running - systemctl status abrt-oops.service
  3. Download the following file:
  4. Make sure /etc/libreport/events.d/koops_event.conf contains
    • EVENT=post-create analyzer=Kerneloops abrt-action-analyze-oops
    • EVENT=report_Kerneloops analyzer=Kerneloops reporter-kerneloops
    • If you have to change anything, restart abrtd: su -c 'systemctl restart abrtd.service'
  5. Append oops1.test to /var/log/messages with the following command:
    • su -c 'cat oops1.test >> /var/log/messages'
  6. Observe whether a crash notification appears

Expected Results

  1. ABRT should catch kernel oops appearing in /var/log/messages, create a crash report and notify you via the notification area

Now restart rsyslog service so writing to /var/log/messages works correctly again. Use the following command to restart the service: su -c 'systemctl restart rsyslog.service'.