From Fedora Project Wiki
Ahmadsamir (talk | contribs) (Created page with "{{Template:Associated_release_criterion|Alpha|failure-reporting}} {{QA/Test_Case |description=This test case is intended to introduce a failure, and validate Anaconda is able...") |
Ahmadsamir (talk | contribs) No edit summary |
||
Line 3: | Line 3: | ||
{{QA/Test_Case | {{QA/Test_Case | ||
|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 while running in <b>Text mode</b>. A valid bugzilla username and password are required for this test, please refer to [[BugsAndFeatureRequests]]. | |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 while running in <b>Text mode</b>. A valid bugzilla username and password are required for this test, please refer to [[BugsAndFeatureRequests]]. | ||
|setup=Download and prepare any | |setup=Download and prepare any Fedora installation medium. | ||
|actions= | |actions= | ||
# | # If you're using a non-Live installation medium, boot the installer and add {{command|inst.text}} to the boot options; otherwise for Live media you have to start the installer manually from terminal {{command|liveinst --text}} | ||
# 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] - switch to a different terminal and run the following command: <pre>kill -USR1 `cat /var/run/anaconda.pid`</pre> Switch back to the installer, an error prompt should be displayed after a few seconds (you might need to hit ''refresh'' in a text mode). | # 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] - switch to a different terminal and run the following command: <pre>kill -USR1 `cat /var/run/anaconda.pid`</pre> Switch back to the installer, an error prompt should be displayed after a few seconds (you might need to hit ''refresh'' in a text mode). | ||
# Check that a file with all the crash details has been created in {{filename|/tmp/anaconda-tb-*}}. | # Check that a file with all the crash details has been created in {{filename|/tmp/anaconda-tb-*}}. |
Latest revision as of 16:40, 8 May 2016
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 while running in Text mode. A valid bugzilla username and password are required for this test, please refer to BugsAndFeatureRequests.
Setup
Download and prepare any Fedora installation medium.
How to test
- If you're using a non-Live installation medium, boot the installer and add
inst.text
to the boot options; otherwise for Live media you have to start the installer manually from terminalliveinst --text
- If you know how to make Anaconda crash, you can do so. Otherwise use Anaconda's fake exception handling trigger - switch to a different terminal and run the following command:
kill -USR1 `cat /var/run/anaconda.pid`
Switch back to the installer, an error prompt should be displayed after a few seconds (you might need to hit refresh in a text mode). - Check that a file with all the crash details has been created in
/tmp/anaconda-tb-*
. - Report the exception to Bugzilla using the error prompt.
- If you used the fake exception handling trigger, go to Bugzilla and close the newly reported bug as NOTABUG.
Expected Results
- The installer presents a failure prompt and allows you to report it to Bugzilla.
- Exception traceback is displayed.
- Crash details are saved into
/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.