From Fedora Project Wiki

No edit summary
(28 intermediate revisions by 8 users not shown)
Line 1: Line 1:
= Description =
{{Template:Associated_release_criterion|Alpha|no-broken-packages}}
This test will read in metadata of a mediakit and check all the dependencies in all packages for resolution.


= Steps To Reproduce =
{{QA/Test_Case
# Download DVD or CD ISO,for example:
|description=This is to verify that there are no broken dependencies between packages located on an offline install-type image (e.g. the {{filename|Server-DVD.iso}} image).
<pre>#ls
|actions=
Fedora-12-i386-DVD.iso  Fedora-12-ppc-DVD.iso Fedora-12-x86_64-DVD.iso </pre>
# Mount the image using a loopback to a directory, for example: {{#tag:pre|# mount -o loop Fedora-Server-DVD-x86_64-{{FedoraVersionNumber|next}}.iso /media/}}
# mount the ISO,for example:
#* Alternatively, if you have a physical media, insert it into the computer and make sure it is mounted.
<pre>#mount -o loop Fedora-12-x86_64-DVD.iso /media/ </pre>
# Check the dependencies of all packages using a <code>repoclosure</code> command (Architecture needs to be specified -> -a x86_64): <pre>$ repoclosure -a x86_64 --repofrompath myrepo,/media/ --newest -t -r myrepo </pre>
# validate the packages,if you have a physical media,the process is the same:
|results=
<pre>#repoclosure --repofrompath myrepo,/media/ </pre>
<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

Revision as of 09:15, 9 October 2014

Note.png
Associated release criterion
This test case is associated with the Basic_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 an offline install-type image (e.g. the Server-DVD.iso image).


How to test

  1. Mount the image using a loopback to a directory, for example:
    # mount -o loop Fedora-Server-DVD-x86_64-40.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 (Architecture needs to be specified -> -a x86_64):
    $ repoclosure -a x86_64 --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