Project

General

Profile

Actions

action #56423

closed

[opensuse][functional][u] test fails in kdump_and_crash - kernel-default-base-debuginfo is missing on JeOS

Added by favogt over 4 years ago. Updated over 4 years ago.

Status:
Resolved
Priority:
High
Assignee:
Category:
Bugs in existing tests
Target version:
SUSE QA - Milestone 28
Start date:
2019-09-03
Due date:
% Done:

0%

Estimated time:
42.00 h
Difficulty:

Description

On TW, Leap 15.2 and SLE 15 SP2, kernel-default-debuginfo has to be installed even on JeOS.

Observation

openQA test in scenario opensuse-Tumbleweed-JeOS-for-kvm-and-xen-x86_64-jeos-extra@64bit_virtio-2G fails in
kdump_and_crash

Tasks

  1. Investigate why if the right package is trying to be installed.
  2. Investigate if the package is missing on the product side (product bug)
  3. Fix the test

Reproducible

Fails since (at least) Build 20190311

Expected result

Last good: (unknown) (or more recent)

Further details

Actions #3

Updated by SLindoMansilla over 4 years ago

Isn't this a duplicate of #50408 ?

Actions #4

Updated by SLindoMansilla over 4 years ago

  • Subject changed from test fails in kdump_and_crash to [functional][u] test fails in kdump_and_crash
  • Priority changed from Normal to High
Actions #5

Updated by mloviska over 4 years ago

Hey @SLindoMansilla, why this ticket belongs to u-team, please?

Actions #6

Updated by okurz over 4 years ago

This is an autogenerated message for openQA integration by the openqa_review script:

This bug is still referenced in a failing openQA test: jeos-extra@64bit_virtio-2G
https://openqa.opensuse.org/tests/1035463

Actions #7

Updated by SLindoMansilla over 4 years ago

  • Description updated (diff)
  • Status changed from New to Workable
  • Target version set to Milestone 28
  • Estimated time set to 42.00 h
Actions #8

Updated by okurz over 4 years ago

This is an autogenerated message for openQA integration by the openqa_review script:

This bug is still referenced in a failing openQA test: jeos-extra@64bit_virtio-2G
https://openqa.opensuse.org/tests/1059748

To prevent further reminder comments one of the following options should be followed:

  1. The test scenario is fixed by applying the bug fix to the tested product or the test is adjusted
  2. The openQA job group is moved to "Released"
  3. The label in the openQA scenario is removed
Actions #9

Updated by zluo over 4 years ago

  • Assignee set to zluo

take over and check the current status

Actions #11

Updated by zluo over 4 years ago

  • Status changed from Workable to In Progress

kernel-default-base-debuginfo-5.3.6-1.1.7.13 is missing on jeos.

Actions #12

Updated by zluo over 4 years ago

so I found out that a lot of test modules have been added to JeOS test scenarios, kdump_and_crash has never worked befor on JeOS.

Actions #13

Updated by favogt over 4 years ago

zluo wrote:

so I found out that a lot of test modules have been added to JeOS test scenarios, kdump_and_crash has never worked befor on JeOS.

https://openqa.opensuse.org/tests/1062406#step/kdump_and_crash/25 looks rather green to me...

Actions #14

Updated by zluo over 4 years ago

  • Status changed from In Progress to Blocked
Actions #15

Updated by zluo over 4 years ago

  • Subject changed from [functional][u] test fails in kdump_and_crash to [[opensuse][functional][u] test fails in kdump_and_crash - kernel-default-base-debuginfo is missing on JeOS
Actions #16

Updated by mloviska over 4 years ago

I guess we need to include REPO_OSS_DEBUGINFO and REPO_OSS_DEBUGINFO_PACKAGES and MIRROR_HTTP as over here.

https://github.com/os-autoinst/os-autoinst-distri-opensuse/blob/master/lib/kdump_utils.pm#L92

Maybe it is worth to try it, wdyt guys?

Actions #17

Updated by favogt over 4 years ago

  • Status changed from Blocked to In Progress

zluo wrote:

Issue reported now:

https://bugzilla.opensuse.org/show_bug.cgi?id=1154710

On TW and SLE 15 SP2 the package is "kernel-default-debuginfo". This is used on non-JeOS tests of TW as well and works fine, so no settings need to be adjusted AFAICT.

Actions #18

Updated by zluo over 4 years ago

The same package "kernel-default-base-debuginfo" is required for both, Leap and TW.

No problem for Leap, but it is missing JeOS of TW.

Actions #19

Updated by zluo over 4 years ago

http://f40.suse.de/tests/5171#step/kdump_and_crash/18 no issue with kernel-default-debuginfo however for exta test on TW.

http://f40.suse.de/tests/5172#step/kdump_and_crash/22 has problem on JeOS TW

I checked that kernel-default-base-debuginfo as package doesn't exist.

Actions #20

Updated by favogt over 4 years ago

zluo wrote:

The same package "kernel-default-base-debuginfo" is required for both, Leap and TW.

No problem for Leap, but it is missing JeOS of TW.

The kdump_and_crash test has to be changed to install "kernel-default-debuginfo" on TW and SLE 15 SP2+ JeOS as well.

Actions #21

Updated by zluo over 4 years ago

kdump_utils.pm:

sub install_kernel_debuginfo {
zypper_call 'ref';
# JeOS uses kernel-default-base, except on aarch64 openSUSE
my $kernel    = script_output('rpm -qf --qf %{name} /boot/initrd-$(uname -r)');
my $debuginfo = script_output('rpmquery --queryformat="%{NAME}-%{VERSION}-%{RELEASE}\n" ' . $kernel . '| sort --version-sort | tail -n 1');
$debuginfo =~ s/$kernel/$kernel-debuginfo/g;
zypper_call("-v in $debuginfo", timeout => 4000);
}

We need to change this function then. kernel-default-base-debuginfo is found and installed on TW successfully however.

Actions #22

Updated by zluo over 4 years ago

http://f40.suse.de/tests/5184#step/kdump_and_crash/14

fixed now but now we have another issue with product, I'll report this with required logs.

Actions #23

Updated by favogt over 4 years ago

zluo wrote:

http://f40.suse.de/tests/5184#step/kdump_and_crash/14

fixed now but now we have another issue with product, I'll report this with required logs.

That might be https://bugzilla.opensuse.org/show_bug.cgi?id=1140040

Actions #24

Updated by zluo over 4 years ago

filed bug for now:
https://bugzilla.opensuse.org/show_bug.cgi?id=1154859

@favogt: please feel free to give a comment if this is already a known issue.

Actions #25

Updated by zluo over 4 years ago

Add a needle check in kdump_utils.pm:

# problem with e2fsprogs requirement on JeOS
if (match_has_tag('yast2-kdump-unexpected-issue')) {
record_soft_failure 'Missing e2fsprogs requirement, bsc#1140040';
}

Since this is a product issue, we can record this only atm.

Actions #27

Updated by zluo over 4 years ago

  • Status changed from In Progress to Feedback
Actions #28

Updated by zluo over 4 years ago

  • Status changed from Feedback to In Progress
Actions #29

Updated by zluo over 4 years ago

sle-12-SP5-Server-DVD-x86_64-Build0368-extra_tests_on_gnome@64bit still okay

Actions #30

Updated by zluo over 4 years ago

opensuse-Tumbleweed-DVD-x86_64-Build20191022-extra_tests_on_gnome@64bit is still okay:

http://f40.suse.de/tests/5217

Actions #31

Updated by zluo over 4 years ago

PR updated now

Actions #32

Updated by SLindoMansilla over 4 years ago

  • Subject changed from [[opensuse][functional][u] test fails in kdump_and_crash - kernel-default-base-debuginfo is missing on JeOS to [opensuse][functional][u] test fails in kdump_and_crash - kernel-default-base-debuginfo is missing on JeOS
  • Description updated (diff)

Related feature ticket: https://jira.suse.com/browse/SLE-7691

Actions #33

Updated by zluo over 4 years ago

https://openqa.suse.de/tests/3530101

the current status sle-12-SP5-JeOS-for-MS-HyperV-x86_64-Build4.127-zluo-poo56423@svirt-hyperv shows issue with package 'crash'. For this I can open a ticket.

Actions #34

Updated by zluo over 4 years ago

  • Status changed from In Progress to Feedback

PR and verification tests got updated now.

Actions #35

Updated by zluo over 4 years ago

sle-15-SP2-JeOS-for-kvm-and-xen-x86_64-Build2.43-jeos-filesystem@64bit-virtio-vga

http://f40.suse.de/tests/5239

Actions #36

Updated by SLindoMansilla over 4 years ago

The release part of the version number doesn't match 100% for kernel-default-base and kernel-default-debuginfo. But, since they can be built independently, it is allowed.

https://bugzilla.opensuse.org/show_bug.cgi?id=1155567

Actions #37

Updated by zluo over 4 years ago

Will continue with the ticket when PR got merged:

https://github.com/os-autoinst/os-autoinst-distri-opensuse/pull/8818

Actions #38

Updated by zluo over 4 years ago

https://github.com/os-autoinst/os-autoinst-distri-opensuse/pull/8818 merged and I will check the test results later on o3.

Actions #40

Updated by zluo over 4 years ago

  • Status changed from Feedback to Resolved

it looks good, resolved now.

Actions

Also available in: Atom PDF