From Fedora Project Wiki

No edit summary
(include potential_conflict.py in qa-misc repo)
 
(7 intermediate revisions by 3 users not shown)
Line 1: Line 1:
{{Template:Associated_release_criterion|Final|no-broken-packages}}
{{QA/Test_Case
{{QA/Test_Case
|description=This is to verify that there are no file conflicts between packages located on the {{filename|DVD.iso}} image.
|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=
# 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 image using a loopback to a directory, for example: {{#tag:pre|# mount -o loop Fedora-Server-DVD-x86_64-{{FedoraVersionNumber|next}}.iso /media/}}
#* Alternatively, if you have a physical media, insert it into the computer and make sure it is mounted.
#* Alternatively, if you have a physical media, insert it into the computer and make sure it is mounted.
# Download the [http://git.fedorahosted.org/cgit/autoqa.git/plain/tests/conflicts/potential_conflict.py 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 file conflicts were detected.
# 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.