Project

General

Profile

Actions

action #48911

closed

[opensuse] test fails in selinux_setup

Added by dimstar about 5 years ago. Updated about 5 years ago.

Status:
Resolved
Priority:
Normal
Assignee:
Category:
Bugs in existing tests
Target version:
-
Start date:
2019-03-08
Due date:
% Done:

0%

Estimated time:
Difficulty:

Description

Observation

openQA test in scenario opensuse-Tumbleweed-DVD-x86_64-selinux@64bit fails in
selinux_setup

Test suite description

Maintainer (Lily Zhao) llzhao@suse.com

Reproducible

Fails since (at least) Build 20190215

Expected result

Last good: 20190214 (or more recent)

Further details

Always latest result in this scenario: latest

The selinux-setup failure used to be a product bug, as various packages were simply not installable. This bug has since been fixed, but the test is still not functional - naturally, this stayed unnotived for quite a while (as the ignored bug kept on being forwarded)

While debugging it, I found that the debug repo we make available on openQA is not complete - which results in the error seen in the logs of selinux_setup:

Retrieving: libselinux-bindings-debugsource-2.8-2.3.x86_64.rpm [not found]
File './x86_64/libselinux-bindings-debugsource-2.8-2.3.x86_64.rpm' not found on medium 'http://openqa.opensuse.org/assets/repo/openSUSE-Tumbleweed-oss-i586-x86_64-Snapshot20190307-debuginfo'

The libselinux-bindings-debugsource are explicitly asked to be installed by the test - so naturally, we should also allow them in our minimal debuginfo repository we sync to QA

There are a couple more -debug* packages listed in the install command of the selinux-setup test, namely:

  • libselinux-bindings-debugsource
  • libselinux-debugsource
  • libselinux1-32bit-debuginfo
  • libselinux1-debuginfo
  • python3-selinux-debuginfo
  • ruby-selinux-debuginfo
  • selinux-tools-debuginfo

IMHO, we should not even request installation of the -debuginfo packages, but limit ourselves for the selinux test to packages regularly used for selinux operation, so things in the oss repository

Actions #2

Updated by llzhao about 5 years ago

  • Assignee set to llzhao
Actions #3

Updated by SLindoMansilla about 5 years ago

  • Subject changed from test fails in selinux_setup to [opensuse] test fails in selinux_setup

As a result of backlog triaging (see https://progress.opensuse.org/projects/openqatests/wiki#ticket-backlog-triaging for more information).

Please, feel free to adjust the category or the "[label]" if you think different.

Actions #4

Updated by SLindoMansilla about 5 years ago

PR merged. Please, feel free to improve the code as suggested in https://github.com/os-autoinst/os-autoinst-distri-opensuse/pull/6998#issuecomment-470988320

Actions #5

Updated by llzhao about 5 years ago

Thanks for the quick fix.

Actions #6

Updated by llzhao about 5 years ago

  • Status changed from New to In Progress
  • Assignee changed from llzhao to dimstar
Actions #7

Updated by llzhao about 5 years ago

  • Status changed from In Progress to Resolved
Actions

Also available in: Atom PDF