Drop bypass_1691487 function and usage (bug seems fixed)
Per https://bugzilla.redhat.com/show_bug.cgi?id=1691487#c14 it seems like the bug here got fixed along the way and we probably don't need this any more. Signed-off-by: Adam Williamson <awilliam@redhat.com>
This commit is contained in:
parent
4691928c2f
commit
c9609cf26d
@ -7,7 +7,7 @@ use Exporter;
|
|||||||
|
|
||||||
use lockapi;
|
use lockapi;
|
||||||
use testapi;
|
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 repo_setup setup_workaround_repo cleanup_workaround_repo console_initial_setup handle_welcome_screen gnome_initial_setup anaconda_create_user check_desktop download_modularity_tests quit_firefox advisory_get_installed_packages advisory_check_nonmatching_packages start_with_launcher quit_with_shortcut lo_dismiss_tip disable_firefox_studies select_rescue_mode copy_devcdrom_as_isofile bypass_1691487 get_release_number check_left_bar check_top_bar check_prerelease check_version spell_version_number _assert_and_click is_branched rec_log click_unwanted_notifications repos_mirrorlist register_application get_registered_applications solidify_wallpaper/;
|
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 repo_setup setup_workaround_repo cleanup_workaround_repo console_initial_setup handle_welcome_screen gnome_initial_setup anaconda_create_user check_desktop download_modularity_tests quit_firefox advisory_get_installed_packages advisory_check_nonmatching_packages start_with_launcher quit_with_shortcut lo_dismiss_tip disable_firefox_studies select_rescue_mode copy_devcdrom_as_isofile get_release_number check_left_bar check_top_bar check_prerelease check_version spell_version_number _assert_and_click is_branched rec_log click_unwanted_notifications repos_mirrorlist register_application get_registered_applications solidify_wallpaper/;
|
||||||
|
|
||||||
# We introduce this global variable to hold the list of applications that have
|
# We introduce this global variable to hold the list of applications that have
|
||||||
# registered during the apps_startstop_test when they have sucessfully run.
|
# registered during the apps_startstop_test when they have sucessfully run.
|
||||||
@ -1125,13 +1125,6 @@ EOF
|
|||||||
assert_script_run($_) foreach (split /\n/, $cmd);
|
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"';
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
sub menu_launch_type {
|
sub menu_launch_type {
|
||||||
# Launch an application in a graphical environment, by opening a
|
# Launch an application in a graphical environment, by opening a
|
||||||
# launcher, typing the specified string and hitting enter. Pass
|
# launcher, typing the specified string and hitting enter. Pass
|
||||||
|
@ -8,7 +8,6 @@ use utils;
|
|||||||
|
|
||||||
sub run {
|
sub run {
|
||||||
my $self = shift;
|
my $self = shift;
|
||||||
bypass_1691487 unless (get_var("DESKTOP"));
|
|
||||||
$self->root_console(tty=>3);
|
$self->root_console(tty=>3);
|
||||||
# wait for server to be set up
|
# wait for server to be set up
|
||||||
mutex_lock "podman_server_ready";
|
mutex_lock "podman_server_ready";
|
||||||
|
@ -8,7 +8,6 @@ sub run {
|
|||||||
my $self = shift;
|
my $self = shift;
|
||||||
my ($ip, $hostname) = split(/ /, get_var("POST_STATIC"));
|
my ($ip, $hostname) = split(/ /, get_var("POST_STATIC"));
|
||||||
$hostname //= 'localhost.localdomain';
|
$hostname //= 'localhost.localdomain';
|
||||||
bypass_1691487;
|
|
||||||
# set up networking
|
# set up networking
|
||||||
setup_tap_static($ip, $hostname);
|
setup_tap_static($ip, $hostname);
|
||||||
}
|
}
|
||||||
|
@ -5,7 +5,6 @@ use utils;
|
|||||||
|
|
||||||
sub run {
|
sub run {
|
||||||
my $self = shift;
|
my $self = shift;
|
||||||
bypass_1691487;
|
|
||||||
# set up appropriate repositories
|
# set up appropriate repositories
|
||||||
repo_setup();
|
repo_setup();
|
||||||
# use --enablerepo=fedora for Modular compose testing (we need to
|
# use --enablerepo=fedora for Modular compose testing (we need to
|
||||||
|
@ -19,7 +19,6 @@ sub run {
|
|||||||
# autocloud used to use, via tunir and this tunir config:
|
# autocloud used to use, via tunir and this tunir config:
|
||||||
# https://infrastructure.fedoraproject.org/cgit/ansible.git/tree/roles/autocloud/backend/files/fedora.txt?id=6e7c1b90593df8371fd34ed9484bd4da119236d3
|
# https://infrastructure.fedoraproject.org/cgit/ansible.git/tree/roles/autocloud/backend/files/fedora.txt?id=6e7c1b90593df8371fd34ed9484bd4da119236d3
|
||||||
my $self = shift;
|
my $self = shift;
|
||||||
bypass_1691487;
|
|
||||||
# we need to use script_run as regular user
|
# we need to use script_run as regular user
|
||||||
assert_script_run "chmod ugo+w /dev/" . $serialdev;
|
assert_script_run "chmod ugo+w /dev/" . $serialdev;
|
||||||
# let's go to another tty and login as regular user
|
# let's go to another tty and login as regular user
|
||||||
|
@ -18,7 +18,6 @@ sub test_routine {
|
|||||||
|
|
||||||
sub run {
|
sub run {
|
||||||
my $self = shift;
|
my $self = shift;
|
||||||
bypass_1691487 unless (get_var("DESKTOP"));
|
|
||||||
# switch to TTY3 for both graphical and console tests
|
# switch to TTY3 for both graphical and console tests
|
||||||
$self->root_console(tty=>3);
|
$self->root_console(tty=>3);
|
||||||
# Run test for the first time
|
# Run test for the first time
|
||||||
|
@ -5,7 +5,6 @@ use utils;
|
|||||||
|
|
||||||
sub run {
|
sub run {
|
||||||
my $self=shift;
|
my $self=shift;
|
||||||
bypass_1691487 unless (get_var("DESKTOP"));
|
|
||||||
# switch to TTY3 for both, graphical and console tests
|
# switch to TTY3 for both, graphical and console tests
|
||||||
$self->root_console(tty=>3);
|
$self->root_console(tty=>3);
|
||||||
validate_script_output 'getenforce', sub { $_ =~ m/Enforcing/ };
|
validate_script_output 'getenforce', sub { $_ =~ m/Enforcing/ };
|
||||||
|
@ -5,7 +5,6 @@ use utils;
|
|||||||
|
|
||||||
sub run {
|
sub run {
|
||||||
my $self=shift;
|
my $self=shift;
|
||||||
bypass_1691487 unless (get_var("DESKTOP"));
|
|
||||||
# switch to TTY3 for both, graphical and console tests
|
# switch to TTY3 for both, graphical and console tests
|
||||||
$self->root_console(tty=>3);
|
$self->root_console(tty=>3);
|
||||||
# The pre-created image has a special file left in the home
|
# The pre-created image has a special file left in the home
|
||||||
|
@ -24,7 +24,6 @@ sub run {
|
|||||||
$expectver = $rawrel if ($expectver eq "Rawhide");
|
$expectver = $rawrel if ($expectver eq "Rawhide");
|
||||||
# Create a spelt form of the version number.
|
# Create a spelt form of the version number.
|
||||||
my $speltnum = spell_version_number($tospell);
|
my $speltnum = spell_version_number($tospell);
|
||||||
bypass_1691487;
|
|
||||||
# Create the expected content of the release file
|
# Create the expected content of the release file
|
||||||
# and compare it with its real counterpart.
|
# and compare it with its real counterpart.
|
||||||
my $expected = "Fedora release $expectver ($speltnum)";
|
my $expected = "Fedora release $expectver ($speltnum)";
|
||||||
|
@ -8,7 +8,6 @@ use utils;
|
|||||||
|
|
||||||
sub run {
|
sub run {
|
||||||
my $self = shift;
|
my $self = shift;
|
||||||
bypass_1691487 unless (get_var("DESKTOP"));
|
|
||||||
$self->root_console(tty=>3);
|
$self->root_console(tty=>3);
|
||||||
# check podman is installed
|
# check podman is installed
|
||||||
assert_script_run "rpm -q podman";
|
assert_script_run "rpm -q podman";
|
||||||
|
@ -9,7 +9,6 @@ use cockpit;
|
|||||||
sub run {
|
sub run {
|
||||||
my $self = shift;
|
my $self = shift;
|
||||||
# use FreeIPA server as DNS server
|
# use FreeIPA server as DNS server
|
||||||
bypass_1691487;
|
|
||||||
assert_script_run "printf 'search test.openqa.fedoraproject.org\nnameserver 172.16.2.100' > /etc/resolv.conf";
|
assert_script_run "printf 'search test.openqa.fedoraproject.org\nnameserver 172.16.2.100' > /etc/resolv.conf";
|
||||||
# this gets us the name of the first connection in the list,
|
# this gets us the name of the first connection in the list,
|
||||||
# which should be what we want
|
# which should be what we want
|
||||||
|
@ -21,7 +21,6 @@ sub run {
|
|||||||
$server_ip = '172.16.2.107';
|
$server_ip = '172.16.2.107';
|
||||||
$server_mutex = 'replica_ready';
|
$server_mutex = 'replica_ready';
|
||||||
}
|
}
|
||||||
bypass_1691487;
|
|
||||||
# this gets us the name of the first connection in the list,
|
# this gets us the name of the first connection in the list,
|
||||||
# which should be what we want
|
# which should be what we want
|
||||||
my $connection = script_output "nmcli --fields NAME con show | head -2 | tail -1";
|
my $connection = script_output "nmcli --fields NAME con show | head -2 | tail -1";
|
||||||
|
@ -7,7 +7,6 @@ use cockpit;
|
|||||||
|
|
||||||
sub run {
|
sub run {
|
||||||
my $self=shift;
|
my $self=shift;
|
||||||
bypass_1691487;
|
|
||||||
|
|
||||||
# Start Cockpit
|
# Start Cockpit
|
||||||
start_cockpit(1);
|
start_cockpit(1);
|
||||||
|
@ -6,7 +6,6 @@ use cockpit;
|
|||||||
|
|
||||||
sub run {
|
sub run {
|
||||||
my $self=shift;
|
my $self=shift;
|
||||||
bypass_1691487;
|
|
||||||
# run firefox and login to cockpit
|
# run firefox and login to cockpit
|
||||||
start_cockpit(1);
|
start_cockpit(1);
|
||||||
# go to the logs screen
|
# go to the logs screen
|
||||||
|
@ -7,7 +7,6 @@ use cockpit;
|
|||||||
|
|
||||||
sub run {
|
sub run {
|
||||||
my $self=shift;
|
my $self=shift;
|
||||||
bypass_1691487;
|
|
||||||
|
|
||||||
my $cockdate = "0";
|
my $cockdate = "0";
|
||||||
# Remove a package, disable repositories and enable test repositories, install the package
|
# Remove a package, disable repositories and enable test repositories, install the package
|
||||||
|
@ -5,7 +5,6 @@ use utils;
|
|||||||
|
|
||||||
sub run {
|
sub run {
|
||||||
my $self = shift;
|
my $self = shift;
|
||||||
bypass_1691487;
|
|
||||||
# check / is xfs, as it should be on server
|
# check / is xfs, as it should be on server
|
||||||
assert_script_run 'findmnt -M / -o FSTYPE | grep xfs';
|
assert_script_run 'findmnt -M / -o FSTYPE | grep xfs';
|
||||||
}
|
}
|
||||||
|
@ -5,7 +5,6 @@ use utils;
|
|||||||
|
|
||||||
sub run {
|
sub run {
|
||||||
my $self = shift;
|
my $self = shift;
|
||||||
bypass_1691487 unless (get_var("DESKTOP"));
|
|
||||||
# switch to TTY3 for both, graphical and console tests
|
# switch to TTY3 for both, graphical and console tests
|
||||||
$self->root_console(tty=>3);
|
$self->root_console(tty=>3);
|
||||||
my @unwanteds;
|
my @unwanteds;
|
||||||
|
Loading…
Reference in New Issue
Block a user