Project

General

Profile

Actions

action #54056

closed

[functional][u] test fails in virtman_view

Added by dimstar almost 5 years ago. Updated over 4 years ago.

Status:
Resolved
Priority:
High
Assignee:
Category:
Bugs in existing tests
Target version:
-
Start date:
2019-07-10
Due date:
% Done:

0%

Estimated time:
Difficulty:

Description

Observation

Seems the keypresses need be re-evaluated, as we end up in the 'New Virtual Machine' dialog rather than the 'view' settings menu.

Long story short, keyboard shortcuts might need to be updated for virt-manager.

openQA test in scenario opensuse-Tumbleweed-DVD-x86_64-virtualization@64bit fails in
virtman_view

Test suite description

Maintainer: okurz. Test virtualization stack using libvirt and virt-manager.

Reproducible

Fails since (at least) Build 20190705

Expected result

Last good: 20190704 (or more recent)

Further details

Always latest result in this scenario: latest


Related issues 1 (0 open1 closed)

Related to openQA Project - action #55703: send_keys() doesn't guarantee that the application will handle modifiers+normal_key properlyResolvedcoolo2019-04-15

Actions
Actions #1

Updated by SLindoMansilla almost 5 years ago

  • Subject changed from test fails in virtman_view to [virtualization] test fails in virtman_view
Actions #2

Updated by okurz almost 5 years ago

  • Subject changed from [virtualization] test fails in virtman_view to [functional][u] test fails in virtman_view
  • Priority changed from Normal to High

Unfortunately AFAIK QSF-u is still responsible for "virtualization" on openSUSE. Might be worth to pick this discussion up once again with their PO and QA SLE PrjM

Actions #3

Updated by okurz over 4 years ago

This is an autogenerated message for openQA integration by the openqa_review script:

This bug is still referenced in a failing openQA test: virtualization
https://openqa.opensuse.org/tests/993448

Actions #4

Updated by szarate over 4 years ago

  • Description updated (diff)
  • Status changed from New to Workable
Actions #5

Updated by zluo over 4 years ago

  • Status changed from Workable to In Progress
  • Assignee set to zluo

take over and checking...

Actions #6

Updated by zluo over 4 years ago

found that it fails at:

# go to view now
wait_screen_change { send_key 'alt-v' };
wait_screen_change { send_key 'right' };
# activate everything

it closes the context menu very fast after send_key 'alt-v'.

Actions #7

Updated by zluo over 4 years ago

http://f40.suse.de/tests/4747#step/virtman_view/8 shows correct test results now.

wait_screen_change after assert_screen is a problem in the test.

Actions #8

Updated by zluo over 4 years ago

  • Status changed from In Progress to Feedback
Actions #9

Updated by zluo over 4 years ago

PR updated:

the PR #7636 breaks virtman_view.pm on x86_64 because
wait_screen_change after assert_screen causes a new problem.
Also fix the issue with go to preferences which is sometimes not
working.

see https://progress.opensuse.org/issues/54056

test verification runs:
http://f40.suse.de/tests/4912#step/virtman_view/8 (64bit)
http://f40.suse.de/tests/4910#step/virtman_view/8 (aarch64)

Actions #10

Updated by okurz over 4 years ago

This is an autogenerated message for openQA integration by the openqa_review script:

This bug is still referenced in a failing openQA test: virtualization
https://openqa.opensuse.org/tests/1015221

Actions #11

Updated by ggardet_arm over 4 years ago

aarch64 is also affected now.

Actions #12

Updated by zluo over 4 years ago

  • Status changed from Feedback to Blocked

now we have a ticket for this general issue with typing: https://progress.opensuse.org/issues/55703

set as blocked for now.

Actions #13

Updated by zluo over 4 years ago

  • Blocked by action #55703: send_keys() doesn't guarantee that the application will handle modifiers+normal_key properly added
Actions #14

Updated by okurz over 4 years ago

This is an autogenerated message for openQA integration by the openqa_review script:

This bug is still referenced in a failing openQA test: virtualization
https://openqa.opensuse.org/tests/1028234

Actions #15

Updated by okurz over 4 years ago

This is an autogenerated message for openQA integration by the openqa_review script:

This bug is still referenced in a failing openQA test: virtualization
https://openqa.opensuse.org/tests/1042041

Actions #16

Updated by okurz over 4 years ago

This is an autogenerated message for openQA integration by the openqa_review script:

This bug is still referenced in a failing openQA test: virtualization
https://openqa.opensuse.org/tests/1055445

To prevent further reminder comments one of the following options should be followed:

  1. The test scenario is fixed by applying the bug fix to the tested product or the test is adjusted
  2. The openQA job group is moved to "Released"
  3. The label in the openQA scenario is removed
Actions #17

Updated by okurz over 4 years ago

This is an autogenerated message for openQA integration by the openqa_review script:

This bug is still referenced in a failing openQA test: virtualization
https://openqa.opensuse.org/tests/1066022

To prevent further reminder comments one of the following options should be followed:

  1. The test scenario is fixed by applying the bug fix to the tested product or the test is adjusted
  2. The openQA job group is moved to "Released"
  3. The label in the openQA scenario is removed
Actions #18

Updated by ggardet_arm over 4 years ago

This problem is that send_key('alt-v') shows very briefly the View menu and disappear shortly after. If you send and hold alt key, send v, and release alt after a short wait, it passes properly.
PR available to implement this workaround: https://github.com/os-autoinst/os-autoinst-distri-opensuse/pull/8862

Actions #19

Updated by coolo over 4 years ago

  • Blocked by deleted (action #55703: send_keys() doesn't guarantee that the application will handle modifiers+normal_key properly)
Actions #20

Updated by zluo over 4 years ago

  • Status changed from Blocked to Feedback

Let's wait for https://github.com/os-autoinst/os-autoinst-distri-opensuse/pull/8862 for now and check this later.

Actions #21

Updated by SLindoMansilla over 4 years ago

  • Related to action #55703: send_keys() doesn't guarantee that the application will handle modifiers+normal_key properly added
Actions #22

Updated by dimstar over 4 years ago

IIRC, the explicit fix to change the alt-v key press into alt and v (instead of alt-v) was reverted, breaking the test again.

Actions #23

Updated by SLindoMansilla over 4 years ago

  • Status changed from Feedback to Workable

zluo, please try a proper value for VNC_TYPING_LIMIT
Reference to #55703 and https://github.com/os-autoinst/os-autoinst/pull/1260/files

Actions #24

Updated by zluo over 4 years ago

  • Status changed from Workable to In Progress

let me check current status at first:

https://openqa.opensuse.org/tests/1088175

failed for tumblweed as well because of CPU soft lockup issue:

CPU soft lockup detected - Serial error: [ 1010.288531] watchdog: BUG: soft lockup - CPU#0 stuck for 42s! [CPU 3/KVM:5745]
Failed

Actions #25

Updated by zluo over 4 years ago

still failed. Trying now with VNC_TYPING_LIMIT_DEFAULT=10:

http://f40.suse.de/tests/5297

this is no effect, maybe I need to set VNC_TYPING_LIMI=10 here: http://f40.suse.de/tests/5299

Actions #26

Updated by zluo over 4 years ago

the tests with VPN_TYPING_LIMIT are all failed and I think this is not related typing issue. Investigating...

Actions #27

Updated by zluo over 4 years ago

found out that send_key alt+v for open viewmenu-graph not realiable, I even have problem with this key press on my tw...

see example:
http://f40.suse.de/tests/5306#step/virtman_view/13

graph shows up already but the context menu is still there.

Actions #28

Updated by dimstar over 4 years ago

With https://github.com/os-autoinst/os-autoinst-distri-opensuse/pull/8862 the test seemed to pass fine - until this was reverted again

Actions #29

Updated by dimstar over 4 years ago

dimstar wrote:

With https://github.com/os-autoinst/os-autoinst-distri-opensuse/pull/8862 the test seemed to pass fine - until this was reverted again

i.e. https://openqa.opensuse.org/tests/1083047 - this was the only test running with this PR merged

Actions #30

Updated by zluo over 4 years ago

with some changes for replacing send_keys I got now:

http://f40.suse.de/tests/5317#step/virtman_view/13 shows now better result except closing application.

Need to handle close and quit later.

Actions #31

Updated by zluo over 4 years ago

https://github.com/os-autoinst/os-autoinst-needles-opensuse/pull/612 created for new needles.

waiting for test results on my openqa server 50 times:

http://f40.suse.de/tests/5320#next_previous

Actions #32

Updated by zluo over 4 years ago

start verification test run on o3 for my PR:

https://openqa.opensuse.org/tests/1089670

Actions #33

Updated by zluo over 4 years ago

https://openqa.opensuse.org/tests/1090395#next_previous should provide more statics for test run.
This is not working now because the installation medium got removed from o3. testing now against latest build on f40.suse.de:

http://f40.suse.de/tests/5371

Actions #34

Updated by zluo over 4 years ago

  • Status changed from In Progress to Feedback

asked for PR review.

Actions #35

Updated by SLindoMansilla over 4 years ago

Where is the PR?

Actions #37

Updated by zluo over 4 years ago

  • Status changed from Feedback to In Progress

since we need to support sles as well, I will create new needles then and run tests.

Actions #38

Updated by zluo over 4 years ago

  • Status changed from In Progress to Feedback

PR merged now, set is as feedback.

Actions #39

Updated by zluo over 4 years ago

  • Status changed from Feedback to Rejected
Actions #40

Updated by zluo over 4 years ago

  • Status changed from Rejected to New
Actions #41

Updated by zluo over 4 years ago

  • Status changed from New to Resolved
Actions #42

Updated by okurz over 4 years ago

This is an autogenerated message for openQA integration by the openqa_review script:

This bug is still referenced in a failing openQA test: virtualization
https://openqa.opensuse.org/tests/1119763

To prevent further reminder comments one of the following options should be followed:

  1. The test scenario is fixed by applying the bug fix to the tested product or the test is adjusted
  2. The openQA job group is moved to "Released"
  3. The label in the openQA scenario is removed
Actions

Also available in: Atom PDF