From Fedora Project Wiki

(render the <pre> tag correctly)
(adjust associated_release_criterion template invocation)
(3 intermediate revisions by 3 users not shown)
Line 1: Line 1:
{{Template:Associated_release_criterion|Alpha|no-broken-packages}}
{{QA/Test_Case
{{QA/Test_Case
|description=This test will read in metadata of a mediakit and check dependencies in all packages for resolution.
|description=This is to verify that there are no broken dependencies between packages located on the {{filename|DVD.iso}} image.
|actions=
|actions=
# Download DVD image
# 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/}}
# Mount the ISO, for example: <pre># mount -o loop Fedora-14-x86_64-DVD.iso /media/ </pre>
#* Alternatively, if you have a physical media, insert it into the computer and make sure it is mounted.
# Check the dependencies of all packages. If you have a physical media, the process is the same. <pre># repoclosure --repofrompath myrepo,/media/ --newest -t -r myrepo </pre>
# Check the dependencies of all packages using a <code>repoclosure</code> command: <pre>$ repoclosure --repofrompath myrepo,/media/ --newest -t -r myrepo </pre>
|results=
|results=
<ol>
<ol>
<li> Checking dependencies finished successfully</li>
<li><code>repoclosure</code> command finished successfully.</li>
<li> There are no packages with unresolved dependencies from myrepo in the output. See below for sample output
<li>There are no packages with unresolved dependencies. Example:
<pre>
<pre>
  Added myrepo repo from /media
  Added myrepo repo from /media
  Reading in repository metadata - please wait....
  Reading in repository metadata - please wait....
Line 15: Line 17:
  Repos looked at: 1
  Repos looked at: 1
     myrepo
     myrepo
  Num Packages in Repos: 2766</pre>
  Num Packages in Repos: 2766</pre></li>
</li>
</ol>
<ol>
}}
}}


[[Category:Installer_Image_Sanity_Test_Cases]]
[[Category:Installer_Image_Sanity_Test_Cases]]

Revision as of 20:53, 30 July 2013

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 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-40-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