Project

General

Profile

action #67123

[functional][y]test fails in yast2_samba

Added by JRivrain about 2 months ago. Updated 13 days ago.

Status:
Blocked
Priority:
High
Assignee:
Category:
Bugs in existing tests
Target version:
SUSE QA tests - SLE 15 SP3
Start date:
2020-05-21
Due date:
% Done:

0%

Estimated time:
Difficulty:
Duration:

Description

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

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 (current job)

Expected result

Last good: (unknown) (or more recent)

Further details

Always latest result in this scenario: latest


Related issues

Related to openQA Tests - action #66871: [funcional][y] Re-enable samba test module in yast2-ncurses suiteBlocked2020-05-142020-10-20

Related to openQA Tests - action #67363: [functional][y] Remove or adapt workaround for yast2-samba ncurses testBlocked2020-05-272020-10-20

History

#1 Updated by JRivrain about 2 months ago

  • Related to action #66871: [funcional][y] Re-enable samba test module in yast2-ncurses suite added

#2 Updated by JRivrain about 2 months ago

  • Description updated (diff)

#3 Updated by riafarov about 2 months ago

  • Status changed from New to Rejected
  • Assignee set to riafarov

I guess we can reject this one and continue with our plan described in #67363. Please, reopen in case I miss something.

#4 Updated by JRivrain about 2 months ago

  • Status changed from Rejected to New

riafarov wrote:

I guess we can reject this one and continue with our plan described in #67363. Please, reopen in case I miss something.

Hi, I guess you missed something, this is not the related to the workaround in #67363, it's something else : the code in the library yast2_widget_utils somehow stopped working, so we should try to see why.

#5 Updated by riafarov about 2 months ago

  • Due date set to 2020-06-16
  • Assignee deleted (riafarov)
  • Target version set to SLE 15 SP2

JRivrain wrote:

riafarov wrote:

I guess we can reject this one and continue with our plan described in #67363. Please, reopen in case I miss something.

Hi, I guess you missed something, this is not the related to the workaround in #67363, it's something else : the code in the library yast2_widget_utils somehow stopped working, so we should try to see why.

So which one should we address first then? We have now 3 tickets and it's quite confusing what should follow what, as we haven't disable test module yet.

#6 Updated by riafarov about 1 month ago

  • Due date changed from 2020-06-16 to 2020-06-30

#7 Updated by riafarov 28 days ago

  • Due date changed from 2020-06-30 to 2020-07-14

#8 Updated by JRivrain 20 days ago

  • Related to action #67363: [functional][y] Remove or adapt workaround for yast2-samba ncurses test added

#9 Updated by JRivrain 15 days ago

  • Description updated (diff)

#10 Updated by riafarov 14 days ago

  • Due date deleted (2020-07-14)
  • Status changed from New to Blocked
  • Assignee set to riafarov
  • Target version changed from SLE 15 SP2 to SLE 15 SP3

We are running test in dev job group to see when patch arrives, after that we can act on this item.

#11 Updated by JRivrain 13 days ago

  • Description updated (diff)

Also available in: Atom PDF