New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
contrib/build_rpm.sh fails on CentOS-8, RHEL-8 and Fedora-31 #6248
Comments
We tried to fix this at CI level via https://review.rdoproject.org/r/#/c/27527/6/playbooks/podman/pre.yaml with good results but we realised that would be a really bad idea, as it would involve hacking the operating system and bringing it to an unsupported status (installing ElRepo repositories). It is much better to implement these changes directly in |
20 days ago it was sorted via CI/CD hacks as I mentioned, but AFAIK nobody spared time to implement these steps into in-repo build_rpm.sh script. Without libpod cores stepping in and assuring that this happens and no regressions are allowed I doubt we have a sustainable way to keep it alive. RDO&TripleO can assure that the CI/CD is working, but it cannot prevent regressions with a job that is not-voting. Looking at https://review.rdoproject.org/zuul/builds?project=containers%2Flibpod&pipeline=openstack-regular I conclude that libpod builds rpms only on fedora-31 and not on rhel-8 or centos-8. CI is running Sidenote: we did speak about this in our team and we even considered starting to email libpod and post irc notifications on #podman in order to raise awareness. |
I just ran it and it is failing because we do not install debuginfo in the spec file. |
|
Ok I just looked at the failures on centos7, centos8 and rhel8. We are not planning on shipping any more centos7/rhel7 versions, so these tests should be removed. The failures are all caused because we are relying on newer versions of OCI Runtimes to add a provides ociruntime to their specfile. runc, crun, kata should all provide this. That would allow podman to run with any runtime. When we release rhel8.3 we will make sure the OCI Runtimes have the proper provides. For now, we can dumb down the spec file to force the use of runc. |
A friendly reminder that this issue had no activity for 30 days. |
As reported by RDO 3rdPaty CI jobs that run on each PR and also as periodic on master, the ability to build rpms directly from source on these plaforms got broken somewhere during the last two weeks.
https://review.rdoproject.org/zuul/builds?job_name=podman-package-fedora-31&project=containers%2Flibpod
All these jobs are relying on
contrib/build_rpm.sh
to perform the rpm building so it is fixable from there.The text was updated successfully, but these errors were encountered: