Project

General

Profile

Actions

action #112331

closed

[qe-core]systemtap fails because kernel debuginfo do not exist

Added by apappas over 2 years ago. Updated over 2 years ago.

Status:
Resolved
Priority:
Normal
Assignee:
Category:
Bugs in existing tests
Start date:
2022-06-13
Due date:
% Done:

0%

Estimated time:
Difficulty:
Sprint:
QE-Core: June Sprint (Jun 08 - Jul 06)

Description

Observation

systemtap fails because it calls prepare_for_kdump which then tries to install the kernel-debuginfo and fails.

The issue is that MAINT_TEST_REPO is not set and this conditional is not executed.

The vars.json from last-good shows how it should be set.

Acceptance Criteria

  • AC1: Investigate why MAINT_TEST_REPO variable is not set correctly.

Reproducible

Fails since (at least) Build 20220610-1

Expected result

Last good: 20220609-1 (or more recent)

Further details

Always latest result in this scenario: latest

Actions #1

Updated by apappas over 2 years ago

The ticket is incorrect. I will update according to this thread
Updated

Actions #2

Updated by apappas over 2 years ago

  • Description updated (diff)
Actions #3

Updated by apappas over 2 years ago

  • Description updated (diff)
Actions #4

Updated by szarate over 2 years ago

  • Sprint set to QE-Core: June Sprint (Jun 08 - Jul 06)
  • Status changed from New to Blocked
  • Priority changed from Immediate to Normal
  • Target version set to QE-Core: Ready
Actions #5

Updated by rainerkoenig over 2 years ago

Investigation results

The "magic" seems to happen in producs/sle/main.pm starting at line 326.

SCC_ADDONS is split up into its elements.

Then the code practically looks if there are settings for $addon_TEST_ISSUES and $addon_TEST_TEMPLATE (lines 359-360).

    for my $i (@addons) {
        if ($i) {
            $incidents{uc($i)} = get_var(uc($i) . '_TEST_ISSUES');
            $u_url{uc($i)} = get_var(uc($i) . '_TEST_TEMPLATE');
        }
    }

    my $repos = map_incidents_to_repo(\%incidents, \%u_url);

    set_var('MAINT_TEST_REPO', $repos);

This is how MAINT_TEST_REPO is constructed.

On 15-SP1 this "_TEST_ISSUES" suffix only matches for LTSS, but when "ltss" is not in SCC_ADDONS then as a result MAINT_TEST_REPO remains empty.

LTSS got lost after a change on medium level that suffered from another issue. Should be fixed now.

Actions #6

Updated by szarate over 2 years ago

  • Status changed from Blocked to Workable
Actions #7

Updated by mloviska over 2 years ago

  • Status changed from Workable to Resolved
  • Assignee set to mloviska

It hasn't failed in the last week, maybe we can close it for now.

https://openqa.suse.de/tests/8945551#next_previous

Actions #8

Updated by mloviska over 2 years ago

Someone fixed SCC_ADDONS => "sdk,base,script,serverapp,desktop,legacy,python2,ltss"

Actions

Also available in: Atom PDF