446f83f14b23: Pull complete Digest: sha256:d7be1c094cc5845ee815d4632fe377514ee6ebcf8efaed6892889657e5ddaaa6 Status: Downloaded newer image for rockylinux:9 ---> 9cc24f05f309 Step 4/22 : ARG LINUX_DISTR=centos ---> Running in 820bbcc479fa ---> Removed intermediate container 820bbcc479fa ---> da69e1cf6650 Step 5/22 : ARG SITE_MIRROR ---> Running in 161c248da5ed ---> Removed intermediate container 161c248da5ed ---> fd04aee24593 Step 6/22 : ARG VENDOR_NAME ---> Running in 1fda879d7ecb ---> Removed intermediate container 1fda879d7ecb ---> d61efc3cbf99 Step 7/22 : ARG VENDOR_DOMAIN ---> Running in 19a9802c8a7f ---> Removed intermediate container 19a9802c8a7f ---> e95b2647716d Step 8/22 : ARG CONTRAIL_CONTAINER_TAG ---> Running in fe04e9d05194 ---> Removed intermediate container fe04e9d05194 ---> d1b302e91943 Step 9/22 : LABEL vendor=$VENDOR_NAME version=$CONTRAIL_CONTAINER_TAG release="5.1.0" ---> Running in 2ec9d57691c0 ---> Removed intermediate container 2ec9d57691c0 ---> 4b9110b7a08d Step 10/22 : RUN mkdir /licenses ---> Running in 8b17761f895b ---> Removed intermediate container 8b17761f895b ---> 451ff274543f Step 11/22 : COPY licensing.txt /licenses ---> ed4e2428cc45 Step 12/22 : ARG GENERAL_EXTRA_RPMS="" ---> Running in c055bc463e5e ---> Removed intermediate container c055bc463e5e ---> 08c528c491be Step 13/22 : ARG YUM_ENABLE_REPOS="" ---> Running in 85332af2e5c1 ---> Removed intermediate container 85332af2e5c1 ---> 79306855ce9b Step 14/22 : ARG LC_ALL="en_US.UTF-8" ---> Running in 610afe192a7a ---> Removed intermediate container 610afe192a7a ---> 033922d3a2c1 Step 15/22 : ARG LANG="en_US.UTF-8" ---> Running in 2fd110f745eb ---> Removed intermediate container 2fd110f745eb ---> f494c19a2cd3 Step 16/22 : ARG LANGUAGE="en_US.UTF-8" ---> Running in 01d4b46c3a86 ---> Removed intermediate container 01d4b46c3a86 ---> f50e4d5faa11 Step 17/22 : ENV VENDOR_DOMAIN=$VENDOR_DOMAIN VENDOR_NAME=$VENDOR_NAME CONTRAIL_GID=1999 CONTRAIL_UID=1999 CONTRAIL_USER=contrail CONTRAIL_VERSION=$CONTRAIL_CONTAINER_TAG LC_ALL=$LC_ALL LANG=$LANG LANGUAGE=$LANGUAGE ---> Running in 0bf928efe8a7 ---> Removed intermediate container 0bf928efe8a7 ---> 2a55aa05dd3f Step 18/22 : COPY *.repo /etc/yum.repos.d/ ---> f6aee8fb37b0 Step 19/22 : COPY pip.conf /etc/ ---> 04f8764df869 Step 20/22 : COPY *.sh / ---> 2860f9244ce9 Step 21/22 : RUN source /etc/os-release ; YUM_ENABLE_REPOS=$(echo $YUM_ENABLE_REPOS | tr -d '"') ; if [[ -n "$YUM_ENABLE_REPOS" ]] ; then echo "INFO: contrail-general-base: enable repos $YUM_ENABLE_REPOS" ; if ! type -p yum-config-manager ; then yum install -y yum-utils ; fi ; yum-config-manager --enable $YUM_ENABLE_REPOS ; yum clean metadata ; fi ; if [[ "$LINUX_DISTR" == "centos" ]]; then for file in /etc/yum.repos.d/CentOS-* ; do grep -v mirrorlist= "$file" > "$file".new && mv "$file".new "$file" ; done ; sed -i 's|#s*baseurl=http://mirror.centos.org|baseurl=http://vault.centos.org|g' /etc/yum.repos.d/CentOS-* ; fi ; yum update -y -x "redhat-release*" -x "coreutils*" yum -y update-minimal --security --sec-severity=Important --sec-severity=Critical ; pkgs="hostname iproute less wget openssl" ; GENERAL_EXTRA_RPMS=$(echo $GENERAL_EXTRA_RPMS | tr -d '"' | tr ',' ' ') ; if [[ -n "$GENERAL_EXTRA_RPMS" ]] ; then pkgs+=" $GENERAL_EXTRA_RPMS" ; fi ; yum install -y $pkgs ; source /functions.sh ; yum install -y python3 python3-pip ; python3 -m pip install --upgrade pip setuptools ; rm -rf /root/.cache ; yum clean all -y ; rm -rf /var/cache/yum ; groupadd --gid $CONTRAIL_GID --system $CONTRAIL_USER ; useradd -md /home/contrail --uid $CONTRAIL_UID --shell /sbin/nologin --system --gid $CONTRAIL_GID $CONTRAIL_USER ---> Running in 669a1f5ba312 /bin/sh: warning: setlocale: LC_ALL: cannot change locale (en_US.UTF-8) Failed to set locale, defaulting to C.UTF-8 Contrail repo 6.9 MB/s | 146 kB 00:00 added from: http://tf-mirrors.gz1.opensdn.io/re 43 MB/s | 2.1 MB 00:00 added from: http://tf-mirrors.gz1.opensdn.io/re 27 MB/s | 730 kB 00:00 added from: http://tf-mirrors.gz1.opensdn.io/re 12 MB/s | 264 kB 00:00 added from: http://tf-mirrors.gz1.opensdn.io/re 75 MB/s | 7.0 MB 00:00 added from: http://tf-mirrors.gz1.opensdn.io/re 58 MB/s | 4.0 MB 00:00 added from: http://tf-mirrors.gz1.opensdn.io/re 29 MB/s | 939 kB 00:00 added from: http://tf-mirrors.gz1.opensdn.io/re 40 MB/s | 2.3 MB 00:00 added from: http://tf-mirrors.gz1.opensdn.io/re 19 MB/s | 392 kB 00:00 added from: http://tf-mirrors.gz1.opensdn.io/re 21 MB/s | 451 kB 00:00 added from: http://tf-mirrors.gz1.opensdn.io/re 1.0 MB/s | 16 kB 00:00 added from: http://tf-mirrors.gz1.opensdn.io/re 18 kB/s | 257 B 00:00 added from: http://tf-mirrors.gz1.opensdn.io/re 831 kB/s | 13 kB 00:00 added from: http://tf-mirrors.gz1.opensdn.io/re 3.5 MB/s | 64 kB 00:00 added from: http://tf-mirrors.gz1.opensdn.io/re 118 MB/s | 30 MB 00:00 Third parties for Contrail 31 MB/s | 5.4 MB 00:00 No security updates needed for "yum", but 1 update available No match for argument: update-minimal Dependencies resolved. Nothing to do. Complete! Failed to set locale, defaulting to C.UTF-8 Last metadata expiration check: 0:00:05 ago on Thu Mar 27 15:29:07 2025. Package hostname-3.23-6.el9.x86_64 is already installed. Package less-590-2.el9_2.x86_64 is already installed. Package openssl-1:3.0.7-24.el9.x86_64 is already installed. Dependencies resolved. ============================================================================================== Package Arch Version Repository Size ============================================================================================== Installing: iproute x86_64 6.2.0-6.el9_4 tf-mirrors.ci_repos_yum9-baseos 786 k wget x86_64 1.21.1-8.el9_4 tf-mirrors.ci_repos_yum9-appstream 768 k Upgrading: less x86_64 590-5.el9 tf-mirrors.ci_repos_yum9-baseos 161 k openssl x86_64 1:3.2.2-6.el9_5.1 tf-mirrors.ci_repos_yum9-baseos 1.3 M openssl-libs x86_64 1:3.2.2-6.el9_5.1 tf-mirrors.ci_repos_yum9-baseos 2.4 M Installing dependencies: libbpf x86_64 2:1.4.0-1.el9 tf-mirrors.ci_repos_yum9-baseos 177 k libmnl x86_64 1.0.4-16.el9_4 tf-mirrors.ci_repos_yum9-baseos 27 k libpsl x86_64 0.21.1-5.el9 tf-mirrors.ci_repos_yum9-baseos 63 k psmisc x86_64 23.4-3.el9 tf-mirrors.ci_repos_yum9-baseos 226 k publicsuffix-list-dafsa noarch 20210518-3.el9 tf-mirrors.ci_repos_yum9-baseos 58 k Transaction Summary ============================================================================================== Install 7 Packages Upgrade 3 Packages Total download size: 5.9 M Downloading Packages: (1/10): libmnl-1.0.4-16.el9_4.x86_64.rpm 2.1 MB/s | 27 kB 00:00 (2/10): libbpf-1.4.0-1.el9.x86_64.rpm 8.9 MB/s | 177 kB 00:00 (3/10): libpsl-0.21.1-5.el9.x86_64.rpm 6.0 MB/s | 63 kB 00:00 (4/10): psmisc-23.4-3.el9.x86_64.rpm 22 MB/s | 226 kB 00:00 (5/10): publicsuffix-list-dafsa-20210518-3.el9. 5.9 MB/s | 58 kB 00:00 (6/10): iproute-6.2.0-6.el9_4.x86_64.rpm 17 MB/s | 786 kB 00:00 (7/10): less-590-5.el9.x86_64.rpm 9.4 MB/s | 161 kB 00:00 (8/10): wget-1.21.1-8.el9_4.x86_64.rpm 21 MB/s | 768 kB 00:00 (9/10): openssl-3.2.2-6.el9_5.1.x86_64.rpm 34 MB/s | 1.3 MB 00:00 (10/10): openssl-libs-3.2.2-6.el9_5.1.x86_64.rp 36 MB/s | 2.4 MB 00:00 -------------------------------------------------------------------------------- Total 49 MB/s | 5.9 MB 00:00 Running transaction check Transaction check succeeded. Running transaction test Transaction test succeeded. Running transaction Preparing : 1/1 Upgrading : openssl-libs-1:3.2.2-6.el9_5.1.x86_64 1/13 Installing : publicsuffix-list-dafsa-20210518-3.el9.noarch 2/13 Installing : libpsl-0.21.1-5.el9.x86_64 3/13 Installing : psmisc-23.4-3.el9.x86_64 4/13 Installing : libmnl-1.0.4-16.el9_4.x86_64 5/13 Installing : libbpf-2:1.4.0-1.el9.x86_64 6/13 Installing : iproute-6.2.0-6.el9_4.x86_64 7/13 Installing : wget-1.21.1-8.el9_4.x86_64 8/13 Upgrading : openssl-1:3.2.2-6.el9_5.1.x86_64 9/13 Upgrading : less-590-5.el9.x86_64 10/13 Cleanup : openssl-1:3.0.7-24.el9.x86_64 11/13 Cleanup : openssl-libs-1:3.0.7-24.el9.x86_64 12/13 Cleanup : less-590-2.el9_2.x86_64 13/13 Running scriptlet: less-590-2.el9_2.x86_64 13/13 Verifying : iproute-6.2.0-6.el9_4.x86_64 1/13 Verifying : libbpf-2:1.4.0-1.el9.x86_64 2/13 Verifying : libmnl-1.0.4-16.el9_4.x86_64 3/13 Verifying : libpsl-0.21.1-5.el9.x86_64 4/13 Verifying : psmisc-23.4-3.el9.x86_64 5/13 Verifying : publicsuffix-list-dafsa-20210518-3.el9.noarch 6/13 Verifying : wget-1.21.1-8.el9_4.x86_64 7/13 Verifying : less-590-5.el9.x86_64 8/13 Verifying : less-590-2.el9_2.x86_64 9/13 Verifying : openssl-1:3.2.2-6.el9_5.1.x86_64 10/13 Verifying : openssl-1:3.0.7-24.el9.x86_64 11/13 Verifying : openssl-libs-1:3.2.2-6.el9_5.1.x86_64 12/13 Verifying : openssl-libs-1:3.0.7-24.el9.x86_64 13/13 Upgraded: less-590-5.el9.x86_64 openssl-1:3.2.2-6.el9_5.1.x86_64 openssl-libs-1:3.2.2-6.el9_5.1.x86_64 Installed: iproute-6.2.0-6.el9_4.x86_64 libbpf-2:1.4.0-1.el9.x86_64 libmnl-1.0.4-16.el9_4.x86_64 libpsl-0.21.1-5.el9.x86_64 psmisc-23.4-3.el9.x86_64 publicsuffix-list-dafsa-20210518-3.el9.noarch wget-1.21.1-8.el9_4.x86_64 Complete! Failed to set locale, defaulting to C.UTF-8 Last metadata expiration check: 0:00:06 ago on Thu Mar 27 15:29:07 2025. Package python3-3.9.18-1.el9_3.x86_64 is already installed. Dependencies resolved. ====================================================================================== Package Arch Version Repository Size ====================================================================================== Installing: python3-pip noarch 21.3.1-1.el9 tf-mirrors.ci_repos_yum9-appstream 1.7 M Upgrading: python3 x86_64 3.9.21-1.el9_5 tf-mirrors.ci_repos_yum9-baseos 26 k python3-libs x86_64 3.9.21-1.el9_5 tf-mirrors.ci_repos_yum9-baseos 7.5 M Installing weak dependencies: libxcrypt-compat x86_64 4.4.18-3.el9 tf-mirrors.ci_repos_yum9-appstream 88 k python3-setuptools noarch 53.0.0-13.el9 tf-mirrors.ci_repos_yum9-baseos 838 k Transaction Summary ====================================================================================== Install 3 Packages Upgrade 2 Packages Total download size: 10 M Downloading Packages: (1/5): libxcrypt-compat-4.4.18-3.el9.x86_64.rpm 6.1 MB/s | 88 kB 00:00 (2/5): python3-setuptools-53.0.0-13.el9.noarch. 30 MB/s | 838 kB 00:00 (3/5): python3-3.9.21-1.el9_5.x86_64.rpm 1.5 MB/s | 26 kB 00:00 (4/5): python3-pip-21.3.1-1.el9.noarch.rpm 31 MB/s | 1.7 MB 00:00 (5/5): python3-libs-3.9.21-1.el9_5.x86_64.rpm 79 MB/s | 7.5 MB 00:00 -------------------------------------------------------------------------------- Total 82 MB/s | 10 MB 00:00 Running transaction check Transaction check succeeded. Running transaction test Transaction test succeeded. Running transaction Preparing : 1/1 Upgrading : python3-libs-3.9.21-1.el9_5.x86_64 1/7 Upgrading : python3-3.9.21-1.el9_5.x86_64 2/7 Installing : python3-setuptools-53.0.0-13.el9.noarch 3/7 Installing : libxcrypt-compat-4.4.18-3.el9.x86_64 4/7 Installing : python3-pip-21.3.1-1.el9.noarch 5/7 Cleanup : python3-3.9.18-1.el9_3.x86_64 6/7 Cleanup : python3-libs-3.9.18-1.el9_3.x86_64 7/7 Running scriptlet: python3-libs-3.9.18-1.el9_3.x86_64 7/7 Verifying : python3-setuptools-53.0.0-13.el9.noarch 1/7 Verifying : libxcrypt-compat-4.4.18-3.el9.x86_64 2/7 Verifying : python3-pip-21.3.1-1.el9.noarch 3/7 Verifying : python3-3.9.21-1.el9_5.x86_64 4/7 Verifying : python3-3.9.18-1.el9_3.x86_64 5/7 Verifying : python3-libs-3.9.21-1.el9_5.x86_64 6/7 Verifying : python3-libs-3.9.18-1.el9_3.x86_64 7/7 Upgraded: python3-3.9.21-1.el9_5.x86_64 python3-libs-3.9.21-1.el9_5.x86_64 Installed: libxcrypt-compat-4.4.18-3.el9.x86_64 python3-pip-21.3.1-1.el9.noarch python3-setuptools-53.0.0-13.el9.noarch Complete! Looking in indexes: http://tf-mirrors.gz1.opensdn.io/root/pypi/+simple/ Requirement already satisfied: pip in /usr/lib/python3.9/site-packages (21.3.1) Collecting pip Downloading http://tf-mirrors.gz1.opensdn.io/root/pypi/%2Bf/c46/efd13b6aa8279/pip-25.0.1-py3-none-any.whl (1.8 MB) Requirement already satisfied: setuptools in /usr/lib/python3.9/site-packages (53.0.0) Collecting setuptools Downloading http://tf-mirrors.gz1.opensdn.io/root/pypi/%2Bf/671/22e78221da5cf/setuptools-77.0.3-py3-none-any.whl (1.3 MB) Installing collected packages: setuptools, pip Successfully installed pip-25.0.1 setuptools-77.0.3 WARNING: Running pip as the 'root' user can result in broken permissions and conflicting behaviour with the system package manager. It is recommended to use a virtual environment instead: https://pip.pypa.io/warnings/venv Failed to set locale, defaulting to C.UTF-8 80 files removed useradd warning: contrail's uid 1999 is greater than SYS_UID_MAX 999  ---> Removed intermediate container 669a1f5ba312 ---> ea91b2220dd1 Step 22/22 : CMD ["/usr/bin/tail","-f","/dev/null"] ---> Running in dc272018e06c ---> Removed intermediate container dc272018e06c ---> b278e35c6b44 [Warning] One or more build-args [BASE_EXTRA_RPMS CONTAINER_NAME CONTRAIL_REGISTRY PIP_REPOSITORY UBUNTU_DISTR UBUNTU_DISTR_VERSION] were not consumed Successfully built b278e35c6b44 Successfully tagged nexus.gz1.opensdn.io:5101/contrail-general-base:master-1_3_2_6-2_5 Successfully tagged nexus.gz1.opensdn.io:5101/tf-general-base:master-1_3_2_6-2_5 2025-03-27 15:29:22,258: INFO: Docker build duration: 35 seconds The push refers to repository [nexus.gz1.opensdn.io:5101/contrail-general-base] 3aebe52ecd38: Preparing cf3dc2d2e3a3: Preparing 034da300f549: Preparing be4af9565ddb: Preparing 61cecb3ee198: Preparing dbe1716ad21a: Preparing 44343de3ea1d: Preparing dbe1716ad21a: Waiting 44343de3ea1d: Waiting 034da300f549: Pushed be4af9565ddb: Pushed 61cecb3ee198: Pushed cf3dc2d2e3a3: Pushed 44343de3ea1d: Layer already exists dbe1716ad21a: Pushed 3aebe52ecd38: Pushed master-1_3_2_6-2_5: digest: sha256:ad46f41a58a324c96834ede3722d6d9122f41e392ae6c33a71739aff6cfed880 size: 1778 The push refers to repository [nexus.gz1.opensdn.io:5101/tf-general-base] 3aebe52ecd38: Preparing cf3dc2d2e3a3: Preparing 034da300f549: Preparing be4af9565ddb: Preparing 61cecb3ee198: Preparing dbe1716ad21a: Preparing 44343de3ea1d: Preparing 44343de3ea1d: Waiting dbe1716ad21a: Waiting be4af9565ddb: Layer already exists cf3dc2d2e3a3: Layer already exists 61cecb3ee198: Layer already exists 034da300f549: Layer already exists 3aebe52ecd38: Layer already exists dbe1716ad21a: Layer already exists 44343de3ea1d: Layer already exists master-1_3_2_6-2_5: digest: sha256:ad46f41a58a324c96834ede3722d6d9122f41e392ae6c33a71739aff6cfed880 size: 1778 2025-03-27 15:29:28,173: INFO: Building contrail-general-base finished successfully, duration: 41 seconds