Project

General

Profile

action #26928

Updated by okurz over 6 years ago

## observation 

 [gnome@64bit-ipmi](https://openqa.suse.de/tests/1227829/file/autoinst-log.txt) fails to connect to the VNC server for VNC based installation. The test incorrectly looks for the SSH server to be ready and then try to connect to the VNC server. But this worked in before.  

 ## reproducible 

 Every time  

 ## expected result 

 last good: [sle-15-Leanos-DVD-x86_64-Build248.1-gnome@64bit-ipmi](https://openqa.suse.de/tests/1167409#step/boot_from_pxe/7) seems to find the ssh server just fine on openqaw1:1 and then connects to VNC. 


 ## problem 

 * **H1** regression in product -> **E1-1** crosscheck with older build, e.g. 248.1 
 * **H2** test is incorrect and fails now because product changed slightly -> **E2-1** change test to make more sense, e.g. don't look for ssh server when you want to connect to a VNC server 

 ## further details 

 see parent ticket for details 

 Seems that the following commit introduced a dubious change although tests were still fine after that: gnome@64bit-impi does not work anymore since: 

 ``` 
 commit a29497af 
 Author: alice <xlai@suse.com> 
 Date:     Tue Jul 25 13:54:15 2017 +0800 

     Virtualization: fix autoyast installation failure on 3rd generation ipmi backend for sle11sp4 

 diff --git a/tests/boot/boot_from_pxe.pm b/tests/boot/boot_from_pxe.pm 
 index 4880be37..279d1622 100644 
 --- a/tests/boot/boot_from_pxe.pm 
 +++ b/tests/boot/boot_from_pxe.pm 
 @@ -55,7 +55,7 @@ sub run { 
      type_string "vga=791 ",     $type_speed; 
      type_string "Y2DEBUG=1 ", $type_speed; 
 
 -      if (check_var('BACKEND', 'ipmi')) { 
 +      if (check_var('BACKEND', 'ipmi') && !check_var('AUTOYAST', '1')) { 
          my $cmdline = ''; 
          if (check_var('VIDEOMODE', 'text')) { 
              $cmdline .= 'ssh=1 ';      # trigger ssh-text installation 
 @@ -79,7 +79,9 @@ sub run { 
      } 
 
      type_string "console=$serialdev,115200 ", $type_speed;      # to get crash dumps as text 
 -      type_string "console=tty ",                 $type_speed; 
 +      if (!(check_var('BACKEND', 'ipmi') && get_var('AUTOYAST'))) { 
 +          type_string "console=tty ", $type_speed; 
 +      } 
 ``` 

 See #23650#note-17 for details: "Removing the additional "console=tty" and just let "console=ttyS1,115200" in there results in the expected output on the serial console." 

 ## reproducible 

 Every time  

 ## expected result 

 last good: [sle-15-Leanos-DVD-x86_64-Build248.1-gnome@64bit-ipmi](https://openqa.suse.de/tests/1167409#step/boot_from_pxe/7) seems to find the ssh server just fine on openqaw1:1 and then connects to VNC.

Back