QA:Testcase ABRT Reporting Known Crash

From FedoraProject

Jump to: navigation, search

Contents

Description

Test reporting of known (already reported) crash.

Setup

  1. Prepare a crash:
    dnf install will-crash
    will_segfault
    
  2. Configure your Bugzilla credentials - Problem Reporting -> Preferences -> Events -> Bugzilla
  3. 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"
  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/347291/
    https://bugzilla.redhat.com/show_bug.cgi?id=1090572
    https://bugzilla.redhat.com/show_bug.cgi?id=1124867
    https://bugzilla.redhat.com/show_bug.cgi?id=1143864
    https://bugzilla.redhat.com/show_bug.cgi?id=1185157
    https://bugzilla.redhat.com/show_bug.cgi?id=1210573
    Adding you to CC List of the existing bugzilla bug
    Using Bugzilla ID '1210573'
    Logging into Bugzilla at https://bugzilla.redhat.com
    Logging out
    
  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.
  3. Your email address was added to CC of Bugzilla bug #1210573