#8330 [Azure] Build job fails on `tests` container preparation
Closed: fixed 3 years ago by abbra. Opened 3 years ago by slev.

Recent Azure's Create container image for test task of Build jobs fails with:

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.

dnf repolist diff fedora:32(tests) vs f32/fedora-toolbox(build)

- 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)

Metadata Update from @slev:
- Issue assigned to slev

3 years ago

master:

  • 26f9659 Azure: Make dnf repos consistent

ipa-4-8:

  • 7f2bfd9 Azure: Make dnf repos consistent

Metadata Update from @abbra:
- Issue close_status updated to: fixed
- Issue status updated to: Closed (was: Open)

3 years ago

Login to comment on this ticket.

Metadata