2025-08-12 11:44:32,063: INFO: Building opensdn-vrouter-kernel-init-centos 2025-08-12 11:44:32,467: 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_2_2_1-6_7 --build-arg SITE_MIRROR=http://nexus.gz1.opensdn.io/repository/external-web-cache --build-arg LINUX_DISTR_VER=7 --build-arg LINUX_DISTR=centos --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 Sending build context to Docker daemon 47.62 kB Step 1/13 : ARG CONTRAIL_REGISTRY Step 2/13 : ARG CONTRAIL_CONTAINER_TAG Step 3/13 : FROM centos:7 ---> eeb6ee3f44bd Step 4/13 : ARG VENDOR_NAME ---> Running in 0f5a3bb18d3a ---> Removed intermediate container 0f5a3bb18d3a ---> 307eef0f6ba6 Step 5/13 : ARG VENDOR_DOMAIN ---> Running in af42e06698bb ---> Removed intermediate container af42e06698bb ---> 357eb4cde046 Step 6/13 : ARG CONTRAIL_VERSION ---> Running in ec5c26404bd0 ---> Removed intermediate container ec5c26404bd0 ---> 4989705d3c70 Step 7/13 : ARG CONTRAIL_CONTAINER_TAG ---> Running in 6deb53fc01da ---> Removed intermediate container 6deb53fc01da ---> fd73506f5b44 Step 8/13 : ARG CONTAINER_NAME ---> Running in 86d06fd08fc6 ---> Removed intermediate container 86d06fd08fc6 ---> 2a3c453fe93c Step 9/13 : ENV VENDOR_DOMAIN=$VENDOR_DOMAIN VENDOR_NAME=$VENDOR_NAME CONTRAIL_VERSION=$CONTRAIL_CONTAINER_TAG CONTAINER_NAME=$CONTAINER_NAME ---> Running in 47413d1b2c3e ---> Removed intermediate container 47413d1b2c3e ---> c94ba6139455 Step 10/13 : LABEL vendor=$VENDOR_NAME version=$CONTRAIL_CONTAINER_TAG release="5.1.0" name=$CONTAINER_NAME summary="Kernel init container for vrouter" description="This image is used to build vrouter.ko for current operating system that it's running on." $VENDOR_DOMAIN".container.name"=$CONTAINER_NAME ---> Running in a814bf222b99 ---> Removed intermediate container a814bf222b99 ---> d9fcf4c8cc63 Step 11/13 : COPY *.sh / ---> 196360a190e9 Step 12/13 : RUN set -e ; mkdir -p /opt/contrail ; for item in `ls /__*` ; do mv $item /${item:3} ; done ; sed -i 's/mirrorlist=/#mirrorlist=/g' /etc/yum.repos.d/CentOS-* ; sed -Ei 's|^#([[:blank:]]*baseurl=http://mirror.centos.org)|baseurl=http://vault.centos.org|g' /etc/yum.repos.d/CentOS-* ; 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 ---> Running in 35a14c0ed876 Loaded plugins: fastestmirror, ovl Cleaning repos: base extras updates Loaded plugins: fastestmirror, ovl Determining fastest mirrors Metadata Cache Created Loaded plugins: fastestmirror, ovl Loading mirror speeds from cached hostfile No package contrail-vrouter-source available. Resolving Dependencies --> Running transaction check ---> Package gcc.x86_64 0:4.8.5-44.el7 will be installed --> Processing Dependency: libgomp = 4.8.5-44.el7 for package: gcc-4.8.5-44.el7.x86_64 --> Processing Dependency: cpp = 4.8.5-44.el7 for package: gcc-4.8.5-44.el7.x86_64 --> Processing Dependency: glibc-devel >= 2.2.90-12 for package: gcc-4.8.5-44.el7.x86_64 --> Processing Dependency: libmpfr.so.4()(64bit) for package: gcc-4.8.5-44.el7.x86_64 --> Processing Dependency: libmpc.so.3()(64bit) for package: gcc-4.8.5-44.el7.x86_64 --> Processing Dependency: libgomp.so.1()(64bit) for package: gcc-4.8.5-44.el7.x86_64 ---> Package gcc-c++.x86_64 0:4.8.5-44.el7 will be installed --> Processing Dependency: libstdc++-devel = 4.8.5-44.el7 for package: gcc-c++-4.8.5-44.el7.x86_64 ---> Package make.x86_64 1:3.82-24.el7 will be installed ---> Package wget.x86_64 0:1.14-18.el7_6.1 will be installed --> Running transaction check ---> Package cpp.x86_64 0:4.8.5-44.el7 will be installed ---> Package glibc-devel.x86_64 0:2.17-326.el7_9.3 will be installed --> Processing Dependency: glibc-headers = 2.17-326.el7_9.3 for package: glibc-devel-2.17-326.el7_9.3.x86_64 --> Processing Dependency: glibc = 2.17-326.el7_9.3 for package: glibc-devel-2.17-326.el7_9.3.x86_64 --> Processing Dependency: glibc-headers for package: glibc-devel-2.17-326.el7_9.3.x86_64 ---> Package libgomp.x86_64 0:4.8.5-44.el7 will be installed ---> Package libmpc.x86_64 0:1.0.1-3.el7 will be installed ---> Package libstdc++-devel.x86_64 0:4.8.5-44.el7 will be installed ---> Package mpfr.x86_64 0:3.1.1-4.el7 will be installed --> Running transaction check ---> Package glibc.x86_64 0:2.17-317.el7 will be updated --> Processing Dependency: glibc = 2.17-317.el7 for package: glibc-common-2.17-317.el7.x86_64 ---> Package glibc.x86_64 0:2.17-326.el7_9.3 will be an update ---> Package glibc-headers.x86_64 0:2.17-326.el7_9.3 will be installed --> Processing Dependency: kernel-headers >= 2.2.1 for package: glibc-headers-2.17-326.el7_9.3.x86_64 --> Processing Dependency: kernel-headers for package: glibc-headers-2.17-326.el7_9.3.x86_64 --> Running transaction check ---> Package glibc-common.x86_64 0:2.17-317.el7 will be updated ---> Package glibc-common.x86_64 0:2.17-326.el7_9.3 will be an update ---> Package kernel-headers.x86_64 0:3.10.0-1160.119.1.el7 will be installed --> Finished Dependency Resolution Dependencies Resolved ================================================================================ Package Arch Version Repository Size ================================================================================ Installing: gcc x86_64 4.8.5-44.el7 base 16 M gcc-c++ x86_64 4.8.5-44.el7 base 7.2 M make x86_64 1:3.82-24.el7 base 421 k wget x86_64 1.14-18.el7_6.1 base 547 k Installing for dependencies: cpp x86_64 4.8.5-44.el7 base 5.9 M glibc-devel x86_64 2.17-326.el7_9.3 updates 1.1 M glibc-headers x86_64 2.17-326.el7_9.3 updates 692 k kernel-headers x86_64 3.10.0-1160.119.1.el7 updates 9.1 M libgomp x86_64 4.8.5-44.el7 base 159 k libmpc x86_64 1.0.1-3.el7 base 51 k libstdc++-devel x86_64 4.8.5-44.el7 base 1.5 M mpfr x86_64 3.1.1-4.el7 base 203 k Updating for dependencies: glibc x86_64 2.17-326.el7_9.3 updates 3.6 M glibc-common x86_64 2.17-326.el7_9.3 updates 12 M Transaction Summary ================================================================================ Install 4 Packages (+8 Dependent packages) Upgrade ( 2 Dependent packages) Total download size: 58 M Downloading packages: Delta RPMs disabled because /usr/bin/applydeltarpm not installed. warning: /var/cache/yum/x86_64/7/base/packages/cpp-4.8.5-44.el7.x86_64.rpm: Header V3 RSA/SHA256 Signature, key ID f4a80eb5: NOKEY Public key for cpp-4.8.5-44.el7.x86_64.rpm is not installed Public key for glibc-2.17-326.el7_9.3.x86_64.rpm is not installed -------------------------------------------------------------------------------- Total 22 MB/s | 58 MB 00:02 Retrieving key from file:///etc/pki/rpm-gpg/RPM-GPG-KEY-CentOS-7 Importing GPG key 0xF4A80EB5: Userid : "CentOS-7 Key (CentOS 7 Official Signing Key) " Fingerprint: 6341 ab27 53d7 8a78 a7c2 7bb1 24c6 a8a7 f4a8 0eb5 Package : centos-release-7-9.2009.0.el7.centos.x86_64 (@CentOS) From : /etc/pki/rpm-gpg/RPM-GPG-KEY-CentOS-7 Running transaction check Running transaction test Transaction test succeeded Running transaction Updating : glibc-common-2.17-326.el7_9.3.x86_64 1/16 Updating : glibc-2.17-326.el7_9.3.x86_64 2/16 Installing : mpfr-3.1.1-4.el7.x86_64 3/16 Installing : libmpc-1.0.1-3.el7.x86_64 4/16 Installing : cpp-4.8.5-44.el7.x86_64 5/16 Installing : libgomp-4.8.5-44.el7.x86_64 6/16 Installing : kernel-headers-3.10.0-1160.119.1.el7.x86_64 7/16 Installing : glibc-headers-2.17-326.el7_9.3.x86_64 8/16 Installing : glibc-devel-2.17-326.el7_9.3.x86_64 9/16 Installing : gcc-4.8.5-44.el7.x86_64 10/16 Installing : libstdc++-devel-4.8.5-44.el7.x86_64 11/16 Installing : gcc-c++-4.8.5-44.el7.x86_64 12/16 Installing : wget-1.14-18.el7_6.1.x86_64 13/16 install-info: No such file or directory for /usr/share/info/wget.info.gz Installing : 1:make-3.82-24.el7.x86_64 14/16 Cleanup : glibc-common-2.17-317.el7.x86_64 15/16 Cleanup : glibc-2.17-317.el7.x86_64 16/16 Verifying : gcc-c++-4.8.5-44.el7.x86_64 1/16 Verifying : glibc-headers-2.17-326.el7_9.3.x86_64 2/16 Verifying : glibc-devel-2.17-326.el7_9.3.x86_64 3/16 Verifying : wget-1.14-18.el7_6.1.x86_64 4/16 Verifying : mpfr-3.1.1-4.el7.x86_64 5/16 Verifying : glibc-2.17-326.el7_9.3.x86_64 6/16 Verifying : cpp-4.8.5-44.el7.x86_64 7/16 Verifying : gcc-4.8.5-44.el7.x86_64 8/16 Verifying : glibc-common-2.17-326.el7_9.3.x86_64 9/16 Verifying : libstdc++-devel-4.8.5-44.el7.x86_64 10/16 Verifying : libmpc-1.0.1-3.el7.x86_64 11/16 Verifying : 1:make-3.82-24.el7.x86_64 12/16 Verifying : libgomp-4.8.5-44.el7.x86_64 13/16 Verifying : kernel-headers-3.10.0-1160.119.1.el7.x86_64 14/16 Verifying : glibc-2.17-317.el7.x86_64 15/16 Verifying : glibc-common-2.17-317.el7.x86_64 16/16 Installed: gcc.x86_64 0:4.8.5-44.el7 gcc-c++.x86_64 0:4.8.5-44.el7 make.x86_64 1:3.82-24.el7 wget.x86_64 0:1.14-18.el7_6.1 Dependency Installed: cpp.x86_64 0:4.8.5-44.el7 glibc-devel.x86_64 0:2.17-326.el7_9.3 glibc-headers.x86_64 0:2.17-326.el7_9.3 kernel-headers.x86_64 0:3.10.0-1160.119.1.el7 libgomp.x86_64 0:4.8.5-44.el7 libmpc.x86_64 0:1.0.1-3.el7 libstdc++-devel.x86_64 0:4.8.5-44.el7 mpfr.x86_64 0:3.1.1-4.el7 Dependency Updated: glibc.x86_64 0:2.17-326.el7_9.3 glibc-common.x86_64 0:2.17-326.el7_9.3 Complete! tar: : Cannot open: No such file or directory tar: Error is not recoverable: exiting now The command '/bin/sh -c set -e ; mkdir -p /opt/contrail ; for item in `ls /__*` ; do mv $item /${item:3} ; done ; sed -i 's/mirrorlist=/#mirrorlist=/g' /etc/yum.repos.d/CentOS-* ; sed -Ei 's|^#([[:blank:]]*baseurl=http://mirror.centos.org)|baseurl=http://vault.centos.org|g' /etc/yum.repos.d/CentOS-* ; 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' returned a non-zero code: 2 2025-08-12 11:46:50,291: INFO: Docker build duration: 138 seconds 2025-08-12 11:46:50,294: ERROR: Building opensdn-vrouter-kernel-init-centos failed, duration: 138 seconds