From Fedora Project Wiki

No edit summary
(include potential_conflict.py in qa-misc repo)
 
(11 intermediate revisions by 4 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.
|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, download the [http://git.fedorahosted.org/git/?p=autoqa.git;a=blob_plain;f=tests/conflicts/potential_conflict.py;hb=HEAD potential_conflict.py] script.
# 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: <pre>python potential_conflict.py --repofrompath=media,/media -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]]
[[Category:Installer_Image_Sanity_Test_Cases]]

Latest revision as of 08:21, 4 July 2017

Associated release criterion
This test case is associated with the Fedora_42_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-42.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.