mirror of
https://github.com/rocky-linux/os-autoinst-distri-rocky.git
synced 2024-12-18 09:08:29 +00:00
commit
c313b9d9f2
@ -1,6 +0,0 @@
|
|||||||
{
|
|
||||||
"project_id" : "os-autoinst-distri-fedora",
|
|
||||||
"conduit_uri" : "https://phab.qa.fedoraproject.org",
|
|
||||||
"arc.land.onto.default" : "master",
|
|
||||||
"arc.feature.start.default" : "master"
|
|
||||||
}
|
|
@ -42,7 +42,7 @@ sub start_webui {
|
|||||||
# https://bugzilla.redhat.com/show_bug.cgi?id=1439429
|
# https://bugzilla.redhat.com/show_bug.cgi?id=1439429
|
||||||
assert_script_run "sed -i -e 's,enable_xauth=1,enable_xauth=0,g' /usr/bin/startx";
|
assert_script_run "sed -i -e 's,enable_xauth=1,enable_xauth=0,g' /usr/bin/startx";
|
||||||
disable_firefox_studies;
|
disable_firefox_studies;
|
||||||
type_string "startx /usr/bin/firefox -width 1024 -height 768 https://ipa001.test.openqa.fedoraproject.org\n";
|
type_string "startx /usr/bin/firefox -width 1024 -height 768 https://ipa001.test.openqa.rockylinux.org\n";
|
||||||
assert_screen ["freeipa_webui_login", $user_screen], 60;
|
assert_screen ["freeipa_webui_login", $user_screen], 60;
|
||||||
wait_still_screen(stilltime => 5, similarity_level => 45);
|
wait_still_screen(stilltime => 5, similarity_level => 45);
|
||||||
# softfail on kerberos ticket bugs meaning we get auto-logged in
|
# softfail on kerberos ticket bugs meaning we get auto-logged in
|
||||||
|
File diff suppressed because it is too large
Load Diff
@ -1,481 +0,0 @@
|
|||||||
{
|
|
||||||
"Products": {
|
|
||||||
"fedora-updates-container-aarch64-*": {
|
|
||||||
"arch": "aarch64",
|
|
||||||
"distri": "fedora",
|
|
||||||
"flavor": "updates-container",
|
|
||||||
"settings": {},
|
|
||||||
"version": "*"
|
|
||||||
},
|
|
||||||
"fedora-updates-container-ppc64le-*": {
|
|
||||||
"arch": "ppc64le",
|
|
||||||
"distri": "fedora",
|
|
||||||
"flavor": "updates-container",
|
|
||||||
"settings": {},
|
|
||||||
"version": "*"
|
|
||||||
},
|
|
||||||
"fedora-updates-container-x86_64-*": {
|
|
||||||
"arch": "x86_64",
|
|
||||||
"distri": "fedora",
|
|
||||||
"flavor": "updates-container",
|
|
||||||
"settings": {},
|
|
||||||
"version": "*"
|
|
||||||
},
|
|
||||||
"fedora-updates-everything-boot-iso-x86_64-*": {
|
|
||||||
"arch": "x86_64",
|
|
||||||
"distri": "fedora",
|
|
||||||
"flavor": "updates-everything-boot-iso",
|
|
||||||
"settings": {},
|
|
||||||
"version": "*"
|
|
||||||
},
|
|
||||||
"fedora-updates-kde-x86_64-*": {
|
|
||||||
"arch": "x86_64",
|
|
||||||
"distri": "fedora",
|
|
||||||
"flavor": "updates-kde",
|
|
||||||
"settings": {
|
|
||||||
"DESKTOP": "kde"
|
|
||||||
},
|
|
||||||
"version": "*"
|
|
||||||
},
|
|
||||||
"fedora-updates-server-aarch64-*": {
|
|
||||||
"arch": "aarch64",
|
|
||||||
"distri": "fedora",
|
|
||||||
"flavor": "updates-server",
|
|
||||||
"settings": {},
|
|
||||||
"version": "*"
|
|
||||||
},
|
|
||||||
"fedora-updates-server-ppc64le-*": {
|
|
||||||
"arch": "ppc64le",
|
|
||||||
"distri": "fedora",
|
|
||||||
"flavor": "updates-server",
|
|
||||||
"settings": {},
|
|
||||||
"version": "*"
|
|
||||||
},
|
|
||||||
"fedora-updates-server-upgrade-aarch64-*": {
|
|
||||||
"arch": "aarch64",
|
|
||||||
"distri": "fedora",
|
|
||||||
"flavor": "updates-server-upgrade",
|
|
||||||
"settings": {},
|
|
||||||
"version": "*"
|
|
||||||
},
|
|
||||||
"fedora-updates-server-upgrade-ppc64le-*": {
|
|
||||||
"arch": "ppc64le",
|
|
||||||
"distri": "fedora",
|
|
||||||
"flavor": "updates-server-upgrade",
|
|
||||||
"settings": {},
|
|
||||||
"version": "*"
|
|
||||||
},
|
|
||||||
"fedora-updates-server-upgrade-x86_64-*": {
|
|
||||||
"arch": "x86_64",
|
|
||||||
"distri": "fedora",
|
|
||||||
"flavor": "updates-server-upgrade",
|
|
||||||
"settings": {},
|
|
||||||
"version": "*"
|
|
||||||
},
|
|
||||||
"fedora-updates-server-x86_64-*": {
|
|
||||||
"arch": "x86_64",
|
|
||||||
"distri": "fedora",
|
|
||||||
"flavor": "updates-server",
|
|
||||||
"settings": {},
|
|
||||||
"version": "*"
|
|
||||||
},
|
|
||||||
"fedora-updates-workstation-live-iso-x86_64-*": {
|
|
||||||
"arch": "x86_64",
|
|
||||||
"distri": "fedora",
|
|
||||||
"flavor": "updates-workstation-live-iso",
|
|
||||||
"settings": {
|
|
||||||
"DESKTOP": "gnome",
|
|
||||||
"LIVE": "1",
|
|
||||||
"PACKAGE_SET": "default"
|
|
||||||
},
|
|
||||||
"version": "*"
|
|
||||||
},
|
|
||||||
"fedora-updates-kde-live-iso-x86_64-*": {
|
|
||||||
"arch": "x86_64",
|
|
||||||
"distri": "fedora",
|
|
||||||
"flavor": "updates-kde-live-iso",
|
|
||||||
"settings": {
|
|
||||||
"DESKTOP": "kde",
|
|
||||||
"LIVE": "1",
|
|
||||||
"PACKAGE_SET": "default"
|
|
||||||
},
|
|
||||||
"version": "*"
|
|
||||||
},
|
|
||||||
"fedora-updates-workstation-upgrade-x86_64-*": {
|
|
||||||
"arch": "x86_64",
|
|
||||||
"distri": "fedora",
|
|
||||||
"flavor": "updates-workstation-upgrade",
|
|
||||||
"settings": {
|
|
||||||
"DESKTOP": "gnome"
|
|
||||||
},
|
|
||||||
"version": "*"
|
|
||||||
},
|
|
||||||
"fedora-updates-workstation-x86_64-*": {
|
|
||||||
"arch": "x86_64",
|
|
||||||
"distri": "fedora",
|
|
||||||
"flavor": "updates-workstation",
|
|
||||||
"settings": {
|
|
||||||
"DESKTOP": "gnome"
|
|
||||||
},
|
|
||||||
"version": "*"
|
|
||||||
}
|
|
||||||
},
|
|
||||||
"Profiles": {
|
|
||||||
"fedora-updates-container-aarch64-*-aarch64": {
|
|
||||||
"machine": "aarch64",
|
|
||||||
"product": "fedora-updates-container-aarch64-*"
|
|
||||||
},
|
|
||||||
"fedora-updates-container-ppc64le-*-ppc64le": {
|
|
||||||
"machine": "ppc64le",
|
|
||||||
"product": "fedora-updates-container-ppc64le-*"
|
|
||||||
},
|
|
||||||
"fedora-updates-container-x86_64-*-64bit": {
|
|
||||||
"machine": "64bit",
|
|
||||||
"product": "fedora-updates-container-x86_64-*"
|
|
||||||
},
|
|
||||||
"fedora-updates-everything-boot-iso-x86_64-*-64bit": {
|
|
||||||
"machine": "64bit",
|
|
||||||
"product": "fedora-updates-everything-boot-iso-x86_64-*"
|
|
||||||
},
|
|
||||||
"fedora-updates-everything-boot-iso-x86_64-*-uefi": {
|
|
||||||
"machine": "uefi",
|
|
||||||
"product": "fedora-updates-everything-boot-iso-x86_64-*"
|
|
||||||
},
|
|
||||||
"fedora-updates-kde-x86_64-*-64bit": {
|
|
||||||
"machine": "64bit",
|
|
||||||
"product": "fedora-updates-kde-x86_64-*"
|
|
||||||
},
|
|
||||||
"fedora-updates-server-aarch64-*-aarch64": {
|
|
||||||
"machine": "aarch64",
|
|
||||||
"product": "fedora-updates-server-aarch64-*"
|
|
||||||
},
|
|
||||||
"fedora-updates-server-ppc64le-*-ppc64le": {
|
|
||||||
"machine": "ppc64le",
|
|
||||||
"product": "fedora-updates-server-ppc64le-*"
|
|
||||||
},
|
|
||||||
"fedora-updates-server-upgrade-ppc64le-*-ppc64le": {
|
|
||||||
"machine": "ppc64le",
|
|
||||||
"product": "fedora-updates-server-upgrade-ppc64le-*"
|
|
||||||
},
|
|
||||||
"fedora-updates-server-upgrade-x86_64-*-64bit": {
|
|
||||||
"machine": "64bit",
|
|
||||||
"product": "fedora-updates-server-upgrade-x86_64-*"
|
|
||||||
},
|
|
||||||
"fedora-updates-server-x86_64-*-64bit": {
|
|
||||||
"machine": "64bit",
|
|
||||||
"product": "fedora-updates-server-x86_64-*"
|
|
||||||
},
|
|
||||||
"fedora-updates-kde-live-iso-x86_64-*-64bit": {
|
|
||||||
"machine": "64bit",
|
|
||||||
"product": "fedora-updates-kde-live-iso-x86_64-*"
|
|
||||||
},
|
|
||||||
"fedora-updates-kde-live-iso-x86_64-*-uefi": {
|
|
||||||
"machine": "uefi",
|
|
||||||
"product": "fedora-updates-kde-live-iso-x86_64-*"
|
|
||||||
},
|
|
||||||
"fedora-updates-workstation-live-iso-x86_64-*-64bit": {
|
|
||||||
"machine": "64bit",
|
|
||||||
"product": "fedora-updates-workstation-live-iso-x86_64-*"
|
|
||||||
},
|
|
||||||
"fedora-updates-workstation-live-iso-x86_64-*-uefi": {
|
|
||||||
"machine": "uefi",
|
|
||||||
"product": "fedora-updates-workstation-live-iso-x86_64-*"
|
|
||||||
},
|
|
||||||
"fedora-updates-workstation-upgrade-x86_64-*-64bit": {
|
|
||||||
"machine": "64bit",
|
|
||||||
"product": "fedora-updates-workstation-upgrade-x86_64-*"
|
|
||||||
},
|
|
||||||
"fedora-updates-workstation-x86_64-*-64bit": {
|
|
||||||
"machine": "64bit",
|
|
||||||
"product": "fedora-updates-workstation-x86_64-*"
|
|
||||||
}
|
|
||||||
},
|
|
||||||
"TestSuites": {
|
|
||||||
"advisory_boot": {
|
|
||||||
"profiles": {
|
|
||||||
"fedora-updates-server-aarch64-*-aarch64": 40,
|
|
||||||
"fedora-updates-server-ppc64le-*-ppc64le": 40,
|
|
||||||
"fedora-updates-server-x86_64-*-64bit": 40
|
|
||||||
},
|
|
||||||
"settings": {
|
|
||||||
"ADVISORY_BOOT_TEST": "1",
|
|
||||||
"BOOTFROM": "c",
|
|
||||||
"ROOT_PASSWORD": "weakpassword",
|
|
||||||
"USER_LOGIN": "false"
|
|
||||||
}
|
|
||||||
},
|
|
||||||
"base_selinux": {
|
|
||||||
"profiles": {
|
|
||||||
"fedora-updates-kde-x86_64-*-64bit": 42,
|
|
||||||
"fedora-updates-server-aarch64-*-aarch64": 40,
|
|
||||||
"fedora-updates-server-ppc64le-*-ppc64le": 40,
|
|
||||||
"fedora-updates-server-x86_64-*-64bit": 40,
|
|
||||||
"fedora-updates-workstation-x86_64-*-64bit": 40
|
|
||||||
}
|
|
||||||
},
|
|
||||||
"base_service_manipulation": {
|
|
||||||
"profiles": {
|
|
||||||
"fedora-updates-kde-x86_64-*-64bit": 42,
|
|
||||||
"fedora-updates-server-aarch64-*-aarch64": 40,
|
|
||||||
"fedora-updates-server-ppc64le-*-ppc64le": 40,
|
|
||||||
"fedora-updates-server-x86_64-*-64bit": 40,
|
|
||||||
"fedora-updates-workstation-x86_64-*-64bit": 40
|
|
||||||
}
|
|
||||||
},
|
|
||||||
"base_services_start": {
|
|
||||||
"profiles": {
|
|
||||||
"fedora-updates-kde-x86_64-*-64bit": 42,
|
|
||||||
"fedora-updates-server-aarch64-*-aarch64": 40,
|
|
||||||
"fedora-updates-server-ppc64le-*-ppc64le": 40,
|
|
||||||
"fedora-updates-server-x86_64-*-64bit": 40,
|
|
||||||
"fedora-updates-workstation-x86_64-*-64bit": 40
|
|
||||||
}
|
|
||||||
},
|
|
||||||
"base_update_cli": {
|
|
||||||
"profiles": {
|
|
||||||
"fedora-updates-kde-x86_64-*-64bit": 42,
|
|
||||||
"fedora-updates-server-aarch64-*-aarch64": 40,
|
|
||||||
"fedora-updates-server-ppc64le-*-ppc64le": 40,
|
|
||||||
"fedora-updates-server-x86_64-*-64bit": 40,
|
|
||||||
"fedora-updates-workstation-x86_64-*-64bit": 40
|
|
||||||
}
|
|
||||||
},
|
|
||||||
"base_reboot_unmount": {
|
|
||||||
"profiles": {
|
|
||||||
"fedora-updates-kde-x86_64-*-64bit": 42,
|
|
||||||
"fedora-updates-server-aarch64-*-aarch64": 40,
|
|
||||||
"fedora-updates-server-ppc64le-*-ppc64le": 40,
|
|
||||||
"fedora-updates-server-x86_64-*-64bit": 40,
|
|
||||||
"fedora-updates-workstation-x86_64-*-64bit": 40
|
|
||||||
}
|
|
||||||
},
|
|
||||||
"base_system_logging": {
|
|
||||||
"profiles": {
|
|
||||||
"fedora-updates-kde-x86_64-*-64bit": 42,
|
|
||||||
"fedora-updates-server-aarch64-*-aarch64": 40,
|
|
||||||
"fedora-updates-server-ppc64le-*-ppc64le": 40,
|
|
||||||
"fedora-updates-server-x86_64-*-64bit": 40,
|
|
||||||
"fedora-updates-workstation-x86_64-*-64bit": 40
|
|
||||||
}
|
|
||||||
},
|
|
||||||
"desktop_background": {
|
|
||||||
"profiles": {
|
|
||||||
"fedora-updates-kde-x86_64-*-64bit": 32,
|
|
||||||
"fedora-updates-workstation-x86_64-*-64bit": 30
|
|
||||||
}
|
|
||||||
},
|
|
||||||
"desktop_browser": {
|
|
||||||
"profiles": {
|
|
||||||
"fedora-updates-kde-x86_64-*-64bit": 32,
|
|
||||||
"fedora-updates-workstation-x86_64-*-64bit": 30
|
|
||||||
}
|
|
||||||
},
|
|
||||||
"desktop_printing": {
|
|
||||||
"profiles": {
|
|
||||||
"fedora-updates-kde-x86_64-*-64bit": 32,
|
|
||||||
"fedora-updates-workstation-x86_64-*-64bit": 30
|
|
||||||
}
|
|
||||||
},
|
|
||||||
"desktop_terminal": {
|
|
||||||
"profiles": {
|
|
||||||
"fedora-updates-kde-x86_64-*-64bit": 32,
|
|
||||||
"fedora-updates-workstation-x86_64-*-64bit": 30
|
|
||||||
}
|
|
||||||
},
|
|
||||||
"desktop_update_graphical": {
|
|
||||||
"profiles": {
|
|
||||||
"fedora-updates-kde-x86_64-*-64bit": 32,
|
|
||||||
"fedora-updates-workstation-x86_64-*-64bit": 30
|
|
||||||
}
|
|
||||||
},
|
|
||||||
"install_default_update_live": {
|
|
||||||
"profiles": {
|
|
||||||
"fedora-updates-kde-live-iso-x86_64-*-64bit": 40,
|
|
||||||
"fedora-updates-kde-live-iso-x86_64-*-uefi": 41,
|
|
||||||
"fedora-updates-workstation-live-iso-x86_64-*-64bit": 40,
|
|
||||||
"fedora-updates-workstation-live-iso-x86_64-*-uefi": 41
|
|
||||||
},
|
|
||||||
"settings": {
|
|
||||||
"+START_AFTER_TEST": "live_build@%ARCH_BASE_MACHINE%",
|
|
||||||
"INSTALL": "1",
|
|
||||||
"ISO": "Fedora-%SUBVARIANT%-Live-%ARCH%-%ADVISORY_OR_TASK%.iso"
|
|
||||||
}
|
|
||||||
},
|
|
||||||
"install_default_update_netinst": {
|
|
||||||
"profiles": {
|
|
||||||
"fedora-updates-everything-boot-iso-x86_64-*-64bit": 40,
|
|
||||||
"fedora-updates-everything-boot-iso-x86_64-*-uefi": 41
|
|
||||||
},
|
|
||||||
"settings": {
|
|
||||||
"+START_AFTER_TEST": "installer_build@%ARCH_BASE_MACHINE%",
|
|
||||||
"ADD_REPOSITORY_VARIATION": "nfs://172.16.2.110:/opt/update_repo",
|
|
||||||
"INSTALL": "1",
|
|
||||||
"INSTALL_UNLOCK": "support_ready",
|
|
||||||
"ISO": "%ADVISORY_OR_TASK%-netinst-%ARCH%.iso",
|
|
||||||
"NICTYPE": "tap",
|
|
||||||
"PACKAGE_SET": "default",
|
|
||||||
"PARALLEL_WITH": "support_server@%ARCH_BASE_MACHINE%",
|
|
||||||
"WORKER_CLASS": "tap"
|
|
||||||
}
|
|
||||||
},
|
|
||||||
"installer_build": {
|
|
||||||
"profiles": {
|
|
||||||
"fedora-updates-everything-boot-iso-x86_64-*-64bit": 40
|
|
||||||
},
|
|
||||||
"settings": {
|
|
||||||
"BOOTFROM": "c",
|
|
||||||
"HDD_1": "disk_f%VERSION%_minimal_3_%ARCH%.img",
|
|
||||||
"NUMDISKS": "2",
|
|
||||||
"POSTINSTALL": "_installer_build",
|
|
||||||
"ROOT_PASSWORD": "weakpassword",
|
|
||||||
"USER_LOGIN": "false"
|
|
||||||
}
|
|
||||||
},
|
|
||||||
"live_build": {
|
|
||||||
"profiles": {
|
|
||||||
"fedora-updates-kde-live-iso-x86_64-*-64bit": 40,
|
|
||||||
"fedora-updates-workstation-live-iso-x86_64-*-64bit": 40
|
|
||||||
},
|
|
||||||
"settings": {
|
|
||||||
"+DESKTOP": "",
|
|
||||||
"+LIVE": "",
|
|
||||||
"BOOTFROM": "c",
|
|
||||||
"GRUB_POSTINSTALL": "selinux=0",
|
|
||||||
"HDD_1": "disk_f%VERSION%_minimal_3_%ARCH%.img",
|
|
||||||
"HDDSIZEGB_3": "25",
|
|
||||||
"NUMDISKS": "3",
|
|
||||||
"POSTINSTALL": "_live_build",
|
|
||||||
"ROOT_PASSWORD": "weakpassword",
|
|
||||||
"USER_LOGIN": "false"
|
|
||||||
}
|
|
||||||
},
|
|
||||||
"podman": {
|
|
||||||
"profiles": {
|
|
||||||
"fedora-updates-container-aarch64-*-aarch64": 40,
|
|
||||||
"fedora-updates-container-ppc64le-*-ppc64le": 40,
|
|
||||||
"fedora-updates-container-x86_64-*-64bit": 40
|
|
||||||
}
|
|
||||||
},
|
|
||||||
"podman_client": {
|
|
||||||
"profiles": {
|
|
||||||
"fedora-updates-container-aarch64-*-aarch64": 40,
|
|
||||||
"fedora-updates-container-ppc64le-*-ppc64le": 40,
|
|
||||||
"fedora-updates-container-x86_64-*-64bit": 40
|
|
||||||
}
|
|
||||||
},
|
|
||||||
"realmd_join_cockpit": {
|
|
||||||
"profiles": {
|
|
||||||
"fedora-updates-server-aarch64-*-aarch64": 40,
|
|
||||||
"fedora-updates-server-ppc64le-*-ppc64le": 40,
|
|
||||||
"fedora-updates-server-x86_64-*-64bit": 40
|
|
||||||
}
|
|
||||||
},
|
|
||||||
"realmd_join_sssd": {
|
|
||||||
"profiles": {
|
|
||||||
"fedora-updates-server-aarch64-*-aarch64": 30,
|
|
||||||
"fedora-updates-server-ppc64le-*-ppc64le": 30,
|
|
||||||
"fedora-updates-server-x86_64-*-64bit": 30
|
|
||||||
}
|
|
||||||
},
|
|
||||||
"server_cockpit_basic": {
|
|
||||||
"profiles": {
|
|
||||||
"fedora-updates-server-aarch64-*-aarch64": 40,
|
|
||||||
"fedora-updates-server-ppc64le-*-ppc64le": 40,
|
|
||||||
"fedora-updates-server-x86_64-*-64bit": 40
|
|
||||||
}
|
|
||||||
},
|
|
||||||
"server_cockpit_default": {
|
|
||||||
"profiles": {
|
|
||||||
"fedora-updates-server-aarch64-*-aarch64": 40,
|
|
||||||
"fedora-updates-server-ppc64le-*-ppc64le": 40,
|
|
||||||
"fedora-updates-server-x86_64-*-64bit": 40
|
|
||||||
}
|
|
||||||
},
|
|
||||||
"server_cockpit_updates": {
|
|
||||||
"profiles": {
|
|
||||||
"fedora-updates-server-aarch64-*-aarch64": 40,
|
|
||||||
"fedora-updates-server-ppc64le-*-ppc64le": 40,
|
|
||||||
"fedora-updates-server-x86_64-*-64bit": 40
|
|
||||||
}
|
|
||||||
},
|
|
||||||
"server_database_client": {
|
|
||||||
"profiles": {
|
|
||||||
"fedora-updates-server-aarch64-*-aarch64": 40,
|
|
||||||
"fedora-updates-server-ppc64le-*-ppc64le": 40,
|
|
||||||
"fedora-updates-server-x86_64-*-64bit": 40
|
|
||||||
}
|
|
||||||
},
|
|
||||||
"server_firewall_default": {
|
|
||||||
"profiles": {
|
|
||||||
"fedora-updates-server-aarch64-*-aarch64": 40,
|
|
||||||
"fedora-updates-server-ppc64le-*-ppc64le": 40,
|
|
||||||
"fedora-updates-server-x86_64-*-64bit": 40
|
|
||||||
}
|
|
||||||
},
|
|
||||||
"server_freeipa_replication_client": {
|
|
||||||
"profiles": {
|
|
||||||
"fedora-updates-server-x86_64-*-64bit": 40
|
|
||||||
}
|
|
||||||
},
|
|
||||||
"server_freeipa_replication_master": {
|
|
||||||
"profiles": {
|
|
||||||
"fedora-updates-server-x86_64-*-64bit": 40
|
|
||||||
}
|
|
||||||
},
|
|
||||||
"server_freeipa_replication_replica": {
|
|
||||||
"profiles": {
|
|
||||||
"fedora-updates-server-x86_64-*-64bit": 40
|
|
||||||
}
|
|
||||||
},
|
|
||||||
"server_remote_logging_client": {
|
|
||||||
"profiles": {
|
|
||||||
"fedora-updates-server-aarch64-*-aarch64": 40,
|
|
||||||
"fedora-updates-server-ppc64le-*-ppc64le": 40,
|
|
||||||
"fedora-updates-server-x86_64-*-64bit": 40
|
|
||||||
}
|
|
||||||
},
|
|
||||||
"server_remote_logging_server": {
|
|
||||||
"profiles": {
|
|
||||||
"fedora-updates-server-aarch64-*-aarch64": 40,
|
|
||||||
"fedora-updates-server-ppc64le-*-ppc64le": 40,
|
|
||||||
"fedora-updates-server-x86_64-*-64bit": 40
|
|
||||||
}
|
|
||||||
},
|
|
||||||
"server_role_deploy_database_server": {
|
|
||||||
"profiles": {
|
|
||||||
"fedora-updates-server-aarch64-*-aarch64": 40,
|
|
||||||
"fedora-updates-server-ppc64le-*-ppc64le": 40,
|
|
||||||
"fedora-updates-server-x86_64-*-64bit": 40
|
|
||||||
}
|
|
||||||
},
|
|
||||||
"server_role_deploy_domain_controller": {
|
|
||||||
"profiles": {
|
|
||||||
"fedora-updates-server-aarch64-*-aarch64": 40,
|
|
||||||
"fedora-updates-server-ppc64le-*-ppc64le": 40,
|
|
||||||
"fedora-updates-server-x86_64-*-64bit": 40
|
|
||||||
}
|
|
||||||
},
|
|
||||||
"support_server": {
|
|
||||||
"profiles": {
|
|
||||||
"fedora-updates-everything-boot-iso-x86_64-*-64bit": 40
|
|
||||||
}
|
|
||||||
},
|
|
||||||
"upgrade_desktop_encrypted_64bit": {
|
|
||||||
"profiles": {
|
|
||||||
"fedora-updates-workstation-upgrade-x86_64-*-64bit": 40
|
|
||||||
}
|
|
||||||
},
|
|
||||||
"upgrade_realmd_client": {
|
|
||||||
"profiles": {
|
|
||||||
"fedora-updates-server-upgrade-ppc64le-*-ppc64le": 30,
|
|
||||||
"fedora-updates-server-upgrade-x86_64-*-64bit": 30
|
|
||||||
}
|
|
||||||
},
|
|
||||||
"upgrade_server_domain_controller": {
|
|
||||||
"profiles": {
|
|
||||||
"fedora-updates-server-upgrade-ppc64le-*-ppc64le": 40,
|
|
||||||
"fedora-updates-server-upgrade-x86_64-*-64bit": 40
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
@ -1057,7 +1057,7 @@
|
|||||||
"rocky-dvd-iso-x86_64-*-64bit": 40
|
"rocky-dvd-iso-x86_64-*-64bit": 40
|
||||||
},
|
},
|
||||||
"settings": {
|
"settings": {
|
||||||
"GRUB": "inst.vnc net.ifnames=0 biosdevname=0 ip=172.16.2.114::172.16.2.2:255.255.255.0:vnc001.test.openqa.fedoraproject.org:eth0:off",
|
"GRUB": "inst.vnc net.ifnames=0 biosdevname=0 ip=172.16.2.114::172.16.2.2:255.255.255.0:vnc001.test.openqa.rockylinux.org:eth0:off",
|
||||||
"NICTYPE": "tap",
|
"NICTYPE": "tap",
|
||||||
"VNC_SERVER": "1",
|
"VNC_SERVER": "1",
|
||||||
"WORKER_CLASS": "tap"
|
"WORKER_CLASS": "tap"
|
||||||
@ -1085,7 +1085,7 @@
|
|||||||
"rocky-dvd-iso-x86_64-*-64bit": 40
|
"rocky-dvd-iso-x86_64-*-64bit": 40
|
||||||
},
|
},
|
||||||
"settings": {
|
"settings": {
|
||||||
"GRUB": "inst.vnc inst.vncconnect=172.16.2.117:5500 net.ifnames=0 biosdevname=0 ip=172.16.2.116::172.16.2.2:255.255.255.0:vnc003.test.openqa.fedoraproject.org:eth0:off",
|
"GRUB": "inst.vnc inst.vncconnect=172.16.2.117:5500 net.ifnames=0 biosdevname=0 ip=172.16.2.116::172.16.2.2:255.255.255.0:vnc003.test.openqa.rockylinux.org:eth0:off",
|
||||||
"INSTALL_UNLOCK": "vncconnect_client_ready",
|
"INSTALL_UNLOCK": "vncconnect_client_ready",
|
||||||
"NICTYPE": "tap",
|
"NICTYPE": "tap",
|
||||||
"PARALLEL_WITH": "install_vncconnect_client",
|
"PARALLEL_WITH": "install_vncconnect_client",
|
||||||
@ -1142,7 +1142,7 @@
|
|||||||
"NICTYPE": "tap",
|
"NICTYPE": "tap",
|
||||||
"PARALLEL_WITH": "server_role_deploy_domain_controller",
|
"PARALLEL_WITH": "server_role_deploy_domain_controller",
|
||||||
"POSTINSTALL": "realmd_join_cockpit freeipa_webui freeipa_password_change freeipa_client",
|
"POSTINSTALL": "realmd_join_cockpit freeipa_webui freeipa_password_change freeipa_client",
|
||||||
"POST_STATIC": "172.16.2.102 client002.test.openqa.fedoraproject.org",
|
"POST_STATIC": "172.16.2.102 client002.test.openqa.rockylinux.org",
|
||||||
"ROOT_PASSWORD": "weakpassword",
|
"ROOT_PASSWORD": "weakpassword",
|
||||||
"USER_LOGIN": "false",
|
"USER_LOGIN": "false",
|
||||||
"WORKER_CLASS": "tap"
|
"WORKER_CLASS": "tap"
|
||||||
@ -1159,7 +1159,7 @@
|
|||||||
"NICTYPE": "tap",
|
"NICTYPE": "tap",
|
||||||
"PARALLEL_WITH": "server_role_deploy_domain_controller",
|
"PARALLEL_WITH": "server_role_deploy_domain_controller",
|
||||||
"POSTINSTALL": "realmd_join_sssd freeipa_client",
|
"POSTINSTALL": "realmd_join_sssd freeipa_client",
|
||||||
"POST_STATIC": "172.16.2.103 client003.test.openqa.fedoraproject.org",
|
"POST_STATIC": "172.16.2.103 client003.test.openqa.rockylinux.org",
|
||||||
"ROOT_PASSWORD": "weakpassword",
|
"ROOT_PASSWORD": "weakpassword",
|
||||||
"START_AFTER_TEST": "%DEPLOY_UPLOAD_TEST%",
|
"START_AFTER_TEST": "%DEPLOY_UPLOAD_TEST%",
|
||||||
"USER_LOGIN": "false",
|
"USER_LOGIN": "false",
|
||||||
@ -1234,7 +1234,7 @@
|
|||||||
"NICTYPE": "tap",
|
"NICTYPE": "tap",
|
||||||
"PARALLEL_WITH": "server_role_deploy_database_server",
|
"PARALLEL_WITH": "server_role_deploy_database_server",
|
||||||
"POSTINSTALL": "database_client",
|
"POSTINSTALL": "database_client",
|
||||||
"POST_STATIC": "172.16.2.105 dbclient.test.openqa.fedoraproject.org",
|
"POST_STATIC": "172.16.2.105 dbclient.test.openqa.rockylinux.org",
|
||||||
"ROOT_PASSWORD": "weakpassword",
|
"ROOT_PASSWORD": "weakpassword",
|
||||||
"START_AFTER_TEST": "%DEPLOY_UPLOAD_TEST%",
|
"START_AFTER_TEST": "%DEPLOY_UPLOAD_TEST%",
|
||||||
"USER_LOGIN": "false",
|
"USER_LOGIN": "false",
|
||||||
@ -1281,7 +1281,7 @@
|
|||||||
"NICTYPE": "tap",
|
"NICTYPE": "tap",
|
||||||
"PARALLEL_WITH": "server_freeipa_replication_replica",
|
"PARALLEL_WITH": "server_freeipa_replication_replica",
|
||||||
"POSTINSTALL": "realmd_join_sssd freeipa_client",
|
"POSTINSTALL": "realmd_join_sssd freeipa_client",
|
||||||
"POST_STATIC": "172.16.2.108 client005.test.openqa.fedoraproject.org",
|
"POST_STATIC": "172.16.2.108 client005.test.openqa.rockylinux.org",
|
||||||
"ROOT_PASSWORD": "weakpassword",
|
"ROOT_PASSWORD": "weakpassword",
|
||||||
"START_AFTER_TEST": "%DEPLOY_UPLOAD_TEST%",
|
"START_AFTER_TEST": "%DEPLOY_UPLOAD_TEST%",
|
||||||
"USER_LOGIN": "false",
|
"USER_LOGIN": "false",
|
||||||
@ -1300,7 +1300,7 @@
|
|||||||
"NICTYPE": "tap",
|
"NICTYPE": "tap",
|
||||||
"PARALLEL_CANCEL_WHOLE_CLUSTER": "0",
|
"PARALLEL_CANCEL_WHOLE_CLUSTER": "0",
|
||||||
"POSTINSTALL": "role_deploy_domain_controller role_deploy_domain_controller_check",
|
"POSTINSTALL": "role_deploy_domain_controller role_deploy_domain_controller_check",
|
||||||
"POST_STATIC": "172.16.2.106 ipa002.test.openqa.fedoraproject.org",
|
"POST_STATIC": "172.16.2.106 ipa002.test.openqa.rockylinux.org",
|
||||||
"ROOT_PASSWORD": "weakpassword",
|
"ROOT_PASSWORD": "weakpassword",
|
||||||
"START_AFTER_TEST": "%DEPLOY_UPLOAD_TEST%",
|
"START_AFTER_TEST": "%DEPLOY_UPLOAD_TEST%",
|
||||||
"USER_LOGIN": "false",
|
"USER_LOGIN": "false",
|
||||||
@ -1320,7 +1320,7 @@
|
|||||||
"PARALLEL_CANCEL_WHOLE_CLUSTER": "0",
|
"PARALLEL_CANCEL_WHOLE_CLUSTER": "0",
|
||||||
"PARALLEL_WITH": "server_freeipa_replication_master",
|
"PARALLEL_WITH": "server_freeipa_replication_master",
|
||||||
"POSTINSTALL": "realmd_join_sssd",
|
"POSTINSTALL": "realmd_join_sssd",
|
||||||
"POST_STATIC": "172.16.2.107 ipa003.test.openqa.fedoraproject.org",
|
"POST_STATIC": "172.16.2.107 ipa003.test.openqa.rockylinux.org",
|
||||||
"ROOT_PASSWORD": "weakpassword",
|
"ROOT_PASSWORD": "weakpassword",
|
||||||
"START_AFTER_TEST": "%DEPLOY_UPLOAD_TEST%",
|
"START_AFTER_TEST": "%DEPLOY_UPLOAD_TEST%",
|
||||||
"USER_LOGIN": "false",
|
"USER_LOGIN": "false",
|
||||||
@ -1357,7 +1357,7 @@
|
|||||||
"NICTYPE": "tap",
|
"NICTYPE": "tap",
|
||||||
"PARALLEL_WITH": "server_remote_logging_server",
|
"PARALLEL_WITH": "server_remote_logging_server",
|
||||||
"POSTINSTALL": "server_remote_logging_client",
|
"POSTINSTALL": "server_remote_logging_client",
|
||||||
"POST_STATIC": "172.16.2.113 rsyslogclient.test.openqa.fedoraproject.org",
|
"POST_STATIC": "172.16.2.113 rsyslogclient.test.openqa.rockylinux.org",
|
||||||
"ROOT_PASSWORD": "weakpassword",
|
"ROOT_PASSWORD": "weakpassword",
|
||||||
"START_AFTER_TEST": "%DEPLOY_UPLOAD_TEST%",
|
"START_AFTER_TEST": "%DEPLOY_UPLOAD_TEST%",
|
||||||
"USER_LOGIN": "false",
|
"USER_LOGIN": "false",
|
||||||
@ -1375,7 +1375,7 @@
|
|||||||
"NICTYPE": "tap",
|
"NICTYPE": "tap",
|
||||||
"PARALLEL_CANCEL_WHOLE_CLUSTER": "0",
|
"PARALLEL_CANCEL_WHOLE_CLUSTER": "0",
|
||||||
"POSTINSTALL": "server_remote_logging_server",
|
"POSTINSTALL": "server_remote_logging_server",
|
||||||
"POST_STATIC": "172.16.2.112 rsyslogserver.test.openqa.fedoraproject.org",
|
"POST_STATIC": "172.16.2.112 rsyslogserver.test.openqa.rockylinux.org",
|
||||||
"ROOT_PASSWORD": "weakpassword",
|
"ROOT_PASSWORD": "weakpassword",
|
||||||
"START_AFTER_TEST": "%DEPLOY_UPLOAD_TEST%",
|
"START_AFTER_TEST": "%DEPLOY_UPLOAD_TEST%",
|
||||||
"USER_LOGIN": "false",
|
"USER_LOGIN": "false",
|
||||||
@ -1393,7 +1393,7 @@
|
|||||||
"NICTYPE": "tap",
|
"NICTYPE": "tap",
|
||||||
"PARALLEL_CANCEL_WHOLE_CLUSTER": "0",
|
"PARALLEL_CANCEL_WHOLE_CLUSTER": "0",
|
||||||
"POSTINSTALL": "role_deploy_database_server",
|
"POSTINSTALL": "role_deploy_database_server",
|
||||||
"POST_STATIC": "172.16.2.104 db.test.openqa.fedoraproject.org",
|
"POST_STATIC": "172.16.2.104 db.test.openqa.rockylinux.org",
|
||||||
"ROOT_PASSWORD": "weakpassword",
|
"ROOT_PASSWORD": "weakpassword",
|
||||||
"START_AFTER_TEST": "%DEPLOY_UPLOAD_TEST%",
|
"START_AFTER_TEST": "%DEPLOY_UPLOAD_TEST%",
|
||||||
"USER_LOGIN": "false",
|
"USER_LOGIN": "false",
|
||||||
@ -1411,7 +1411,7 @@
|
|||||||
"NICTYPE": "tap",
|
"NICTYPE": "tap",
|
||||||
"PARALLEL_CANCEL_WHOLE_CLUSTER": "0",
|
"PARALLEL_CANCEL_WHOLE_CLUSTER": "0",
|
||||||
"POSTINSTALL": "role_deploy_domain_controller role_deploy_domain_controller_check",
|
"POSTINSTALL": "role_deploy_domain_controller role_deploy_domain_controller_check",
|
||||||
"POST_STATIC": "172.16.2.100 ipa001.test.openqa.fedoraproject.org",
|
"POST_STATIC": "172.16.2.100 ipa001.test.openqa.rockylinux.org",
|
||||||
"ROOT_PASSWORD": "weakpassword",
|
"ROOT_PASSWORD": "weakpassword",
|
||||||
"START_AFTER_TEST": "%DEPLOY_UPLOAD_TEST%",
|
"START_AFTER_TEST": "%DEPLOY_UPLOAD_TEST%",
|
||||||
"USER_LOGIN": "false",
|
"USER_LOGIN": "false",
|
||||||
|
@ -21,7 +21,7 @@ sub run {
|
|||||||
assert_script_run "zezere-manage loaddata fedora_iot_runreqs";
|
assert_script_run "zezere-manage loaddata fedora_iot_runreqs";
|
||||||
assert_script_run "zezere-manage loaddata fedora_installed";
|
assert_script_run "zezere-manage loaddata fedora_installed";
|
||||||
# create admin user
|
# create admin user
|
||||||
assert_script_run 'zezere-manage createsuperuser --username admin --email zezere@test.openqa.fedoraproject.org --no-input';
|
assert_script_run 'zezere-manage createsuperuser --username admin --email zezere@test.openqa.rockylinux.org --no-input';
|
||||||
# set admin password (can't find a non-interactive way sadly)
|
# set admin password (can't find a non-interactive way sadly)
|
||||||
type_string "zezere-manage changepassword admin\n";
|
type_string "zezere-manage changepassword admin\n";
|
||||||
sleep 2;
|
sleep 2;
|
||||||
|
@ -8,7 +8,7 @@ sub run {
|
|||||||
my $self = shift;
|
my $self = shift;
|
||||||
boot_to_login_screen(timeout => 300);
|
boot_to_login_screen(timeout => 300);
|
||||||
$self->root_console(tty => 3);
|
$self->root_console(tty => 3);
|
||||||
setup_tap_static('172.16.2.115', 'vnc002.test.openqa.fedoraproject.org');
|
setup_tap_static('172.16.2.115', 'vnc002.test.openqa.rockylinux.org');
|
||||||
# test test: check if we can see the server
|
# test test: check if we can see the server
|
||||||
assert_script_run "ping -c 2 172.16.2.114";
|
assert_script_run "ping -c 2 172.16.2.114";
|
||||||
# FIXME https://pagure.io/fedora-workstation/issue/231 - Boxes
|
# FIXME https://pagure.io/fedora-workstation/issue/231 - Boxes
|
||||||
|
@ -8,7 +8,7 @@ sub run {
|
|||||||
my $self = shift;
|
my $self = shift;
|
||||||
boot_to_login_screen(timeout => 300);
|
boot_to_login_screen(timeout => 300);
|
||||||
$self->root_console(tty => 3);
|
$self->root_console(tty => 3);
|
||||||
setup_tap_static('172.16.2.117', 'vnc004.test.openqa.fedoraproject.org');
|
setup_tap_static('172.16.2.117', 'vnc004.test.openqa.rockylinux.org');
|
||||||
# install tigervnc (Boxes doesn't do reverse VNC)
|
# install tigervnc (Boxes doesn't do reverse VNC)
|
||||||
assert_script_run "dnf -y install tigervnc", 180;
|
assert_script_run "dnf -y install tigervnc", 180;
|
||||||
# take down the firewall
|
# take down the firewall
|
||||||
|
@ -40,8 +40,8 @@ sub run {
|
|||||||
_open_new_tab;
|
_open_new_tab;
|
||||||
wait_still_screen(stilltime => 5, similarity_level => 45);
|
wait_still_screen(stilltime => 5, similarity_level => 45);
|
||||||
sleep 3;
|
sleep 3;
|
||||||
# check FAS, typing slowly to avoid errors
|
# check Rocky Linux Account Service, typing slowly to avoid errors
|
||||||
type_very_safely "https://admin.fedoraproject.org/accounts/\n";
|
type_very_safely "https://accounts.rockylinux.org/\n";
|
||||||
assert_screen "browser_fas_home";
|
assert_screen "browser_fas_home";
|
||||||
_open_new_tab;
|
_open_new_tab;
|
||||||
wait_still_screen(stilltime => 2, similarity_level => 45);
|
wait_still_screen(stilltime => 2, similarity_level => 45);
|
||||||
|
@ -11,28 +11,28 @@ sub run {
|
|||||||
send_key "ctrl-alt-f1";
|
send_key "ctrl-alt-f1";
|
||||||
wait_still_screen 1;
|
wait_still_screen 1;
|
||||||
# check domain is listed in 'realm list'
|
# check domain is listed in 'realm list'
|
||||||
validate_script_output 'realm list', sub { $_ =~ m/domain-name: test\.openqa\.fedoraproject\.org.*configured: kerberos-member/s };
|
validate_script_output 'realm list', sub { $_ =~ m/domain-name: test\.openqa\.rockylinux\.org.*configured: kerberos-member/s };
|
||||||
# check we can see the admin user in getent
|
# check we can see the admin user in getent
|
||||||
assert_script_run 'getent passwd admin@TEST.OPENQA.FEDORAPROJECT.ORG';
|
assert_script_run 'getent passwd admin@TEST.OPENQA.ROCKYLINUX.ORG';
|
||||||
# check keytab entries
|
# check keytab entries
|
||||||
my $hostname = script_output 'hostname';
|
my $hostname = script_output 'hostname';
|
||||||
my $qhost = quotemeta($hostname);
|
my $qhost = quotemeta($hostname);
|
||||||
validate_script_output 'klist -k', sub { $_ =~ m/$qhost\@TEST\.OPENQA\.FEDORAPROJECT\.ORG/ };
|
validate_script_output 'klist -k', sub { $_ =~ m/$qhost\@TEST\.OPENQA\.ROCKYLINUX\.ORG/ };
|
||||||
# check we can kinit with the host principal
|
# check we can kinit with the host principal
|
||||||
assert_script_run "kinit -k host/$hostname\@TEST.OPENQA.FEDORAPROJECT.ORG";
|
assert_script_run "kinit -k host/$hostname\@TEST.OPENQA.ROCKYLINUX.ORG";
|
||||||
# Set a longer timeout for login(1) to workaround RHBZ #1661273
|
# Set a longer timeout for login(1) to workaround RHBZ #1661273
|
||||||
assert_script_run 'echo "LOGIN_TIMEOUT 180" >> /etc/login.defs';
|
assert_script_run 'echo "LOGIN_TIMEOUT 180" >> /etc/login.defs';
|
||||||
# switch to tty2 for login tests
|
# switch to tty2 for login tests
|
||||||
send_key "ctrl-alt-f2";
|
send_key "ctrl-alt-f2";
|
||||||
# try and login as test1, should work
|
# try and login as test1, should work
|
||||||
console_login(user => 'test1@TEST.OPENQA.FEDORAPROJECT.ORG', password => 'batterystaple');
|
console_login(user => 'test1@TEST.OPENQA.ROCKYLINUX.ORG', password => 'batterystaple');
|
||||||
type_string "exit\n";
|
type_string "exit\n";
|
||||||
# try and login as test2, should fail. we cannot use console_login
|
# try and login as test2, should fail. we cannot use console_login
|
||||||
# as it takes 10 seconds to complete when login fails, and
|
# as it takes 10 seconds to complete when login fails, and
|
||||||
# "permission denied" message doesn't last that long
|
# "permission denied" message doesn't last that long
|
||||||
sleep 2;
|
sleep 2;
|
||||||
assert_screen "text_console_login";
|
assert_screen "text_console_login";
|
||||||
type_string "test2\@TEST.OPENQA.FEDORAPROJECT.ORG\n";
|
type_string "test2\@TEST.OPENQA.ROCKYLINUX.ORG\n";
|
||||||
assert_screen "console_password_required";
|
assert_screen "console_password_required";
|
||||||
type_string "batterystaple\n";
|
type_string "batterystaple\n";
|
||||||
assert_screen "login_permission_denied";
|
assert_screen "login_permission_denied";
|
||||||
|
@ -10,7 +10,7 @@ sub run {
|
|||||||
# check whether test3 exists, i.e. whether freeipa_webui at
|
# check whether test3 exists, i.e. whether freeipa_webui at
|
||||||
# least managed to create it. if not, we may as well just
|
# least managed to create it. if not, we may as well just
|
||||||
# die now, this test cannot work.
|
# die now, this test cannot work.
|
||||||
assert_script_run 'getent passwd test3@TEST.OPENQA.FEDORAPROJECT.ORG';
|
assert_script_run 'getent passwd test3@TEST.OPENQA.ROCKYLINUX.ORG';
|
||||||
# clear browser data so we don't go back to the 'admin' login
|
# clear browser data so we don't go back to the 'admin' login
|
||||||
assert_script_run 'rm -rf /root/.mozilla';
|
assert_script_run 'rm -rf /root/.mozilla';
|
||||||
# clear kerberos ticket so we don't auto-auth as 'test4'
|
# clear kerberos ticket so we don't auto-auth as 'test4'
|
||||||
|
@ -48,19 +48,19 @@ sub run {
|
|||||||
assert_screen "root_console";
|
assert_screen "root_console";
|
||||||
wait_still_screen 5;
|
wait_still_screen 5;
|
||||||
# set permanent passwords for both accounts
|
# set permanent passwords for both accounts
|
||||||
assert_script_run 'printf "correcthorse\nbatterystaple\nbatterystaple" | kinit test3@TEST.OPENQA.FEDORAPROJECT.ORG';
|
assert_script_run 'printf "correcthorse\nbatterystaple\nbatterystaple" | kinit test3@TEST.OPENQA.ROCKYLINUX.ORG';
|
||||||
assert_script_run 'printf "correcthorse\nbatterystaple\nbatterystaple" | kinit test4@TEST.OPENQA.FEDORAPROJECT.ORG';
|
assert_script_run 'printf "correcthorse\nbatterystaple\nbatterystaple" | kinit test4@TEST.OPENQA.ROCKYLINUX.ORG';
|
||||||
# switch to tty4 (boy, the tty jugglin')
|
# switch to tty4 (boy, the tty jugglin')
|
||||||
send_key "ctrl-alt-f4";
|
send_key "ctrl-alt-f4";
|
||||||
# try and login as test3, should work
|
# try and login as test3, should work
|
||||||
console_login(user => 'test3@TEST.OPENQA.FEDORAPROJECT.ORG', password => 'batterystaple');
|
console_login(user => 'test3@TEST.OPENQA.ROCKYLINUX.ORG', password => 'batterystaple');
|
||||||
type_string "exit\n";
|
type_string "exit\n";
|
||||||
# try and login as test4, should fail. we cannot use console_login
|
# try and login as test4, should fail. we cannot use console_login
|
||||||
# as it takes 10 seconds to complete when login fails, and
|
# as it takes 10 seconds to complete when login fails, and
|
||||||
# "permission denied" message doesn't last that long
|
# "permission denied" message doesn't last that long
|
||||||
sleep 2;
|
sleep 2;
|
||||||
assert_screen "text_console_login";
|
assert_screen "text_console_login";
|
||||||
type_string "test4\@TEST.OPENQA.FEDORAPROJECT.ORG\n";
|
type_string "test4\@TEST.OPENQA.ROCKYLINUX.ORG\n";
|
||||||
assert_screen "console_password_required";
|
assert_screen "console_password_required";
|
||||||
type_string "batterystaple\n";
|
type_string "batterystaple\n";
|
||||||
assert_screen "login_permission_denied";
|
assert_screen "login_permission_denied";
|
||||||
|
@ -9,7 +9,7 @@ use cockpit;
|
|||||||
sub run {
|
sub run {
|
||||||
my $self = shift;
|
my $self = shift;
|
||||||
# use FreeIPA server as DNS server
|
# use FreeIPA server as DNS server
|
||||||
assert_script_run "printf 'search test.openqa.fedoraproject.org\nnameserver 172.16.2.100' > /etc/resolv.conf";
|
assert_script_run "printf 'search test.openqa.rockylinux.org\nnameserver 172.16.2.100' > /etc/resolv.conf";
|
||||||
# this gets us the name of the first connection in the list,
|
# this gets us the name of the first connection in the list,
|
||||||
# which should be what we want
|
# which should be what we want
|
||||||
my $connection = script_output "nmcli --fields NAME con show | head -2 | tail -1";
|
my $connection = script_output "nmcli --fields NAME con show | head -2 | tail -1";
|
||||||
@ -52,7 +52,7 @@ sub run {
|
|||||||
# ...in 245+ it's down to two times, for some reason
|
# ...in 245+ it's down to two times, for some reason
|
||||||
$tabs = "\t\t" if ($cockpitver >= 245);
|
$tabs = "\t\t" if ($cockpitver >= 245);
|
||||||
type_string($tabs, 4);
|
type_string($tabs, 4);
|
||||||
type_string("ipa001.test.openqa.fedoraproject.org", 4);
|
type_string("ipa001.test.openqa.rockylinux.org", 4);
|
||||||
type_string("\t\t", 4);
|
type_string("\t\t", 4);
|
||||||
type_string("admin", 4);
|
type_string("admin", 4);
|
||||||
send_key "tab";
|
send_key "tab";
|
||||||
|
@ -9,15 +9,15 @@ use utils;
|
|||||||
sub run {
|
sub run {
|
||||||
my $self = shift;
|
my $self = shift;
|
||||||
# use FreeIPA server or replica as DNS server
|
# use FreeIPA server or replica as DNS server
|
||||||
my $server = 'ipa001.test.openqa.fedoraproject.org';
|
my $server = 'ipa001.test.openqa.rockylinux.org';
|
||||||
my $server_ip = '172.16.2.100';
|
my $server_ip = '172.16.2.100';
|
||||||
my $server_mutex = 'freeipa_ready';
|
my $server_mutex = 'freeipa_ready';
|
||||||
if (get_var("FREEIPA_REPLICA")) {
|
if (get_var("FREEIPA_REPLICA")) {
|
||||||
$server = 'ipa002.test.openqa.fedoraproject.org';
|
$server = 'ipa002.test.openqa.rockylinux.org';
|
||||||
$server_ip = '172.16.2.106';
|
$server_ip = '172.16.2.106';
|
||||||
}
|
}
|
||||||
if (get_var("FREEIPA_REPLICA_CLIENT")) {
|
if (get_var("FREEIPA_REPLICA_CLIENT")) {
|
||||||
$server = 'ipa003.test.openqa.fedoraproject.org';
|
$server = 'ipa003.test.openqa.rockylinux.org';
|
||||||
$server_ip = '172.16.2.107';
|
$server_ip = '172.16.2.107';
|
||||||
$server_mutex = 'replica_ready';
|
$server_mutex = 'replica_ready';
|
||||||
}
|
}
|
||||||
|
@ -38,7 +38,7 @@ sub run {
|
|||||||
}
|
}
|
||||||
assert_script_run "systemctl restart firewalld.service";
|
assert_script_run "systemctl restart firewalld.service";
|
||||||
# deploy the server
|
# deploy the server
|
||||||
my $args = "-U --auto-forwarders --realm=TEST.OPENQA.FEDORAPROJECT.ORG --domain=test.openqa.fedoraproject.org --ds-password=monkeys123 --admin-password=monkeys123 --setup-dns --reverse-zone=2.16.172.in-addr.arpa --allow-zone-overlap";
|
my $args = "-U --auto-forwarders --realm=TEST.OPENQA.ROCKYLINUX.ORG --domain=test.openqa.rockylinux.org --ds-password=monkeys123 --admin-password=monkeys123 --setup-dns --reverse-zone=2.16.172.in-addr.arpa --allow-zone-overlap";
|
||||||
assert_script_run "ipa-server-install $args", 1200;
|
assert_script_run "ipa-server-install $args", 1200;
|
||||||
# enable and start the systemd service
|
# enable and start the systemd service
|
||||||
assert_script_run "systemctl enable ipa.service";
|
assert_script_run "systemctl enable ipa.service";
|
||||||
@ -47,7 +47,7 @@ sub run {
|
|||||||
# kinit as admin
|
# kinit as admin
|
||||||
assert_script_run 'echo "monkeys123" | kinit admin';
|
assert_script_run 'echo "monkeys123" | kinit admin';
|
||||||
# set up an OTP for client001 enrolment (it will enrol with a kickstart)
|
# set up an OTP for client001 enrolment (it will enrol with a kickstart)
|
||||||
assert_script_run 'ipa host-add client001.test.openqa.fedoraproject.org --password=monkeys --force';
|
assert_script_run 'ipa host-add client001.test.openqa.rockylinux.org --password=monkeys --force';
|
||||||
# create two user accounts, test1 and test2
|
# create two user accounts, test1 and test2
|
||||||
assert_script_run 'echo "correcthorse" | ipa user-add test1 --first test --last one --password';
|
assert_script_run 'echo "correcthorse" | ipa user-add test1 --first test --last one --password';
|
||||||
assert_script_run 'echo "correcthorse" | ipa user-add test2 --first test --last two --password';
|
assert_script_run 'echo "correcthorse" | ipa user-add test2 --first test --last two --password';
|
||||||
@ -61,10 +61,10 @@ sub run {
|
|||||||
assert_script_run 'ipa pwpolicy-mod --minlife=0';
|
assert_script_run 'ipa pwpolicy-mod --minlife=0';
|
||||||
# magic voodoo crap to allow reverse DNS client sync to work
|
# magic voodoo crap to allow reverse DNS client sync to work
|
||||||
# https://docs.pagure.org/bind-dyndb-ldap/BIND9/SyncPTR.html
|
# https://docs.pagure.org/bind-dyndb-ldap/BIND9/SyncPTR.html
|
||||||
assert_script_run 'ipa dnszone-mod test.openqa.fedoraproject.org. --allow-sync-ptr=TRUE';
|
assert_script_run 'ipa dnszone-mod test.openqa.rockylinux.org. --allow-sync-ptr=TRUE';
|
||||||
# kinit as each user and set a new password
|
# kinit as each user and set a new password
|
||||||
assert_script_run 'printf "correcthorse\nbatterystaple\nbatterystaple" | kinit test1@TEST.OPENQA.FEDORAPROJECT.ORG';
|
assert_script_run 'printf "correcthorse\nbatterystaple\nbatterystaple" | kinit test1@TEST.OPENQA.ROCKYLINUX.ORG';
|
||||||
assert_script_run 'printf "correcthorse\nbatterystaple\nbatterystaple" | kinit test2@TEST.OPENQA.FEDORAPROJECT.ORG';
|
assert_script_run 'printf "correcthorse\nbatterystaple\nbatterystaple" | kinit test2@TEST.OPENQA.ROCKYLINUX.ORG';
|
||||||
# we're ready for children to enrol, now
|
# we're ready for children to enrol, now
|
||||||
mutex_create("freeipa_ready");
|
mutex_create("freeipa_ready");
|
||||||
# if upgrade test, wait for children to enrol before upgrade
|
# if upgrade test, wait for children to enrol before upgrade
|
||||||
|
Loading…
Reference in New Issue
Block a user