Bug 1841968
| Summary: | ansibe FTBFS due to test failures with Pytest 5 | ||||||
|---|---|---|---|---|---|---|---|
| Product: | [Fedora] Fedora | Reporter: | Charalampos Stratakis <cstratak> | ||||
| Component: | ansible | Assignee: | Kevin Fenzi <kevin> | ||||
| Status: | CLOSED RAWHIDE | QA Contact: | Fedora Extras Quality Assurance <extras-qa> | ||||
| Severity: | unspecified | Docs Contact: | |||||
| Priority: | unspecified | ||||||
| Version: | 33 | CC: | a.badger, kevin, maxim, pcahyna | ||||
| Target Milestone: | --- | ||||||
| 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-04-24 19:05:34 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: | |||||||
| Attachments: |
|
||||||
|
Description
Charalampos Stratakis
2020-05-30 00:03:43 UTC
Pinning the Pytest version to 4 (we have a compat package provided at this point) works around the issue. Will fix it that way for the time being in order to build ansible. This bug appears to have been reported against 'rawhide' during the Fedora 33 development cycle. Changing version to 33. Sadly now the compat package won't work for ansible. ;( Since python-pytest-mock grew a dep on >= pytest 5 DEBUG util.py:621: Problem: package python3-pytest4-4.6.11-2.fc33.noarch conflicts with python3.9dist(pytest) provided by python3-pytest-6.0.1-1.fc33.noarch DEBUG util.py:621: - package python3-pytest-mock-3.3.1-1.fc34.noarch requires python3.9dist(pytest) >= 5, but none of the providers can be installed I'll try and get things working with pytest6. This was fixed a while back, sorry for not closing the bug. ;( I disabled the following tests that were failing with ptest6: rm -f test/units/module_utils/facts/hardware/test_sunos_get_uptime_facts.py rm -f test/units/modules/source_control/test_gitlab_runner.py rm -f test/units/plugins/lookup/test_aws_secret.py rm -f test/units/plugins/lookup/test_aws_ssm.py I'll try and report them/track down why |