mirror of
https://github.com/rocky-linux/os-autoinst-distri-rocky.git
synced 2024-11-25 14:41:27 +00:00
Bypass dup chars after snapshot brc#1691487
eg failing jobs: https://openqa.stg.fedoraproject.org/tests/499908#step/_boot_to_anaconda/7 https://openqa.stg.fedoraproject.org/tests/519326#step/_post_network_static/4 Signed-off-by: Michel Normand <normand@linux.vnet.ibm.com>
This commit is contained in:
parent
a9c6e69689
commit
37e2f134f1
@ -7,7 +7,7 @@ use Exporter;
|
||||
|
||||
use lockapi;
|
||||
use testapi;
|
||||
our @EXPORT = qw/run_with_error_check type_safely type_very_safely desktop_vt boot_to_login_screen console_login console_switch_layout desktop_switch_layout console_loadkeys_us do_bootloader boot_decrypt check_release menu_launch_type start_cockpit repo_setup gnome_initial_setup anaconda_create_user check_desktop_clean download_modularity_tests quit_firefox advisory_get_installed_packages advisory_check_nonmatching_packages start_with_launcher quit_with_shortcut disable_firefox_studies select_rescue_mode copy_devcdrom_as_isofile/;
|
||||
our @EXPORT = qw/run_with_error_check type_safely type_very_safely desktop_vt boot_to_login_screen console_login console_switch_layout desktop_switch_layout console_loadkeys_us do_bootloader boot_decrypt check_release menu_launch_type start_cockpit repo_setup gnome_initial_setup anaconda_create_user check_desktop_clean download_modularity_tests quit_firefox advisory_get_installed_packages advisory_check_nonmatching_packages start_with_launcher quit_with_shortcut disable_firefox_studies select_rescue_mode copy_devcdrom_as_isofile bypass_1691487/;
|
||||
|
||||
sub run_with_error_check {
|
||||
my ($func, $error_screen) = @_;
|
||||
@ -917,3 +917,10 @@ sha256sum -c /tmp/x
|
||||
EOF
|
||||
assert_script_run($_) foreach (split /\n/, $cmd);
|
||||
}
|
||||
|
||||
sub bypass_1691487 {
|
||||
if (script_run 'echo "expected command supposed to be typed without error."') {
|
||||
record_soft_failure 'brc#1691487 bypass';
|
||||
script_run 'echo "trial bypass dup chars brc#1691487"';
|
||||
}
|
||||
}
|
||||
|
@ -8,6 +8,7 @@ sub run {
|
||||
my $self = shift;
|
||||
my ($ip, $hostname) = split(/ /, get_var("POST_STATIC"));
|
||||
$hostname //= 'localhost.localdomain';
|
||||
bypass_1691487;
|
||||
# set up networking
|
||||
setup_tap_static($ip, $hostname);
|
||||
}
|
||||
|
@ -5,6 +5,7 @@ use utils;
|
||||
|
||||
sub run {
|
||||
my $self = shift;
|
||||
bypass_1691487;
|
||||
# set up appropriate repositories
|
||||
repo_setup();
|
||||
# use --enablerepo=fedora for Modular compose testing (we need to
|
||||
|
@ -1,9 +1,11 @@
|
||||
use base "installedtest";
|
||||
use strict;
|
||||
use testapi;
|
||||
use utils;
|
||||
|
||||
sub run {
|
||||
my $self=shift;
|
||||
bypass_1691487;
|
||||
# switch to TTY3 for both, graphical and console tests
|
||||
$self->root_console(tty=>3);
|
||||
validate_script_output 'getenforce', sub { $_ =~ m/Enforcing/ };
|
||||
|
@ -8,6 +8,7 @@ use tapnet;
|
||||
sub run {
|
||||
my $self = shift;
|
||||
# use FreeIPA server as DNS server
|
||||
bypass_1691487;
|
||||
assert_script_run "printf 'search domain.local\nnameserver 10.0.2.100' > /etc/resolv.conf";
|
||||
# wait for the server to be ready (do it now just to make sure name
|
||||
# resolution is working before we proceed)
|
||||
|
@ -21,6 +21,7 @@ sub run {
|
||||
$server_ip = '10.0.2.107';
|
||||
$server_mutex = 'replica_ready';
|
||||
}
|
||||
bypass_1691487;
|
||||
assert_script_run "printf 'search domain.local\nnameserver ${server_ip}' > /etc/resolv.conf";
|
||||
assert_script_run "sed -i -e '/^DNS.*/d' /etc/sysconfig/network-scripts/ifcfg-eth0";
|
||||
assert_script_run "printf '\nDNS1=${server_ip}\n' >> /etc/sysconfig/network-scripts/ifcfg-eth0";
|
||||
|
@ -5,6 +5,7 @@ use utils;
|
||||
|
||||
sub run {
|
||||
my $self=shift;
|
||||
bypass_1691487;
|
||||
# run firefox and login to cockpit
|
||||
start_cockpit(1);
|
||||
# go to the logs screen
|
||||
|
@ -1,9 +1,11 @@
|
||||
use base "installedtest";
|
||||
use strict;
|
||||
use testapi;
|
||||
use utils;
|
||||
|
||||
sub run {
|
||||
my $self = shift;
|
||||
bypass_1691487;
|
||||
# check / is xfs, as it should be on server
|
||||
assert_script_run 'findmnt -M / -o FSTYPE | grep xfs';
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user