os-autoinst-distri-rocky/needles/console
Adam Williamson e9ce14a891 consolidate login waits, use postinstall not entrypoint for base
Summary:
I started out wanting to fix an issue I noticed today where
graphical upgrade tests were failing because they didn't wait
for the graphical login screen properly; the test was sitting
at the 'full Fedora logo' state of plymouth for a long time,
so the current boot_to_login_screen's wait_still_screen was
triggered by it and the function wound up failing on the
assert_screen, because it was still some time before the real
login screen appeared.

So I tweaked the boot_to_login_screen implementation to work
slightly differently (look for a login screen match, *then* -
if we're dealing with a graphical login - wait_still_screen
to defeat the 'old GPU buffer showing login screen' problem
and assert the login screen again). But while working on it,
I figured we really should consolidate all the various places
that handle the bootloader -> login, we were doing it quite
differently in all sorts of different places. And as part of
that, I converted the base tests to use POSTINSTALL (and thus
go through the shared _wait_login tests) instead of handling
boot themselves. As part of *that*, I tweaked main.pm to not
require all POSTINSTALL tests have the _postinstall suffix on
their names, as it really doesn't make sense, and renamed the
tests.

Test Plan: Run all tests, see if they work.

Reviewers: jskladan, garretraziel

Reviewed By: garretraziel

Subscribers: tflink

Differential Revision: https://phab.qadevel.cloud.fedoraproject.org/D1015
2016-09-27 11:48:15 -07:00
..
french Organize needles to directories (step 2/2) 2016-05-13 13:43:31 +02:00
anaconda_install_text_done.json add anaconda text UI test 2016-09-07 10:34:54 +02:00
anaconda_install_text_done.png add anaconda text UI test 2016-09-07 10:34:54 +02:00
anaconda_main_hub_text_unfinished.json add anaconda text UI test 2016-09-07 10:34:54 +02:00
anaconda_main_hub_text_unfinished.png add anaconda text UI test 2016-09-07 10:34:54 +02:00
anaconda_main_hub_text.json add anaconda text UI test 2016-09-07 10:34:54 +02:00
anaconda_main_hub_text.png add anaconda text UI test 2016-09-07 10:34:54 +02:00
anaconda_rescue_enter_password.json add anaconda rescue test on encrypted disk 2016-09-16 14:44:03 +02:00
anaconda_rescue_enter_password.png add anaconda rescue test on encrypted disk 2016-09-16 14:44:03 +02:00
anaconda_rescue_mounted.json add anaconda rescue test on encrypted disk 2016-09-16 14:44:03 +02:00
anaconda_rescue_mounted.png add anaconda rescue test on encrypted disk 2016-09-16 14:44:03 +02:00
anaconda_select_rescue.json add anaconda rescue test on encrypted disk 2016-09-16 14:44:03 +02:00
anaconda_select_rescue.png add anaconda rescue test on encrypted disk 2016-09-16 14:44:03 +02:00
anaconda_text_error.json add anaconda text UI test 2016-09-07 10:34:54 +02:00
anaconda_text_error.png add anaconda text UI test 2016-09-07 10:34:54 +02:00
anaconda_use_text_mode.json add anaconda text UI test 2016-09-07 10:34:54 +02:00
anaconda_use_text_mode.png add anaconda text UI test 2016-09-07 10:34:54 +02:00
boot_enter_passphrase-20160705.json add encrypted workstation upgrade tests (current and previous) 2016-07-08 08:56:57 -07:00
boot_enter_passphrase-20160705.png add encrypted workstation upgrade tests (current and previous) 2016-07-08 08:56:57 -07:00
boot_enter_passphrase-graphical.json add encrypted workstation upgrade tests (current and previous) 2016-07-08 08:56:57 -07:00
boot_enter_passphrase-graphical.png add encrypted workstation upgrade tests (current and previous) 2016-07-08 08:56:57 -07:00
boot_enter_passphrase.json Organize needles to directories (step 2/2) 2016-05-13 13:43:31 +02:00
boot_enter_passphrase.png Organize needles to directories (step 2/2) 2016-05-13 13:43:31 +02:00
boot_enter_passphrase2.json Organize needles to directories (step 2/2) 2016-05-13 13:43:31 +02:00
boot_enter_passphrase2.png Organize needles to directories (step 2/2) 2016-05-13 13:43:31 +02:00
bootloader_bios_installed.json make sure we get logs from failed kickstart installs 2016-09-20 10:51:51 -07:00
bootloader_bios_installed.png Organize needles to directories (step 2/2) 2016-05-13 13:43:31 +02:00
bootloader_bios_live.json make sure we get logs from failed kickstart installs 2016-09-20 10:51:51 -07:00
bootloader_bios_live.png Organize needles to directories (step 2/2) 2016-05-13 13:43:31 +02:00
bootloader_bios_offline.json make sure we get logs from failed kickstart installs 2016-09-20 10:51:51 -07:00
bootloader_bios_offline.png Organize needles to directories (step 2/2) 2016-05-13 13:43:31 +02:00
bootloader_uefi.json make sure we get logs from failed kickstart installs 2016-09-20 10:51:51 -07:00
bootloader_uefi.png Organize needles to directories (step 2/2) 2016-05-13 13:43:31 +02:00
console_initial_setup_done.json add ARM initial-setup test 2016-05-18 14:04:45 +02:00
console_initial_setup_done.png add ARM initial-setup test 2016-05-18 14:04:45 +02:00
console_initial_setup.json add ARM initial-setup test 2016-05-18 14:04:45 +02:00
console_initial_setup.png add ARM initial-setup test 2016-05-18 14:04:45 +02:00
console_password_required.json Organize needles to directories (step 2/2) 2016-05-13 13:43:31 +02:00
console_password_required.png Organize needles to directories (step 2/2) 2016-05-13 13:43:31 +02:00
console_password_required2.json Organize needles to directories (step 2/2) 2016-05-13 13:43:31 +02:00
console_password_required2.png Organize needles to directories (step 2/2) 2016-05-13 13:43:31 +02:00
login_permission_denied.json Organize needles to directories (step 2/2) 2016-05-13 13:43:31 +02:00
login_permission_denied.png Organize needles to directories (step 2/2) 2016-05-13 13:43:31 +02:00
root_logged_in_biosfont.json Organize needles to directories (step 2/2) 2016-05-13 13:43:31 +02:00
root_logged_in_biosfont.png Organize needles to directories (step 2/2) 2016-05-13 13:43:31 +02:00
root_logged_in.json Organize needles to directories (step 2/2) 2016-05-13 13:43:31 +02:00
root_logged_in.png Organize needles to directories (step 2/2) 2016-05-13 13:43:31 +02:00
text_console_login.json consolidate login waits, use postinstall not entrypoint for base 2016-09-27 11:48:15 -07:00
text_console_login.png Organize needles to directories (step 2/2) 2016-05-13 13:43:31 +02:00
upgrade_fail.json Organize needles to directories (step 2/2) 2016-05-13 13:43:31 +02:00
upgrade_fail.png Organize needles to directories (step 2/2) 2016-05-13 13:43:31 +02:00
user_logged_in_qwerty.json add needle for qwerty user logged into console 2016-06-02 08:23:02 -07:00
user_logged_in_qwerty.png add needle for qwerty user logged into console 2016-06-02 08:23:02 -07:00
user_logged_in-biosfont.json Organize needles to directories (step 2/2) 2016-05-13 13:43:31 +02:00
user_logged_in-biosfont.png Organize needles to directories (step 2/2) 2016-05-13 13:43:31 +02:00
user_logged_in-noprofile.json Organize needles to directories (step 2/2) 2016-05-13 13:43:31 +02:00
user_logged_in-noprofile.png Organize needles to directories (step 2/2) 2016-05-13 13:43:31 +02:00
user_logged_in.json Organize needles to directories (step 2/2) 2016-05-13 13:43:31 +02:00
user_logged_in.png Organize needles to directories (step 2/2) 2016-05-13 13:43:31 +02:00