#105 Bypass dup chars after snapshot brc#1691487
Merged 5 years ago by adamwill. Opened 5 years ago by michelmno.
fedora-qa/ michelmno/os-autoinst-distri-fedora bypass_1691487  into  master

file modified
+8 -1
@@ -7,7 +7,7 @@ 

  

  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 @@ 

  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 @@ 

      my $self = shift;

      my ($ip, $hostname) = split(/ /, get_var("POST_STATIC"));

      $hostname //= 'localhost.localdomain';

+     bypass_1691487;

      # set up networking

      setup_tap_static($ip, $hostname);

  }

file modified
+1
@@ -5,6 +5,7 @@ 

  

  sub run {

      my $self = shift;

+     bypass_1691487;

      # set up appropriate repositories

      repo_setup();

      # use --enablerepo=fedora for Modular compose testing (we need to

file modified
+2
@@ -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 @@ 

  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 @@ 

          $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 @@ 

  

  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';

  }