Project

General

Profile

Actions

action #160138

closed

[qem][qe-core]test fails in ulp_openposix, we may need to enable LTSS repo/module for this test

Added by rfan1 7 months ago. Updated 7 months ago.

Status:
Resolved
Priority:
Normal
Assignee:
Category:
Bugs in existing tests
Target version:
QA (public, currently private due to #173521) - QE-Core: Ready
Start date:
2024-05-09
Due date:
% Done:

100%

Estimated time:
Difficulty:

Description

Observation

openQA test in scenario sle-15-SP4-Server-DVD-Incidents-Livepatches-x86_64-mau-userspace-livepatch@64bit fails in
ulp_openposix

Test suite description

Testsuite maintained at https://gitlab.suse.de/qa-maintenance/qam-openqa-yml.
Basic regression tests for libpulp0 and glibc-livepatches package updates.
Maintainer: mdoucha@suse.cz

Reproducible

Fails since (at least) Build :33680:libpulp

Expected result

Last good: :28608:libpulp (or more recent)

Further details

Always latest result in this scenario: latest

Actions #1

Updated by rfan1 7 months ago

More detail please check https://suse.slack.com/archives/C02CLB8TZP1/p1715231521878339

My code chanage, but I think we may need consider adding more sle versions.

diff --git a/tests/kernel/ulp_openposix.pm b/tests/kernel/ulp_openposix.pm
index 26b946ef0..169614f3e 100644
--- a/tests/kernel/ulp_openposix.pm
+++ b/tests/kernel/ulp_openposix.pm
@@ -16,7 +16,7 @@ use klp;
 use qam;
 use LTP::utils;
 use OpenQA::Test::RunArgs;
-
+use registration qw(add_suseconnect_product get_addon_fullname);
 sub parse_incident_repo {
     my $incident_id = get_required_var('INCIDENT_ID');
     my $repo = get_required_var('INCIDENT_REPO');
@@ -95,7 +95,7 @@ sub run {
     my ($self, $tinfo) = @_;

     select_serial_terminal;
-
+    add_suseconnect_product(get_addon_fullname('ltss'), undef, undef, "-r " . get_required_var('SCC_REGCODE_LTSS'), 300, 1);
     if (!defined($tinfo)) {
         # First test round in the job, prepare environment
         $tinfo = setup_ulp();

Actions #2

Updated by dzedro 7 months ago

  • Status changed from New to Resolved
  • Assignee set to dzedro
  • % Done changed from 0 to 100

I showed Cedric where in Medium types add ltss addon and reg. code for Server-DVD-Incidents-Livepatches 15-SP4

Actions

Also available in: Atom PDF