Bug 1984407
| Summary: | python-rpm-macros: osci.brew-build.tier0.functional tests fail due to missing test dependency (python3.6) | ||
|---|---|---|---|
| Product: | Red Hat Enterprise Linux 9 | Reporter: | Miro Hrončok <mhroncok> |
| Component: | python-rpm-macros | Assignee: | Miro Hrončok <mhroncok> |
| Status: | CLOSED WORKSFORME | QA Contact: | Lukáš Zachar <lzachar> |
| Severity: | unspecified | Docs Contact: | |
| Priority: | unspecified | ||
| Version: | 9.0 | CC: | lzachar, pviktori |
| Target Milestone: | beta | Flags: | pm-rhel:
mirror+
|
| Target Release: | --- | ||
| 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-08-25 12:24:23 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: | |||
I'll work on the Fedora part of this. Merged. |
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.