action #67123
Updated by JRivrain over 4 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 )
As a temorary workaround I added CASEDIR="https://github.com/JRivrain/os-autoinst-distri-opensuse.git#hh" to the samba_ncurses test suite in both ooo and osd. This should be removed after the current issue 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)
[37m[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)
[0m[37m[2020-05-20T12:29:54.615 CEST] [debug] no change: 3.9s
[0m[37m[2020-05-20T12:29:55.617 CEST] [debug] no change: 2.9s
[0m[37m[2020-05-20T12:29:56.617 CEST] [debug] no change: 1.9s
[0m[32m[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
[0m[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)
## 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)