From Fedora Project Wiki

(new way how to trigger Anaconda's bug reporting dialog)
(add /tmp/anaconda-tb-* info)
Line 5: Line 5:
# Boot the installer by any available means.
# Boot the installer by any available means.
# If you know how to make Anaconda crash, you can do so. Otherwise use Anaconda's [http://lists.fedoraproject.org/pipermail/test/2012-September/110149.html fake exception handling trigger] - run the following command: <pre>kill -USR1 `cat /var/run/anaconda.pid`</pre> Switch back to the GUI, an error dialog should be displayed.
# If you know how to make Anaconda crash, you can do so. Otherwise use Anaconda's [http://lists.fedoraproject.org/pipermail/test/2012-September/110149.html fake exception handling trigger] - run the following command: <pre>kill -USR1 `cat /var/run/anaconda.pid`</pre> Switch back to the GUI, an error dialog should be displayed.
# Report the exception to the Bugzilla.
# Check that a file with all the crash details has been created in {{filename|/tmp/anaconda-tb-*}}.
# Report the exception to Bugzilla using the error dialog.
# If you used the fake exception handling trigger, go to Bugzilla and close the newly reported bug as NOTABUG.
# If you used the fake exception handling trigger, go to Bugzilla and close the newly reported bug as NOTABUG.
|results=
|results=
# The installer presents a failure dialog and allows you to report it to Bugzilla.
# The installer presents a failure dialog and allows you to report it to Bugzilla.
# Exception traceback is displayed.
# Exception traceback is displayed.
# Depending on the traceback, you are informed that a new bug was created, or that an existing bug was found that matches this failure. Either way, a bug number is provided.
# Crash details are saved into {{filename|/tmp/anaconda-tb-*}}.
# After reporting to Bugzilla, depending on the traceback you are either informed that a new bug was created, or that an existing bug was found that matches this failure. Either way, a bug number is provided.
# Details of the failure are attached to the bug report.
# Details of the failure are attached to the bug report.
}}
}}

Revision as of 08:46, 20 September 2012

Description

This test case is intended to introduce a failure, and validate anaconda is able to properly handle the failure and report the issue to bugzilla. A valid bugzilla username and password is required for this test, please refer to BugsAndFeatureRequests.

Setup

Download, or create, boot media needed to boot and test the Fedora installer

How to test

  1. Boot the installer by any available means.
  2. If you know how to make Anaconda crash, you can do so. Otherwise use Anaconda's fake exception handling trigger - run the following command:
    kill -USR1 `cat /var/run/anaconda.pid`
    Switch back to the GUI, an error dialog should be displayed.
  3. Check that a file with all the crash details has been created in /tmp/anaconda-tb-*.
  4. Report the exception to Bugzilla using the error dialog.
  5. If you used the fake exception handling trigger, go to Bugzilla and close the newly reported bug as NOTABUG.

Expected Results

  1. The installer presents a failure dialog and allows you to report it to Bugzilla.
  2. Exception traceback is displayed.
  3. Crash details are saved into /tmp/anaconda-tb-*.
  4. After reporting to Bugzilla, depending on the traceback you are either informed that a new bug was created, or that an existing bug was found that matches this failure. Either way, a bug number is provided.
  5. Details of the failure are attached to the bug report.