Project

General

Profile

Actions

action #46703

closed

[functional][u] Sometimes a QEMU CD-ROM pop-up is displayed on shutdown

Added by ggardet_arm about 5 years ago. Updated over 4 years ago.

Status:
Resolved
Priority:
High
Assignee:
Category:
Spike/Research
Target version:
SUSE QA - Milestone 28
Start date:
2019-01-25
Due date:
% Done:

0%

Estimated time:
Difficulty:

Description

Observation

openQA test in scenario opensuse-15.1-NET-aarch64-otherDE_lxqt@aarch64 fails in
shutdown

Acceptance criteria

  • AC1-A Test modules passes.
  • AC1-B Or Test module soft-failed with proper product bug.

Exit criteria

  • EC Product bug ticket is created.

Reproducible

Fails since (at least) Build 387.1

Expected result

Last good: 355.3 (or more recent)

Further details

Always latest result in this scenario: latest

Actions #1

Updated by mgriessmeier about 5 years ago

  • Subject changed from Sometimes a QEMU CD-ROM pop-up is displayed on shutdown to [functional][u] Sometimes a QEMU CD-ROM pop-up is displayed on shutdown
Actions #2

Updated by okurz about 5 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: otherDE_lxqt
https://openqa.opensuse.org/tests/841004

Actions #3

Updated by okurz about 5 years ago

  • Target version set to Milestone 24
Actions #4

Updated by okurz about 5 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: otherDE_lxqt
https://openqa.opensuse.org/tests/868525

Actions #5

Updated by okurz about 5 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: otherDE_lxqt
https://openqa.opensuse.org/tests/903286

Actions #6

Updated by mgriessmeier almost 5 years ago

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

not happening for >4weeks

Actions #7

Updated by ggardet_arm almost 5 years ago

  • Status changed from Rejected to Closed

It is back: https://openqa.opensuse.org/tests/939154#step/shutdown/2

Should we create another ticket as it seems I cannot re-open it?

Actions #8

Updated by okurz almost 5 years ago

  • Status changed from Closed to New
  • Assignee deleted (mgriessmeier)
  • Priority changed from Normal to High
  • Target version changed from Milestone 24 to Milestone 25

It's weird that you should not be able to "reopen" it when you can set the status to "closed". So I just set it to "New" and "High" and then the team QSF-u should be able to take a first look into it soon.

Actions #9

Updated by SLindoMansilla almost 5 years ago

  • Description updated (diff)
  • Category changed from Bugs in existing tests to Spike/Research
  • Status changed from New to Workable

It seems to be a product bug. Please, investigate the cause and file a bug ticket with useful logs.

Actions #10

Updated by zluo almost 5 years ago

  • Assignee set to zluo

take over

Actions #16

Updated by zluo almost 5 years ago

  • Status changed from Workable to In Progress
Actions #18

Updated by zluo almost 5 years ago

WIP: https://github.com/os-autoinst/os-autoinst-distri-opensuse/pull/7617
run openqa-clone-custom-git-refspec:

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

Of course need to have the case test with issue (CD-ROW pop-up)

Actions #19

Updated by zluo almost 5 years ago

https://openqa.opensuse.org/tests/950120#step/shutdown/4 shows needle match 92% desktop-runner-lxqt. updating it.

Actions #20

Updated by zluo almost 5 years ago

https://openqa.opensuse.org/tests/950178#step/shutdown/8 shows another issue with match lxqt_logoutdialog which means that triggering shutdown takes to long time.

Compare with https://openqa.opensuse.org/tests/950158/file/autoinst-log.txt

...
[2019-06-05T12:28:43.762 CEST] [debug] <<< testapi::assert_screen(mustmatch=[
'lxqt_logoutdialog',
'desktop-runner-border'
], no_wait=0, timeout=30)
[2019-06-05T12:28:43.782 CEST] [debug] no match: 59.9s, best candidate: lxqt_logoutdialog-20171024 (0.00)
[2019-06-05T12:28:44.895 CEST] [debug] >>> testapi::_handle_found_needle: found lxqt_logoutdialog-20171024, similarity 0.98 @ 269/339

it took about 1 sec for successful match. I think that explains again that performance has a quite big influence on test results.

Actions #21

Updated by zluo almost 5 years ago

Assigned worker: openqa-aarch64:8
https://openqa.opensuse.org/tests/950187#downloads

It event doesn't start a single test...

Actions #22

Updated by zluo almost 5 years ago

compare https://openqa.opensuse.org/tests/950178#step/shutdown/4 with https://openqa.opensuse.org/tests/950226#step/shutdown/2:

shutdown is not entered in runner field.

if (check_var("DESKTOP", "lxqt")) {
# opens logout dialog
x11_start_program('shutdown', target_match => 'lxqt_logoutdialog');
send_key "ret";

lxqt_logoutdialog is not appeared.

this looks like typing issue makes trouble.

Actions #23

Updated by zluo almost 5 years ago

trying:

if (check_var("DESKTOP", "lxqt")) {
# opens logout dialog
x11_start_program('shutdown', target_match => 'lxqt_logoutdialog');
# we have typing issue because of poor performance, to record this if happens.
if (!check_screen 'shutdown-typed', 10) {
type_string 'shutdown';
send_key "ret";
}
else {
send_key "ret";
}
Actions #25

Updated by zluo almost 5 years ago

https://openqa.opensuse.org/tests/950982#step/shutdown/4 shows shutdown typed and Authorization failed dialog doesn't stop the shutdown progress in general, this is good for further step.

Actions #26

Updated by zluo almost 5 years ago

update PR
Need to check an clone:
https://openqa.opensuse.org/tests/951252#settings

Actions #27

Updated by zluo almost 5 years ago

to check https://openqa.opensuse.org/tests/951899#live without install_otherDE_paaterns

Actions #28

Updated by zluo almost 5 years ago

  • Status changed from In Progress to Blocked

https://openqa.opensuse.org/tests/951982#next_previous

issues on O3, I cannot test my code changes, blocked now.

Actions #29

Updated by okurz almost 5 years ago

  • Status changed from Blocked to In Progress

you should have no problem to progress now. What do you need so many jobs for? I am sure that a local run on x86_64 is way faster for you. Probably just boot+shutdown should be enough to save even more time.

Actions #30

Updated by zluo almost 5 years ago

@okurz the issue happened on aarch64 only.
now to check
https://openqa.opensuse.org/tests/952550

Actions #31

Updated by okurz almost 5 years ago

yes, I know. But to check if your test code still works you can test more easily locally :)

Actions #32

Updated by zluo almost 5 years ago

I think I need to include lxqt_reconfigure_openqa, otherwise it will just shutdown icewm, which is just working fine.

Actions #33

Updated by zluo almost 5 years ago

need to check:
https://openqa.opensuse.org/tests/955757#live for PR changes

Actions #35

Updated by zluo almost 5 years ago

https://openqa.opensuse.org/tests/956140#step/shutdown/6

soft failed for now. will update PR now.

Actions #36

Updated by zluo almost 5 years ago

  • Status changed from In Progress to Feedback

waiting for merge or feedback on my PR.

Actions #37

Updated by zluo almost 5 years ago

  • Status changed from Feedback to In Progress
Actions #38

Updated by zluo almost 5 years ago

https://openqa.opensuse.org/tests/961812#step/shutdown/7

shows now expected failed result.

So I add also the pop-up authentification required for craok message as well because this is same reason for died test. but at moment we have problem on o3:

https://openqa.opensuse.org/tests/964638/file/autoinst-log.txt shows now

This is exactly the issue on seattle10 on Monday.

Actions #40

Updated by zluo almost 5 years ago

try later: openqa-clone-custom-git-refspec https://github.com/os-autoinst/os-autoinst-distri-opensuse/pull/7617 https://openqa.opensuse.org/tests/961206 TEST=poo#46703 _GROUP_ID="0" --skip-deps --skip-download

Actions #42

Updated by zluo almost 5 years ago

https://openqa.opensuse.org/tests/972013#step/shutdown/7 shows expected message for the issue with CD-ROM pop-up-

Actions #43

Updated by zluo almost 5 years ago

https://openqa.opensuse.org/tests/972026 shows normal and successful test results.

Actions #44

Updated by zluo almost 5 years ago

  • Status changed from In Progress to Feedback

waiting for merge of my PR.

Actions #45

Updated by mgriessmeier almost 5 years ago

  • Target version changed from Milestone 25 to Milestone 26
Actions #46

Updated by zluo almost 5 years ago

Actions #47

Updated by zluo almost 5 years ago

  • Status changed from Feedback to Resolved

https://openqa.opensuse.org/tests/972013#step/shutdown/6 already shows expected message, no need to wait for this test run extra.

Actions #48

Updated by ggardet_arm almost 5 years ago

Your PR did not fix this ticket. See: https://openqa.opensuse.org/tests/979522#step/shutdown/2

Actions #49

Updated by ggardet_arm over 4 years ago

https://github.com/os-autoinst/os-autoinst-distri-opensuse/pull/8078 is a follow-up of the PR from zluo to not fail, but soft-fail instead.

Actions #50

Updated by ggardet_arm over 4 years ago

  • Status changed from Resolved to Workable

Reopen as the initial problem is not fixed.
Current occurrence: https://openqa.opensuse.org/tests/1006199#step/shutdown/2

Actions #52

Updated by mgriessmeier over 4 years ago

  • Target version changed from Milestone 26 to Milestone 27

test fails even earlier now - but on a different issue - we should keep this open until we can verify that this issue is not happening anymore

Actions #53

Updated by mgriessmeier over 4 years ago

  • Target version changed from Milestone 27 to Milestone 28
Actions #54

Updated by zluo over 4 years ago

  • Status changed from Workable to Resolved
Actions

Also available in: Atom PDF