From Fedora Project Wiki

(Change abrt-gui to gnome-abrt)
No edit summary
(4 intermediate revisions by 2 users not shown)
Line 1: Line 1:
{{QA/Test_Case
{{QA/Test_Case
|description=Test reporting of known crash using [[Features/SimplifiedCrashReporting|Simplified Crash Reporting]] of [https://fedorahosted.org/abrt/wiki/ ABRT]
|description=Test reporting of known (already reported) crash.
|setup=
|setup=
<ol><li>Prepare a known crash:
<ol><li>Prepare a crash:
<pre>
<pre>
sleep 100 &
yum install will-crash
kill -SIGSEGV %1
will_segfault
</pre></li>
</pre></li>
<li>Notification popup about crash should appear. Click on it or run {{command|gnome-abrt}} manually.</li></ol>
<li>Notification popup about crash should appear. Click on it or run {{command|gnome-abrt}} manually.</li></ol>
|actions=
|actions=
<ol>
<ol>
<li>Find a new record for sleep: <pre>"coreutils | Process /usr/bin/sleep was killed by signal 11 (SIGSEGV)"</pre></li>
<li>Find a new record for the crash in gnome-abrt: <pre>"will-crash | Process /usr/bin/will_segfault was killed by signal 11 (SIGSEGV)"</pre></li>
<li>Click on the "Report" button.</li>
<li>Click on the "Report" button.</li>
<li>Wait until processing is finished.</li>
<li>Wait until processing is finished.</li>
Line 18: Line 18:
--- Running report_uReport ---
--- Running report_uReport ---
This problem has already been reported.
This problem has already been reported.
https://retrace.fedoraproject.org/faf/reports/331/
https://retrace.fedoraproject.org/faf/reports/17932/
https://bugzilla.redhat.com/show_bug.cgi?id=688129
https://bugzilla.redhat.com/show_bug.cgi?id=851210
</pre>
</pre>
<li>You should not be able to continue with reporting. The "Close" button should be placed in right bottom corner of the reporting window and the button should be the only one visible.</li>
<li>You should not be able to continue with reporting. The "Close" button should be placed in right bottom corner of the reporting window and the button should be the only one visible.</li>
</ol>
</ol>
|results=
|results=
#'''Report-gtk should interrupt reporting because the crash is known.'''
#'''Reporting should be interrupted because the crash is known.'''
#Crash is not reported to Bugzilla.
#Crash is not reported to Bugzilla.
}}
}}


[[Category:Package_abrt_test_cases]]
[[Category:Package_abrt_test_cases]]

Revision as of 08:50, 7 May 2013

Description

Test reporting of known (already reported) crash.

Setup

  1. Prepare a crash:
    yum install will-crash
    will_segfault
    
  2. Notification popup about crash should appear. Click on it or run gnome-abrt manually.

How to test

  1. Find a new record for the crash in gnome-abrt:
    "will-crash | Process /usr/bin/will_segfault was killed by signal 11 (SIGSEGV)"
  2. Click on the "Report" button.
  3. Wait until processing is finished.
  4. Click on "Show log" label.
  5. You should see only the following text:
  6. --- Running report_uReport ---
    This problem has already been reported.
    https://retrace.fedoraproject.org/faf/reports/17932/
    https://bugzilla.redhat.com/show_bug.cgi?id=851210
    
  7. You should not be able to continue with reporting. The "Close" button should be placed in right bottom corner of the reporting window and the button should be the only one visible.

Expected Results

  1. Reporting should be interrupted because the crash is known.
  2. Crash is not reported to Bugzilla.