From Fedora Project Wiki

m (minor text changes)
(add an explanation why /tmp/updates is not created for unipony updates)
Line 8: Line 8:
# Boot the installer while specifying the HTTP URL for the updates image. Use our provided one: <pre>inst.updates=https://fedorapeople.org/groups/qa/updates/updates-unipony.img</pre> or your own one.
# Boot the installer while specifying the HTTP URL for the updates image. Use our provided one: <pre>inst.updates=https://fedorapeople.org/groups/qa/updates/updates-unipony.img</pre> or your own one.
# If it's possible, visually identify that the update was applied. With the update above, go to the ''Installation destination'' dialog and see that check icons have been replaced with a lovely unicorn pony (courtesy of [http://rainbowplasma.deviantart.com/art/Vinyl-Scratch-295204474 RainbowPlasma]):<br><table border="0"><tr border="0"><td border="0">[[Image:anaconda-pony-off.png|frame|none|Default look]]</td><td>[[Image:anaconda-pony-on.png|frame|none|Updated look]]</td></tr></table>
# If it's possible, visually identify that the update was applied. With the update above, go to the ''Installation destination'' dialog and see that check icons have been replaced with a lovely unicorn pony (courtesy of [http://rainbowplasma.deviantart.com/art/Vinyl-Scratch-295204474 RainbowPlasma]):<br><table border="0"><tr border="0"><td border="0">[[Image:anaconda-pony-off.png|frame|none|Default look]]</td><td>[[Image:anaconda-pony-on.png|frame|none|Updated look]]</td></tr></table>
# If it's not visually possible to confirm the update was applied (there were just code changes), verify the existence of {{filename|/tmp/updates}} directory, which should contain all updated source code files.
# If it's not visually possible to confirm the update was applied (there were just code changes), verify the existence of {{filename|/tmp/updates}} directory, which should contain all updated source code files. (Please note that the updates.img available above does not change any code, only a single image, and therefore {{filename|/tmp/updates}} directory is not created.)
# Proceed with installation
# Proceed with installation
|results=
|results=

Revision as of 13:13, 12 November 2014

Note.png
Associated release criterion
This test case is associated with the Basic_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 download the requested updates.img file using a HTTP url.

Setup

  1. There is an updates.img prepared for you in this test case. If it doesn't work or you want to use a different one, see this page for image creation instructions, and prepare your own file. A good thing to change in the image 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. Then host the updates.img on a httpd server accessible by your installation.

How to test

  1. Boot the installer while specifying the HTTP URL for the updates image. Use our provided one:
    inst.updates=https://fedorapeople.org/groups/qa/updates/updates-unipony.img
    or your own one.
  2. If it's possible, visually identify that the update was applied. With the update above, go to the Installation destination dialog and see that check icons have been replaced with a lovely unicorn pony (courtesy of RainbowPlasma):
    Default look
    Updated look
  3. If it's not visually possible to confirm the update was applied (there were just code changes), verify the existence of /tmp/updates directory, which should contain all updated source code files. (Please note that the updates.img available above does not change any code, only a single image, and therefore /tmp/updates directory is not created.)
  4. Proceed with installation

Expected Results

  1. Anaconda downloads the updates.img and copies its content to /tmp/updates. Any changes you included in the updates.img file are applied (image changes, text adjustments, source code changes, etc).
  2. Anaconda proceeds without related errors