2025-08-11 17:08:25,344: INFO: Building opensdn-vrouter-kernel-init-centos 2025-08-11 17:08:25,426: INFO: Building args: --network host --build-arg PIP_REPOSITORY=http://localhost:6667/pip/simple --build-arg CONTRAIL_REGISTRY=nexus.gz1.opensdn.io:5101 --build-arg CONTRAIL_CONTAINER_TAG=master-1_7_6_9-2_2 --build-arg SITE_MIRROR=http://nexus.gz1.opensdn.io/repository/external-web-cache --build-arg LINUX_DISTR_VER=9 --build-arg LINUX_DISTR=rockylinux --build-arg GENERAL_EXTRA_RPMS="" --build-arg BASE_EXTRA_RPMS="" --build-arg YUM_ENABLE_REPOS="" --build-arg CONTAINER_NAME=opensdn-vrouter-kernel-init-centos --build-arg UBUNTU_DISTR_VERSION=24.04 --build-arg UBUNTU_DISTR=ubuntu --build-arg VENDOR_NAME=OpenSDN-IO --build-arg VENDOR_DOMAIN=io.opensdn #0 building with "default" instance using docker driver #1 [internal] load build definition from Dockerfile #1 transferring dockerfile: #1 transferring dockerfile: 1.46kB done #1 DONE 1.7s #2 [internal] load metadata for docker.io/library/centos:7 #2 DONE 1.0s #3 [internal] load .dockerignore #3 transferring context: #3 transferring context: 2B done #3 DONE 1.9s #4 [internal] load build context #4 DONE 0.0s #5 [1/4] FROM docker.io/library/centos:7@sha256:be65f488b7764ad3638f236b7b515b3678369a5124c47b8d32916d6487418ea4 #5 resolve docker.io/library/centos:7@sha256:be65f488b7764ad3638f236b7b515b3678369a5124c47b8d32916d6487418ea4 #5 resolve docker.io/library/centos:7@sha256:be65f488b7764ad3638f236b7b515b3678369a5124c47b8d32916d6487418ea4 0.3s done #5 DONE 0.3s #5 [1/4] FROM docker.io/library/centos:7@sha256:be65f488b7764ad3638f236b7b515b3678369a5124c47b8d32916d6487418ea4 #5 sha256:be65f488b7764ad3638f236b7b515b3678369a5124c47b8d32916d6487418ea4 1.20kB / 1.20kB done #5 sha256:dead07b4d8ed7e29e98de0f4504d87e8880d4347859d839686a31da35a3b532f 529B / 529B done #5 sha256:eeb6ee3f44bd0b5103bb561b4c16bcb82328cfe5809ab675bb17ab3a16c517c9 2.75kB / 2.75kB done #5 sha256:2d473b07cdd5f0912cd6f1a703352c82b512407db6b05b43f2553732b55df3bc 18.87MB / 76.10MB 0.3s #5 sha256:2d473b07cdd5f0912cd6f1a703352c82b512407db6b05b43f2553732b55df3bc 41.94MB / 76.10MB 0.4s #5 sha256:2d473b07cdd5f0912cd6f1a703352c82b512407db6b05b43f2553732b55df3bc 63.96MB / 76.10MB 0.5s #5 sha256:2d473b07cdd5f0912cd6f1a703352c82b512407db6b05b43f2553732b55df3bc 76.10MB / 76.10MB 0.7s #5 sha256:2d473b07cdd5f0912cd6f1a703352c82b512407db6b05b43f2553732b55df3bc 76.10MB / 76.10MB 0.7s done #5 extracting sha256:2d473b07cdd5f0912cd6f1a703352c82b512407db6b05b43f2553732b55df3bc #5 ... #4 [internal] load build context #4 transferring context: 2.90kB done #4 DONE 2.2s #5 [1/4] FROM docker.io/library/centos:7@sha256:be65f488b7764ad3638f236b7b515b3678369a5124c47b8d32916d6487418ea4 #5 extracting sha256:2d473b07cdd5f0912cd6f1a703352c82b512407db6b05b43f2553732b55df3bc 5.1s #5 extracting sha256:2d473b07cdd5f0912cd6f1a703352c82b512407db6b05b43f2553732b55df3bc 10.1s #5 extracting sha256:2d473b07cdd5f0912cd6f1a703352c82b512407db6b05b43f2553732b55df3bc 15.2s #5 extracting sha256:2d473b07cdd5f0912cd6f1a703352c82b512407db6b05b43f2553732b55df3bc 20.3s #5 extracting sha256:2d473b07cdd5f0912cd6f1a703352c82b512407db6b05b43f2553732b55df3bc 25.5s #5 extracting sha256:2d473b07cdd5f0912cd6f1a703352c82b512407db6b05b43f2553732b55df3bc 31.7s #5 extracting sha256:2d473b07cdd5f0912cd6f1a703352c82b512407db6b05b43f2553732b55df3bc 36.9s #5 extracting sha256:2d473b07cdd5f0912cd6f1a703352c82b512407db6b05b43f2553732b55df3bc 42.5s #5 extracting sha256:2d473b07cdd5f0912cd6f1a703352c82b512407db6b05b43f2553732b55df3bc 48.6s #5 extracting sha256:2d473b07cdd5f0912cd6f1a703352c82b512407db6b05b43f2553732b55df3bc 55.5s #5 extracting sha256:2d473b07cdd5f0912cd6f1a703352c82b512407db6b05b43f2553732b55df3bc 60.8s #5 extracting sha256:2d473b07cdd5f0912cd6f1a703352c82b512407db6b05b43f2553732b55df3bc 61.4s done #5 DONE 68.1s #6 [2/4] COPY *.repo /etc/yum.repos.d/ #6 DONE 0.3s #7 [3/4] COPY *.sh / #7 DONE 0.3s #8 [4/4] RUN set -e ; mkdir -p /opt/contrail ; for item in `ls /__*` ; do mv $item /${item:3} ; done ; yum clean all -y ; yum makecache ; yum install -y wget make gcc gcc-c++ contrail-vrouter-source ; mkdir -p /opt/contrail/src /vrouter_src ; contrail_version=master-1_7_6_9-2_2 ; echo "${contrail_version}" > /contrail_version ; mv /usr/src/* /opt/contrail/src/ ; vrouter_path=$(find /opt/contrail/src -type f -name "contrail-vrouter-*.tar.gz") ; cd /vrouter_src ; tar -xf "${vrouter_path}" ; /build-kernels.sh ; yum clean all -y #8 0.446 ls: cannot access /__*: No such file or directory #8 1.016 Loaded plugins: fastestmirror, ovl #8 1.280 Cleaning repos: base extras updates #8 1.929 Loaded plugins: fastestmirror, ovl #8 2.106 Determining fastest mirrors #8 2.124 Could not retrieve mirrorlist http://mirrorlist.centos.org/?release=7&arch=x86_64&repo=os&infra=container error was #8 2.124 14: curl#6 - "Could not resolve host: mirrorlist.centos.org; Unknown error" #8 2.124 #8 2.124 #8 2.124 One of the configured repositories failed (Unknown), #8 2.124 and yum doesn't have enough cached data to continue. At this point the only #8 2.124 safe thing yum can do is fail. There are a few ways to work "fix" this: #8 2.124 #8 2.124 1. Contact the upstream for the repository and get them to fix the problem. #8 2.124 #8 2.124 2. Reconfigure the baseurl/etc. for the repository, to point to a working #8 2.124 upstream. This is most often useful if you are using a newer #8 2.124 distribution release than is supported by the repository (and the #8 2.124 packages for the previous distribution release still work). #8 2.124 #8 2.124 3. Run the command with the repository temporarily disabled #8 2.124 yum --disablerepo= ... #8 2.124 #8 2.124 4. Disable the repository permanently, so yum won't use it by default. Yum #8 2.124 will then just ignore the repository until you permanently enable it #8 2.124 again or use --enablerepo for temporary usage: #8 2.124 #8 2.124 yum-config-manager --disable #8 2.124 or #8 2.124 subscription-manager repos --disable= #8 2.124 #8 2.124 5. Configure the failing repository to be skipped, if it is unavailable. #8 2.124 Note that yum will try to contact the repo. when it runs most commands, #8 2.124 so will have to try and fail each time (and thus. yum will be be much #8 2.124 slower). If it is a very temporary problem though, this is often a nice #8 2.124 compromise: #8 2.124 #8 2.124 yum-config-manager --save --setopt=.skip_if_unavailable=true #8 2.124 #8 2.124 Cannot find a valid baseurl for repo: base/7/x86_64 #8 ERROR: process "/bin/sh -c set -e ; mkdir -p /opt/contrail ; for item in `ls /__*` ; do mv $item /${item:3} ; done ; yum clean all -y ; yum makecache ; yum install -y wget make gcc gcc-c++ contrail-vrouter-source ; mkdir -p /opt/contrail/src /vrouter_src ; contrail_version=${CONTRAIL_VERSION:-$CONTRAIL_CONTAINER_TAG} ; echo "${contrail_version}" > /contrail_version ; mv /usr/src/* /opt/contrail/src/ ; vrouter_path=$(find /opt/contrail/src -type f -name "contrail-vrouter-*.tar.gz") ; cd /vrouter_src ; tar -xf "${vrouter_path}" ; /build-kernels.sh ; yum clean all -y" did not complete successfully: exit code: 1 ------ > [4/4] RUN set -e ; mkdir -p /opt/contrail ; for item in `ls /__*` ; do mv $item /${item:3} ; done ; yum clean all -y ; yum makecache ; yum install -y wget make gcc gcc-c++ contrail-vrouter-source ; mkdir -p /opt/contrail/src /vrouter_src ; contrail_version=master-1_7_6_9-2_2 ; echo "${contrail_version}" > /contrail_version ; mv /usr/src/* /opt/contrail/src/ ; vrouter_path=$(find /opt/contrail/src -type f -name "contrail-vrouter-*.tar.gz") ; cd /vrouter_src ; tar -xf "${vrouter_path}" ; /build-kernels.sh ; yum clean all -y: 2.124 2.124 5. Configure the failing repository to be skipped, if it is unavailable. 2.124 Note that yum will try to contact the repo. when it runs most commands, 2.124 so will have to try and fail each time (and thus. yum will be be much 2.124 slower). If it is a very temporary problem though, this is often a nice 2.124 compromise: 2.124 2.124 yum-config-manager --save --setopt=.skip_if_unavailable=true 2.124 2.124 Cannot find a valid baseurl for repo: base/7/x86_64 ------ Dockerfile:27 -------------------- 26 | 27 | >>> RUN set -e ; 28 | >>> mkdir -p /opt/contrail ; 29 | >>> for item in `ls /__*` ; do mv $item /${item:3} ; done ; 30 | >>> yum clean all -y ; yum makecache ; 31 | >>> yum install -y wget make gcc gcc-c++ contrail-vrouter-source ; 32 | >>> mkdir -p /opt/contrail/src /vrouter_src ; 33 | >>> contrail_version=${CONTRAIL_VERSION:-$CONTRAIL_CONTAINER_TAG} ; 34 | >>> echo "${contrail_version}" > /contrail_version ; 35 | >>> mv /usr/src/* /opt/contrail/src/ ; 36 | >>> vrouter_path=$(find /opt/contrail/src -type f -name "contrail-vrouter-*.tar.gz") ; 37 | >>> cd /vrouter_src ; 38 | >>> tar -xf "${vrouter_path}" ; 39 | >>> /build-kernels.sh ; 40 | >>> yum clean all -y 41 | -------------------- ERROR: failed to solve: process "/bin/sh -c set -e ; mkdir -p /opt/contrail ; for item in `ls /__*` ; do mv $item /${item:3} ; done ; yum clean all -y ; yum makecache ; yum install -y wget make gcc gcc-c++ contrail-vrouter-source ; mkdir -p /opt/contrail/src /vrouter_src ; contrail_version=${CONTRAIL_VERSION:-$CONTRAIL_CONTAINER_TAG} ; echo "${contrail_version}" > /contrail_version ; mv /usr/src/* /opt/contrail/src/ ; vrouter_path=$(find /opt/contrail/src -type f -name "contrail-vrouter-*.tar.gz") ; cd /vrouter_src ; tar -xf "${vrouter_path}" ; /build-kernels.sh ; yum clean all -y" did not complete successfully: exit code: 1 2025-08-11 17:09:44,039: INFO: Docker build duration: 79 seconds 2025-08-11 17:09:44,046: ERROR: Building opensdn-vrouter-kernel-init-centos failed, duration: 79 seconds