From Fedora Project Wiki
Note.png
Associated release criterion
This test case is associated with the Fedora_32_Final_Release_Criteria#Kickstarts 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

The package with various Fedora Kickstart files must be present in Fedora repository. This test proves that the package exists and has required content.


How to test

  1. Check that the spin-kickstarts package is available in the Fedora repository
    dnf search spin-kickstarts
  2. Install the package
    dnf install spin-kickstarts
  3. Check that fedora-repo.ks, fedora-repo-not-rawhide.ks, and fedora-repo-rawhide.ks are present in the system.
    find /usr/share -iname "fedora-repo*ks"
  4. List links to repositories from the fedora-repo-not-rawhide.ks file.
    cat /usr/share/spin-kickstarts | grep mirrorlist
  5. Check that all required repositories are mentioned, and updates-testing are commented out, such as
    repo --name=fedora --mirrorlist=https://mirrors.fedoraproject.org/mirrorlist?repo=fedora-$releasever&arch=$basearch
    repo --name=updates --mirrorlist=https://mirrors.fedoraproject.org/mirrorlist?repo=updates-released-f$releasever&arch=$basearch
    #repo --name=updates-testing --mirrorlist=https://mirrors.fedoraproject.org/mirrorlist?repo=updates-testing-f$releasever&arch=$basearch
    
  6. Repeat steps 4 and 5 for the fedora-repo-rawhide.ks file.
  7. Check that the fedora-repo.ks file includes links to both fedora-repo-not-rawhide.ks and fedora-repo-rawhide.ks files, and that the correct file is uncommented according to the tested Fedora release. The following example represents a non-rawhide release of Fedora:
    # %include fedora-repo-rawhide.ks
    %include fedora-repo-not-rawhide.ks

Expected Results

This test is considered successful, when the following criteria are fulfilled.

  1. The spin-kickstarts package exists in the repository.
  2. The spin-kickstarts package can be installed without any errors or warnings.
  3. The kickstart files are present on the system, after the installation.
  4. Kickstart files for repositories are present in the spin-kickstarts directory.
  5. All files have correct content (see above)