Bug 1912591

Summary: Test fails due to missing beakerlib dependency in osci.brew-build.revdeps.integration
Product: Red Hat Enterprise Linux 8 Reporter: Jim Bair <jbair>
Component: ledmonAssignee: Jan Macku <jamacku>
Status: CLOSED ERRATA QA Contact: ChanghuiZhong <czhong>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 8.4CC: czhong, skolosov
Target Milestone: rcFlags: pm-rhel: mirror+
Target Release: 8.4   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2021-05-18 15:09:58 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Jim Bair 2021-01-04 20:38:50 UTC
Description of problem: 

The following test is called during gating for reverse dependency testing:

https://src.osci.redhat.com/rpms/ledmon/blob/rhel-8.4.0/f/tests/ledctl_test/runtest.sh#_18

The above test expects beakerlib to be able to run, however, standard-roles-basic does not include beakerlib:

https://src.osci.redhat.com/rpms/ledmon/blob/rhel-8.4.0/f/tests/tests.yml#_5

As a result, the test fails:

http://artifacts.osci.redhat.com/rhel-8.4.0-packages/rhel-revdep-pipeline/glibc/34036469/package-tests/ledmon/logs/ERROR-str_ledctl_test.log

Steps to Reproduce:
1. Re-run any gating test that has ledmon as a reverse dependency, such as glibc:

https://dashboard.osci.redhat.com/#/artifact/brew-build/aid/34036469?focus=id:osci-rhel-pipeline-integration-34036469

Comment 1 Jim Bair 2021-01-04 20:42:17 UTC
I created the following PR to hopefully fix this for us: https://src.osci.redhat.com/rpms/ledmon/pull-request/5

Comment 2 Jim Bair 2021-01-13 21:03:03 UTC
Checking if ITM 15 is okay here

Comment 6 ChanghuiZhong 2021-01-26 10:46:38 UTC
The fix has passed the test of osci.brew-build

TASK [str-common-final : Report role result] ***********************************
ok: [/tmp/test_subject.qcow2] => 
  msg:
  - 'Result: PASS'

https://src.osci.redhat.com/rpms/ledmon/pull-request/5#
https://jenkins.osci.redhat.com/job/rhel-8-pr-pipeline/6449/artifact/package-tests/ledmon/logs/

Move to verified

Comment 9 errata-xmlrpc 2021-05-18 15:09:58 UTC
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.

For information on the advisory (ledmon bug fix and enhancement update), and where to find the updated
files, follow the link below.

If the solution does not work for you, open a new bug report.

https://access.redhat.com/errata/RHBA-2021:1719