mirror of
https://pagure.io/fedora-qa/os-autoinst-distri-fedora.git
synced 2024-11-25 07:13:09 +00:00
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
93628ed230
commit
b5c35dc5ba
@ -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 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
|
||||
# registered during the apps_startstop_test when they have sucessfully run.
|
||||
@ -1125,13 +1125,6 @@ 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"';
|
||||
}
|
||||
}
|
||||
|
||||
sub menu_launch_type {
|
||||
# Launch an application in a graphical environment, by opening a
|
||||
# launcher, typing the specified string and hitting enter. Pass
|
||||
|
@ -8,7 +8,6 @@ use utils;
|
||||
|
||||
sub run {
|
||||
my $self = shift;
|
||||
bypass_1691487 unless (get_var("DESKTOP"));
|
||||
$self->root_console(tty=>3);
|
||||
# wait for server to be set up
|
||||
mutex_lock "podman_server_ready";
|
||||
|
@ -8,7 +8,6 @@ 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,7 +5,6 @@ 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
|
||||
|
@ -19,7 +19,6 @@ sub run {
|
||||
# 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
|
||||
my $self = shift;
|
||||
bypass_1691487;
|
||||
# we need to use script_run as regular user
|
||||
assert_script_run "chmod ugo+w /dev/" . $serialdev;
|
||||
# let's go to another tty and login as regular user
|
||||
|
@ -18,7 +18,6 @@ sub test_routine {
|
||||
|
||||
sub run {
|
||||
my $self = shift;
|
||||
bypass_1691487 unless (get_var("DESKTOP"));
|
||||
# switch to TTY3 for both graphical and console tests
|
||||
$self->root_console(tty=>3);
|
||||
# Run test for the first time
|
||||
|
@ -5,7 +5,6 @@ use utils;
|
||||
|
||||
sub run {
|
||||
my $self=shift;
|
||||
bypass_1691487 unless (get_var("DESKTOP"));
|
||||
# switch to TTY3 for both, graphical and console tests
|
||||
$self->root_console(tty=>3);
|
||||
validate_script_output 'getenforce', sub { $_ =~ m/Enforcing/ };
|
||||
|
@ -5,7 +5,6 @@ use utils;
|
||||
|
||||
sub run {
|
||||
my $self=shift;
|
||||
bypass_1691487 unless (get_var("DESKTOP"));
|
||||
# switch to TTY3 for both, graphical and console tests
|
||||
$self->root_console(tty=>3);
|
||||
# The pre-created image has a special file left in the home
|
||||
|
@ -24,7 +24,6 @@ sub run {
|
||||
$expectver = $rawrel if ($expectver eq "Rawhide");
|
||||
# Create a spelt form of the version number.
|
||||
my $speltnum = spell_version_number($tospell);
|
||||
bypass_1691487;
|
||||
# Create the expected content of the release file
|
||||
# and compare it with its real counterpart.
|
||||
my $expected = "Fedora release $expectver ($speltnum)";
|
||||
|
@ -8,7 +8,6 @@ use utils;
|
||||
|
||||
sub run {
|
||||
my $self = shift;
|
||||
bypass_1691487 unless (get_var("DESKTOP"));
|
||||
$self->root_console(tty=>3);
|
||||
# check podman is installed
|
||||
assert_script_run "rpm -q podman";
|
||||
|
@ -9,7 +9,6 @@ use cockpit;
|
||||
sub run {
|
||||
my $self = shift;
|
||||
# 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";
|
||||
# this gets us the name of the first connection in the list,
|
||||
# which should be what we want
|
||||
|
@ -21,7 +21,6 @@ sub run {
|
||||
$server_ip = '172.16.2.107';
|
||||
$server_mutex = 'replica_ready';
|
||||
}
|
||||
bypass_1691487;
|
||||
# this gets us the name of the first connection in the list,
|
||||
# which should be what we want
|
||||
my $connection = script_output "nmcli --fields NAME con show | head -2 | tail -1";
|
||||
|
@ -7,7 +7,6 @@ use cockpit;
|
||||
|
||||
sub run {
|
||||
my $self=shift;
|
||||
bypass_1691487;
|
||||
|
||||
# Start Cockpit
|
||||
start_cockpit(1);
|
||||
|
@ -6,7 +6,6 @@ use cockpit;
|
||||
|
||||
sub run {
|
||||
my $self=shift;
|
||||
bypass_1691487;
|
||||
# run firefox and login to cockpit
|
||||
start_cockpit(1);
|
||||
# go to the logs screen
|
||||
|
@ -7,7 +7,6 @@ use cockpit;
|
||||
|
||||
sub run {
|
||||
my $self=shift;
|
||||
bypass_1691487;
|
||||
|
||||
my $cockdate = "0";
|
||||
# Remove a package, disable repositories and enable test repositories, install the package
|
||||
|
@ -5,7 +5,6 @@ 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';
|
||||
}
|
||||
|
@ -5,7 +5,6 @@ use utils;
|
||||
|
||||
sub run {
|
||||
my $self = shift;
|
||||
bypass_1691487 unless (get_var("DESKTOP"));
|
||||
# switch to TTY3 for both, graphical and console tests
|
||||
$self->root_console(tty=>3);
|
||||
my @unwanteds;
|
||||
|
Loading…
Reference in New Issue
Block a user