From Fedora Project Wiki
(Created page with "{{QA/Test_Case |description=This test case check, whether the release repository and install media contain all packages and information required for release (e.g. release notes, ...")
 
No edit summary
 
(3 intermediate revisions by the same user not shown)
Line 1: Line 1:
{{QA/Test_Case
{{QA/Test_Case
|description=This test case check, whether the release repository and install media contain all packages and information required for release (e.g. release notes, fedora-release package, ...)
|description=This test case checks, whether the release repository and install media contain all packages and information required for release (e.g. release notes, fedora-release package, ...). This test doesn't need to be done on machine with new release installed.
|actions=
|actions=
# Mount DVD.iso. You can do it for example by command <code>mount -o loop Fedora-17-Alpha-x86_64-DVD.iso /media</code>
# Install package <code>spin-kickstarts</code>
#  
# Download [http://pschindl.fedorapeople.org/kickstarts_test.py this script] and execute it. It will check, whether kickstarts from the package <code>spin-kickstarts</code> define right repositories.
# Uninstall <code>spin-kickstarts</code>
# Mount DVD.iso. You can do it for example by running command {{command|su -c 'mount -o loop Fedora-17-Alpha-x86_64-DVD.iso /media'}}
# Look if DVD.iso contains <code>fedora-release</code> and <code>fedora-release-notes</code> packages. You can do it by command {{command|ls /<path to the mounted iso>/Packages/fedora-release*}}
# There must also be generic packages in release repository. Check this up by running command <code>yum --releasever=$RV search generic-release</code> where $RV is release version you are testing.
|results=
|results=
# All services should start properly and systemctl reports no failed service
# Script <code>kickstart_test.py</code> shouldn't write out any error.
# There should be all packages with release informations and release notes in repository and on the install medium.
}}
}}


[[Category:Installer Block Device Test Cases]]
[[Category:Installer Block Device Test Cases]]

Latest revision as of 14:49, 17 December 2012

Description

This test case checks, whether the release repository and install media contain all packages and information required for release (e.g. release notes, fedora-release package, ...). This test doesn't need to be done on machine with new release installed.


How to test

  1. Install package spin-kickstarts
  2. Download this script and execute it. It will check, whether kickstarts from the package spin-kickstarts define right repositories.
  3. Uninstall spin-kickstarts
  4. Mount DVD.iso. You can do it for example by running command su -c 'mount -o loop Fedora-17-Alpha-x86_64-DVD.iso /media'
  5. Look if DVD.iso contains fedora-release and fedora-release-notes packages. You can do it by command ls /<path to the mounted iso>/Packages/fedora-release*
  6. There must also be generic packages in release repository. Check this up by running command yum --releasever=$RV search generic-release where $RV is release version you are testing.

Expected Results

  1. Script kickstart_test.py shouldn't write out any error.
  2. There should be all packages with release informations and release notes in repository and on the install medium.