mirror of
https://github.com/rocky-linux/os-autoinst-distri-rocky.git
synced 2024-12-22 10:48:30 +00:00
Upgrade tests: Run FreeIPA webUI and password change modules
Summary: This just adds the FreeIPA web UI and password change test modules to the FreeIPA upgrade test (client end). It's useful to check out these features too. We don't need to separate these into separate jobs, as we're not trying to fill out different matrix checkboxes here, we just want to know whether everything works. Test Plan: Run the test, see that the modules work properly. I was actually expecting this to fail given the issues with the upgrade on the server end, but it seems to pass. Reviewers: jsedlak, jskladan Reviewed By: jsedlak Subscribers: tflink Differential Revision: https://phab.qa.fedoraproject.org/D1207
This commit is contained in:
parent
25b910135b
commit
a29875a2ff
@ -2245,14 +2245,14 @@
|
||||
],
|
||||
},
|
||||
{
|
||||
name => "upgrade_realmd_join_sssd",
|
||||
name => "upgrade_realmd_client",
|
||||
settings => [
|
||||
{ key => "ROOT_PASSWORD", value => "weakpassword" },
|
||||
{ key => "HDD_1", value => "disk_f%CURRREL%_server_3_x86_64.img" },
|
||||
{ key => "UPGRADE", value => "1" },
|
||||
{ key => "TEST_TARGET", value => "COMPOSE" },
|
||||
{ key => "PREUPGRADE", value => "realmd_join_sssd" },
|
||||
{ key => "POSTINSTALL", value => "freeipa_client" },
|
||||
{ key => "POSTINSTALL", value => "freeipa_webui freeipa_password_change freeipa_client" },
|
||||
{ key => "PARALLEL_WITH", value => "upgrade_server_domain_controller" },
|
||||
{ key => "USER_LOGIN", value => "false" },
|
||||
{ key => "GRUB_POSTINSTALL", value => "net.ifnames=0 biosdevname=0" },
|
||||
|
@ -6,6 +6,11 @@ use freeipa;
|
||||
|
||||
sub run {
|
||||
my $self = shift;
|
||||
# On the upgrade path, we don't have firefox / X installed yet
|
||||
if (get_var("UPGRADE")) {
|
||||
assert_script_run 'dnf -y groupinstall "base-x"', 300;
|
||||
assert_script_run 'dnf -y install firefox', 120;
|
||||
}
|
||||
# we're restarting firefox (instead of using the same one from
|
||||
# realmd_join_cockpit) so Firefox's trusted CA store refreshes and
|
||||
# it trusts the web server cert
|
||||
|
Loading…
Reference in New Issue
Block a user