-
Bug
-
Resolution: Done
-
Blocker
-
None
-
None
Description of problem:
CI Builds fail due to dnf wrapper errors in the builder image
Version-Release number of selected component (if applicable):
4.17
How reproducible:
100%
Steps to Reproduce:
1. make rpm-podman
Additional info:
$ podman build \ --volume /etc/pki/entitlement/:/etc/pki/entitlement \ --build-arg TAG=rhel-9-golang-1.22-builder-multi-openshift-4.17 \ --authfile ~/.pull-secret.json \ --tag microshift-builder:rhel-9-golang-1.22-builder-multi-openshift-4.17 - < ./packaging/images/Containerfile.rpm-builder ; STEP 1/2: FROM registry.ci.openshift.org/ocp/builder:rhel-9-golang-1.22-builder-multi-openshift-4.17 STEP 2/2: RUN rm -rfv /etc/yum.repos.d/ci-rpm-mirrors.repo /etc/yum.repos.d/localdev* && dnf install --setopt=tsflags=nodocs --setopt=install_weak_deps=False -y selinux-policy-devel rpmdevtools jq gettext && dnf clean all && rm -rf /var/cache/dnf/* ART yum/dnf wrapper [3]: Checking for CI build pod repo definitions... ART yum/dnf wrapper [3]: Did not detect that this script is running in a CI build pod. Will not install CI repositories. ART yum/dnf wrapper [3]: Installed repos that can be used when connected to the VPN. rhel-9-appstream-rpms-x86_64 0.0 B/s | 0 B 00:00 Errors during downloading metadata for repository 'rhel-9-appstream-rpms-x86_64': - Curl error (6): Couldn't resolve host name for https://rhsm-pulp.corp.redhat.com/content/eus/rhel9/9.2/x86_64/appstream/os/repodata/repomd.xml [Could not resolve host: rhsm-pulp.corp.redhat.com] ... ...
- causes
-
USHIFT-3735 Consider using basic CI build image in `make rpm-podman` command
- To Do
- links to