Bug 2219977
| Summary: | F39FailsToInstall: python3-dnf-plugin-kickstart, python3-dnf-plugin-rpmconf, python3-dnf-plugin-showvars, python3-dnf-plugin-snapper, python3-dnf-plugin-torproxy, python3-dnf-plugin-tracer, python3-dnf-plugins-extras-common | ||
|---|---|---|---|
| Product: | [Fedora] Fedora | Reporter: | Fedora Fails To Install <fti-bugs> |
| Component: | dnf-plugins-extras | Assignee: | rpm-software-management |
| Status: | CLOSED ERRATA | QA Contact: | Fedora Extras Quality Assurance <extras-qa> |
| Severity: | urgent | Docs Contact: | |
| Priority: | unspecified | ||
| Version: | rawhide | CC: | awilliam, daniel.mach, jkadlcik, jmracek, kevin, mblaha, mhroncok, pkratoch, ppisar, rpm-software-management |
| Target Milestone: | --- | ||
| Target Release: | --- | ||
| Hardware: | Unspecified | ||
| OS: | Unspecified | ||
| URL: | https://koschei.fedoraproject.org/build/15548052 | ||
| Whiteboard: | |||
| Fixed In Version: | dnf-plugins-extras-4.1.0-2.fc39 | Doc Type: | If docs needed, set a value |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | 2023-07-08 12:12:55 UTC | Type: | --- |
| Regression: | --- | Mount Type: | --- |
| Documentation: | --- | CRM: | |
| Verified Versions: | Category: | --- | |
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
| Cloudforms Team: | --- | Target Upstream Version: | |
| Embargoed: | |||
| Bug Depends On: | 2216113 | ||
| Bug Blocks: | 2135404, 2143444, 2168842, 2168845 | ||
|
Description
Fedora Fails To Install
2023-07-05 19:03:35 UTC
This blocks the cloud images compose. The package failed to build with:
+ /usr/bin/pytest
============================= test session starts ==============================
platform linux -- Python 3.12.0b3, pytest-7.3.2, pluggy-1.0.0
rootdir: /builddir/build/BUILD/dnf-plugins-extras-4.1.0
collected 10 items / 1 error
==================================== ERRORS ====================================
____________________ ERROR collecting tests/test_rpmconf.py ____________________
tests/test_rpmconf.py:33: in <module>
import rpm_conf
plugins/rpm_conf.py:23: in <module>
from rpmconf import rpmconf
/usr/lib/python3.12/site-packages/rpmconf/rpmconf.py:47: in <module>
rpm.setInterruptSafety(False)
E AttributeError: module 'rpm' has no attribute 'setInterruptSafety'
=========================== short test summary info ============================
ERROR tests/test_rpmconf.py - AttributeError: module 'rpm' has no attribute '...
!!!!!!!!!!!!!!!!!!!! Interrupted: 1 error during collection !!!!!!!!!!!!!!!!!!!!
=============================== 1 error in 0.37s ===============================
https://koji.fedoraproject.org/koji/buildinfo?buildID=2215882
https://koji.fedoraproject.org/koji/taskinfo?taskID=102855321
This breaks Fedora CI (fedora-ci.koji-build.tier0.functional, an example <https://artifacts.dev.testing-farm.io/36fe9f1d-2322-4a4c-9f3f-5b43b32493e9/>). Koschei reports a failure since upgrading rpm from 4.18.1-3.fc39 to 4.18.90-8.fc39 <https://koschei.fedoraproject.org/build/15548052>. Your right. I proposed a complete fix at rpmconf upstream. Once it is applied in Fedora, dnf-plugins-extras needs to adapt because its tests mock rpmconf internals. A proposed fix, which depends on the rpmconf fix, at <https://github.com/rpm-software-management/dnf-plugins-extras/pull/215>. FEDORA-2023-f835cd2ab1 has been submitted as an update to Fedora 39. https://bodhi.fedoraproject.org/updates/FEDORA-2023-f835cd2ab1 FEDORA-2023-f835cd2ab1 has been pushed to the Fedora 39 stable repository. If problem still persists, please make note of it in this bug report. |