QA:Testcase Mediakit Repoclosure

From FedoraProject

(Difference between revisions)
Jump to: navigation, search
(Created page with '= Description = This tests starting the anaconda installation program using <code>boot.iso</code> or <code>netinst.iso</code>. = Steps To Reproduce = # Burn the <code>boot.iso</...')
 
(adjust associated_release_criterion template invocation)
 
(26 intermediate revisions by 7 users not shown)
Line 1: Line 1:
= Description =
+
{{Template:Associated_release_criterion|Alpha|no-broken-packages}}
This tests starting the anaconda installation program using <code>boot.iso</code> or <code>netinst.iso</code>.
+
  
= Steps To Reproduce =
+
{{QA/Test_Case
# Burn the <code>boot.iso</code> image to a writable CD-ROM
+
|description=This is to verify that there are no broken dependencies between packages located on the {{filename|DVD.iso}} image.
# Boot the system under testing using the burned CD
+
|actions=
# Select any installation media type and complete installation
+
# Mount the {{filename|DVD.iso}} image using a loopback to a directory, for example: {{#tag:pre|# mount -o loop Fedora-{{FedoraVersionNumber|next}}-x86_64-DVD.iso /media/}}
 +
#* Alternatively, if you have a physical media, insert it into the computer and make sure it is mounted.
 +
# Check the dependencies of all packages using a <code>repoclosure</code> command: <pre>$ repoclosure --repofrompath myrepo,/media/ --newest -t -r myrepo </pre>
 +
|results=
 +
<ol>
 +
<li><code>repoclosure</code> command finished successfully.</li>
 +
<li>There are no packages with unresolved dependencies. Example:
 +
<pre>
 +
Added myrepo repo from /media
 +
Reading in repository metadata - please wait....
 +
Checking Dependencies
 +
Repos looked at: 1
 +
    myrepo
 +
Num Packages in Repos: 2766</pre></li>
 +
</ol>
 +
}}
  
= Expected Results =
+
[[Category:Installer_Image_Sanity_Test_Cases]]
# Anaconda boots successfully from the <code>boot.iso</code> cdrom
+
# Anaconda prompts for installation media (http, ftp, nfs, cdrom, local disk)
+
# Anaconda is able to transition to stage2 without error
+

Latest revision as of 20:53, 30 July 2013

Note.png
Associated release criterion
This test case is associated with the Fedora_21_Alpha_Release_Criteria#no-broken-packages 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 is to verify that there are no broken dependencies between packages located on the DVD.iso image.


How to test

  1. Mount the DVD.iso image using a loopback to a directory, for example:
    # mount -o loop Fedora-21-x86_64-DVD.iso /media/
    • Alternatively, if you have a physical media, insert it into the computer and make sure it is mounted.
  2. Check the dependencies of all packages using a repoclosure command:
    $ repoclosure --repofrompath myrepo,/media/ --newest -t -r myrepo 

Expected Results

  1. repoclosure command finished successfully.
  2. There are no packages with unresolved dependencies. Example:
     Added myrepo repo from /media
     Reading in repository metadata - please wait....
     Checking Dependencies
     Repos looked at: 1
        myrepo
     Num Packages in Repos: 2766