action #126680
closed[openQA-in-openQA] no candidate needle with tag(s) 'boot-menu, openqa-desktop' matched in worker size:M
Added by livdywan over 1 year ago. Updated 12 months ago.
0%
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
Updated by okurz over 1 year 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
Updated by okurz over 1 year 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
Updated by okurz over 1 year 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
Updated by livdywan over 1 year 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
Updated by tinita about 1 year ago
link to latest failure for reference: https://openqa.opensuse.org/tests/3567464
Updated by tinita about 1 year ago
Updated by okurz about 1 year ago
- Status changed from Blocked to Workable
- Assignee deleted (
okurz)
unblocked
Updated by okurz about 1 year ago
- Target version changed from Ready to Tools - Next
Updated by okurz about 1 year ago
- Target version changed from Tools - Next to Ready
Updated by jbaier_cz about 1 year ago
- Related to action #133025: Configure Virtual Interfaces instructions do not work on Leap 15.5 size:M added
Updated by jbaier_cz about 1 year ago
- Status changed from Workable to In Progress
First complication ahead, since https://github.com/os-autoinst/os-autoinst-distri-openQA/pull/147 we need to use wicked which is unfortunately only in the Gnome image (as the default is afaik NM). I will ignore it for now and will continue with my initial experiments, but we will definitely need to discuss further steps.
Updated by openqa_review about 1 year ago
- Due date set to 2023-12-05
Setting due date based on mean cycle time of SUSE QE Tools
Updated by jbaier_cz about 1 year ago
As a first step, I tried to enhance our support to also allow NetworkManager in multi-machine setup script: https://github.com/os-autoinst/os-autoinst/pull/2407 This will allow us to use other pre-made HDDs with different desktops, where wicked is not installed by default.
Updated by jbaier_cz about 1 year ago
- Status changed from In Progress to Feedback
I created some minor updates inspired by what was already done by okurz and put it all together. The main PR (which links to other needed work) is at https://github.com/os-autoinst/os-autoinst-distri-openQA/pull/154. Feedback welcomed.
Updated by jbaier_cz about 1 year ago
Add the PR tests are currently not working due to #138203
Updated by jbaier_cz about 1 year ago
- Related to action #138203: [openQA-in-openQA] CI jobs show error but don't fail the CI job as they should *and* openqa_install+publish missing size:M added
Updated by jbaier_cz 12 months ago
- Related to action #135143: [tools] test fails in openqa_from_git -> dashboard size:M auto_review:"no candidate needle.*boot-menu, openqa-desktop":retry added
Updated by jbaier_cz 12 months ago
The actual switch away from Gnome should be possible by https://github.com/os-autoinst/os-autoinst-distri-openQA/pull/156
Updated by jbaier_cz 12 months ago
- Status changed from Feedback to In Progress
Need to add a workaround for https://bugzilla.suse.com/show_bug.cgi?id=1217397
Updated by jbaier_cz 12 months ago
- Status changed from In Progress to Feedback
I added a simple workaround as part of https://github.com/os-autoinst/os-autoinst-distri-openQA/pull/156; now it should be safe and possible to switch the desktop environment if we want.
Updated by jbaier_cz 12 months ago
Also added a fix for jenkins jobs https://github.com/os-autoinst/scripts/pull/277
Updated by jbaier_cz 12 months ago
- Related to action #152667: openQA-in-openQA tests fail since 2023-12-14 in gnome login dialog added