Project

General

Profile

Actions

action #95275

closed

[qe-core] Failure in x11_start_program breaks post_fail_hook of following modules

Added by favogt almost 3 years ago. Updated over 2 years ago.

Status:
Resolved
Priority:
Normal
Assignee:
Category:
Enhancement to existing tests
Target version:
-
Start date:
2021-07-09
Due date:
% Done:

100%

Estimated time:
Difficulty:

Description

https://openqa.opensuse.org/tests/1831535 shows various failing modules.
usr_sbin_smbd fails in x11_start_program because the expected needle doesn't appear. This sets IN_X11_START_PROGRAM to the full commandline.
The post fail hook then tries to run which get_var("IN_X11_START_PROGRAM"), which due to a bug uses the full commandline and not just the executable itself.
This failure causes the post_fail_hook to abort, which is ok so far.

The issue is that IN_X11_START_PROGRAM stays set, even after the lastgood snapshot is loaded. Thus all post_fail_hook invocations fail early because they all attempt to run the broken which command.

Actions

Also available in: Atom PDF