Project

General

Profile

action #126680

[openQA-in-openQA] no candidate needle with tag(s) 'boot-menu, openqa-desktop' matched in worker size:M

Added by cdywan 2 months ago. Updated 2 months ago.

Status:
Blocked
Priority:
Normal
Assignee:
Category:
Concrete Bugs
Target version:
Start date:
Due date:
% Done:

0%

Estimated time:
Difficulty:

Description

Observation

Apparently the worker tests in openQA-in-openQA are broken:

# Test died: no candidate needle with tag(s) 'boot-menu, openqa-desktop' matched

https://openqa.opensuse.org/tests/3193538#step/worker/3

Acceptance criteria

  • AC1: openQA-in-openQA worker module passes consistently
  • AC2: The test is less dependent on GNOME design changes

Suggestions

  • Look into providing the missing needle
  • Adapt the test case accordingly
  • Don't use a GNOME desktop which frequently undergoes design changes e.g. gmrun, icewm, openbox

History

#1 Updated by okurz 2 months ago

  • Tags set to openQA-in-openQA, needle, gnome
  • Status changed from New to In Progress
  • Assignee set to okurz

The jobs passed again with https://github.com/os-autoinst/os-autoinst-needles-openQA/commit/499a3292bf9a2b48a4da9fa2d219d61f5fe00770 applied but IMHO we can improve because we don't want to care about how gnome looks in an openQA test. We could switch to icewm or something which is much less likely to change in behavior and look than gnome.

I triggered a job based on the HDD image created by https://openqa.opensuse.org/tests/latest?arch=x86_64&distri=opensuse&flavor=NET&machine=64bit&test=create_hdd_minimalx&version=Tumbleweed with

openqa-clone-job --within-instance https://openqa.opensuse.org/tests/3193538 --skip-chained-deps BUILD= _GROUP=0 TEST+=okurz-try_minimalx_base_image HDD_1=opensuse-Tumbleweed-x86_64-20230325-minimalx@64bit.qcow2

this fails in
https://openqa.opensuse.org/tests/3194088#step/boot/4 showing that the image boots icewm (actually quite fast) and then expects a login in contrast to the gnome image which has "auto-login". I created a new needle "openqa-desktop-minimalx-login-20230327" as our function "wait_for_desktop" supports handling the login.

There is one point where we apply gnome-specifics so we need to change code for that as well: https://github.com/os-autoinst/os-autoinst-distri-openQA/pull/112

openqa-clone-custom-git-refspec https://github.com/os-autoinst/os-autoinst-distri-openQA/pull/112 https://openqa.opensuse.org/tests/3194109

-> https://openqa.opensuse.org/tests/3194152

#2 Updated by okurz 2 months ago

  • Status changed from In Progress to New
  • Priority changed from High to Normal

The urgency was already initially removed. I plan to continue the following days

#3 Updated by osukup 2 months ago

new gnome/ new needles needed ?

#4 Updated by okurz 2 months ago

osukup wrote:

new gnome/ new needles needed ?

Yes, that was the case. That is what mkittler did yesterday. I am trying to use icewm as base

#5 Updated by cdywan 2 months ago

  • Subject changed from [openQA-in-openQA] no candidate needle with tag(s) 'boot-menu, openqa-desktop' matched in worker to [openQA-in-openQA] no candidate needle with tag(s) 'boot-menu, openqa-desktop' matched in worker size:M
  • Description updated (diff)
  • Status changed from New to Workable

#6 Updated by okurz 2 months ago

  • Status changed from Workable to Blocked

I'd like to continue after #126950 and #126704 so that I have a good example scenario where I can verify and try those fixes/features.

Also available in: Atom PDF