File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 44# examples are documented here https://documentation.suse.com/sles/15-SP4/html/SLES-all/article-minimal-vm.html#sec-cloud-init-config-examples
55hostname : cucaracha
66timezone : Europe/Prague
7+ locale : en_US.UTF-8
8+ keyboard :
9+ layout : us
710users :
811 - default
912 - name : root
Original file line number Diff line number Diff line change @@ -400,16 +400,16 @@ sub load_boot_tests {
400400 if (get_var(" ISO_MAXSIZE" ) && (!is_remote_backend() || is_svirt_except_s390x())) {
401401 loadtest " installation/isosize" ;
402402 }
403- if ((get_var(" UEFI" ) || is_jeos()) && !is_svirt) {
403+ if ((get_var(" UEFI" ) || is_jeos()) && !is_svirt && !get_var( ' NO_CLOUD ' ) ) {
404404 loadtest " installation/data_integrity" if data_integrity_is_applicable;
405405 loadtest " installation/bootloader_uefi" ;
406406 }
407- elsif (is_svirt_except_s390x()) {
408- load_svirt_vm_setup_tests;
409- }
410407 elsif (is_s390x && is_jeos) {
411408 loadtest " installation/bootloader_start" ;
412409 }
410+ elsif (is_svirt_except_s390x()) {
411+ load_svirt_vm_setup_tests;
412+ }
413413 elsif (uses_qa_net_hardware() || get_var(" PXEBOOT" )) {
414414 loadtest " boot/boot_from_pxe" ;
415415 set_var(" DELAYED_START" , get_var(" PXEBOOT" ));
@@ -628,7 +628,7 @@ sub load_jeos_tests {
628628 loadtest " jeos/prepare_firstboot" ;
629629 }
630630
631- load_boot_tests() unless get_var( ' NO_CLOUD ' ) ;
631+ load_boot_tests();
632632 if (check_var(' FIRST_BOOT_CONFIG' , ' combustion' )) {
633633 loadtest ' microos/verify_setup' ;
634634 loadtest ' microos/image_checks' ;
Original file line number Diff line number Diff line change @@ -54,6 +54,7 @@ schedule:
5454 - console/ca_certificates_mozilla
5555 - console/ansible
5656 - x11/evolution/evolution_prepare_servers
57+ - console/console_reboot
5758 - console/unzip
5859 - console/gpg
5960 - console/rsync
Original file line number Diff line number Diff line change 11# SUSE's openQA tests
22#
3- # Copyright 2018-2020 SUSE LLC
3+ # Copyright 2018-2025 SUSE LLC
44# SPDX-License-Identifier: FSFAP
55
66# Package: systemd
@@ -37,7 +37,7 @@ use constant {
3737
3838# Tumbleweed uses a persistent journal, Leap 15.3+ (except 15.3 AArch64 JeOS) inherits SLE's default
3939sub has_default_persistent_journal {
40- return is_tumbleweed || (is_leap(' =15.3' ) && check_var(' FLAVOR' , ' JeOS-for-AArch64' ));
40+ return is_tumbleweed || is_sle( ' 16.0+ ' ) || (is_leap(' =15.3' ) && check_var(' FLAVOR' , ' JeOS-for-AArch64' ));
4141}
4242
4343# If the daemon is stopped uncleanly, or if the files are found to be corrupted, they are renamed using the ".journal~" suffix
@@ -176,7 +176,7 @@ sub run {
176176 # To enable persistent logging in opensuse, we use systemd-logger.rpm that creates */var/log/journal/* directory
177177 get_current_boot_id \@boots ;
178178 if (has_default_persistent_journal) {
179- if (is_tumbleweed) {
179+ if (is_tumbleweed || is_sle( ' 16.0+ ' ) ) {
180180 script_output(sprintf (" test -d %s && ls --almost-all %s " , PERSISTENT_LOG_DIR, PERSISTENT_LOG_DIR));
181181 } else {
182182 assert_script_run ' rpm -q systemd-logger' ;
Original file line number Diff line number Diff line change 11# SUSE's openSLP regression test
22#
3- # Copyright 2019-2020 SUSE LLC
3+ # Copyright 2019-2025 SUSE LLC
44# SPDX-License-Identifier: FSFAP
55
66# Package: openslp-server
@@ -21,7 +21,7 @@ use warnings;
2121use utils qw( zypper_call systemctl script_retry) ;
2222use Utils::Systemd ' disable_and_stop_service' ;
2323use Utils::Logging ' save_and_upload_log' ;
24- use version_utils qw( is_tumbleweed) ;
24+ use version_utils qw( is_tumbleweed is_sle ) ;
2525
2626sub run {
2727 my ($self ) = @_ ;
@@ -41,7 +41,7 @@ sub run {
4141 assert_script_run ' slptool -v' ;
4242 assert_script_run ' slptool findsrvs service:service-agent | grep service-agent' ;
4343
44- unless (is_tumbleweed) {
44+ unless (is_tumbleweed || is_sle( ' 16.0+ ' ) ) {
4545 assert_script_run ' slptool findsrvs service:ssh | grep "ssh://\|:22,"' ;
4646
4747 # List all available services
Original file line number Diff line number Diff line change @@ -13,6 +13,7 @@ use Utils::Logging qw(save_and_upload_log);
1313use publiccloud::ssh_interactive qw( select_host_console) ;
1414use utils qw( ensure_serialdev_permissions) ;
1515use version_utils qw( is_openstack is_public_cloud is_opensuse) ;
16+ use serial_terminal;
1617
1718my @errors = ();
1819
@@ -29,7 +30,7 @@ sub run {
2930 }
3031 };
3132
32- select_console( ' root-console ' ) ;
33+ select_serial_terminal ;
3334 record_info(' VERSION' , script_output(' cloud-init -v' ));
3435 record_info(' STATUS' , script_output(' cloud-init status --wait --long' , proceed_on_failure => 1));
3536 record_info(' ANALYZE' , script_output(' cloud-init analyze show' ));
You can’t perform that action at this time.
0 commit comments