From Fedora Project Wiki

(adjust associated_release_criterion template invocation)
(6 intermediate revisions by 3 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 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]].
|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 ''updates.img''. For example, to create an ''updates.img'' you might run the following
# 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.
#:<pre>
# Copy the {{filename|updates.img}} to your removable media
#:mkdir /tmp/updates
#:dd if=/dev/zero of=/tmp/updates.img bs=1k count=1440
#:mke2fs /tmp/updates.img
#:mount -o loop /tmp/updates.img /tmp/updates
#:touch /tmp/updates/TESTING123
#:umount /tmp/updates
#:</pre>
# Write the ''updates.img'' to your removable media: <pre>dd if=/tmp/updates.img of=/dev/sdd</pre>
# 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
# The ''updates.img'' is loaded successfully, to confirm check for the presence of the file ''/tmp/updates/TESTING123''
# Anaconda proceeds without related errors
# After install, the system boots successfully
}}
}}


[[Category:Recovery Test Cases]]
[[Category:Recovery Test Cases]]

Revision as of 20:46, 30 July 2013

Note.png
Associated release criterion
This test case is associated with the Fedora_40_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