action #34471
Updated by SLindoMansilla over 5 years ago
## Observation openQA test in scenario opensuse-42.3-Updates-x86_64-textmode@64bit fails in [zypper_up](https://openqa.opensuse.org/tests/652064/modules/zypper_up/steps/1) ``` [7 Apr 2018 21:01:23] <tacit> okurz: Somewhat more frequent unstable failure: https://openqa.opensuse.org/tests/652064#step/zypper_up/4 suspecting timing here as the root username is entered before the login promot [7 Apr 2018 21:57:16] <okurz> tacit: well, problem is the not so good needle in https://openqa.opensuse.org/tests/652064#step/zypper_up/1 . as you can see on the '(i)' icon the test looks for tty6-selected and this is what we should use. What happens now that the test expects tt6, checks for just the generic needle, is happy with tty1, then the VM actually switches to tty6 but in the process the root name is already typed, only after that the getty is [7 Apr 2018 21:57:16] <okurz> activated. But you know what, I think I have seen this slower behavior even manually. Was there some update to getty or systemd that could have caused a slow down here? [8 Apr 2018 08:10:09] <okurz> tacit: So actually I would consider a product bug but try to remove our needles nevertheless. We can remove the needle but it might break some tests. ``` ## Reproducible Fails since (at least) Build [20180407-3](https://openqa.opensuse.org/tests/652064) (current job) ## Expected result - **AC:** There should be no needle with tag "text-login" anymore but only tty$nr-specific ones as we did already for SLE to prevent premature matching ## Tasks 1. Remove all needles with tag "text-login" 2. Fix the tests that use that needle tag. ## Suggestions * Find current uses of the generic needles, e.g. "text-login-20160812" using https://openqa.opensuse.org/admin/needles * Make sure there exist valid tty$nr-selected needles for all cases where text-login is matched on * Delete the too generic needles * Crosscheck carefully that all tests on o3 do not fail because of now deleted needles where there is no tty$nr-replacement. ## Further details Always latest result in this scenario: [latest](https://openqa.opensuse.org/tests/latest?distri=opensuse&machine=64bit&flavor=Updates&test=textmode&version=42.3&arch=x86_64) See #33097 for the work that has been done for the corresponding SLE needles.