1
0
mirror of https://pagure.io/fedora-qa/os-autoinst-distri-fedora.git synced 2024-11-04 15:24:20 +00:00
os-autoinst-distri-fedora/needles/console
Lukáš Růžička fe8306d2cd Implement distribution methods to replace the testapi defaults.
This PR adds implementations of distribution methods to make them
usable on Fedora. It adds the following methods

* ensure_installed (to install packages)
* become_root (to switch to root account)
* script_sudo (run script with sudo)
* assert_script_sudo (run and assert a sudo script)

It also adds a helper script to the utils.pm

* make_serial_writable

that makes the serial console writable for normal users
and so enables to run commands that check their progress
by sending messages to the serial console. Normally, they
fail, because the messages will not be written their, so
the checking mechanism will never see them.
2022-01-27 21:44:35 +00:00
..
anaconda_install_text_done-20161207.json Add updated variants of a few more needles 2016-12-07 16:11:27 -08:00
anaconda_install_text_done-20161207.png Add updated variants of a few more needles 2016-12-07 16:11:27 -08: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 update text install main hub needle for text change in Rawhide 2016-12-05 14:41:20 -08:00
anaconda_main_hub_text.png update text install main hub needle for text change in Rawhide 2016-12-05 14:41:20 -08: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_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
anaconda-rescue_mounted-20171016.json Add anaconda-rescue_mounted-20171016 needle 2017-10-16 12:52:30 -07:00
anaconda-rescue_mounted-20171016.png Add anaconda-rescue_mounted-20171016 needle 2017-10-16 12:52:30 -07:00
boot_enter_passphrase-20161221.json Add another boot passphrase entry needle variant for F25 2017-01-11 14:56:50 -08:00
boot_enter_passphrase-20161221.png Add another boot passphrase entry needle variant for F25 2017-01-11 14:56:50 -08:00
boot_enter_passphrase-console-20210314.json Add more needles for console passphrase entry 2021-03-23 16:40:03 -07:00
boot_enter_passphrase-console-20210314.png Add more needles for console passphrase entry 2021-03-23 16:40:03 -07:00
boot_enter_passphrase-console-uefi-20210317.json Add more needles for console passphrase entry 2021-03-23 16:40:03 -07:00
boot_enter_passphrase-console-uefi-20210317.png Add more needles for console passphrase entry 2021-03-23 16:40:03 -07:00
boot_enter_passphrase-graphical-20191024.json Add new variant boot_enter_passphrase graphical needle 2019-10-24 13:20:51 -07:00
boot_enter_passphrase-graphical-20191024.png Add new variant boot_enter_passphrase graphical needle 2019-10-24 13:20:51 -07:00
boot_enter_passphrase-greywhite-20180507.json Add some more variant needles (passphrase entry, Firefox) 2018-05-07 16:24:36 -07:00
boot_enter_passphrase-greywhite-20180507.png Add some more variant needles (passphrase entry, Firefox) 2018-05-07 16:24:36 -07:00
boot_enter_passphrase-verbose-20201125.json Verbose boot_enter_passphrase needle for current IoT state 2020-12-02 14:43:35 -08:00
boot_enter_passphrase-verbose-20201125.png Verbose boot_enter_passphrase needle for current IoT state 2020-12-02 14:43:35 -08: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
bootloader_bios_installed-20211108.json Update some bootloader needles for grub 2.06 2021-11-08 16:07:53 -08:00
bootloader_bios_installed-20211108.png Update some bootloader needles for grub 2.06 2021-11-08 16:07:53 -08: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_offline_automatic_start-20161108.json First PowerPC specific changes (not templates) 2017-09-06 08:43:04 +02:00
bootloader_bios_offline_automatic_start-20161108.png First PowerPC specific changes (not templates) 2017-09-06 08:43:04 +02:00
bootloader_bios_offline_ppc-20211123.json Update PPC bootloader needles 2021-11-24 09:45:21 -08:00
bootloader_bios_offline_ppc-20211123.png Update PPC bootloader needles 2021-11-24 09:45:21 -08:00
bootloader_bios_offline_ppc.json First PowerPC specific changes (not templates) 2017-09-06 08:43:04 +02:00
bootloader_bios_offline_ppc.png First PowerPC specific changes (not templates) 2017-09-06 08:43:04 +02:00
bootloader_bios_offline-respin-lcc-20200616.json Add variant bootloader needle for LCC-built images 2020-06-17 17:39:33 -07:00
bootloader_bios_offline-respin-lcc-20200616.png Add variant bootloader needle for LCC-built images 2020-06-17 17:39:33 -07: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_bios_pxe-20190816.json Add PXE boot test 2019-08-20 18:17:57 -07:00
bootloader_bios_pxe-20190816.png Add PXE boot test 2019-08-20 18:17:57 -07:00
bootloader_uefi-20211108.json Update some bootloader needles for grub 2.06 2021-11-08 16:07:53 -08:00
bootloader_uefi-20211108.png Update some bootloader needles for grub 2.06 2021-11-08 16:07:53 -08:00
bootloader_uefi.json Tweak bootloader_uefi so it matches both pre- and post-install 2018-03-15 12:52:17 -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 tweak initial_setup_done match for change in Rawhide 2016-09-28 13:41:33 -07:00
console_initial_setup_done.png add ARM initial-setup test 2016-05-18 14:04:45 +02:00
console_initial_setup-20170916.json Update console_initial_setup needle 2017-09-16 17:47:25 -07:00
console_initial_setup-20170916.png Update console_initial_setup needle 2017-09-16 17:47:25 -07: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
console_password_required-greywhite-20180515.json Add needles to handle console login with 'white on grey' colors 2018-05-14 18:47:49 -07:00
console_password_required-greywhite-20180515.png Add needles to handle console login with 'white on grey' colors 2018-05-14 18:47:49 -07: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
emergency_rescue_nopassword-20201028.json Handle emergency console entry with no password 2020-10-28 15:21:03 -07:00
emergency_rescue_nopassword-20201028.png Handle emergency console entry with no password 2020-10-28 15:21:03 -07:00
emergency_rescue-20170119.json Make log upload work when installed system hits emergency mode 2017-02-01 12:30:21 +01:00
emergency_rescue-20170119.png Make log upload work when installed system hits emergency mode 2017-02-01 12:30:21 +01:00
login_permission_denied-20200611.json Add variant login_permission_denied needle 2020-06-17 17:40:02 -07:00
login_permission_denied-20200611.png Add variant login_permission_denied needle 2020-06-17 17:40:02 -07: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_gnome.json Implement distribution methods to replace the testapi defaults. 2022-01-27 21:44:35 +00:00
root_logged_in_gnome.png Implement distribution methods to replace the testapi defaults. 2022-01-27 21:44:35 +00:00
root_logged_in-blackwhite-20210219.json Add workaround logged_in needles for CoreOS white prompt 2021-02-19 10:28:33 -08:00
root_logged_in-blackwhite-20210219.png Add workaround logged_in needles for CoreOS white prompt 2021-02-19 10:28:33 -08:00
root_logged_in-dracut-20190116.json Post fail: handle landing in dracut shell, upload rdsosreport 2019-01-16 11:24:06 -08:00
root_logged_in-dracut-20190116.png Post fail: handle landing in dracut shell, upload rdsosreport 2019-01-16 11:24:06 -08:00
root_logged_in-greywhite-20180515.json Add needles to handle console login with 'white on grey' colors 2018-05-14 18:47:49 -07:00
root_logged_in-greywhite-20180515.png Add needles to handle console login with 'white on grey' colors 2018-05-14 18:47:49 -07:00
root_logged_in-noprofile-sh51.json Update root_logged_in-noprofile for bash 5.1 2021-01-11 15:47:19 -08:00
root_logged_in-noprofile-sh51.png Update root_logged_in-noprofile for bash 5.1 2021-01-11 15:47:19 -08: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-greywhite-20180514.json Add needles to handle console login with 'white on grey' colors 2018-05-14 18:47:49 -07:00
text_console_login-greywhite-20180514.png Add needles to handle console login with 'white on grey' colors 2018-05-14 18:47:49 -07:00
text_console_login.json Tweak text_console_login match area 2019-11-27 10:39:29 -08: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-biosfont.json Tweak user_logged_in needles a bit 2017-09-11 14:59:04 -07:00
user_logged_in-biosfont.png Organize needles to directories (step 2/2) 2016-05-13 13:43:31 +02:00
user_logged_in-blackwhite-20210219.json Add workaround logged_in needles for CoreOS white prompt 2021-02-19 10:28:33 -08:00
user_logged_in-blackwhite-20210219.png Add workaround logged_in needles for CoreOS white prompt 2021-02-19 10:28:33 -08:00
user_logged_in-hightilde-20191127.json Tweak text_console_login match area 2019-11-27 10:39:29 -08:00
user_logged_in-hightilde-20191127.png Tweak text_console_login match area 2019-11-27 10:39:29 -08:00
user_logged_in-hightilde-20200806.json Update a user_logged_in needle (match dropped to 95%) 2020-08-06 12:25:07 -07:00
user_logged_in-hightilde-20200806.png Update a user_logged_in needle (match dropped to 95%) 2020-08-06 12:25:07 -07:00
user_logged_in-noprofile-sh51-20210313.json Update user_logged_in-noprofile-sh needle for bash 5.1 2021-03-12 18:39:03 -08:00
user_logged_in-noprofile-sh51-20210313.png Update user_logged_in-noprofile-sh needle for bash 5.1 2021-03-12 18:39:03 -08:00
user_logged_in.json Tweak user_logged_in needles a bit 2017-09-11 14:59:04 -07:00
user_logged_in.png Organize needles to directories (step 2/2) 2016-05-13 13:43:31 +02:00