QA:Testcase ABRT Reporting Known Crash

From FedoraProject

(Difference between revisions)
Jump to: navigation, search
(sleep -> will_crash)
Line 2: Line 2:
 
|description=Test reporting of known (already reported) crash.
 
|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>
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>

Revision as of 15:14, 6 May 2013

Contents

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 sleep:
    "coreutils | Process /usr/bin/sleep 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.