From Fedora Project Wiki

(This applies only to DVD's for now)
(include potential_conflict.py in qa-misc repo)
 
(18 intermediate revisions by 7 users not shown)
Line 1: Line 1:
{{Template:Associated_release_criterion|Final|no-broken-packages}}
{{QA/Test_Case
{{QA/Test_Case
|description=This test will read in metadata of all packages included on DVD media and determine whether any package or file conflicts exist. Note, the example used in this test applies to the i386 platform. However, this test can be used to detect package file conflicts on other supported platforms.
|description=This is to verify that there are no file conflicts between packages without an explicit Conflicts: tag located on an offline install-type image (e.g. the {{filename|Server-DVD.iso}} image).
|actions=
|actions=
# Download the DVD image
# 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: <pre>mount -o loop Fedora-12-i386-DVD.iso /media/ </pre>
#* Alternatively, if you have a physical media, insert it into the computer and make sure it is mounted.
# Next, install the {{package|autoqa}} package. You may install it using {{command|yum install autoqa}} or by grabbing the test directly from git <pre>git clone git://git.fedorahosted.org/autoqa.git </pre>
# Download the [https://pagure.io/fedora-qa/qa-misc/raw/master/f/potential_conflict.py potential_conflict.py] script.
# Check for file conflicts by running the script {{filename|potential_conflict.py}}.  If operating out of the git checkout, you may need to change to the directory {{filename|autoqa/tests/conflicts}}.  <pre>python potential_conflict.py --repofrompath=media,/media -a i386 -r media</pre>
# Check for file conflicts by running the script: <pre>python potential_conflict.py --repofrompath=media,/media -r media</pre>
|results=
|results=
# The {{filename|potential_conflict.py}} script completes successfully
# The {{filename|potential_conflict.py}} script completes successfully.
# No package or file conflicts were detected for packages included in the media kit
# No file conflicts between packages without an explicit Conflicts: tag were detected.
}}
}}
[[Category:Installer_Image_Sanity_Test_Cases]]

Latest revision as of 08:21, 4 July 2017

Note.png
Associated release criterion
This test case is associated with the Fedora_40_Final_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 file conflicts between packages without an explicit Conflicts: tag 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. Download the potential_conflict.py script.
  3. Check for file conflicts by running the script:
    python potential_conflict.py --repofrompath=media,/media -r media

Expected Results

  1. The potential_conflict.py script completes successfully.
  2. No file conflicts between packages without an explicit Conflicts: tag were detected.