Project

General

Profile

Actions

action #64195

closed

[sle][functional] test fails in nis_server when opening firewall port

Added by JERiveraMoya about 4 years ago. Updated about 4 years ago.

Status:
Resolved
Priority:
Normal
Assignee:
Category:
Bugs in existing tests
Target version:
-
Start date:
2020-03-04
Due date:
% Done:

0%

Estimated time:
Difficulty:

Description

Observation

openQA test in scenario sle-15-SP2-Online-x86_64-nis_server@64bit fails in
nis_server

When alt-f reaches the VM instead of opening firewall port is typing 'f' on the first textbox. Somehow the problem was solved when we have a needle that contains the cursor but it does not look trivial to create so we need to check what other things we could do here to have proper synchronization.

Test suite description

https://progress.opensuse.org/issues/9900
this is only the working part, there are few bugs

Reproducible

Fails since (at least) Build 148.1

Expected result

Last good: 146.1 (or more recent)

Further details

Always latest result in this scenario: latest

Actions #1

Updated by JERiveraMoya about 4 years ago

  • Subject changed from [sle][functionl] test fails in nis_server when opening firewall port to [sle][functional] test fails in nis_server when opening firewall port
Actions #2

Updated by JRivrain about 4 years ago

  • Status changed from New to In Progress
  • Assignee set to JRivrain

Taking this as it may block my other ticket https://progress.opensuse.org/issues/9900

Actions #3

Updated by JERiveraMoya about 4 years ago

  • Status changed from In Progress to Resolved

Let's re-open if still failing, but for now worked https://openqa.suse.de/tests/3964082. Thanks for the fix.

Actions #4

Updated by JRivrain about 4 years ago

Actions #5

Updated by JRivrain about 4 years ago

  • Status changed from Resolved to In Progress
Actions #6

Updated by JRivrain about 4 years ago

I tried two different fixes, https://github.com/os-autoinst/os-autoinst-distri-opensuse/pull/9714 then https://github.com/os-autoinst/os-autoinst-distri-opensuse/pull/9729, those worked on my workstation and on prod the first time I tried, then failed on next build... What to do when Openqa simply does not send keys to the SUT ?
The idea of a needle with the cursor cannot help either, as anyway openqa sends "f" instead of "alt-f". In the second fix I tried with tab instead. Then it seems openqa forgets to send tab keys : https://openqa.suse.de/tests/3983499#step/nis_server/46
I'm out of ideas.

Actions #7

Updated by JRivrain about 4 years ago

  • Status changed from In Progress to Blocked
Actions #8

Updated by JRivrain about 4 years ago

  • Status changed from Blocked to Feedback

Another idea was to click instead of sending keys, thanks to JERiveramoya for pointing me that obvious solution. Now let's hope it keeps working this time. https://github.com/os-autoinst/os-autoinst-distri-opensuse/pull/974

Actions #9

Updated by JRivrain about 4 years ago

  • Status changed from Feedback to Resolved
Actions

Also available in: Atom PDF