Project

General

Profile

Actions

action #120450

closed

coordination #121876: [epic] Handle openQA review failures in Yam squad - SLE 15 SP5

Call conditionally systemd-vconsole-setup before accessing virtual consoles to avoid wrong visualization with ncurses

Added by hjluo over 1 year ago. Updated 10 months ago.

Status:
Rejected
Priority:
Normal
Assignee:
-
Target version:
Start date:
2022-11-15
Due date:
% Done:

0%

Estimated time:

Description

Motivation

We need to run only stable tests for testing unreleased maintenance updates as aggregate.
We encountered the following sporadic test issue:

openQA test in scenario sle-12-SP5-Server-DVD-Updates-x86_64-qam-nfs-client@64bit fails in
yast2_nfs_client

It is related with this bug https://bugzilla.suse.com/show_bug.cgi?id=1183234#c52 and we need to adapt our test scenario to workaround it.

Before any access to any of the virtual consoles the systemd-vconsole-setup(8) has to be executed to be sure that the configuration in vconsole.conf(5) is applied (font with its font mappings as well as the keymap)

Perhaps in this bug is better explained https://bugzilla.suse.com/show_bug.cgi?id=1205290#c3
This translates to calling /usr/lib/systemd/systemd-vconsole-setup after console switching, we need to do that for every tty except tty1.

Scope

The one from the SLE bug, only SLE 12 SP5

Acceptance criteria

AC1: Call conditionally the command mentioned before opening YaST module

Additional information

We might need to apply this solution in other test suites, it is not specific of this test suite, but something broken in SLE 12 SP5.
we could consider to include it conditionally in the mechanism to open YaST modules conditionally to =SLE-12-SP5.

Actions #1

Updated by hjluo over 1 year ago

  • Project changed from openQA Tests to qe-yam
  • Category deleted (Bugs in existing tests)
Actions #2

Updated by hjluo over 1 year ago

  • Subject changed from workaround sporandic fail on the yast nfs-client: it shows è and ã instead of UTF-8 line to workaround sporadic failure on the yast nfs-client: it shows è and ã instead of UTF-8 line
Actions #3

Updated by JERiveraMoya over 1 year ago

  • Tags set to qe-yast-refinement
  • Target version set to Current
Actions #4

Updated by JERiveraMoya over 1 year ago

  • Subject changed from workaround sporadic failure on the yast nfs-client: it shows è and ã instead of UTF-8 line to Check service before accessing virtual consoles to avoid wrong visualization with ncurses
  • Description updated (diff)
Actions #5

Updated by JERiveraMoya over 1 year ago

  • Subject changed from Check service before accessing virtual consoles to avoid wrong visualization with ncurses to Call conditionally systemd-vconsole-setup before accessing virtual consoles to avoid wrong visualization with ncurses
  • Description updated (diff)
Actions #6

Updated by JERiveraMoya over 1 year ago

  • Tags deleted (qe-yast-refinement)
  • Status changed from New to Workable
Actions #7

Updated by coolgw over 1 year ago

  • Status changed from Workable to In Progress
  • Assignee set to coolgw
Actions #8

Updated by JERiveraMoya over 1 year ago

my understanding is that with that instructions in the description we should be able to workaround it, but I'm not complete sure, you can follow the long discussion in bsc#1181636 and perhaps ask there if that doesn't help.

Actions #10

Updated by JERiveraMoya over 1 year ago

  • Parent task set to #121876
Actions #11

Updated by coolgw over 1 year ago

for i in {02..50} ; do openqa-clone-job --within-instance http://openqa.suse.de 10156592 TEST=$i BUILD=wegao_investigation_120450 _GROUP="wegao-check120450" --clone-children; done
https://openqa.suse.de/tests/overview?distri=sle&version=12-SP5&build=wegao_investigation_120450

Actions #12

Updated by JRivrain over 1 year ago

I realize, this problem could appear in any other ncurses tests, like here https://bugzilla.suse.com/attachment.cgi?id=844886. So maybe we could think to make a specific module with the workaround. For now we can merge the PR as quick fix and maybe submit another ticket if we see that issue in other places.

Actions #13

Updated by coolgw over 1 year ago

Hold currently since this issue will be solve soon base PR latest comments

Actions #14

Updated by JERiveraMoya about 1 year ago

  • Status changed from In Progress to New
  • Assignee deleted (coolgw)
Actions #16

Updated by JERiveraMoya 10 months ago

  • Status changed from New to Rejected

This one is not needed anymore, the bug was fixed afir.

Actions

Also available in: Atom PDF