Project

General

Profile

Actions

action #105506

closed

[sporadic][tools] openQA-in-openQA test sporadically fails in shutdown

Added by okurz over 2 years ago. Updated about 2 years ago.

Status:
Resolved
Priority:
Normal
Assignee:
Category:
Bugs in existing tests
Target version:
Start date:
2022-01-26
Due date:
2022-02-18
% Done:

0%

Estimated time:
Difficulty:

Description

Observation

openQA test in scenario openqa-Tumbleweed-dev-x86_64-openqa_install+publish@64bit-2G fails in
shutdown. Stepping through the video frame by frame it looks like the test switches to the root console but never types poweroff. The line

wait_screen_change { send_key 'ctrl-alt-f3' }

might be the culprite because we don't explicitly wait for the root console to appear but just assume that after the screen content changed significantly enough that we have reached the root console. However the root console might not yet be responsive at this time.

Test suite description

Maintainer: okurz@suse.de Test for installation of openQA itself. To be used with "openqa" distri. Publishes an qcow2 image including the openQA installation ready to run as an appliance.

Reproducible

Fails since (at least) Build :TW.10346 (current job). https://openqa.opensuse.org/tests/2157847#next_previous shows 19/407 failures so a fail-ratio of roughly 5%.

Expected result

Last good: :TW.10345 (or more recent)

Suggestions

  • Reproduce the error locally and confirm the fail-ratio
  • Either properly synchronize the switch to the responsive root terminal with an explicit assert_screen or use backend power functions over the test API.

Further details

Always latest result in this scenario: latest


Related issues 1 (0 open1 closed)

Related to openQA Project - action #105429: openQA's fullstack test fails in `shutdown` moduleResolvedmkittler2022-01-25

Actions
Actions

Also available in: Atom PDF