From Fedora Project Wiki

No edit summary
No edit summary
 
(12 intermediate revisions by 8 users not shown)
Line 4: Line 4:
* If you don't have an account on [https://bugzilla.redhat.com Bugzilla], [https://bugzilla.redhat.com/createaccount.cgi create] one.
* If you don't have an account on [https://bugzilla.redhat.com Bugzilla], [https://bugzilla.redhat.com/createaccount.cgi create] one.
|actions=
|actions=
# Open {{filename|/etc/abrt/abrt_event.conf}} and ensure there's something like this<tt>EVENT=report_Bugzilla analyzer=Python      abrt-action-bugzilla -c /etc/abrt/plugins/Bugzilla.conf</tt>.
# Ensure you have the plugin installed with the command {{command|su -c 'dnf install libreport-plugin-bugzilla'}}
# If you changed something, restart ABRT with the command {{command|su -c 'service abrtd restart'}}
# Ensure that the ''abrtd'' and ''abrt-applet'' processes are both running
# Ensure that the ''abrtd'' and ''abrt-applet'' processes are both running
# Kill a running process with the command {{command|kill -SIGSEGV (pid)}}. It must be a process that is part of a signed Fedora package
# Generate a random unique crash with: {{command|will_abort --random}}.
# Click on the '''Open ABRT''' button in pop-up notification to start ''abrt-gui''
# Start gnome-abrt (either from cmdline or from application menu)
# Select the entry matching the recently crashed application, click '''Open'''
# Select the entry matching the recently crashed application, then click '''Report''' button.
# Go thru the process, and at reporting step, choose Bugzilla as a reporting event
# Write "ABRT testing, please disregard" in problem description
# Use "Configure Events" button in the same window to set up your Bugzilla account information
# Go through the wizard, review the data and start reporting.
# Proceed to reporting using "Forward"/"Apply" buttons
# Notification should appear prompting you to provide your Bugzilla credentials
# If reporting is unsuccessful, please include the reporting log in your abrt bug report. Reporting log can be cut-n-pasted from GUI report window, or retrieved from event_log file in problem data directory (such as /var/spool/abrt/ccpp-2011-03-04-15:46:26-22496/event_log).
# If reporting is unsuccessful, please include the reporting log in your abrt bug report. Reporting log can be cut and pasted from the GUI report window, or retrieved from event_log file in problem data directory (e.g. {{filename|/var/tmp/abrt/ccpp-2011-03-04-15:46:26-22496/event_log}}).


|results=
|results=
# A notification message should appear, with information about the crash and a link to the reported bug
# Log message should appear, with information about the crash and a link to the reported bug
# A bug entry should be filed in Bugzilla, the entry should be assigned to the package you crashed, and the traceback of the crash should be attached.
# A bug entry should be filed in Bugzilla, the entry should be assigned to the package you crashed, and the traceback of the crash should be attached (exception to this is the case when you report duplicate bug - in that case you are added to the CC field of the duplicate and only your comment and package version is posted to the bug report).


When satisfied with the report, '''close it as not a bug''', please.
After completing this test case, please '''close the bug as NOTABUG'''.
}}
}}
[[Category:Package_abrt_test_cases]]
[[Category:Package_abrt_test_cases]]

Latest revision as of 11:35, 10 April 2015

Description

  • This test case tests that ABRT's ability to report crashes to Bugzilla works correctly.
  • If you don't have an account on Bugzilla, create one.


How to test

  1. Ensure you have the plugin installed with the command su -c 'dnf install libreport-plugin-bugzilla'
  2. Ensure that the abrtd and abrt-applet processes are both running
  3. Generate a random unique crash with: will_abort --random.
  4. Start gnome-abrt (either from cmdline or from application menu)
  5. Select the entry matching the recently crashed application, then click Report button.
  6. Write "ABRT testing, please disregard" in problem description
  7. Go through the wizard, review the data and start reporting.
  8. Notification should appear prompting you to provide your Bugzilla credentials
  9. If reporting is unsuccessful, please include the reporting log in your abrt bug report. Reporting log can be cut and pasted from the GUI report window, or retrieved from event_log file in problem data directory (e.g. /var/tmp/abrt/ccpp-2011-03-04-15:46:26-22496/event_log).

Expected Results

  1. Log message should appear, with information about the crash and a link to the reported bug
  2. A bug entry should be filed in Bugzilla, the entry should be assigned to the package you crashed, and the traceback of the crash should be attached (exception to this is the case when you report duplicate bug - in that case you are added to the CC field of the duplicate and only your comment and package version is posted to the bug report).

After completing this test case, please close the bug as NOTABUG.