QA:Testcase Anaconda updates.img via local media

From FedoraProject

(Difference between revisions)
Jump to: navigation, search
(link out to the anaconda/updates page for up-to-date creation instructions)
(adjust associated_release_criterion template invocation)
 
(3 intermediate revisions by 2 users not shown)
Line 1: Line 1:
 +
{{Template:Associated_release_criterion|Final|update-image}}
 +
 
{{QA/Test_Case
 
{{QA/Test_Case
 
|description=This test will verify that anaconda can load an {{filename|updates.img}} from removable media.  Note, this test needs removable media for storing an {{filename|updates.img}} (USB storage or floppy disk).  Additional information on using an {{filename|updates.img}} can be found at [[Anaconda/Updates]].
 
|description=This test will verify that anaconda can load an {{filename|updates.img}} from removable media.  Note, this test needs removable media for storing an {{filename|updates.img}} (USB storage or floppy disk).  Additional information on using an {{filename|updates.img}} can be found at [[Anaconda/Updates]].
 
|actions=
 
|actions=
# Prepare a valid {{filename|updates.img}} file. See [[Anaconda/Updates#create-images|this page]] for image creation instructions. A good thing to change in the {{filename|updates.img}} is the "What language would you like to use during the installation process?" text in {{filename|pyanaconda/iw/language_gui.py}}, as this text is displayed on one of the first screens.
+
# Prepare a valid {{filename|updates.img}} file. See [[Anaconda/Updates#create-images|this page]] for image creation instructions. A good thing to change in the {{filename|updates.img}} is the "What language would you like to use during the installation process?" text in {{filename|pyanaconda/ui/gui/spokes/welcome.glade}}, as this text is displayed on one of the first screens.
# Write the {{filename|updates.img}} to your removable media: <pre>dd if=/tmp/updates.img of=/dev/sdd</pre>
+
# Copy the {{filename|updates.img}} to your removable media
 
# Insert the removable drive (USB key or floppy disk)
 
# Insert the removable drive (USB key or floppy disk)
# Boot the installer with the boot argument: <code>updates</code>
+
# Boot the installer with the boot argument: <code>updates=hd:LABEL=(label):/updates.img</code> or <code>updates=hd:UUID=(UUID):/updates.img</code>, where label is the label of the partition or UUID is its UUID (so if the stick had the label KINGSTON, you'd put <code>updates=hd:LABEL=KINGSTON:/updates.img</code>
# When prompted, select the appropriate removable device from the list
+
 
|results=
 
|results=
# The system should install successfully
 
 
# Anaconda prepares the {{filename|updates.img}} and copies its content to {{filename|/tmp/updates/}}. Any changes you included in the updates.img file are applied
 
# Anaconda prepares the {{filename|updates.img}} and copies its content to {{filename|/tmp/updates/}}. Any changes you included in the updates.img file are applied
 
# Anaconda proceeds without related errors
 
# Anaconda proceeds without related errors

Latest revision as of 20:46, 30 July 2013

Note.png
Associated release criterion
This test case is associated with the Fedora_21_Final_Release_Criteria#update-image release criterion. If you are doing release validation testing, a failure of this test case may be a breach of that release criterion. If so, please file a bug and nominate it as blocking the appropriate milestone, using the blocker bug nomination page.


Description

This test will verify that anaconda can load an updates.img from removable media. Note, this test needs removable media for storing an updates.img (USB storage or floppy disk). Additional information on using an updates.img can be found at Anaconda/Updates.


How to test

  1. Prepare a valid updates.img file. See this page for image creation instructions. A good thing to change in the updates.img is the "What language would you like to use during the installation process?" text in pyanaconda/ui/gui/spokes/welcome.glade, as this text is displayed on one of the first screens.
  2. Copy the updates.img to your removable media
  3. Insert the removable drive (USB key or floppy disk)
  4. Boot the installer with the boot argument: updates=hd:LABEL=(label):/updates.img or updates=hd:UUID=(UUID):/updates.img, where label is the label of the partition or UUID is its UUID (so if the stick had the label KINGSTON, you'd put updates=hd:LABEL=KINGSTON:/updates.img

Expected Results

  1. Anaconda prepares the updates.img and copies its content to /tmp/updates/. Any changes you included in the updates.img file are applied
  2. Anaconda proceeds without related errors