Project

General

Profile

Actions

action #54293

closed

[tools] less getty workarounds possible? (was: getty workarounds should not be needed on Linux >= 4.20.4)

Added by okurz over 5 years ago. Updated over 4 years ago.

Status:
Resolved
Priority:
Normal
Assignee:
Category:
Enhancement to existing tests
Start date:
2019-07-15
Due date:
2020-02-25
% Done:

0%

Estimated time:
Difficulty:

Description

Motivation

We are currently applying some workarounds to make access to the serial port from tests more reliable. According to https://bugzilla.suse.com/show_bug.cgi?id=1112108#c3 this should not be necessary anymore with Linux => 4.20.4 so we should try this out.

Acceptance criteria

  • AC1: Less getty related workarounds are applied for Tumbleweed and more recent versions of our products or comment in bug
  • AC2: Comment in bug about the result
Actions #1

Updated by riafarov over 5 years ago

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

@okurz: I guess, you've forgot that we did that to avoid polluted serial with login messages. So the only thing we have related to the bug is it's detection, which I would leave in order to see if we still have this issue in other distributions/versions.
Let me know if I've missed something and feel free to reopen the ticket.

Actions #2

Updated by okurz over 5 years ago

  • Subject changed from [functional][y] getty workarounds should not be needed on Linux >= 4.20.4 to [tools] less getty workarounds possible? (was: getty workarounds should not be needed on Linux >= 4.20.4)
  • Status changed from Rejected to Workable
  • Assignee changed from riafarov to okurz
  • Target version set to future

hm, I see. Seems to make sense so far and of course we do not need at all to rush things. I would just like to eventually simplify the tests again. There are other ways as well of course, e.g. not do the same in every newly spawned xterm and such but this might be even something else. I will pick the ticket up on me then and put it on hold for now. Thanks for your assessment.

Actions #3

Updated by okurz almost 5 years ago

  • Status changed from Workable to Feedback
Actions #4

Updated by okurz almost 5 years ago

merged

Actions #5

Updated by okurz almost 5 years ago

  • Target version changed from future to Current Sprint
Actions #6

Updated by okurz almost 5 years ago

  • Status changed from Feedback to In Progress

So https://github.com/os-autoinst/os-autoinst-distri-opensuse/pull/7084 tried to optimize some calls but we are still applying the getty disabling as workaround. I created a patch in https://github.com/okurz/os-autoinst-distri-opensuse/tree/enhance/getty to disable that workaround on more recent products, only Tumbleweed in this case to be on the safe side.

for i in https://openqa.opensuse.org/tests/1165424 https://openqa.opensuse.org/tests/1165398 https://openqa.opensuse.org/tests/1162614 https://openqa.opensuse.org/tests/1163571 https://openqa.opensuse.org/tests/1166172 https://openqa.opensuse.org/tests/1166050; do openqa-clone-custom-git-refspec https://github.com/os-autoinst/os-autoinst-distri-opensuse/pull/9534 $i ; done
Actions #7

Updated by okurz almost 5 years ago

  • Due date set to 2020-02-18
  • Status changed from In Progress to Feedback
Actions #8

Updated by okurz over 4 years ago

  • Due date changed from 2020-02-18 to 2020-02-25

PR is merged and seems to work but I realized we still have a check if the getty is active in become_root which we can also disable so:

https://github.com/os-autoinst/os-autoinst-distri-opensuse/pull/9601

Actions #9

Updated by okurz over 4 years ago

  • Status changed from Feedback to Resolved
Actions

Also available in: Atom PDF