Skip to content
Kickstart-driven tests for the Anaconda installer
Shell Python Awk
Branch: master
Clone or download
poncovka Merge pull request #298 from poncovka/master-coverage_group
Create a group that covers the basic installation cases
Latest commit 8411b2e Nov 28, 2019
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
ansible Merge pull request #303 from rvykydal/ansible-add-days-to-human-reada… Nov 28, 2019
docs Add support for creating libvirt network for static configuration tests. Nov 11, 2016
fragments
lib Modify proxy-auth test to use new squid proxy Apr 24, 2017
linchpin Merge pull request #293 from rvykydal/linchpin-controller-provisionin… Oct 1, 2019
scripts Add temp directory to kernel_args() sh function Jun 6, 2019
.gitignore Tweak and fix gitignore file May 17, 2019
README.rst Do not use KICKSTART_NAME mechanism in .sh files Aug 8, 2019
WORKLIST And add --fsoptions for btrfs, too. Feb 11, 2016
addrepo.ks.in Add addrepo test Jun 6, 2019
addrepo.sh Add addrepo test Jun 6, 2019
autopart-encrypted-1.ks.in Use repo fragment in storage related kickstart tests May 3, 2019
autopart-encrypted-1.sh
autopart-encrypted-2.ks.in Use repo fragment in storage related kickstart tests May 3, 2019
autopart-encrypted-2.sh Add tests for autopart --encrypted May 18, 2018
autopart-encrypted-3.ks.in Use repo fragment in storage related kickstart tests May 3, 2019
autopart-encrypted-3.sh Add tests for autopart --encrypted May 18, 2018
autopart-fstype.ks.in Use repo fragment in storage related kickstart tests May 3, 2019
autopart-fstype.sh Merge pull request #100 from poncovka/master-skip Apr 9, 2018
autopart-luks-1.ks.in Use repo fragment in storage related kickstart tests May 3, 2019
autopart-luks-1.sh Add tests for LUKS2 options in autopart Jul 31, 2018
autopart-luks-2.ks.in Use repo fragment in storage related kickstart tests May 3, 2019
autopart-luks-2.sh Add tests for LUKS2 options in autopart Jul 31, 2018
autopart-luks-3.ks.in Use repo fragment in storage related kickstart tests May 3, 2019
autopart-luks-3.sh Add tests for LUKS2 options in autopart Jul 31, 2018
autopart-luks-4.ks.in Use repo fragment in storage related kickstart tests May 3, 2019
autopart-luks-4.sh Add tests for LUKS2 options in autopart Jul 31, 2018
autopart-luks-5.ks.in
autopart-luks-5.sh Add tests for LUKS2 options in autopart Jul 31, 2018
autopart-nohome.ks.in Use repo fragment in storage related kickstart tests May 3, 2019
autopart-nohome.sh Add autopart tests to the storage category Mar 27, 2018
basic-ftp.ks.in Add name of the test for easier orientation Aug 24, 2016
basic-ftp.sh Import everything else from the anaconda kickstart_tests directory. Nov 13, 2015
basic-ostree.ks.in Add name of the test for easier orientation Aug 24, 2016
basic-ostree.sh Skip failing tests because of bad Jenkins settings Aug 23, 2016
bindtomac-bond-vlan-httpks.ks.in Use repo fragment in network related kickstart tests May 3, 2019
bindtomac-bond-vlan-httpks.sh Share .sh test definitions in bindtomac tests where possible. Sep 19, 2017
bindtomac-bond2-httpks.ks.in Use repo fragment in network related kickstart tests May 3, 2019
bindtomac-bond2-httpks.sh Share .sh test definitions in bindtomac tests where possible. Sep 19, 2017
bindtomac-bond2-pre.ks.in Use repo fragment in network related kickstart tests May 3, 2019
bindtomac-bond2-pre.sh Share .sh test definitions in bindtomac tests where possible. Sep 19, 2017
bindtomac-bridge-2devs-httpks.ks.in Fix bridge tests - don't check slave, bridge1 should not be activated Aug 9, 2019
bindtomac-bridge-2devs-httpks.sh Share .sh test definitions in bindtomac tests where possible. Sep 19, 2017
bindtomac-bridge-2devs-pre.ks.in Merge pull request #281 from rvykydal/network-manager-assumptions-test Sep 3, 2019
bindtomac-bridge-2devs-pre.sh Share .sh test definitions in bindtomac tests where possible. Sep 19, 2017
bindtomac-bridge-httpks.ks.in Do not require default ifcfg file for bridge slaves Aug 8, 2019
bindtomac-bridge-httpks.sh Share .sh test definitions in bindtomac tests where possible. Sep 19, 2017
bindtomac-bridge-no-bootopts-net.ks.in Use repo fragment in network related kickstart tests May 3, 2019
bindtomac-bridge-no-bootopts-net.sh Share .sh test definitions in bindtomac tests where possible. Sep 19, 2017
bindtomac-bridged-bond-httpks.ks.in Use repo fragment in network related kickstart tests May 3, 2019
bindtomac-bridged-bond-httpks.sh
bindtomac-ifname-httpks.ks.in
bindtomac-ifname-httpks.sh Do not use letters in MAC to avoid fails on letter case inconsistencies Aug 21, 2019
bindtomac-network-device-default-httpks.ks.in Use repo fragment in network related kickstart tests May 3, 2019
bindtomac-network-device-default-httpks.sh Do not use KICKSTART_NAME mechanism in .sh files Aug 8, 2019
bindtomac-network-device-mac-httpks.ks.in
bindtomac-network-device-mac-httpks.sh Use variables for network device names Apr 17, 2019
bindtomac-network-device-mac-pre.ks.in Use repo fragment in network related kickstart tests May 3, 2019
bindtomac-network-device-mac-pre.sh Use variables for network device names Apr 17, 2019
bindtomac-network-device-mac.ks.in
bindtomac-network-device-mac.sh Add --bindto=mac tests. Sep 19, 2017
bindtomac-network-static-2-httpks.ks.in Use repo fragment in network related kickstart tests May 3, 2019
bindtomac-network-static-2-httpks.sh Share .sh test definitions in bindtomac tests where possible. Sep 19, 2017
bindtomac-network-static-to-dhcp-pre-single.ks.in Use repo fragment in network related kickstart tests May 3, 2019
bindtomac-network-static-to-dhcp-pre-single.sh Reuse existing .sh file in bindtomac version of a network test May 14, 2019
bindtomac-onboot-activate-httpks.ks.in Use repo fragment in network related kickstart tests May 3, 2019
bindtomac-onboot-activate-httpks.sh Share .sh test definitions in bindtomac tests where possible. Sep 19, 2017
bindtomac-onboot-bootopts-pre.ks.in Use repo fragment in network related kickstart tests May 3, 2019
bindtomac-onboot-bootopts-pre.sh Share .sh test definitions in bindtomac tests where possible. Sep 19, 2017
bindtomac-team-httpks.ks.in Use repo fragment in network related kickstart tests May 3, 2019
bindtomac-team-httpks.sh Share .sh test definitions in bindtomac tests where possible. Sep 19, 2017
bindtomac-team-pre.ks.in Use repo fragment in network related kickstart tests May 3, 2019
bindtomac-team-pre.sh Share .sh test definitions in bindtomac tests where possible. Sep 19, 2017
bond-vlan-httpks.ks.in Use repo fragment in network related kickstart tests May 3, 2019
bond-vlan-httpks.sh Use variables for network device names Apr 17, 2019
bond.ks.in Use repo fragment in network related kickstart tests May 3, 2019
bond.sh Import everything else from the anaconda kickstart_tests directory. Nov 13, 2015
bond2-httpks.ks.in Use repo fragment in network related kickstart tests May 3, 2019
bond2-httpks.sh Create a group that covers the basic installation cases Nov 28, 2019
bond2-pre.ks.in Use repo fragment in network related kickstart tests May 3, 2019
bond2-pre.sh Use variables for network device names Apr 17, 2019
bootloader-1.ks.in Use repo fragment in storage related kickstart tests May 3, 2019
bootloader-1.sh Create a group that covers the basic installation cases Nov 28, 2019
bootloader-2.ks.in Use repo fragment in storage related kickstart tests May 3, 2019
bootloader-2.sh Add tests for the bootloader Apr 12, 2018
bootloader-3.ks.in Use repo fragment in storage related kickstart tests May 3, 2019
bootloader-3.sh Add tests for the bootloader Apr 12, 2018
bootloader-4.ks.in Use repo fragment in storage related kickstart tests May 3, 2019
bootloader-4.sh Add tests for the bootloader Apr 12, 2018
bootloader-5.ks.in Use repo fragment in storage related kickstart tests May 3, 2019
bootloader-5.sh Add tests for the bootloader Apr 12, 2018
bridge-2devs-httpks.ks.in Fix bridge tests - don't check slave, bridge1 should not be activated Aug 9, 2019
bridge-2devs-httpks.sh fix bridge-2devs-httpks test Aug 8, 2019
bridge-2devs-pre.ks.in Merge pull request #281 from rvykydal/network-manager-assumptions-test Sep 3, 2019
bridge-2devs-pre.sh Share .sh test definitions in bindtomac tests where possible. Sep 19, 2017
bridge-2devs.ks.in Fix bridge tests - don't check slave, bridge1 should not be activated Aug 9, 2019
bridge-2devs.sh Use variables for network device names Apr 17, 2019
bridge-httpks.ks.in Do not require default ifcfg file for bridge slaves Aug 8, 2019
bridge-httpks.sh
bridge-no-bootopts-net.ks.in Use repo fragment in network related kickstart tests May 3, 2019
bridge-no-bootopts-net.sh Deduplicate boot options and prevent unwanted Dracut emergency shell Nov 14, 2018
bridged-bond-httpks.ks.in Use repo fragment in network related kickstart tests May 3, 2019
bridged-bond-httpks.sh Use variables for network device names Apr 17, 2019
bridged-bond-pre.ks.in Use repo fragment in network related kickstart tests May 3, 2019
bridged-bond-pre.sh Use variables for network device names Apr 17, 2019
btrfs-1.ks.in Use repo fragment in storage related kickstart tests May 3, 2019
btrfs-1.sh Run virt-copy-out with timeout. Oct 22, 2018
btrfs-2.ks.in Use repo fragment in storage related kickstart tests May 3, 2019
btrfs-2.sh Run virt-copy-out with timeout. Oct 22, 2018
clearpart-1.ks.in Use repo fragment in remaining kickstart tests May 3, 2019
clearpart-1.sh Add clearpart tests Apr 5, 2018
clearpart-2.ks.in Use repo fragment in storage related kickstart tests May 3, 2019
clearpart-2.sh Add clearpart tests Apr 5, 2018
clearpart-3.ks.in Use repo fragment in storage related kickstart tests May 3, 2019
clearpart-3.sh Create a group that covers the basic installation cases Nov 28, 2019
clearpart-4.ks.in Use repo fragment in storage related kickstart tests May 3, 2019
clearpart-4.sh Add clearpart tests Apr 5, 2018
container.ks.in Exclude systemd in the container test Aug 22, 2019
container.sh Create a group that covers the basic installation cases Nov 28, 2019
default-desktop.ks.in Add tests for default desktop and systemd target configuration Jun 24, 2019
default-desktop.sh Create a group that covers the basic installation cases Nov 28, 2019
default-fstype.ks.in Use repo fragment in storage related kickstart tests May 3, 2019
default-fstype.sh Import everything else from the anaconda kickstart_tests directory. Nov 13, 2015
default-systemd-target-gui-graphical-provides.ks.in Add tests for default desktop and systemd target configuration Jun 24, 2019
default-systemd-target-gui-graphical-provides.sh Add tests for default desktop and systemd target configuration Jun 24, 2019
default-systemd-target-gui.ks.in Add tests for default desktop and systemd target configuration Jun 24, 2019
default-systemd-target-gui.sh Add tests for default desktop and systemd target configuration Jun 24, 2019
default-systemd-target-skipx.ks.in Add tests for default desktop and systemd target configuration Jun 24, 2019
default-systemd-target-skipx.sh Add tests for default desktop and systemd target configuration Jun 24, 2019
default-systemd-target-startxonboot.ks.in Add tests for default desktop and systemd target configuration Jun 24, 2019
default-systemd-target-startxonboot.sh Add tests for default desktop and systemd target configuration Jun 24, 2019
default-systemd-target-tui-graphical-provides.ks.in Add tests for default desktop and systemd target configuration Jun 24, 2019
default-systemd-target-tui-graphical-provides.sh Add tests for default desktop and systemd target configuration Jun 24, 2019
default-systemd-target-tui.ks.in Add tests for default desktop and systemd target configuration Jun 24, 2019
default-systemd-target-tui.sh Create a group that covers the basic installation cases Nov 28, 2019
default-systemd-target-vnc-graphical-provides.ks.in Add tests for default desktop and systemd target configuration Jun 24, 2019
default-systemd-target-vnc-graphical-provides.sh Add tests for default desktop and systemd target configuration Jun 24, 2019
default-systemd-target-vnc.ks.in
default-systemd-target-vnc.sh Add tests for default desktop and systemd target configuration Jun 24, 2019
driverdisk-disk.ks.in Use repo fragment in remaining kickstart tests May 3, 2019
driverdisk-disk.sh Add mkdud.py from anaconda. Nov 13, 2015
encrypt-device.ks.in Use repo fragment in storage related kickstart tests May 3, 2019
encrypt-device.sh Run virt-copy-out with timeout. Oct 22, 2018
encrypt-swap.ks.in Use repo fragment in storage related kickstart tests May 3, 2019
encrypt-swap.sh Run virt-copy-out with timeout. Oct 22, 2018
escrow-cert.ks.in Use repo fragment in remaining kickstart tests May 3, 2019
escrow-cert.sh Run virt-copy-out with timeout. Oct 22, 2018
fedora-live-image-build.ks.in Convert the packaging tests to use %ksappend Dec 4, 2018
fedora-live-image-build.sh Add a kickstart test for fedora live image builds Aug 9, 2018
firewall-disable-with-options.ks.in Check required packages are installed for firewall and team devices Aug 14, 2019
firewall-disable-with-options.sh Improve test coverage of the firewall command Jun 28, 2019
firewall-disable.ks.in Check required packages are installed for firewall and team devices Aug 14, 2019
firewall-disable.sh Improve test coverage of the firewall command Jun 28, 2019
firewall-use-system-defaults-ignore-options.ks.in Check required packages are installed for firewall and team devices Aug 14, 2019
firewall-use-system-defaults-ignore-options.sh Improve test coverage of the firewall command Jun 28, 2019
firewall-use-system-defaults.ks.in Check required packages are installed for firewall and team devices Aug 14, 2019
firewall-use-system-defaults.sh Improve test coverage of the firewall command Jun 28, 2019
firewall.ks.in Check required packages are installed for firewall and team devices Aug 14, 2019
firewall.sh Create a group that covers the basic installation cases Nov 28, 2019
functions-proxy.sh Modify proxy-kickstart test to use squid instead of proxy.py Apr 24, 2017
functions.sh Don't use inst.noninteractive by default for now Jul 1, 2019
geolocation-off-by-default-with-ks.ks.in Add test description for geolocation test May 28, 2019
geolocation-off-by-default-with-ks.sh Add initial geolocation kickstart test Jun 6, 2017
groups-and-envs-1.ks.in Improve test description for package related tests May 28, 2019
groups-and-envs-1.sh Import everything else from the anaconda kickstart_tests directory. Nov 13, 2015
groups-and-envs-2.ks.in Convert the packaging tests to use %ksappend Dec 4, 2018
groups-and-envs-2.sh Import everything else from the anaconda kickstart_tests directory. Nov 13, 2015
groups-and-envs-3.ks.in Improve test description for package related tests May 28, 2019
groups-and-envs-3.sh Import everything else from the anaconda kickstart_tests directory. Nov 13, 2015
groups-ignoremissing.ks.in Convert the packaging tests to use %ksappend Dec 4, 2018
groups-ignoremissing.sh Improve testing of --ignoremissing Jun 4, 2018
hello-world.ks.in Add a kickstart test for the Hello World addon Aug 15, 2019
hello-world.sh Create a group that covers the basic installation cases Nov 28, 2019
hmc.ks.in Test the install method hmc with a fake support for SE/HMC Oct 16, 2017
hmc.sh Test the install method hmc with a fake support for SE/HMC Oct 16, 2017
hostname-bootopts.ks.in Use repo fragment in network related kickstart tests May 3, 2019
hostname-bootopts.sh Use variables for network device names Apr 17, 2019
hostname.ks.in
hostname.sh Create a group that covers the basic installation cases Nov 28, 2019
ibft.ks.in Use repo fragment in network related kickstart tests May 3, 2019
ibft.sh Deduplicate boot options and prevent unwanted Dracut emergency shell Nov 14, 2018
ifname-httpks.ks.in Do not use letters in MAC to avoid fails on letter case inconsistencies Aug 21, 2019
ifname-httpks.sh Do not use letters in MAC to avoid fails on letter case inconsistencies Aug 21, 2019
ignoredisk-1.ks.in Use repo fragment in storage related kickstart tests May 3, 2019
ignoredisk-1.sh Add test for ignoredisk --only-use Apr 5, 2018
ignoredisk-2.ks.in Use repo fragment in storage related kickstart tests May 3, 2019
ignoredisk-2.sh Add test for ignoredisk --only-use Apr 5, 2018
initial-setup-default.ks.in Add kickstart tests for Initial Setup configuration May 17, 2019
initial-setup-default.sh Create a group that covers the basic installation cases Nov 28, 2019
initial-setup-disable.ks.in Add kickstart tests for Initial Setup configuration May 17, 2019
initial-setup-disable.sh Test post_install_tools_disabled is set correctly May 30, 2019
initial-setup-enable.ks.in Add kickstart tests for Initial Setup configuration May 17, 2019
initial-setup-enable.sh
initial-setup-gui.ks.in Add kickstart tests for Initial Setup configuration May 17, 2019
initial-setup-gui.sh Test post_install_tools_disabled is set correctly May 30, 2019
initial-setup-reconfig.ks.in Add kickstart tests for Initial Setup configuration May 17, 2019
initial-setup-reconfig.sh Test post_install_tools_disabled is set correctly May 30, 2019
iscsi-bind.ks.in Use repo fragment in storage related kickstart tests May 3, 2019
iscsi-bind.sh Disable iscsi-bind test. Jun 6, 2018
iscsi.ks.in Use repo fragment in storage related kickstart tests May 3, 2019
iscsi.sh Deduplicate boot options and prevent unwanted Dracut emergency shell Nov 14, 2018
keyboard-addtnl.ks.in Use repo fragment in remaining kickstart tests May 3, 2019
keyboard-addtnl.sh Import everything else from the anaconda kickstart_tests directory. Nov 13, 2015
keyboard.ks.in Use repo fragment in remaining kickstart tests May 3, 2019
keyboard.sh Create a group that covers the basic installation cases Nov 28, 2019
ks-include-post.ks Import everything else from the anaconda kickstart_tests directory. Nov 13, 2015
ks-include.ks.in
ks-include.sh Import everything else from the anaconda kickstart_tests directory. Nov 13, 2015
kstests-in-cloud.sh linchpin: Remove generated key from cloud when destroying target Sep 26, 2019
lang.ks.in Use repo fragment in remaining kickstart tests May 3, 2019
lang.sh Create a group that covers the basic installation cases Nov 28, 2019
liveimg.ks.in Add name of the test for easier orientation Aug 24, 2016
liveimg.sh Skip failing tests because of bad Jenkins settings Aug 23, 2016
lvm-1.ks.in Use repo fragment in storage related kickstart tests May 3, 2019
lvm-1.sh Create a group that covers the basic installation cases Nov 28, 2019
lvm-2.ks.in Use repo fragment in storage related kickstart tests May 3, 2019
lvm-2.sh Import everything else from the anaconda kickstart_tests directory. Nov 13, 2015
lvm-cache-1.ks.in Use repo fragment in storage related kickstart tests May 3, 2019
lvm-cache-1.sh Import everything else from the anaconda kickstart_tests directory. Nov 13, 2015
lvm-cache-2.ks.in Use repo fragment in storage related kickstart tests May 3, 2019
lvm-cache-2.sh Import everything else from the anaconda kickstart_tests directory. Nov 13, 2015
lvm-luks-1.ks.in Use repo fragment in storage related kickstart tests May 3, 2019
lvm-luks-1.sh Disable some of the tests for LUKS Sep 19, 2018
lvm-luks-2.ks.in Use repo fragment in storage related kickstart tests May 3, 2019
lvm-luks-2.sh Disable some of the tests for LUKS Sep 19, 2018
lvm-luks-3.ks.in Use repo fragment in storage related kickstart tests May 3, 2019
lvm-luks-3.sh Disable some of the tests for LUKS Sep 19, 2018
lvm-luks-4.ks.in Use repo fragment in storage related kickstart tests May 3, 2019
lvm-luks-4.sh Disable some of the tests for LUKS Sep 19, 2018
lvm-raid-1.ks.in Use repo fragment in storage related kickstart tests May 3, 2019
lvm-raid-1.sh Import everything else from the anaconda kickstart_tests directory. Nov 13, 2015
lvm-thinp-1.ks.in Use repo fragment in storage related kickstart tests May 3, 2019
lvm-thinp-1.sh Create a group that covers the basic installation cases Nov 28, 2019
lvm-thinp-2.ks.in Use repo fragment in storage related kickstart tests May 3, 2019
lvm-thinp-2.sh Import everything else from the anaconda kickstart_tests directory. Nov 13, 2015
module-enable-many.ks.in Fix module installation tests May 28, 2019
module-enable-many.sh Add tests for module installation via kickstart Aug 9, 2018
module-enable-one-module-multiple-streams.ks.in Convert the packaging tests to use %ksappend Dec 4, 2018
module-enable-one-module-multiple-streams.sh Add tests for module installation via kickstart Aug 9, 2018
module-enable-one-module-multiple-times.ks.in Convert the packaging tests to use %ksappend Dec 4, 2018
module-enable-one-module-multiple-times.sh Add tests for module installation via kickstart Aug 9, 2018
module-enable-one-stream-install-different-stream.ks.in Fix module installation tests May 28, 2019
module-enable-one-stream-install-different-stream.sh Fix module installation tests May 28, 2019
module-ignoremissing.ks.in Convert the packaging tests to use %ksappend Dec 4, 2018
module-ignoremissing.sh Add tests for module installation via kickstart Aug 9, 2018
module-install-1.ks.in Convert the packaging tests to use %ksappend Dec 4, 2018
module-install-1.sh Add tests for module installation via kickstart Aug 9, 2018
module-install-2.ks.in Convert the packaging tests to use %ksappend Dec 4, 2018
module-install-2.sh Add tests for module installation via kickstart Aug 9, 2018
module-install-3.ks.in Convert the packaging tests to use %ksappend Dec 4, 2018
module-install-3.sh Add tests for module installation via kickstart Aug 9, 2018
module-install-4.ks.in Convert the packaging tests to use %ksappend Dec 4, 2018
module-install-4.sh Adjust tests to module availability changes Oct 16, 2018
module-install-many.ks.in Fix module installation tests May 28, 2019
module-install-many.sh Add tests for module installation via kickstart Aug 9, 2018
module-install-no-stream-no-profile.ks.in Fix module installation tests May 28, 2019
module-install-no-stream-no-profile.sh Add tests for module installation via kickstart Aug 9, 2018
module-install-one-module-multiple-profiles.ks.in Fix module installation tests May 28, 2019
module-install-one-module-multiple-profiles.sh Add tests for module installation via kickstart Aug 9, 2018
module-install-one-module-multiple-streams-and-profiles.ks.in Convert the packaging tests to use %ksappend Dec 4, 2018
module-install-one-module-multiple-streams-and-profiles.sh Add tests for module installation via kickstart Aug 9, 2018
module-install-one-module-multiple-streams.ks.in Convert the packaging tests to use %ksappend Dec 4, 2018
module-install-one-module-multiple-streams.sh Add tests for module installation via kickstart Aug 9, 2018
module-install-without-profile.ks.in Fix module installation tests May 28, 2019
module-install-without-profile.sh Add tests for module installation via kickstart Aug 9, 2018
module-non-default-profiles.ks.in Fix module installation tests May 28, 2019
module-non-default-profiles.sh Add tests for module installation via kickstart Aug 9, 2018
mountpoint-assignment-1.ks.in Use repo fragment in storage related kickstart tests May 3, 2019
mountpoint-assignment-1.sh Create a group that covers the basic installation cases Nov 28, 2019
mountpoint-assignment-2.ks.in Use repo fragment in storage related kickstart tests May 3, 2019
mountpoint-assignment-2.sh Add tests for the mount command Jun 26, 2018
network-autoconnections-dhcpall-httpks.ks.in Adapt to change of NM autoconnections upon initramfs connections (#17… Oct 7, 2019
network-autoconnections-dhcpall-httpks.sh Add tests for NetworkManager assumptions. Aug 30, 2019
network-autoconnections-httpks.ks.in Rename and improve functions for NM autoconnections detection Aug 30, 2019
network-autoconnections-httpks.sh Add tests for NetworkManager assumptions. Aug 30, 2019
network-bootopts-static-legacy-httpks.ks.in Use repo fragment in storage related kickstart tests May 3, 2019
network-bootopts-static-legacy-httpks.sh Use variables for network device names Apr 17, 2019
network-device-bootif-httpks.ks.in Use repo fragment in network related kickstart tests May 3, 2019
network-device-bootif-httpks.sh Use variables for network device names Apr 17, 2019
network-device-default-httpks.ks.in Do not use KICKSTART_NAME mechanism in .sh files Aug 8, 2019
network-device-default-httpks.sh Do not use KICKSTART_NAME mechanism in .sh files Aug 8, 2019
network-device-default-ksdevice-httpks.ks.in Use repo fragment in network related kickstart tests May 3, 2019
network-device-default-ksdevice-httpks.sh Use variables for network device names Apr 17, 2019
network-device-default-ksdevice-pre.ks.in Use repo fragment in network related kickstart tests May 3, 2019
network-device-default-ksdevice-pre.sh Use variables for network device names Apr 17, 2019
network-device-default-pre-hostname.ks.in Use repo fragment in network related kickstart tests May 3, 2019
network-device-default-pre-hostname.sh Add test for network --device not specified. Nov 9, 2016
network-device-default.ks.in Use repo fragment in network related kickstart tests May 3, 2019
network-device-default.sh Add test for network --device not specified. Nov 9, 2016
network-device-mac-httpks.ks.in Use repo fragment in network related kickstart tests May 3, 2019
network-device-mac-httpks.sh Use variables for network device names Apr 17, 2019
network-device-mac-pre.ks.in Do not use letters in MAC to avoid fails on letter case inconsistencies Aug 21, 2019
network-device-mac-pre.sh Do not use letters in MAC to avoid fails on letter case inconsistencies Aug 21, 2019
network-device-mac.ks.in Use repo fragment in network related kickstart tests May 3, 2019
network-device-mac.sh Network test to specify --device with MAC May 24, 2017
network-device-names.cfg Adapt to the network devices naming scheme provided by updated libvirt May 23, 2019
network-missing-ifcfg-httpks.ks.in network: use detection of autoconnections instead of os name Aug 30, 2019
network-missing-ifcfg-httpks.sh Use variables for network device names Apr 17, 2019
network-noipv4-httpks.ks.in Use repo fragment in network related kickstart tests May 3, 2019
network-noipv4-httpks.sh Use variables for network device names Apr 17, 2019
network-noipv4-pre.ks.in Use repo fragment in network related kickstart tests May 3, 2019
network-noipv4-pre.sh Use variables for network device names Apr 17, 2019
network-prefixdevname.ks.in Use repo fragment in network related kickstart tests May 3, 2019
network-prefixdevname.sh Use common variable for default boot options May 13, 2019
network-static-2-httpks.ks.in Use repo fragment in network related kickstart tests May 3, 2019
network-static-2-httpks.sh Create a group that covers the basic installation cases Nov 28, 2019
network-static-2-pre.ks.in network: use detection of autoconnections instead of os name Aug 30, 2019
network-static-2-pre.sh Use variables for network device names Apr 17, 2019
network-static-httpks.ks.in Use repo fragment in network related kickstart tests May 3, 2019
network-static-httpks.sh Deduplicate boot options and prevent unwanted Dracut emergency shell Nov 14, 2018
network-static-to-dhcp-pre-single.ks.in Use repo fragment in network related kickstart tests May 3, 2019
network-static-to-dhcp-pre-single.sh Reuse existing .sh file in bindtomac version of a network test May 14, 2019
network-static-to-dhcp-pre.ks.in Use repo fragment in network related kickstart tests May 3, 2019
network-static-to-dhcp-pre.sh Use variables for network device names Apr 17, 2019
network-static.ks.in Use repo fragment in network related kickstart tests May 3, 2019
network-static.sh Deduplicate boot options and prevent unwanted Dracut emergency shell Nov 14, 2018
nfs-repo-and-addon.ks.in Add name of the test for easier orientation Aug 24, 2016
nfs-repo-and-addon.sh Add mkdud.py from anaconda. Nov 13, 2015
nosave-1.ks.in Use repo fragment in remaining kickstart tests May 3, 2019
nosave-1.sh Create a group that covers the basic installation cases Nov 28, 2019
nosave-2.ks.in Use repo fragment in remaining kickstart tests May 3, 2019
nosave-2.sh Deduplicate boot options and prevent unwanted Dracut emergency shell Nov 14, 2018
nosave-3.ks.in Use repo fragment in remaining kickstart tests May 3, 2019
nosave-3.sh Deduplicate boot options and prevent unwanted Dracut emergency shell Nov 14, 2018
ntp-nontp-without-chrony-gui.ks.in Use repo fragment in network related kickstart tests May 3, 2019
ntp-nontp-without-chrony-gui.sh
ntp-nontp-without-chrony.ks.in Use repo fragment in network related kickstart tests May 3, 2019
ntp-nontp-without-chrony.sh Add ntp tests Feb 25, 2016
ntp-pools.ks.in Use repo fragment in network related kickstart tests May 3, 2019
ntp-pools.sh Create a group that covers the basic installation cases Nov 28, 2019
ntp-with-nontp-gui.ks.in Use repo fragment in network related kickstart tests May 3, 2019
ntp-with-nontp-gui.sh Add ntp tests Feb 25, 2016
ntp-with-nontp.ks.in Use repo fragment in network related kickstart tests May 3, 2019
ntp-with-nontp.sh Add ntp tests Feb 25, 2016
ntp-without-chrony-gui.ks.in Use repo fragment in network related kickstart tests May 3, 2019
ntp-without-chrony-gui.sh Add ntp tests Feb 25, 2016
ntp-without-chrony.ks.in Use repo fragment in network related kickstart tests May 3, 2019
ntp-without-chrony.sh Add ntp tests Feb 25, 2016
onboot-activate-httpks.ks.in Use repo fragment in network related kickstart tests May 3, 2019
onboot-activate-httpks.sh Use variables for network device names Apr 17, 2019
onboot-activate.ks.in network: use detection of autoconnections instead of os name Aug 30, 2019
onboot-activate.sh Create a group that covers the basic installation cases Nov 28, 2019
onboot-bootopts-pre.ks.in Use repo fragment in network related kickstart tests May 3, 2019
onboot-bootopts-pre.sh Deduplicate boot options and prevent unwanted Dracut emergency shell Nov 14, 2018
packages-and-groups-1.ks.in Improve test description for package related tests May 28, 2019
packages-and-groups-1.sh Import everything else from the anaconda kickstart_tests directory. Nov 13, 2015
packages-and-groups-ignoremissing.ks.in Convert the packaging tests to use %ksappend Dec 4, 2018
packages-and-groups-ignoremissing.sh Create a group that covers the basic installation cases Nov 28, 2019
packages-default.ks.in Improve test description for package related tests May 28, 2019
packages-default.sh Import everything else from the anaconda kickstart_tests directory. Nov 13, 2015
packages-excludedocs.ks.in Improve test description for package related tests May 28, 2019
packages-excludedocs.sh Import everything else from the anaconda kickstart_tests directory. Nov 13, 2015
packages-ignoremissing.ks.in Convert the packaging tests to use %ksappend Dec 4, 2018
packages-ignoremissing.sh Import everything else from the anaconda kickstart_tests directory. Nov 13, 2015
packages-instlangs-1.ks.in Improve test description for package related tests May 28, 2019
packages-instlangs-1.sh Import everything else from the anaconda kickstart_tests directory. Nov 13, 2015
packages-instlangs-2.ks.in Improve test description for package related tests May 28, 2019
packages-instlangs-2.sh Remove the locale check from packages-instlangs-2 Mar 29, 2016
packages-instlangs-3.ks.in Improve test description for package related tests May 28, 2019
packages-instlangs-3.sh Import everything else from the anaconda kickstart_tests directory. Nov 13, 2015
packages-multilib.ks.in Improve test description for package related tests May 28, 2019
packages-multilib.sh
packages-weakdeps.ks.in Improve test description for package related tests May 28, 2019
packages-weakdeps.sh Add a test for %packages --excludeWeakdeps (#21) May 17, 2016
part-luks-1.ks.in Use repo fragment in storage related kickstart tests May 3, 2019
part-luks-1.sh Disable some of the tests for LUKS Sep 19, 2018
part-luks-2.ks.in Use repo fragment in storage related kickstart tests May 3, 2019
part-luks-2.sh Disable some of the tests for LUKS Sep 19, 2018
part-luks-3.ks.in Use repo fragment in storage related kickstart tests May 3, 2019
part-luks-3.sh Disable some of the tests for LUKS Sep 19, 2018
part-luks-4.ks.in Use repo fragment in storage related kickstart tests May 3, 2019
part-luks-4.sh Disable some of the tests for LUKS Sep 19, 2018
post-lib-network.sh Remove misleading warning about broken test. Sep 5, 2019
post-nochroot-lib-network.sh Merge pull request #281 from rvykydal/network-manager-assumptions-test Sep 3, 2019
pre-install.ks.in Use repo fragment in remaining kickstart tests May 3, 2019
pre-install.sh Import everything else from the anaconda kickstart_tests directory. Nov 13, 2015
proxy-auth.ks.in Modify proxy-auth test to use new squid proxy Apr 24, 2017
proxy-auth.sh Modify proxy-auth test to use new squid proxy Apr 24, 2017
proxy-cmdline.ks.in Use repo fragment in network related kickstart tests May 3, 2019
proxy-cmdline.sh Deduplicate boot options and prevent unwanted Dracut emergency shell Nov 14, 2018
proxy-kickstart.ks.in
proxy-kickstart.sh Load functions-proxy in proxy-kickstart Oct 12, 2017
raid-1.ks.in Use repo fragment in storage related kickstart tests May 3, 2019
raid-1.sh Create a group that covers the basic installation cases Nov 28, 2019
raid-luks-1.ks.in Use repo fragment in storage related kickstart tests May 3, 2019
raid-luks-1.sh Disable some of the tests for LUKS Sep 19, 2018
raid-luks-2.ks.in Use repo fragment in storage related kickstart tests May 3, 2019
raid-luks-2.sh Disable some of the tests for LUKS Sep 19, 2018
raid-luks-3.ks.in Use repo fragment in storage related kickstart tests May 3, 2019
raid-luks-3.sh Disable some of the tests for LUKS Sep 19, 2018
raid-luks-4.ks.in Use repo fragment in storage related kickstart tests May 3, 2019
raid-luks-4.sh Disable some of the tests for LUKS Sep 19, 2018
reqpart.ks.in Use repo fragment in storage related kickstart tests May 3, 2019
reqpart.sh Create a group that covers the basic installation cases Nov 28, 2019
rootpw-basic.ks.in Expand root and user account creation tests May 3, 2019
rootpw-basic.sh Create a group that covers the basic installation cases Nov 28, 2019
rootpw-crypted.ks.in Expand root and user account creation tests May 3, 2019
rootpw-crypted.sh Expand root and user account creation tests May 3, 2019
rootpw-lock-no-password.ks.in Expand root and user account creation tests May 3, 2019
rootpw-lock-no-password.sh Expand root and user account creation tests May 3, 2019
rootpw-lock.ks.in Expand root and user account creation tests May 3, 2019
rootpw-lock.sh Create a group that covers the basic installation cases Nov 28, 2019
screen-access-advanced.ks.in Use repo fragment in remaining kickstart tests May 3, 2019
screen-access-advanced.sh Add advanced screen access manager test. Feb 2, 2017
screen-access.ks.in Use repo fragment in remaining kickstart tests May 3, 2019
screen-access.sh Run virt-copy-out with timeout. Oct 22, 2018
selinux-disabled.ks.in
selinux-disabled.sh Import everything else from the anaconda kickstart_tests directory. Nov 13, 2015
selinux-enforcing.ks.in Use repo fragment in remaining kickstart tests May 3, 2019
selinux-enforcing.sh
selinux-permissive.ks.in Use repo fragment in remaining kickstart tests May 3, 2019
selinux-permissive.sh Import everything else from the anaconda kickstart_tests directory. Nov 13, 2015
services.ks.in Use repo fragment in remaining kickstart tests May 3, 2019
services.sh Create a group that covers the basic installation cases Nov 28, 2019
snapshot-post.ks.in Use repo fragment in storage related kickstart tests May 3, 2019
snapshot-post.sh Create a group that covers the basic installation cases Nov 28, 2019
snapshot-pre.ks.in Use repo fragment in storage related kickstart tests May 3, 2019
snapshot-pre.sh Add pre-installation snapshot test Feb 15, 2019
team-httpks.ks.in Check required packages are installed for firewall and team devices Aug 14, 2019
team-httpks.sh Use variables for network device names Apr 17, 2019
team-pre.ks.in Check required packages are installed for firewall and team devices Aug 14, 2019
team-pre.sh Create a group that covers the basic installation cases Nov 28, 2019
team.ks.in Check required packages are installed for firewall and team devices Aug 14, 2019
team.sh Use variables for network device names Apr 17, 2019
timezoneLOCAL.ks.in Use repo fragment in remaining kickstart tests May 3, 2019
timezoneLOCAL.sh Import everything else from the anaconda kickstart_tests directory. Nov 13, 2015
timezoneUTC.ks.in Use repo fragment in remaining kickstart tests May 3, 2019
timezoneUTC.sh Import everything else from the anaconda kickstart_tests directory. Nov 13, 2015
tmpfs-fixed_size.ks.in Use repo fragment in remaining kickstart tests May 3, 2019
tmpfs-fixed_size.sh Run virt-copy-out with timeout. Oct 22, 2018
unified-cdrom.ks.in Add unified tests from CDROM May 21, 2019
unified-cdrom.sh Add unified tests from CDROM May 21, 2019
unified-cmdline.ks.in Add test by inst.repo from unified iso test May 21, 2019
unified-cmdline.sh Add test by inst.repo from unified iso test May 21, 2019
unified-harddrive.ks.in Add unified test to install from the harddrive May 21, 2019
unified-harddrive.sh Add unified test to install from the harddrive May 21, 2019
unified-nfs.ks.in Add unified test from NFS repository May 21, 2019
unified-nfs.sh Add unified test from NFS repository May 21, 2019
unified.ks.in Add unified installation test from http server May 21, 2019
unified.sh Enable unified test for RHEL-8 May 21, 2019
user-locked-root-locked-admin.ks.in Expand root and user account creation tests May 3, 2019
user-locked-root-locked-admin.sh Expand root and user account creation tests May 3, 2019
user-multiple-wheel-no-root.ks.in Expand root and user account creation tests May 3, 2019
user-multiple-wheel-no-root.sh Expand root and user account creation tests May 3, 2019
user-multiple.ks.in Expand root and user account creation tests May 3, 2019
user-multiple.sh Create a group that covers the basic installation cases Nov 28, 2019
user-no-wheel-no-root.ks.in Expand root and user account creation tests May 3, 2019
user-no-wheel-no-root.sh Expand root and user account creation tests May 3, 2019
user-single.ks.in Expand root and user account creation tests May 3, 2019
user-single.sh Expand root and user account creation tests May 3, 2019
user-wheel-no-root.ks.in Expand root and user account creation tests May 3, 2019
user-wheel-no-root.sh Expand root and user account creation tests May 3, 2019
validate-lib-initial-setup.sh Test post_install_tools_disabled is set correctly May 30, 2019
validate-lib-services.sh Add tests for default desktop and systemd target configuration Jun 24, 2019
vlan-httpks.ks.in Use repo fragment in network related kickstart tests May 3, 2019
vlan-httpks.sh Use variables for network device names Apr 17, 2019
vlan-pre.ks.in Use repo fragment in network related kickstart tests May 3, 2019
vlan-pre.sh Do not set inst.ks in non-httpks test (vlan-pre) May 13, 2019

README.rst

Kickstart Test Documentation

Authors: Chris Lumens <clumens@redhat.com> Martin Kolman <mkolman@redhat.com>

Chapter 0. How to run a single kickstart test manually

What are kickstart tests ?

Kickstart tests are one way of testing the Anaconda Installer, by running an automated installation based on a kickstart file and checking the results.

Setting up

First you need to install the needed dependencies:

  • livemedia-creator
  • Python bindings for libvirt
  • libguestfs-tools
  • virt-install
  • parallel

On Fedora the dependencies can be installed with dnf like this:

sudo dnf install lorax-lmc-virt libguestfs-tools python3-libvirt virt-install parallel

Or with the install_dependencies_fedora.sh script:

./scripts/install_dependencies_fedora.sh

You also need to start libvirt service to be able to use virt-install:

sudo systemctl start libvirtd

Then clone the kickstart-tests repository:

git clone https://github.com/rhinstaller/kickstart-tests

And you also need a rawhide boot.iso (provided you want to run the kickstart tests on Rawhide):

wget http://download.eng.brq.redhat.com/pub/fedora/linux/development/latest-rawhide/Server/x86_64/os/images/boot.iso

Please note that due to the dynamic nature of Rawhide the boot.iso might not always work.

Running a test

Lets just run a simple test to check that everything works correctly – for example the simple tmpfs kickstart command test. First change directory to the kickstart-tests folder:

cd kickstart-tests

Then run the single test:

scripts/run_kickstart_tests.sh -i ../boot.iso -k 2 tmpfs-fixed_size.sh

About the parameters:

-i sets the path to the boot.iso
-k sets if logs from the run should be kept, as for the values:
  • 0 = keep nothing (the default)
  • 1 = keep log files
  • 2 = keep log files and disk images (will take up a lot of space)
-u use updates image given by URL
-b use additional installer boot options

And at the end name of the kickstart test script to run.

The -k 2 option is especially useful if you are doing more complicated post-install test validation in you kickstart test script that needs to check contents of the disk image/images.

The results

If everything worked out, you should be greeted by a successful test result similar to this one:

===========================================================================
tmpfs-fixed_size.ks on computer.hostname
===========================================================================
PYTHONPATH=
...................................................
Domain LiveOS-1710fd05-898c-4cf2-b4e1-67d40aaf5f3d has been undefined

Pool kstest-tmpfs-fixed_size.RI8HWHMF destroyed

Pool kstest-tmpfs-fixed_size.RI8HWHMF has been undefined


RESULT:tmpfs-fixed_size:SUCCESS
2017-06-06 16:46:34,477: install_log = /var/tmp/kstest-tmpfs-fixed_size.RI8HWHMF/virt-install.log
2017-06-06 16:46:34,513: Running virt-install.
2017-06-06 16:46:35,903: Processing logs from ('127.0.0.1', 53130)
2017-06-06 16:55:06,646: Install finished. Or at least virt shut down.
2017-06-06 16:55:06,650: Shutting down LiveOS-1710fd05-898c-4cf2-b4e1-67d40aaf5f3d
error: Failed to destroy domain LiveOS-1710fd05-898c-4cf2-b4e1-67d40aaf5f3d
error: Requested operation is not valid: the domain is not running
2017-06-06 16:55:06,777: Shutting down log processing
2017-06-06 16:55:06,778: unmounting the iso
2017-06-06 16:55:06,812: Disk Image install successful
2017-06-06 16:55:06,812: SUMMARY
2017-06-06 16:55:06,812: -------
2017-06-06 16:55:06,813: Logs are in /var/tmp/kstest-tmpfs-fixed_size.RI8HWHMF
2017-06-06 16:55:06,813: Disk image(s) at /var/tmp/kstest-tmpfs-fixed_size.RI8HWHMF/disk-a.img,cache=unsafe
2017-06-06 16:55:06,813: Results are in /var/tmp/kstest-tmpfs-fixed_size.RI8HWHMF

Chapter 1. A test definition

A kickstart test consists of two files:

  • <TEST_NAME>.sh - a file defining installer boot options and procedures to set up test-specific environment (eg http server for providing the kickstart file, special virtual networks, iscsi targets for test, etc). This file name is used to specify the kickstart test to be run.

  • <TEST_NAME>.ks.in - the kickstart file belonging to the test, containing variables that would be preprocessed (as described in following chapters) to generate the actual kicstart file passed to installer. By default, the file with the same name as the .sh file is used. This can be overriden (eg to share kickstarts among tests that differ only in boot options) in .sh file using KICKSTART_NAME=<ANOTHER_TEST_NAME> variable. For example by defining

    KICKSTART_NAME=network-device-default
    

    in network-device-default-httpks.sh test, the test will use kickstart network-device-default.ks.in.

    NOTE: possible redefinintions of KICKSTART_NAME value in files included in the the .sh file (eg to reuse .sh file of another test) are ignored.

    NOTE: The fragments (%ksappend) mechanism does not work together with KICKSTART_NAME setting (%ksappend is not applied).

Chapter 2. Environment Variables

A lot of tests need configuration. This is information that is required by tests but typically cannot be hard coded. Typically, this configuration is a package repository needed for testing an installation method. It is up to the user running the tests to do whatever local setup is required and set these configuration parameters.

Configuration parameters come from the environment. All environment variables starting with KSTEST_ will be grabbed by run_kickstart_tests.sh and automatically substituted in to the kickstart file before it is run. In the kickstart file, the target of a substitution is any string starting with @KSTEST_ and ending with another @. This is similar to how the autotools work.

Configuration parameters may also come from special shell scripts that are sourced during run_kickstart_tests.sh. It will first look at the defaults in scripts/defaults.sh. It will then look at any user-specific defaults in ~/.kstests.defaults.sh. These take precedence over the local environment. Environment variables set on the command line have the highest priority.

Note that not every test needs every setting. You can determine which are required for the test you are running by simply running "grep KSTEST_" on it.

The following environment variables are currently supported:

  • KSTEST_HTTP_ADDON_REPO - This variable is a URL that points to an addon repository. It is only needed if you are testing that functionality, not if you are testing something else that just happens to use the url command. It will be set up for you automatically with a web server and auto-generated packages. There is no need to specify this variable.
  • KSTEST_LIVEIMG_CHECKSUM - This variable is the checksum of the image given by KSTEST_LIVEIMG_URL. It is only needed if you are testing the liveimg command. It will be set up for you automatically. There is no need to specify this variable.
  • KSTEST_LIVEIMG_URL - This variable is a URL that points to an install.img that is used by the liveimg command. It is only needed if you are testing that command. It will be set up for you automatically based on the boot.iso specified on the command line. There is no need to specify this variable.
  • KSTEST_NFS_ADDON_REPO - This variable points to an NFS server and path where an addon repository can be found. This is different from KSTEST_NFS_PATH and KSTEST_NFS_SERVER. Those are used with the nfs command. This variable is used with the repo command, and its format is different. Here, it takes the form of nfs://<server>:<path>. See the kickstart documentation. You will need to set up your own NFS server.
  • KSTEST_NFS_PATH - This variable points to the path of a package repository on the NFS server given by KSTEST_NFS_SERVER. It is only needed if you are testing the nfs command and installation method. You will need to set up your own NFS server.
  • KSTEST_NFS_SERVER - This variable points at an NFS server, and is only needed if you are testing the nfs command and installation method. You will need to set up your own NFS server.
  • KSTEST_OSTREE_REPO - This variable points at the atomic repo, and is only needed if you are testing the ostreesetup command and installation method. You will need to set up your own repo.
  • KSTEST_FTP_URL - This variable is used by FTP tests. It is set to a Fedora mirror in Texas, USA in scripts/defaults.sh. This is potentially slow and you may want to point it at a local mirror.
  • KSTEST_URL - This variable is used by all tests that don't test installation method and instead just use the default. It is set to the Fedora mirrors in scripts/defaults.sh. This is potentially slow if you are running a lot of tests, and you may want to point it at a local mirror.
  • KSTEST_OS_NAME - This variable is read from the input boot.iso and it contains a name of the OS. Possible names can be "fedora", "rhel".
  • KSTEST_OS_VERSION - This variable is read from the input boot.iso and it contains version of the OS. For example Fedora 26 have KSTEST_OS_VERSION = 26 and RHEL 7.3 have KSTEST_OS_VERSION = 7.3 .

Chapter 3. Sharing common code in kickstart (.ks.in) files

To include kickstart or code snippets into test kickstart file during its pre-processing (just after KSTEST_ variables are substituted) use @KSINCLUDE@ <FILE_NAME> directive.

For example to include post-lib-network.sh which is a library with functions for checking test results of network tests, include it in ks.in test file:

%post

@KSINCLUDE@ post-lib-network.sh

check_device_connected ens4 yes

%end

The including is flat, only one level is supported. Do not use @KSINCLUDE@ in included files, the results could be unexpected.

Chapter 4. Networking tests

This section contains tips for creating kicstart tests for network configuration. In some test cases special or additional network devices and virtual networks for test/virt-install instance are defined in prepare() and prepare_network() functions of .sh test file.

Network device names

Network device names used in guest may differ for tested os variants (eg RHEL vs Fedora). Actual naming scheme to be used by the tests is defined in network-device-names.cfg snippet which is sourced both in .sh files for boot options network configuration (via functions.sh) and .ks.in files for kickstart network configuration (via @KSTEST_ substitution). The variables used in .sh and .ks.in files have the form of KSTEST_NETDEV<INDEX> where <INDEX> is the numerical index of the device, starting from 1.

Static IP configuration

For tests using static IP configuration, separate NATed network is created in prepare() function for each test so IP address collisions between tests running in parallel are prevented. Static configuration generated during network creation is referred to in kickstart using @KSTEST_ substitiution described above.

Allocating device MAC addresses

For tests requiring definition of MAC address assigned to the device the address is statically assigned in prepare_network() function. For kvm/qemu virtual machines it must start with 52:54:00. These addresses must be unique among are tests which are supposed to be run in parallel. There is currently no mechanism to ensure this automatically. When adding a new test it is possible to look for already assigned addresses by running this command:

find *.sh -executable | xargs grep "network=default,mac=52:54:00:" | sort -k3

httpks tests

The tests containing httpks in its name are fetching kickstart from https server (prepare() function of .sh test file) instead of including it via initrd inject into initramfs - which is the default approach used in tests. The reason is that using the inject method the network devices are not initialized in time of parsing kickstart and obtaining information from sysfs (mostly getting hw address) fails which results in incomplete ifcfg file generated.

You can’t perform that action at this time.