mirror of
https://github.com/rocky-linux/os-autoinst-distri-rocky.git
synced 2024-11-22 05:01:25 +00:00
ddc91efeff
use 'ps' output for Xorg and Xwayland. We'd need some new openQA var to get this right by 'guessing', as it's vt1 for Workstation when running live - so long as autologin worked - but vt2 after install. We'd need a var or some other thing to detect which case we're running in. LIVE doesn't do it, it's set even when running a post-install test from a live image. So instead let's just do it a bit more cleverly. This also gives us a bit of insurance against changes in GDM, SDDM etc. behaviour, so long as Xwayland or Xorg is running (and we can add additional processes to the list, like gnome-shell, if needed/appropriate). We assume the *final* listed process - i.e. the most recently-started one - will be the desktop; this covers gdm's behaviour of starting up on vt1 then running the user session on vt2. We can make this function more complex and add args if we ever get to the point where we have multi- user tests running or anything (e.g. allow to pass a username and only look for that user's processes). Landing without review as this broke the live variant of the test on Workstation in production (kinda not sure why it worked in testing, or I didn't notice that it failed, but never mind). I've tested it on staging. |
||
---|---|---|
.. | ||
_boot_to_anaconda.pm | ||
_check_install_source.pm | ||
_console_shutdown.pm | ||
_console_wait_login.pm | ||
_do_install_and_reboot.pm | ||
_graphical_wait_login.pm | ||
_network_static.pm | ||
_software_selection.pm | ||
_support_server_postinstall.pm | ||
base_selinux.pm | ||
base_service_manipulation.pm | ||
base_services_start.pm | ||
base_update_cli.pm | ||
database_client_postinstall.pm | ||
desktop_browser_postinstall.pm | ||
desktop_notifications_postinstall.pm | ||
desktop_terminal_postinstall.pm | ||
desktop_update_graphical_postinstall.pm | ||
disk_custom_btrfs.pm | ||
disk_custom_ext3.pm | ||
disk_custom_iscsi_postinstall.pm | ||
disk_custom_iscsi.pm | ||
disk_custom_lvmthin.pm | ||
disk_custom_no_swap.pm | ||
disk_custom_software_raid_postinstall.pm | ||
disk_custom_software_raid.pm | ||
disk_custom_xfs.pm | ||
disk_guided_delete_all.pm | ||
disk_guided_delete_partial_postinstall.pm | ||
disk_guided_delete_partial.pm | ||
disk_guided_empty.pm | ||
disk_guided_encrypted_postinstall.pm | ||
disk_guided_encrypted.pm | ||
disk_guided_free_space_postinstall.pm | ||
disk_guided_multi_empty_all_postinstall.pm | ||
disk_guided_multi_empty_all.pm | ||
disk_guided_multi_postinstall.pm | ||
disk_guided_multi.pm | ||
disk_guided_shrink_postinstall.pm | ||
disk_guided_shrink.pm | ||
firewall_configured_postinstall.pm | ||
firewall_disabled_postinstall.pm | ||
freeipa_client_postinstall.pm | ||
freeipa_password_change_postinstall.pm | ||
freeipa_webui_postinstall.pm | ||
install_arm_image_deployment.pm | ||
install_source_graphical.pm | ||
install_text.pm | ||
realmd_join_cockpit_postinstall.pm | ||
realmd_join_sssd_postinstall.pm | ||
rescue_mode_encrypted.pm | ||
role_deploy_database_server_postinstall.pm | ||
role_deploy_domain_controller.pm | ||
server_cockpit_basic_postinstall.pm | ||
server_cockpit_default_postinstall.pm | ||
server_firewall_default_postinstall.pm | ||
uefi_postinstall.pm | ||
upgrade_postinstall.pm | ||
upgrade_preinstall.pm | ||
upgrade_run.pm |