From Fedora Project Wiki

(abrt 2 changes)
No edit summary
Line 8: Line 8:
# Kill a running process with the command {{command|kill -SIGSEGV (pid)}}. It must be a process that is part of a signed Fedora package
# Kill a running process with the command {{command|kill -SIGSEGV (pid)}}. It must be a process that is part of a signed Fedora package
# Click on the panel applet to start ''abrt-gui''
# Click on the panel applet to start ''abrt-gui''
# Select the entry matching the recently crashed application, then click on '''Open''', select '''Logger''' plugin.
# Select the entry matching the recently crashed application, then click on '''Open'''
# Finish the wizard and save the report to predefined log file (usually {{filename|/var/log/abrt.log}}).
# When you reach reporter selector page, select '''Logger'''  
# Use "Configure Events" button in the same window to change log file path. The default path, /var/log/abrt.log, is usually not writable by non-root.
# Click through to the last window of the wizard
|results=
|results=
# After you finish the steps in wizard at the last screen you should see ''"The report was stored to /var/log/abrt.log"''
# After you finish the steps in wizard at the last screen you should see ''"The report was stored to <FILENAME>"''
# Open the log file and see if your crash is in it.
# Open the log file and see if crash information is in it and is well-formatted.
}}
}}
[[Category:Package_abrt_test_cases]]
[[Category:Package_abrt_test_cases]]

Revision as of 13:26, 16 March 2011

Description

This test case tests the functionality of the ABRT feature using the Logger reporting plugin.


How to test

  1. Ensure you have the plugin installed with the command su -c 'yum install abrt-plugin-logger'
  2. Edit /etc/abrt/abrt_event.conf and be sure you have there e.g. EVENT=report_Logger abrt-action-print -o "${Log_File:-/var/log/abrt.log}"
  3. If changed the file, restart ABRT with the command su -c 'service abrtd restart'
  4. Confirm that the abrtd and abrt-applet processes are both running
  5. Kill a running process with the command kill -SIGSEGV (pid). It must be a process that is part of a signed Fedora package
  6. Click on the panel applet to start abrt-gui
  7. Select the entry matching the recently crashed application, then click on Open
  8. When you reach reporter selector page, select Logger
  9. Use "Configure Events" button in the same window to change log file path. The default path, /var/log/abrt.log, is usually not writable by non-root.
  10. Click through to the last window of the wizard

Expected Results

  1. After you finish the steps in wizard at the last screen you should see "The report was stored to <FILENAME>"
  2. Open the log file and see if crash information is in it and is well-formatted.