From Fedora Project Wiki

(Use new traceback.img url)
(add obsolete category)
 
(5 intermediate revisions by 2 users not shown)
Line 1: Line 1:
 +
{{admon/important|This test case is obsolete|Because of [http://lists.fedoraproject.org/pipermail/test/2012-September/110231.html changes in libreport in Fedora 18] this test case is no longer valid.}}
 +
 
{{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. This test case relies on an [http://jlaska.fedorapeople.org/updates/traceback.img updates.img] that will intentionally cause the installation to fail in a manner that is non-destructive to your existing system.  For more information in using an updates.img, see [[Anaconda/Updates]].
+
|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.
 +
|setup=Download, or [[How_to_build_a_Rawhide_ISO_image_for_testing|create]], boot media needed to boot and test the Fedora installer
 
|actions=
 
|actions=
# Boot the installer by any available means (CD, DVD, boot.iso or PXE). When booting, you must direct the installer towards an [http://jlaska.fedorapeople.org/updates/traceback.img updates.img] using this method below.<pre>updates=http://jlaska.fedorapeople.org/updates/traceback.img</pre>
+
# Boot the installer by any available means (CD, DVD, boot.iso or PXE). Add a <code>traceback</code> keyword to the kernel boot line.
# If you also wish to test
+
# After a few initial steps (language/keymap choice, network activation) you should be presented with a failure dialog.  Select '''Save'''
# When prompted, make language and keyboard selections.
+
# On the following dialog, choose '''Report uploader''' as the reporter and provide an existing directory as the destination file URL, e.g. <code>file:///root/</code>.
# Depending on your installation method, you maybe prompted for a remote installation source.  Make a selection and continue.
+
# Don't click '''Exit installer''', switch to terminal by pressing '''Ctrl'''+'''Alt'''+'''F2'''  
# Upon entering [http://fedoraproject.org/wiki/Anaconda/Stage stage2] of the installer, you will be presented with a failure dialog.  Select '''Save'''
+
# Run command ''ls <YOUR_PATH>''
# On the Save dialog, choose '''Local storage''','''File System''' from the destination list.click '''OK'''.
 
# Don't click '''Exit installer''',switch to terminal by pressing '''Ctrl'''+'''Alt'''+'''F2'''  
 
# Run command '''ls /'''  
 
 
|results=
 
|results=
 
# The installer presents a failure dialog and offers an option to save the failure report.
 
# The installer presents a failure dialog and offers an option to save the failure report.
# The Dump Written box pops up to show the error files has been successfully written  
+
# The reporter informs you that the report file has been successfully written to disk
# Go to root directory in terminal, a traceback(anaconda-xxxxx) file was created
+
# A traceback file (''anaconda-tb-xxxxx'') was created in {{filename|/tmp}}.
 
}}
 
}}
  
 
[[Category:Recovery Test Cases]]
 
[[Category:Recovery Test Cases]]
 +
[[Category:Package_report_test_cases]]
 +
[[Category:Obsolete Test Cases]]

Latest revision as of 17:06, 21 September 2012

Important.png
This test case is obsolete
Because of changes in libreport in Fedora 18 this test case is no longer valid.


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.

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 (CD, DVD, boot.iso or PXE). Add a traceback keyword to the kernel boot line.
  2. After a few initial steps (language/keymap choice, network activation) you should be presented with a failure dialog. Select Save
  3. On the following dialog, choose Report uploader as the reporter and provide an existing directory as the destination file URL, e.g. file:///root/.
  4. Don't click Exit installer, switch to terminal by pressing Ctrl+Alt+F2
  5. Run command ls <YOUR_PATH>

Expected Results

  1. The installer presents a failure dialog and offers an option to save the failure report.
  2. The reporter informs you that the report file has been successfully written to disk
  3. A traceback file (anaconda-tb-xxxxx) was created in /tmp.