From Fedora Project Wiki

No edit summary
No edit summary
Line 26: Line 26:
# Kill a running process: <tt>kill -SIGSEGV (pid)</tt>. It must be a process that is part of a signed Fedora package
# Kill a running process: <tt>kill -SIGSEGV (pid)</tt>. 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, select '''Generate'''
# Select the entry matching the recently crashed application, then click on '''Report'''
# At the report window, click ''Apply''
# At the report window, click '''Send'''
|results=
|results=
# A crash log should be reported by the ''Logger'' plugin into ''/var/log/abrt-logger''
# After you click '''Send''', a notification window should report, among other things: "Logger: Report was stored into: /var/log/abrt-logger"
}}
}}
[[Category:ABRT_Test_Cases]]
[[Category:ABRT_Test_Cases]]

Revision as of 12:53, 19 August 2009

Description

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


How to test

Edit /etc/abrt/abrt.conf to enable (i.e. list in EnabledPlugins) and activate (i.e. list in CCpp line of AnalyzerActionsAndReporters) the Logger plugin in Common section. A sample config is noted below

[ Common ]
# Enable GPG check
EnableOpenGPG = no
# GPG keys
OpenGPGPublicKeys = /etc/pki/rpm-gpg/RPM-GPG-KEY-fedora
# blacklisted packages
BlackList =
# enabled plugins
# there has to be exactly one database plugin
EnabledPlugins = Logger, SQLite3, CCpp, Kerneloops, KerneloopsScanner, KerneloopsReporter, Bugzilla, Python #, Mailx
# Database
Database = SQLite3

[ AnalyzerActionsAndReporters ]
CCpp = Bugzilla, Logger

Restart ABRT:

# service abrt restart

And final steps are:

  1. Ensure that the abrt and abrt-applet processes are both running
  2. Kill a running process: kill -SIGSEGV (pid). It must be a process that is part of a signed Fedora package
  3. Click on the panel applet to start abrt-gui
  4. Select the entry matching the recently crashed application, then click on Report
  5. At the report window, click Send

Expected Results

  1. After you click Send, a notification window should report, among other things: "Logger: Report was stored into: /var/log/abrt-logger"