luna-nightly-rpm-pipeline 408 failed

Luna nightly pipeline failed:

https://ci.theforeman.org/job/luna-nightly-rpm-pipeline/408/

foreman-pipeline-luna-nightly-almalinux8-upgrade (failed) (remote job)
foreman-pipeline-luna-nightly-centos8-stream-upgrade (failed) (remote job)
foreman-pipeline-luna-nightly-almalinux8-install (passed) (remote job)
foreman-pipeline-luna-nightly-centos8-stream-install (passed) (remote job)

@ehelms looks like there’s fallout from the Python 3.9 usage in upgrades:

[2022-09-27T03:36:43.591Z] TASK [update_os_packages : RedHat | Update packages] ***************************
[2022-09-27T03:36:43.591Z] e[0;31mfatal: [pipe-up-luna-nightly-almalinux8]: FAILED! => changed=false e[0m
[2022-09-27T03:36:43.591Z] e[0;31m  failures: []e[0m
[2022-09-27T03:36:43.591Z] e[0;31m  msg: |-e[0m
[2022-09-27T03:36:43.591Z] e[0;31m    Unknown Error occurred: Transaction test error:e[0m
[2022-09-27T03:36:43.591Z] e[0;31m      file /usr/bin/ansible-runner from install of python39-ansible-runner-2.2.1-2.el8.noarch conflicts with file from package python3-ansible-runner-1.4.7-1.el8.noarche[0m
[2022-09-27T03:36:43.591Z] e[0;31m      file /usr/bin/ansible-runner-3 from install of python39-ansible-runner-2.2.1-2.el8.noarch conflicts with file from package python3-ansible-runner-1.4.7-1.el8.noarche[0m
[2022-09-27T03:36:43.591Z] e[0;31m  rc: 1e[0m
[2022-09-27T03:36:43.591Z] e[0;31m  results: []e[0m

Hrmm, I suppose then I should obsolete the python3-ansible-runner package from the newer ansible-runner RPM?

Yes, I think so. Unless @evgeni has a better idea.

It already has an Obsoletes: python38-%{pypi_name} < %{version}, so yeah, same for the python3- version.

That said, I do wonder why the binary is in the pythonX- package, not in the ansible-runner package (which also exists):

# rpm -ql ansible-runner
(contains no files)

Not that this is any different from the “original” 1.4.7 packaging we used before. But odd nevertheless (and would have prevented this issue, iff the old package would have had the binary in the right package.)

Here is my attempt at implementing this: Obsolete python3-ansible-runner and update bindir location by ehelms · Pull Request #8538 · theforeman/foreman-packaging · GitHub

The fix is merged and should begin propagating.

1 Like

This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.