mirror of
https://github.com/rocky-linux/os-autoinst-distri-rocky.git
synced 2024-12-23 19:28:29 +00:00
add base_services_start test for ARM
Differential Revision: https://phab.qadevel.cloud.fedoraproject.org/D861
This commit is contained in:
parent
a1d240b135
commit
802c9298fd
24
templates
24
templates
@ -226,6 +226,17 @@
|
||||
},
|
||||
test_suite => { name => "base_services_start" },
|
||||
},
|
||||
{
|
||||
machine => { name => "ARM" },
|
||||
prio => 62,
|
||||
product => {
|
||||
arch => "arm",
|
||||
distri => "fedora",
|
||||
flavor => "Minimal-raw_xz-raw.xz",
|
||||
version => "*",
|
||||
},
|
||||
test_suite => { name => "base_services_start_arm" },
|
||||
},
|
||||
{
|
||||
machine => { name => "64bit" },
|
||||
prio => 40,
|
||||
@ -1221,6 +1232,10 @@
|
||||
name => "install_arm_image_deployment_upload",
|
||||
settings => [
|
||||
{ key => "ENTRYPOINT", value => "install_arm_image_deployment" },
|
||||
# we don't want HDD_2 to be really connected, but we need to use it to download
|
||||
# HDD ISO, see https://github.com/os-autoinst/openQA/issues/684
|
||||
{ key => "NUMDISKS", value => "1" },
|
||||
{ key => "HDD_1", value => "%HDD_2%" },
|
||||
{ key => "STORE_HDD_1", value => "disk_%FLAVOR%_%MACHINE%.qcow2" },
|
||||
],
|
||||
},
|
||||
@ -1555,6 +1570,15 @@
|
||||
{ key => "HDD_1", value => "disk_%FLAVOR%_%MACHINE%.qcow2" },
|
||||
],
|
||||
},
|
||||
{
|
||||
name => "base_services_start_arm",
|
||||
settings => [
|
||||
{ key => "ENTRYPOINT", value => "base_services_start" },
|
||||
{ key => "START_AFTER_TEST", value => "install_arm_image_deployment_upload" },
|
||||
{ key => "NUMDISKS", value => "1" },
|
||||
{ key => "HDD_1", value => "disk_%FLAVOR%_%MACHINE%.qcow2" },
|
||||
],
|
||||
},
|
||||
{
|
||||
name => "base_service_manipulation",
|
||||
settings => [
|
||||
|
@ -4,8 +4,13 @@ use testapi;
|
||||
|
||||
sub run {
|
||||
my $self=shift;
|
||||
# wait for boot to complete
|
||||
$self->boot_to_login_screen("", 30);
|
||||
if (get_var("ARCH") eq "arm") {
|
||||
# we cannot use boot_to_login_screen, wait_still_screen is unusable during ARM boot (it shows black screen for first few minutes)
|
||||
assert_screen "text_console_login", 150;
|
||||
} else {
|
||||
# wait for boot to complete
|
||||
$self->boot_to_login_screen("", 30);
|
||||
}
|
||||
# switch to TTY3 for both, graphical and console tests
|
||||
$self->root_console(tty=>3);
|
||||
validate_script_output 'systemctl --failed', sub { $_ =~ m/0 loaded units/ };
|
||||
|
Loading…
Reference in New Issue
Block a user