Recent Azure's Create container image for test task of Build jobs fails with:
Create container image for test
Error: Problem: conflicting requests - nothing provides selinux-policy >= 3.14.5-39.fc32 needed by freeipa-selinux-4.9.0.dev202005220757+git266651ce9-0.fc32.noarch - nothing provides selinux-policy-base >= 3.14.5-39.fc32 needed by freeipa-selinux-4.9.0.dev202005220757+git266651ce9-0.fc32.noarch (try to add '--skip-broken' to skip uninstallable packages)
The problem come with selinux-policy-3.14.5-39.fc32 (testing repo). During the RPM build dnf install selinux-policy from updates-testing and pins the dep of freeipa-selinux package via the RPM macro %{?selinux_requires} to 3.14.5-39.fc32 which is not availablae during the tests container preparation because of the different dnf invocation.
updates-testing
freeipa-selinux
%{?selinux_requires}
3.14.5-39.fc32
tests
dnf repolist diff fedora:32(tests) vs f32/fedora-toolbox(build)
fedora:32
f32/fedora-toolbox
- fedora-cisco-openh264 Fedora 32 openh264 (From Cisco) - x86_64 + updates-testing Fedora 32 - x86_64 - Test Updates + updates-testing-modular Fedora Modular 32 - x86_64 - Test Updates
How to fix: 1) drop selinux package build on Azure 2) build selinux package on Azure, but don't install on tests container 3) make dnf install command identical for both cases (build requirements and tests requirements)
4) mix 2 and 3
Metadata Update from @slev: - Issue assigned to slev
master:
ipa-4-8:
Metadata Update from @abbra: - Issue close_status updated to: fixed - Issue status updated to: Closed (was: Open)
Login to comment on this ticket.