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

Also available in: Atom PDF