Kickstart-driven tests for the Anaconda installer
Shell Python Awk
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
ansible ansible: dump git repo and branch info used for test in test_parameters Aug 9, 2018
docs Add support for creating libvirt network for static configuration tests. Nov 11, 2016
lib Modify proxy-auth test to use new squid proxy Apr 24, 2017
linchpin Merge pull request #163 from rvykydal/linchpin-script Aug 6, 2018
scripts Fail runs on modularity related errors Aug 9, 2018
.gitignore Add __pycache__ to gitignore May 28, 2018
README.rst Add a script for installing dependencies May 22, 2018
WORKLIST And add --fsoptions for btrfs, too. Feb 11, 2016
autopart-encrypted-1.ks.in Add tests for autopart --encrypted May 18, 2018
autopart-encrypted-1.sh Add tests for autopart --encrypted May 18, 2018
autopart-encrypted-2.ks.in Add tests for autopart --encrypted May 18, 2018
autopart-encrypted-2.sh Add tests for autopart --encrypted May 18, 2018
autopart-encrypted-3.ks.in Add tests for autopart --encrypted May 18, 2018
autopart-encrypted-3.sh Add tests for autopart --encrypted May 18, 2018
autopart-fstype.ks.in Add tests for autopart --fstype and --nohome Jul 10, 2017
autopart-fstype.sh Merge pull request #100 from poncovka/master-skip Apr 9, 2018
autopart-nohome.ks.in Add tests for autopart --fstype and --nohome Jul 10, 2017
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 Add --bindto=mac tests. Sep 19, 2017
bindtomac-bond-vlan-httpks.sh Share .sh test definitions in bindtomac tests where possible. Sep 19, 2017
bindtomac-bond2-httpks.ks.in Add --bindto=mac tests. Sep 19, 2017
bindtomac-bond2-httpks.sh Share .sh test definitions in bindtomac tests where possible. Sep 19, 2017
bindtomac-bond2-pre.ks.in Add --bindto=mac tests. Sep 19, 2017
bindtomac-bond2-pre.sh Share .sh test definitions in bindtomac tests where possible. Sep 19, 2017
bindtomac-bridge-2devs-httpks.ks.in Add --bindto=mac tests. Sep 19, 2017
bindtomac-bridge-2devs-httpks.sh Share .sh test definitions in bindtomac tests where possible. Sep 19, 2017
bindtomac-bridge-2devs-pre.ks.in Add --bindto=mac tests. Sep 19, 2017
bindtomac-bridge-2devs-pre.sh Share .sh test definitions in bindtomac tests where possible. Sep 19, 2017
bindtomac-bridge-httpks.ks.in Add --bindto=mac tests. Sep 19, 2017
bindtomac-bridge-httpks.sh Share .sh test definitions in bindtomac tests where possible. Sep 19, 2017
bindtomac-bridge-no-bootopts-net.ks.in Fix bridge-no-bootopts-net tests Jun 7, 2018
bindtomac-bridge-no-bootopts-net.sh Share .sh test definitions in bindtomac tests where possible. Sep 19, 2017
bindtomac-bridged-bond-httpks.ks.in network lib: replace and remove unused functions Oct 5, 2017
bindtomac-bridged-bond-httpks.sh Share .sh test definitions in bindtomac tests where possible. Sep 19, 2017
bindtomac-ifname-httpks.ks.in Add --bindto=mac tests. Sep 19, 2017
bindtomac-ifname-httpks.sh Use inject_ks_to_initrd in tests Jul 12, 2018
bindtomac-network-device-default-httpks.ks.in Add --bindto=mac tests. Sep 19, 2017
bindtomac-network-device-default-httpks.sh Share .sh test definitions in bindtomac tests where possible. Sep 19, 2017
bindtomac-network-device-mac-httpks.ks.in Add --bindto=mac tests. Sep 19, 2017
bindtomac-network-device-mac-httpks.sh Use inject_ks_to_initrd in tests Jul 12, 2018
bindtomac-network-device-mac-pre.ks.in Fix bindtomac-network-device-mac-pre Oct 13, 2017
bindtomac-network-device-mac-pre.sh Add --bindto=mac tests. Sep 19, 2017
bindtomac-network-device-mac.ks.in Add --bindto=mac tests. Sep 19, 2017
bindtomac-network-device-mac.sh Add --bindto=mac tests. Sep 19, 2017
bindtomac-network-static-2-httpks.ks.in Add --bindto=mac tests. Sep 19, 2017
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 Add --bindto=mac tests. Sep 19, 2017
bindtomac-network-static-to-dhcp-pre-single.sh Add --bindto=mac tests. Sep 19, 2017
bindtomac-onboot-activate-httpks.ks.in Add --bindto=mac tests. Sep 19, 2017
bindtomac-onboot-activate-httpks.sh Share .sh test definitions in bindtomac tests where possible. Sep 19, 2017
bindtomac-onboot-bootopts-pre.ks.in Add --bindto=mac tests. Sep 19, 2017
bindtomac-onboot-bootopts-pre.sh Share .sh test definitions in bindtomac tests where possible. Sep 19, 2017
bindtomac-team-httpks.ks.in Add --bindto=mac tests. Sep 19, 2017
bindtomac-team-httpks.sh Share .sh test definitions in bindtomac tests where possible. Sep 19, 2017
bindtomac-team-pre.ks.in Add --bindto=mac tests. Sep 19, 2017
bindtomac-team-pre.sh Share .sh test definitions in bindtomac tests where possible. Sep 19, 2017
bond-vlan-httpks.ks.in Add checking of connections in GUI to network tests. May 18, 2017
bond-vlan-httpks.sh Use inject_ks_to_initrd in tests Jul 12, 2018
bond.ks.in Add support for including shared code into ks.in files Jan 19, 2017
bond.sh Import everything else from the anaconda kickstart_tests directory. Nov 13, 2015
bond2-httpks.ks.in Add checking of connections in GUI to network tests. May 18, 2017
bond2-httpks.sh Use inject_ks_to_initrd in tests Jul 12, 2018
bond2-pre.ks.in Add checking of connections in GUI to network tests. May 18, 2017
bond2-pre.sh Share .sh test definitions in bindtomac tests where possible. Sep 19, 2017
bootloader-1.ks.in Add tests for the bootloader Apr 12, 2018
bootloader-1.sh Add tests for the bootloader Apr 12, 2018
bootloader-2.ks.in Add tests for the bootloader Apr 12, 2018
bootloader-2.sh Add tests for the bootloader Apr 12, 2018
bootloader-3.ks.in Add tests for the bootloader Apr 12, 2018
bootloader-3.sh Add tests for the bootloader Apr 12, 2018
bootloader-4.ks.in Add tests for the bootloader Apr 12, 2018
bootloader-4.sh Add tests for the bootloader Apr 12, 2018
bootloader-5.ks.in Add tests for the bootloader Apr 12, 2018
bootloader-5.sh Add tests for the bootloader Apr 12, 2018
bridge-2devs-httpks.ks.in Add httpks version of bridge-2devs Sep 19, 2017
bridge-2devs-httpks.sh Fix bridge-2devs-httpks file permissions. Jul 20, 2018
bridge-2devs-pre.ks.in Add checking of connections in GUI to network tests. May 18, 2017
bridge-2devs-pre.sh Share .sh test definitions in bindtomac tests where possible. Sep 19, 2017
bridge-2devs.ks.in Add checking of connections in GUI to network tests. May 18, 2017
bridge-2devs.sh Add bridge tests Feb 1, 2017
bridge-httpks.ks.in Add checking of connections in GUI to network tests. May 18, 2017
bridge-httpks.sh Use inject_ks_to_initrd in tests Jul 12, 2018
bridge-no-bootopts-net.ks.in Fix bridge-no-bootopts-net tests Jun 7, 2018
bridge-no-bootopts-net.sh Share .sh test definitions in bindtomac tests where possible. Sep 19, 2017
bridged-bond-httpks.ks.in network lib: replace and remove unused functions Oct 5, 2017
bridged-bond-httpks.sh Use inject_ks_to_initrd in tests Jul 12, 2018
bridged-bond-pre.ks.in network lib: replace and remove unused functions Oct 5, 2017
bridged-bond-pre.sh Add bridged bond tests. Jan 19, 2017
btrfs-1.ks.in Add name of the test for easier orientation Aug 24, 2016
btrfs-1.sh Import everything else from the anaconda kickstart_tests directory. Nov 13, 2015
btrfs-2.ks.in Add name of the test for easier orientation Aug 24, 2016
btrfs-2.sh Import everything else from the anaconda kickstart_tests directory. Nov 13, 2015
clearpart-1.ks.in Add clearpart tests Apr 5, 2018
clearpart-1.sh Add clearpart tests Apr 5, 2018
clearpart-2.ks.in Add clearpart tests Apr 5, 2018
clearpart-2.sh Add clearpart tests Apr 5, 2018
clearpart-3.ks.in Add clearpart tests Apr 5, 2018
clearpart-3.sh Add clearpart tests Apr 5, 2018
clearpart-4.ks.in Add clearpart tests Apr 5, 2018
clearpart-4.sh Add clearpart tests Apr 5, 2018
container.ks.in Add name of the test for easier orientation Aug 24, 2016
container.sh Import everything else from the anaconda kickstart_tests directory. Nov 13, 2015
default-fstype.ks.in Update tests for rhel having xfs as default Jan 30, 2017
default-fstype.sh Import everything else from the anaconda kickstart_tests directory. Nov 13, 2015
driverdisk-disk.ks.in Merge pull request #35 from jkonecny12/master-fix-driverdisk-disk Sep 1, 2016
driverdisk-disk.sh Add mkdud.py from anaconda. Nov 13, 2015
encrypt-device.ks.in Results has to be in /home/RESULT for encrypt-device Oct 16, 2017
encrypt-device.sh Import everything else from the anaconda kickstart_tests directory. Nov 13, 2015
encrypt-swap.ks.in Add name of the test for easier orientation Aug 24, 2016
encrypt-swap.sh Add a test for different cases of encrypted swap (#22) Jun 7, 2016
escrow-cert.ks.in Add name of the test for easier orientation Aug 24, 2016
escrow-cert.sh Import everything else from the anaconda kickstart_tests directory. Nov 13, 2015
fedora-live-image-build.ks.in Add a kickstart test for fedora live image builds Aug 9, 2018
fedora-live-image-build.sh Add a kickstart test for fedora live image builds Aug 9, 2018
firewall.ks.in Add name of the test for easier orientation Aug 24, 2016
firewall.sh Import everything else from the anaconda kickstart_tests directory. Nov 13, 2015
functions-proxy.sh Modify proxy-kickstart test to use squid instead of proxy.py Apr 24, 2017
functions.sh Add inject_ks_to_initrd shell function Jul 12, 2018
geolocation-off-by-default-with-ks.ks.in Add initial geolocation kickstart test Jun 6, 2017
geolocation-off-by-default-with-ks.sh Add initial geolocation kickstart test Jun 6, 2017
groups-and-envs-1.ks.in Add name of the test for easier orientation Aug 24, 2016
groups-and-envs-1.sh Import everything else from the anaconda kickstart_tests directory. Nov 13, 2015
groups-and-envs-2.ks.in Fix --optional testing in groups-and-envs-2 test Jun 1, 2018
groups-and-envs-2.sh Import everything else from the anaconda kickstart_tests directory. Nov 13, 2015
groups-and-envs-3.ks.in Add name of the test for easier orientation Aug 24, 2016
groups-and-envs-3.sh Import everything else from the anaconda kickstart_tests directory. Nov 13, 2015
groups-ignoremissing.ks.in Improve testing of --ignoremissing Jun 4, 2018
groups-ignoremissing.sh Improve testing of --ignoremissing Jun 4, 2018
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 Add test for hostname defined via boot options. May 15, 2017
hostname-bootopts.sh Add test for hostname defined via boot options. May 15, 2017
hostname.ks.in Add test for hostname defined via boot options. May 15, 2017
hostname.sh Fix hostname test on RHEL system Jan 17, 2017
ibft.ks.in Add tests for ibft Feb 6, 2017
ibft.sh Use inject_ks_to_initrd in tests Jul 12, 2018
ifname-httpks.ks.in Update ifname-httpks test. Feb 28, 2018
ifname-httpks.sh Use inject_ks_to_initrd in tests Jul 12, 2018
ignoredisk-1.ks.in Add test for ignoredisk --only-use Apr 5, 2018
ignoredisk-1.sh Add test for ignoredisk --only-use Apr 5, 2018
ignoredisk-2.ks.in Add test for ignoredisk --only-use Apr 5, 2018
ignoredisk-2.sh Add test for ignoredisk --only-use Apr 5, 2018
iscsi-bind.ks.in Add iscsi test and test for iscsi nic binding Jan 12, 2017
iscsi-bind.sh Disable iscsi-bind test. Jun 6, 2018
iscsi.ks.in Add iscsi test and test for iscsi nic binding Jan 12, 2017
iscsi.sh Disable ibft, iscsi and iscsi-bind tests. May 21, 2018
keyboard-addtnl.ks.in Add name of the test for easier orientation Aug 24, 2016
keyboard-addtnl.sh Import everything else from the anaconda kickstart_tests directory. Nov 13, 2015
keyboard.ks.in Add name of the test for easier orientation Aug 24, 2016
keyboard.sh Import everything else from the anaconda kickstart_tests directory. Nov 13, 2015
ks-include-post.ks Import everything else from the anaconda kickstart_tests directory. Nov 13, 2015
ks-include.ks.in Add name of the test for easier orientation Aug 24, 2016
ks-include.sh Import everything else from the anaconda kickstart_tests directory. Nov 13, 2015
lang.ks.in Add name of the test for easier orientation Aug 24, 2016
lang.sh Import everything else from the anaconda kickstart_tests directory. Nov 13, 2015
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 Add name of the test for easier orientation Aug 24, 2016
lvm-1.sh Import everything else from the anaconda kickstart_tests directory. Nov 13, 2015
lvm-2.ks.in Add name of the test for easier orientation Aug 24, 2016
lvm-2.sh Import everything else from the anaconda kickstart_tests directory. Nov 13, 2015
lvm-cache-1.ks.in Merge pull request #33 from jkonecny12/master-add-ks-name Aug 25, 2016
lvm-cache-1.sh Import everything else from the anaconda kickstart_tests directory. Nov 13, 2015
lvm-cache-2.ks.in Merge pull request #33 from jkonecny12/master-add-ks-name Aug 25, 2016
lvm-cache-2.sh Import everything else from the anaconda kickstart_tests directory. Nov 13, 2015
lvm-raid-1.ks.in Merge pull request #33 from jkonecny12/master-add-ks-name Aug 25, 2016
lvm-raid-1.sh Import everything else from the anaconda kickstart_tests directory. Nov 13, 2015
lvm-thinp-1.ks.in Add name of the test for easier orientation Aug 24, 2016
lvm-thinp-1.sh Import everything else from the anaconda kickstart_tests directory. Nov 13, 2015
lvm-thinp-2.ks.in Add name of the test for easier orientation Aug 24, 2016
lvm-thinp-2.sh Import everything else from the anaconda kickstart_tests directory. Nov 13, 2015
module-enable-many.ks.in Add tests for module installation via kickstart Aug 9, 2018
module-enable-many.sh Add tests for module installation via kickstart Aug 9, 2018
module-enable-one-module-multiple-streams.ks.in Add tests for module installation via kickstart Aug 9, 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 Add tests for module installation via kickstart Aug 9, 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 Add tests for module installation via kickstart Aug 9, 2018
module-enable-one-stream-install-different-stream.sh Add tests for module installation via kickstart Aug 9, 2018
module-ignoremissing.ks.in Add tests for module installation via kickstart Aug 9, 2018
module-ignoremissing.sh Add tests for module installation via kickstart Aug 9, 2018
module-install-1.ks.in Add tests for module installation via kickstart Aug 9, 2018
module-install-1.sh Add tests for module installation via kickstart Aug 9, 2018
module-install-2.ks.in Add tests for module installation via kickstart Aug 9, 2018
module-install-2.sh Add tests for module installation via kickstart Aug 9, 2018
module-install-3.ks.in Add tests for module installation via kickstart Aug 9, 2018
module-install-3.sh Add tests for module installation via kickstart Aug 9, 2018
module-install-4.ks.in Add tests for module installation via kickstart Aug 9, 2018
module-install-4.sh Add tests for module installation via kickstart Aug 9, 2018
module-install-many.ks.in Add tests for module installation via kickstart Aug 9, 2018
module-install-many.sh Add tests for module installation via kickstart Aug 9, 2018
module-install-no-stream-no-profile.ks.in Add tests for module installation via kickstart Aug 9, 2018
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 Add tests for module installation via kickstart Aug 9, 2018
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 Add tests for module installation via kickstart Aug 9, 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 Add tests for module installation via kickstart Aug 9, 2018
module-install-one-module-multiple-streams.sh Add tests for module installation via kickstart Aug 9, 2018
module-install-without-profile.ks.in Add tests for module installation via kickstart Aug 9, 2018
module-install-without-profile.sh Add tests for module installation via kickstart Aug 9, 2018
module-non-default-profiles.ks.in Add tests for module installation via kickstart Aug 9, 2018
module-non-default-profiles.sh Add tests for module installation via kickstart Aug 9, 2018
mountpoint-assignment-1.ks.in Wait for a while after parted is called Jul 31, 2018
mountpoint-assignment-1.sh Add tests for the mount command Jun 26, 2018
mountpoint-assignment-2.ks.in Wait for a while after parted is called Jul 31, 2018
mountpoint-assignment-2.sh Add tests for the mount command Jun 26, 2018
network-bootopts-static-legacy-httpks.ks.in network: add test for legacy (rhel6) boot options Jun 6, 2018
network-bootopts-static-legacy-httpks.sh Use inject_ks_to_initrd in tests Jul 12, 2018
network-device-bootif-httpks.ks.in network: add test for --device=bootif Jun 1, 2017
network-device-bootif-httpks.sh Use inject_ks_to_initrd in tests Jul 12, 2018
network-device-default-httpks.sh Use inject_ks_to_initrd in tests Jul 12, 2018
network-device-default-ksdevice-httpks.ks.in Add checking of connections in GUI to network tests. May 18, 2017
network-device-default-ksdevice-httpks.sh Use inject_ks_to_initrd in tests Jul 12, 2018
network-device-default-ksdevice-pre.ks.in Add checking of connections in GUI to network tests. May 18, 2017
network-device-default-ksdevice-pre.sh Add test for network --device not specified. Nov 9, 2016
network-device-default-pre-hostname.ks.in Add checking of connections in GUI to network tests. May 18, 2017
network-device-default-pre-hostname.sh Add test for network --device not specified. Nov 9, 2016
network-device-default.ks.in Add checking of connections in GUI to network tests. May 18, 2017
network-device-default.sh Add test for network --device not specified. Nov 9, 2016
network-device-mac-httpks.ks.in network lib: replace and remove unused functions Oct 5, 2017
network-device-mac-httpks.sh Use inject_ks_to_initrd in tests Jul 12, 2018
network-device-mac-pre.ks.in network lib: replace and remove unused functions Oct 5, 2017
network-device-mac-pre.sh Add httpks and pre version of network MAC tests May 26, 2017
network-device-mac.ks.in Network test to specify --device with MAC May 24, 2017
network-device-mac.sh Network test to specify --device with MAC May 24, 2017
network-missing-ifcfg-httpks.ks.in network lib: add function to check binding of connection/ifcfg file Sep 19, 2017
network-missing-ifcfg-httpks.sh Use inject_ks_to_initrd in tests Jul 12, 2018
network-noipv4-httpks.ks.in network lib: add function to check binding of connection/ifcfg file Sep 19, 2017
network-noipv4-httpks.sh Use inject_ks_to_initrd in tests Jul 12, 2018
network-noipv4-pre.ks.in network lib: add function to check binding of connection/ifcfg file Sep 19, 2017
network-noipv4-pre.sh Add network --noipv4 tests Nov 24, 2016
network-static-2-httpks.ks.in Add more comprehensive network tests for boot opts (dhcp) -> static (… May 24, 2017
network-static-2-httpks.sh Use inject_ks_to_initrd in tests Jul 12, 2018
network-static-2-pre.ks.in Add more comprehensive network tests for boot opts (dhcp) -> static (… May 24, 2017
network-static-2-pre.sh Fix cleanup on network-static-2-pre test Jun 2, 2017
network-static-httpks.ks.in Add checking of connections in GUI to network tests. May 18, 2017
network-static-httpks.sh Use inject_ks_to_initrd in tests Jul 12, 2018
network-static-to-dhcp-pre-single.ks.in network lib: add function to check binding of connection/ifcfg file Sep 19, 2017
network-static-to-dhcp-pre-single.sh Add network tests for changing static ipv4 config to dhcp Apr 5, 2017
network-static-to-dhcp-pre.ks.in network lib: add function to check binding of connection/ifcfg file Sep 19, 2017
network-static-to-dhcp-pre.sh Add network tests for changing static ipv4 config to dhcp Apr 5, 2017
network-static.ks.in Add checking of connections in GUI to network tests. May 18, 2017
network-static.sh Add support for creating libvirt network for static configuration tests. Nov 11, 2016
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 Add tests for nosave option. Nov 10, 2016
nosave-1.sh Add tests for nosave option. Nov 10, 2016
nosave-2.ks.in Add tests for nosave option. Nov 10, 2016
nosave-2.sh Add tests for nosave option. Nov 10, 2016
nosave-3.ks.in Add tests for nosave option. Nov 10, 2016
nosave-3.sh Add tests for nosave option. Nov 10, 2016
ntp-nontp-without-chrony-gui.ks.in Add name of the test for easier orientation Aug 24, 2016
ntp-nontp-without-chrony-gui.sh Add ntp tests Feb 25, 2016
ntp-nontp-without-chrony.ks.in Add name of the test for easier orientation Aug 24, 2016
ntp-nontp-without-chrony.sh Add ntp tests Feb 25, 2016
ntp-pools.ks.in Add name of the test for easier orientation Aug 24, 2016
ntp-pools.sh Import everything else from the anaconda kickstart_tests directory. Nov 13, 2015
ntp-with-nontp-gui.ks.in Add name of the test for easier orientation Aug 24, 2016
ntp-with-nontp-gui.sh Add ntp tests Feb 25, 2016
ntp-with-nontp.ks.in Add name of the test for easier orientation Aug 24, 2016
ntp-with-nontp.sh Add ntp tests Feb 25, 2016
ntp-without-chrony-gui.ks.in Add name of the test for easier orientation Aug 24, 2016
ntp-without-chrony-gui.sh Add ntp tests Feb 25, 2016
ntp-without-chrony.ks.in Add name of the test for easier orientation Aug 24, 2016
ntp-without-chrony.sh Add ntp tests Feb 25, 2016
onboot-activate-httpks.ks.in Add checking of connections in GUI to network tests. May 18, 2017
onboot-activate-httpks.sh Use inject_ks_to_initrd in tests Jul 12, 2018
onboot-activate.ks.in Merge pull request #84 from rvykydal/master-network-check-gui-connect… Aug 21, 2017
onboot-activate.sh Add test for network --onboot, --activate and --no-activate options. Oct 19, 2016
onboot-bootopts-pre.ks.in network: add test for onboot policy May 29, 2017
onboot-bootopts-pre.sh Share .sh test definitions in bindtomac tests where possible. Sep 19, 2017
packages-and-groups-1.ks.in Report all errors for failed package installation tests Jun 1, 2018
packages-and-groups-1.sh Import everything else from the anaconda kickstart_tests directory. Nov 13, 2015
packages-and-groups-ignoremissing.ks.in Improve testing of --ignoremissing Jun 4, 2018
packages-and-groups-ignoremissing.sh Improve testing of --ignoremissing Jun 4, 2018
packages-default.ks.in Add name of the test for easier orientation Aug 24, 2016
packages-default.sh Import everything else from the anaconda kickstart_tests directory. Nov 13, 2015
packages-excludedocs.ks.in Fix the packages-excludedocs testcase Jun 14, 2018
packages-excludedocs.sh Import everything else from the anaconda kickstart_tests directory. Nov 13, 2015
packages-ignoremissing.ks.in Improve testing of --ignoremissing Jun 4, 2018
packages-ignoremissing.sh Import everything else from the anaconda kickstart_tests directory. Nov 13, 2015
packages-instlangs-1.ks.in Add name of the test for easier orientation Aug 24, 2016
packages-instlangs-1.sh Import everything else from the anaconda kickstart_tests directory. Nov 13, 2015
packages-instlangs-2.ks.in Add name of the test for easier orientation Aug 24, 2016
packages-instlangs-2.sh Remove the locale check from packages-instlangs-2 Mar 29, 2016
packages-instlangs-3.ks.in Add name of the test for easier orientation Aug 24, 2016
packages-instlangs-3.sh Import everything else from the anaconda kickstart_tests directory. Nov 13, 2015
packages-multilib.ks.in Add name of the test for easier orientation Aug 24, 2016
packages-multilib.sh Import everything else from the anaconda kickstart_tests directory. Nov 13, 2015
packages-weakdeps.ks.in Add name of the test for easier orientation Aug 24, 2016
packages-weakdeps.sh Add a test for %packages --excludeWeakdeps (#21) May 17, 2016
post-lib-network.sh hostname tests: do not check static hostname via hostnamectl in chroot Aug 7, 2018
post-nochroot-lib-network.sh Fix network GUI spoke test. Jan 31, 2018
pre-install.ks.in Fix pre-install kickstart test Sep 26, 2016
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 Modify proxy-cmdline test to the new squid proxy server Apr 24, 2017
proxy-cmdline.sh Modify proxy-cmdline test to the new squid proxy server Apr 24, 2017
proxy-kickstart.ks.in Modify proxy-kickstart test to use squid instead of proxy.py Apr 24, 2017
proxy-kickstart.sh Load functions-proxy in proxy-kickstart Oct 12, 2017
raid-1.ks.in Add name of the test for easier orientation Aug 24, 2016
raid-1.sh Import everything else from the anaconda kickstart_tests directory. Nov 13, 2015
reqpart.ks.in Update tests for rhel having xfs as default Jan 30, 2017
reqpart.sh Import everything else from the anaconda kickstart_tests directory. Nov 13, 2015
rootpw.ks.in Add name of the test for easier orientation Aug 24, 2016
rootpw.sh Import everything else from the anaconda kickstart_tests directory. Nov 13, 2015
run_tests_in_cloud.sh Add configuration check to linchpin script Aug 3, 2018
screen-access-advanced.ks.in Fix screen-access and screen-access-advanced tests Oct 16, 2017
screen-access-advanced.sh Add advanced screen access manager test. Feb 2, 2017
screen-access.ks.in Add screen access manager test. Jan 24, 2017
screen-access.sh Fix screen-access and screen-access-advanced tests Oct 16, 2017
selinux-disabled.ks.in Add name of the test for easier orientation Aug 24, 2016
selinux-disabled.sh Import everything else from the anaconda kickstart_tests directory. Nov 13, 2015
selinux-enforcing.ks.in Add name of the test for easier orientation Aug 24, 2016
selinux-enforcing.sh Import everything else from the anaconda kickstart_tests directory. Nov 13, 2015
selinux-permissive.ks.in Add name of the test for easier orientation Aug 24, 2016
selinux-permissive.sh Import everything else from the anaconda kickstart_tests directory. Nov 13, 2015
services.ks.in Fix services KS test Sep 20, 2016
services.sh Import everything else from the anaconda kickstart_tests directory. Nov 13, 2015
team-httpks.ks.in Add team-httpks test Sep 19, 2017
team-httpks.sh Use inject_ks_to_initrd in tests Jul 12, 2018
team-pre.ks.in Add checking of connections in GUI to network tests. May 18, 2017
team-pre.sh Share .sh test definitions in bindtomac tests where possible. Sep 19, 2017
team.ks.in Add checking of connections in GUI to network tests. May 18, 2017
team.sh Fix sharing of .sh file among team and team-pre tests Jan 19, 2017
timezoneLOCAL.ks.in Fix timezone tests (hwclock options change) Aug 7, 2018
timezoneLOCAL.sh Import everything else from the anaconda kickstart_tests directory. Nov 13, 2015
timezoneUTC.ks.in Fix timezone tests (hwclock options change) Aug 7, 2018
timezoneUTC.sh Import everything else from the anaconda kickstart_tests directory. Nov 13, 2015
tmpfs-fixed_size.ks.in Add name of the test for easier orientation Aug 24, 2016
tmpfs-fixed_size.sh Import everything else from the anaconda kickstart_tests directory. Nov 13, 2015
user.ks.in Add name of the test for easier orientation Aug 24, 2016
user.sh Import everything else from the anaconda kickstart_tests directory. Nov 13, 2015
vlan.ks.in Use saving folder /var/log/anaconda/ in vlan test Aug 25, 2016
vlan.sh Import everything else from the anaconda kickstart_tests directory. Nov 13, 2015

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.

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.

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.