Project

General

Profile

action #67123

Updated by riafarov over 3 years ago

## Observation 

 if we check the logs, we see that "send_key ret" is not sent to the SUT. Very strange as there has been no recent code change in that place : https://github.com/os-autoinst/os-autoinst-distri-opensuse/commits/master/lib/yast2_widget_utils.pm. If we change the last time that code was working, we see send_key ret was working ( see here https://openqa.opensuse.org/tests/1266926#step/yast2_samba/33 ) 

 Temporary workaround used from local branch for now: CASEDIR used in test suite on ooo (CASEDIR="https://github.com/JRivrain/os-autoinst-distri-opensuse.git#samba_tempfix") to be removed after this problem is solved. 

 **before:** 
 [2020-05-15T04:14:39.776 CEST] [debug] <<< testapi::check_screen(mustmatch="yast2_ncurses_service_start_after_writing_conf", timeout=1) 
 [2020-05-15T04:14:39.794 CEST] [debug] no match: 4.9s, best candidate: yast2_dns_server-yast2_ncurses_service_start_after_writing_conf-20180827 (0.00) 
 [2020-05-15T04:14:40.778 CEST] [debug] no change: 3.9s 
 [2020-05-15T04:14:41.779 CEST] [debug] no change: 2.9s 
 [2020-05-15T04:14:42.780 CEST] [debug] no change: 1.9s 
 [2020-05-15T04:14:44.254 CEST] [debug] >>> testapi::_handle_found_needle: found yast2_dns_server-yast2_ncurses_service_start_after_writing_conf-20180827, similarity 1.00 @ 471/274 
 [2020-05-15T04:14:44.254 CEST] [debug] tests/console/yast2_proxy.pm:90 called yast2_widget_utils::change_service_configuration -> lib/yast2_widget_utils.pm:55 called yast2_widget_utils::change_service_configuration_step -> lib/yast2_widget_utils.pm:81 called testapi::send_key 
 [2020-05-15T04:14:44.255 CEST] [debug] <<< testapi::send_key(key="ret", do_wait=0, wait_screen_change=0) 

 **now:**  
 yast2_widget_utils::change_service_configuration -> lib/yast2_widget_utils.pm:55 called yast2_widget_utils::change_service_configuration_step -> lib/yast2_widget_utils.pm:79 called testapi::send_key_until_needlematch 
 [2020-05-20T12:29:53.613 CEST] [debug] <<< testapi::check_screen(mustmatch="yast2_ncurses_service_start_after_writing_conf", timeout=1) 
 [2020-05-20T12:29:53.636 CEST] [debug] no match: 4.9s, best candidate: yast2_dns_server-yast2_ncurses_service_start_after_writing_conf-20180827 (0.00) 
 [2020-05-20T12:29:54.615 CEST] [debug] no change: 3.9s 
 [2020-05-20T12:29:55.617 CEST] [debug] no change: 2.9s 
 [2020-05-20T12:29:56.617 CEST] [debug] no change: 1.9s 
 [2020-05-20T12:29:58.103 CEST] [debug] >>> testapi::_handle_found_needle: found yast2_dns_server-yast2_ncurses_service_start_after_writing_conf-20180827, similarity 1.00 @ 175/98 
 [2020-05-20T12:29:58.103 CEST] [debug] tests/console/yast2_samba.pm:393 called yast2_samba::setup_samba -> tests/console/yast2_samba.pm:371 called yast2_samba::setup_samba_startup -> tests/console/yast2_samba.pm:186 called yast2_widget_utils::change_service_configuration -> lib/yast2_widget_utils.pm:56 called yast2_widget_utils::change_service_configuration_step -> lib/yast2_widget_utils.pm:77 called testapi::send_key 
 [2020-05-20T12:29:58.103 CEST] [debug] <<< testapi::send_key(key="alt-a", wait_screen_change=0, do_wait=0) 

 openQA test in scenario opensuse-Tumbleweed-DVD-x86_64-samba_ncurses@64bit fails in 
 [yast2_samba](https://openqa.opensuse.org/tests/1273561/modules/yast2_samba/steps/33) 

 Let's start with TW first, as we should get patch there first. 

 ## Test suite description 
 Samba test has to be excluded from ncurses suite until resolution of bsc#1146736. This test suite is to be executed in development groups. 


 ## Reproducible 

 Fails since (at least) Build [20200519](https://openqa.opensuse.org/tests/1273561) (current job) 


 ## Expected result 

 Last good: (unknown) (or more recent) 


 ## Further details 

 Always latest result in this scenario: [latest](https://openqa.opensuse.org/tests/latest?arch=x86_64&distri=opensuse&flavor=DVD&machine=64bit&test=samba_ncurses&version=Tumbleweed) 

Back