1
0
mirror of https://pagure.io/fedora-qa/os-autoinst-distri-fedora.git synced 2024-12-22 18:33:07 +00:00
os-autoinst-distri-fedora/needles/anaconda/install_source
Adam Williamson 0da6652287 add NFS tests (and DHCP/DNS in the support server)
Summary:
Set up the support server to provide DHCP/DNS functionality and
an NFS server, providing a kickstart. Add a kickstart test just
like the other root-user-crypted-net kickstart tests except it
gets the kickstart from the support server via NFS. Also add NFS
repository tests and a second support server for Server-dvd-iso
flavor: this test must run on that flavor to ensure that packages
are actually available. The support server just mounts the
attached 'DVD' and exports it via NFS.

Note we don't need to do anything clever to avoid IP conflicts
between the two support servers, because os-autoinst-openvswitch
ensures each worker group is on its own VLAN.

As part of adding the NFS repo tests, I did a bit of cleanup,
moving little things we were repeating a lot into anacondatest,
and sharing the 'check if the repo was used' logic between all
the tests (by making it into a test step that's loaded for all
of them). I also simplified the 'was repo used' checks a bit,
it seems silly to run a 'grep' command inside the VM then have
os-autoinst do a grep on the output (which is effectively what
we were doing before), instead we'll just use a single grep
within the VM, and clean up the messy quoting/escaping a bit.

Test Plan:
Run all tests - at least all repository tests - and
check they work (make sure the tests are actually still sane,
not just that they pass). I've done runs of all the repo tests
and they look good to me, but please double-check. I'm currently
re-running the whole 24-20160609.n.0 test on staging with these
changes.

Reviewers: jskladan, garretraziel

Reviewed By: garretraziel

Subscribers: tflink

Differential Revision: https://phab.qadevel.cloud.fedoraproject.org/D888
2016-06-13 08:42:30 -07:00
..
http_selected-cantarell17.json add NFS tests (and DHCP/DNS in the support server) 2016-06-13 08:42:30 -07:00
http_selected-cantarell17.png Organize needles to directories (step 2/2) 2016-05-13 13:43:31 +02:00
http_selected-cantarell20.json add NFS tests (and DHCP/DNS in the support server) 2016-06-13 08:42:30 -07:00
http_selected-cantarell20.png Organize needles to directories (step 2/2) 2016-05-13 13:43:31 +02:00
http_selected-freetype262.json add NFS tests (and DHCP/DNS in the support server) 2016-06-13 08:42:30 -07:00
http_selected-freetype262.png Organize needles to directories (step 2/2) 2016-05-13 13:43:31 +02:00
http_selected.json add NFS tests (and DHCP/DNS in the support server) 2016-06-13 08:42:30 -07:00
http_selected.png Organize needles to directories (step 2/2) 2016-05-13 13:43:31 +02:00
https_selected.json add NFS tests (and DHCP/DNS in the support server) 2016-06-13 08:42:30 -07:00
https_selected.png Organize needles to directories (step 2/2) 2016-05-13 13:43:31 +02:00
nfs_selected.json add NFS tests (and DHCP/DNS in the support server) 2016-06-13 08:42:30 -07:00
nfs_selected.png add NFS tests (and DHCP/DNS in the support server) 2016-06-13 08:42:30 -07:00
on_the_network-freetype262.json Organize needles to directories (step 2/2) 2016-05-13 13:43:31 +02:00
on_the_network-freetype262.png Organize needles to directories (step 2/2) 2016-05-13 13:43:31 +02:00
on_the_network.json Organize needles to directories (step 2/2) 2016-05-13 13:43:31 +02:00
on_the_network.png Organize needles to directories (step 2/2) 2016-05-13 13:43:31 +02:00
repo_select_mirrorlist-freetype262.json Organize needles to directories (step 2/2) 2016-05-13 13:43:31 +02:00
repo_select_mirrorlist-freetype262.png Organize needles to directories (step 2/2) 2016-05-13 13:43:31 +02:00
repo_select_mirrorlist-gtk3195.json Organize needles to directories (step 2/2) 2016-05-13 13:43:31 +02:00
repo_select_mirrorlist-gtk3195.png Organize needles to directories (step 2/2) 2016-05-13 13:43:31 +02:00
repo_select_mirrorlist-gtk3198.json Organize needles to directories (step 2/2) 2016-05-13 13:43:31 +02:00
repo_select_mirrorlist-gtk3198.png Organize needles to directories (step 2/2) 2016-05-13 13:43:31 +02:00
repo_select_mirrorlist.json Organize needles to directories (step 2/2) 2016-05-13 13:43:31 +02:00
repo_select_mirrorlist.png Organize needles to directories (step 2/2) 2016-05-13 13:43:31 +02:00