RHEL Engineering is moving the tracking of its product development work on RHEL 6 through RHEL 9 to Red Hat Jira (issues.redhat.com). If you're a Red Hat customer, please continue to file support cases via the Red Hat customer portal. If you're not, please head to the "RHEL project" in Red Hat Jira and file new tickets here. Individual Bugzilla bugs in the statuses "NEW", "ASSIGNED", and "POST" are being migrated throughout September 2023. Bugs of Red Hat partners with an assigned Engineering Partner Manager (EPM) are migrated in late September as per pre-agreed dates. Bugs against components "kernel", "kernel-rt", and "kpatch" are only migrated if still in "NEW" or "ASSIGNED". If you cannot log in to RH Jira, please consult article #7032570. That failing, please send an e-mail to the RH Jira admins at rh-issues@redhat.com to troubleshoot your issue as a user management inquiry. The email creates a ServiceNow ticket with Red Hat. Individual Bugzilla bugs that are migrated will be moved to status "CLOSED", resolution "MIGRATED", and set with "MigratedToJIRA" in "Keywords". The link to the successor Jira issue will be found under "Links", have a little "two-footprint" icon next to it, and direct you to the "RHEL project" in Red Hat Jira (issue links are of type "https://issues.redhat.com/browse/RHEL-XXXX", where "X" is a digit). This same link will be available in a blue banner at the top of the page informing you that that bug has been migrated.
Bug 1984407 - python-rpm-macros: osci.brew-build.tier0.functional tests fail due to missing test dependency (python3.6)
Summary: python-rpm-macros: osci.brew-build.tier0.functional tests fail due to missing...
Keywords:
Status: CLOSED WORKSFORME
Alias: None
Product: Red Hat Enterprise Linux 9
Classification: Red Hat
Component: python-rpm-macros
Version: 9.0
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: beta
: ---
Assignee: Miro Hrončok
QA Contact: Lukáš Zachar
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2021-07-21 11:45 UTC by Miro Hrončok
Modified: 2021-08-25 12:24 UTC (History)
2 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2021-08-25 12:24:23 UTC
Type: Bug
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)

Description Miro Hrončok 2021-07-21 11:45:27 UTC
The osci.brew-build.tier0.functional tests of python-rpm-macros fail due to missing test dependency (python3.6):


STDERR:

Repository 'epel' is missing name in configuration, using id.
FAILED - RETRYING: Install test-specific package requirements (5 retries left).
FAILED - RETRYING: Install test-specific package requirements (4 retries left).
FAILED - RETRYING: Install test-specific package requirements (3 retries left).
FAILED - RETRYING: Install test-specific package requirements (2 retries left).
FAILED - RETRYING: Install test-specific package requirements (1 retries left).
failed: [sut] (item=python3.6) => {
    "ansible_loop_var": "item",
    "attempts": 5,
    "changed": true,
    "cmd": "dnf install --assumeyes --allowerasing python3.6\n",
    "delta": "0:00:00.811407",
    "end": "2021-07-21 07:27:50.126713",
    "item": "python3.6",
    "rc": 1,
    "start": "2021-07-21 07:27:49.315306"
}


We need to adapt the tests (inherited from Fedora) not to use python3.6. Only a subset of the tests uses it: test_python{,3}_site{lib,arch}_value and one parameterized version of test_py3_check_import.

Preferably, we'd adapt the tests upstream to be skipped when python3.6 is not installed (test_python{,3}_site{lib,arch}_value needs to be parameterized instead of running 2 asserts) and remove the requirement on python3.6 downstream.

Alternatively, if in hurry, we can manually deselect the tests in RHEL only.

Comment 2 Miro Hrončok 2021-08-16 14:39:46 UTC
I'll work on the Fedora part of this.

Comment 5 Miro Hrončok 2021-08-25 12:24:23 UTC
Merged.


Note You need to log in before you can comment on or make changes to this bug.