#11 [7/7] RUN source /etc/os-release ; YUM_ENABLE_REPOS=$(echo "" | tr -d '"') ; if [[ -n """" ]] ; then echo "INFO: contrail-general-base: enable repos """ ; if ! type -p yum-config-manager ; then yum install -y yum-utils ; fi ; yum-config-manager --enable "" ; yum clean metadata ; fi ; if [[ "rockylinux" == "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 glibc-langpack-en rsync" ; GENERAL_EXTRA_RPMS=$(echo "" | tr -d '"' | tr ',' ' ') ; if [[ -n """" ]] ; then pkgs+=" """ ; 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 1999 --system contrail ; useradd -md /home/contrail --uid 1999 --shell /sbin/nologin --system --gid 1999 contrail #11 0.098 /bin/sh: warning: setlocale: LC_ALL: cannot change locale (en_US.UTF-8) #11 0.221 Failed to set locale, defaulting to C.UTF-8 #11 0.412 Contrail repo 4.9 MB/s | 134 kB 00:00 #11 0.502 added from: http://tf-mirrors.gz1.opensdn.io/re 34 MB/s | 2.1 MB 00:00 #11 0.901 added from: http://tf-mirrors.gz1.opensdn.io/re 18 MB/s | 730 kB 00:00 #11 1.081 added from: http://tf-mirrors.gz1.opensdn.io/re 9.7 MB/s | 264 kB 00:00 #11 1.258 added from: http://tf-mirrors.gz1.opensdn.io/re 69 MB/s | 7.0 MB 00:00 #11 2.795 added from: http://tf-mirrors.gz1.opensdn.io/re 57 MB/s | 4.0 MB 00:00 #11 4.481 added from: http://tf-mirrors.gz1.opensdn.io/re 3.4 MB/s | 939 kB 00:00 #11 4.740 added from: http://tf-mirrors.gz1.opensdn.io/re 37 MB/s | 2.3 MB 00:00 #11 5.288 added from: http://tf-mirrors.gz1.opensdn.io/re 16 MB/s | 392 kB 00:00 #11 5.469 added from: http://tf-mirrors.gz1.opensdn.io/re 16 MB/s | 451 kB 00:00 #11 5.634 added from: http://tf-mirrors.gz1.opensdn.io/re 817 kB/s | 16 kB 00:00 #11 5.747 added from: http://tf-mirrors.gz1.opensdn.io/re 14 kB/s | 257 B 00:00 #11 5.858 added from: http://tf-mirrors.gz1.opensdn.io/re 751 kB/s | 13 kB 00:00 #11 5.972 added from: http://tf-mirrors.gz1.opensdn.io/re 3.0 MB/s | 64 kB 00:00 #11 6.368 added from: http://tf-mirrors.gz1.opensdn.io/re 107 MB/s | 30 MB 00:00 #11 19.22 Third parties for OpenSDN 872 kB/s | 5.4 MB 00:06 #11 23.29 No security updates needed for "yum", but 1 update available #11 23.30 No match for argument: update-minimal #11 23.34 Dependencies resolved. #11 23.34 Nothing to do. #11 23.34 Complete! #11 23.47 Failed to set locale, defaulting to C.UTF-8 #11 23.79 Last metadata expiration check: 0:00:05 ago on Wed Apr 23 10:47:34 2025. #11 23.86 Package hostname-3.23-6.el9.x86_64 is already installed. #11 23.86 Package less-590-2.el9_2.x86_64 is already installed. #11 23.86 Package openssl-1:3.0.7-24.el9.x86_64 is already installed. #11 23.89 Dependencies resolved. #11 23.89 ============================================================================================== #11 23.89 Package Arch Version Repository Size #11 23.89 ============================================================================================== #11 23.89 Installing: #11 23.89 glibc-langpack-en x86_64 2.34-125.el9_5.1 tf-mirrors.ci_repos_yum9-baseos 552 k #11 23.89 iproute x86_64 6.2.0-6.el9_4 tf-mirrors.ci_repos_yum9-baseos 786 k #11 23.89 rsync x86_64 3.2.3-20.el9_5.1 tf-mirrors.ci_repos_yum9-baseos 391 k #11 23.89 wget x86_64 1.21.1-8.el9_4 tf-mirrors.ci_repos_yum9-appstream 768 k #11 23.89 Upgrading: #11 23.89 glibc x86_64 2.34-125.el9_5.1 tf-mirrors.ci_repos_yum9-baseos 2.0 M #11 23.89 glibc-common x86_64 2.34-125.el9_5.1 tf-mirrors.ci_repos_yum9-baseos 296 k #11 23.89 glibc-minimal-langpack x86_64 2.34-125.el9_5.1 tf-mirrors.ci_repos_yum9-baseos 22 k #11 23.89 less x86_64 590-5.el9 tf-mirrors.ci_repos_yum9-baseos 161 k #11 23.89 openssl x86_64 1:3.2.2-6.el9_5.1 tf-mirrors.ci_repos_yum9-baseos 1.3 M #11 23.89 openssl-libs x86_64 1:3.2.2-6.el9_5.1 tf-mirrors.ci_repos_yum9-baseos 2.4 M #11 23.89 Installing dependencies: #11 23.89 libbpf x86_64 2:1.4.0-1.el9 tf-mirrors.ci_repos_yum9-baseos 177 k #11 23.89 libmnl x86_64 1.0.4-16.el9_4 tf-mirrors.ci_repos_yum9-baseos 27 k #11 23.89 libpsl x86_64 0.21.1-5.el9 tf-mirrors.ci_repos_yum9-baseos 63 k #11 23.89 psmisc x86_64 23.4-3.el9 tf-mirrors.ci_repos_yum9-baseos 226 k #11 23.89 publicsuffix-list-dafsa noarch 20210518-3.el9 tf-mirrors.ci_repos_yum9-baseos 58 k #11 23.89 #11 23.89 Transaction Summary #11 23.89 ============================================================================================== #11 23.89 Install 9 Packages #11 23.89 Upgrade 6 Packages #11 23.89 #11 23.90 Total download size: 9.1 M #11 23.90 Downloading Packages: #11 23.93 (1/15): glibc-langpack-en-2.34-125.el9_5.1.x86_ 19 MB/s | 552 kB 00:00 #11 23.94 (2/15): iproute-6.2.0-6.el9_4.x86_64.rpm 19 MB/s | 786 kB 00:00 #11 23.94 (3/15): libmnl-1.0.4-16.el9_4.x86_64.rpm 1.7 MB/s | 27 kB 00:00 #11 23.95 (4/15): libbpf-1.4.0-1.el9.x86_64.rpm 3.1 MB/s | 177 kB 00:00 #11 23.96 (5/15): libpsl-0.21.1-5.el9.x86_64.rpm 3.6 MB/s | 63 kB 00:00 #11 23.96 (6/15): publicsuffix-list-dafsa-20210518-3.el9. 9.2 MB/s | 58 kB 00:00 #11 23.97 (7/15): psmisc-23.4-3.el9.x86_64.rpm 9.0 MB/s | 226 kB 00:00 #11 23.98 (8/15): rsync-3.2.3-20.el9_5.1.x86_64.rpm 17 MB/s | 391 kB 00:00 #11 23.99 (9/15): wget-1.21.1-8.el9_4.x86_64.rpm 23 MB/s | 768 kB 00:00 #11 24.00 (10/15): glibc-common-2.34-125.el9_5.1.x86_64.r 15 MB/s | 296 kB 00:00 #11 24.00 (11/15): glibc-minimal-langpack-2.34-125.el9_5. 2.3 MB/s | 22 kB 00:00 #11 24.01 (12/15): less-590-5.el9.x86_64.rpm 22 MB/s | 161 kB 00:00 #11 24.03 (13/15): glibc-2.34-125.el9_5.1.x86_64.rpm 32 MB/s | 2.0 MB 00:00 #11 24.05 (14/15): openssl-3.2.2-6.el9_5.1.x86_64.rpm 27 MB/s | 1.3 MB 00:00 #11 24.08 (15/15): openssl-libs-3.2.2-6.el9_5.1.x86_64.rp 34 MB/s | 2.4 MB 00:00 #11 24.08 -------------------------------------------------------------------------------- #11 24.08 Total 50 MB/s | 9.1 MB 00:00 #11 24.08 Running transaction check #11 24.45 Transaction check succeeded. #11 24.45 Running transaction test #11 24.59 Transaction test succeeded. #11 24.59 Running transaction #11 24.89 Preparing : 1/1 #11 24.96 Upgrading : glibc-common-2.34-125.el9_5.1.x86_64 1/21 #11 24.97 Upgrading : glibc-minimal-langpack-2.34-125.el9_5.1.x86_64 2/21 #11 24.98 Running scriptlet: glibc-2.34-125.el9_5.1.x86_64 3/21 #11 25.04 Upgrading : glibc-2.34-125.el9_5.1.x86_64 3/21 #11 25.04 Running scriptlet: glibc-2.34-125.el9_5.1.x86_64 3/21 #11 25.18 Installing : glibc-langpack-en-2.34-125.el9_5.1.x86_64 4/21 #11 25.25 Upgrading : openssl-libs-1:3.2.2-6.el9_5.1.x86_64 5/21 #11 25.26 Installing : libbpf-2:1.4.0-1.el9.x86_64 6/21 #11 25.27 Installing : libmnl-1.0.4-16.el9_4.x86_64 7/21 #11 25.27 Installing : psmisc-23.4-3.el9.x86_64 8/21 #11 25.28 Installing : publicsuffix-list-dafsa-20210518-3.el9.noarch 9/21 #11 25.29 Installing : libpsl-0.21.1-5.el9.x86_64 10/21 #11 25.30 Installing : wget-1.21.1-8.el9_4.x86_64 11/21 #11 25.33 Installing : iproute-6.2.0-6.el9_4.x86_64 12/21 #11 25.35 Installing : rsync-3.2.3-20.el9_5.1.x86_64 13/21 #11 25.40 Upgrading : openssl-1:3.2.2-6.el9_5.1.x86_64 14/21 #11 25.41 Upgrading : less-590-5.el9.x86_64 15/21 #11 25.43 Cleanup : openssl-1:3.0.7-24.el9.x86_64 16/21 #11 25.44 Cleanup : openssl-libs-1:3.0.7-24.el9.x86_64 17/21 #11 25.45 Cleanup : less-590-2.el9_2.x86_64 18/21 #11 25.46 Cleanup : glibc-2.34-83.el9.7.x86_64 19/21 #11 25.47 Cleanup : glibc-minimal-langpack-2.34-83.el9.7.x86_64 20/21 #11 25.48 Cleanup : glibc-common-2.34-83.el9.7.x86_64 21/21 #11 25.49 Running scriptlet: glibc-common-2.34-83.el9.7.x86_64 21/21 #11 26.06 Verifying : glibc-langpack-en-2.34-125.el9_5.1.x86_64 1/21 #11 26.06 Verifying : iproute-6.2.0-6.el9_4.x86_64 2/21 #11 26.06 Verifying : libbpf-2:1.4.0-1.el9.x86_64 3/21 #11 26.06 Verifying : libmnl-1.0.4-16.el9_4.x86_64 4/21 #11 26.06 Verifying : libpsl-0.21.1-5.el9.x86_64 5/21 #11 26.06 Verifying : psmisc-23.4-3.el9.x86_64 6/21 #11 26.06 Verifying : publicsuffix-list-dafsa-20210518-3.el9.noarch 7/21 #11 26.06 Verifying : rsync-3.2.3-20.el9_5.1.x86_64 8/21 #11 26.06 Verifying : wget-1.21.1-8.el9_4.x86_64 9/21 #11 26.06 Verifying : glibc-2.34-125.el9_5.1.x86_64 10/21 #11 26.06 Verifying : glibc-2.34-83.el9.7.x86_64 11/21 #11 26.06 Verifying : glibc-common-2.34-125.el9_5.1.x86_64 12/21 #11 26.06 Verifying : glibc-common-2.34-83.el9.7.x86_64 13/21 #11 26.06 Verifying : glibc-minimal-langpack-2.34-125.el9_5.1.x86_64 14/21 #11 26.06 Verifying : glibc-minimal-langpack-2.34-83.el9.7.x86_64 15/21 #11 26.06 Verifying : less-590-5.el9.x86_64 16/21 #11 26.06 Verifying : less-590-2.el9_2.x86_64 17/21 #11 26.06 Verifying : openssl-1:3.2.2-6.el9_5.1.x86_64 18/21 #11 26.06 Verifying : openssl-1:3.0.7-24.el9.x86_64 19/21 #11 26.06 Verifying : openssl-libs-1:3.2.2-6.el9_5.1.x86_64 20/21 #11 26.06 Verifying : openssl-libs-1:3.0.7-24.el9.x86_64 21/21 #11 26.16 #11 26.16 Upgraded: #11 26.16 glibc-2.34-125.el9_5.1.x86_64 #11 26.16 glibc-common-2.34-125.el9_5.1.x86_64 #11 26.16 glibc-minimal-langpack-2.34-125.el9_5.1.x86_64 #11 26.16 less-590-5.el9.x86_64 #11 26.16 openssl-1:3.2.2-6.el9_5.1.x86_64 #11 26.16 openssl-libs-1:3.2.2-6.el9_5.1.x86_64 #11 26.16 Installed: #11 26.16 glibc-langpack-en-2.34-125.el9_5.1.x86_64 iproute-6.2.0-6.el9_4.x86_64 #11 26.16 libbpf-2:1.4.0-1.el9.x86_64 libmnl-1.0.4-16.el9_4.x86_64 #11 26.16 libpsl-0.21.1-5.el9.x86_64 psmisc-23.4-3.el9.x86_64 #11 26.16 publicsuffix-list-dafsa-20210518-3.el9.noarch rsync-3.2.3-20.el9_5.1.x86_64 #11 26.16 wget-1.21.1-8.el9_4.x86_64 #11 26.16 #11 26.16 Complete! #11 26.71 Last metadata expiration check: 0:00:08 ago on Wed 23 Apr 2025 10:47:34 AM UTC. #11 26.77 Package python3-3.9.18-1.el9_3.x86_64 is already installed. #11 26.80 Dependencies resolved. #11 26.80 ====================================================================================== #11 26.80 Package Arch Version Repository Size #11 26.80 ====================================================================================== #11 26.80 Installing: #11 26.80 python3-pip noarch 21.3.1-1.el9 tf-mirrors.ci_repos_yum9-appstream 1.7 M #11 26.80 Upgrading: #11 26.80 python3 x86_64 3.9.21-1.el9_5 tf-mirrors.ci_repos_yum9-baseos 26 k #11 26.80 python3-libs x86_64 3.9.21-1.el9_5 tf-mirrors.ci_repos_yum9-baseos 7.5 M #11 26.80 Installing weak dependencies: #11 26.80 libxcrypt-compat x86_64 4.4.18-3.el9 tf-mirrors.ci_repos_yum9-appstream 88 k #11 26.80 python3-setuptools noarch 53.0.0-13.el9 tf-mirrors.ci_repos_yum9-baseos 838 k #11 26.80 #11 26.80 Transaction Summary #11 26.80 ====================================================================================== #11 26.80 Install 3 Packages #11 26.80 Upgrade 2 Packages #11 26.80 #11 26.81 Total download size: 10 M #11 26.81 Downloading Packages: #11 26.83 (1/5): libxcrypt-compat-4.4.18-3.el9.x86_64.rpm 3.3 MB/s | 88 kB 00:00 #11 26.85 (2/5): python3-setuptools-53.0.0-13.el9.noarch. 21 MB/s | 838 kB 00:00 #11 26.85 (3/5): python3-3.9.21-1.el9_5.x86_64.rpm 1.6 MB/s | 26 kB 00:00 #11 26.87 (4/5): python3-pip-21.3.1-1.el9.noarch.rpm 27 MB/s | 1.7 MB 00:00 #11 26.94 (5/5): python3-libs-3.9.21-1.el9_5.x86_64.rpm 84 MB/s | 7.5 MB 00:00 #11 26.94 -------------------------------------------------------------------------------- #11 26.94 Total 76 MB/s | 10 MB 00:00 #11 26.94 Running transaction check #11 26.99 Transaction check succeeded. #11 26.99 Running transaction test #11 27.15 Transaction test succeeded. #11 27.16 Running transaction #11 27.35 Preparing : 1/1 #11 27.86 Upgrading : python3-libs-3.9.21-1.el9_5.x86_64 1/7 #11 27.91 Upgrading : python3-3.9.21-1.el9_5.x86_64 2/7 #11 27.98 Installing : python3-setuptools-53.0.0-13.el9.noarch 3/7 #11 28.06 Installing : libxcrypt-compat-4.4.18-3.el9.x86_64 4/7 #11 28.22 Installing : python3-pip-21.3.1-1.el9.noarch 5/7 #11 28.24 Cleanup : python3-3.9.18-1.el9_3.x86_64 6/7 #11 28.29 Cleanup : python3-libs-3.9.18-1.el9_3.x86_64 7/7 #11 28.31 Running scriptlet: python3-libs-3.9.18-1.el9_3.x86_64 7/7 #11 29.18 Verifying : python3-setuptools-53.0.0-13.el9.noarch 1/7 #11 29.18 Verifying : libxcrypt-compat-4.4.18-3.el9.x86_64 2/7 #11 29.18 Verifying : python3-pip-21.3.1-1.el9.noarch 3/7 #11 29.18 Verifying : python3-3.9.21-1.el9_5.x86_64 4/7 #11 29.18 Verifying : python3-3.9.18-1.el9_3.x86_64 5/7 #11 29.18 Verifying : python3-libs-3.9.21-1.el9_5.x86_64 6/7 #11 29.18 Verifying : python3-libs-3.9.18-1.el9_3.x86_64 7/7 #11 29.22 #11 29.22 Upgraded: #11 29.22 python3-3.9.21-1.el9_5.x86_64 python3-libs-3.9.21-1.el9_5.x86_64 #11 29.22 Installed: #11 29.22 libxcrypt-compat-4.4.18-3.el9.x86_64 python3-pip-21.3.1-1.el9.noarch #11 29.22 python3-setuptools-53.0.0-13.el9.noarch #11 29.22 #11 29.22 Complete! #11 29.65 Looking in indexes: http://tf-mirrors.gz1.opensdn.io/root/pypi/+simple/ #11 29.65 Requirement already satisfied: pip in /usr/lib/python3.9/site-packages (21.3.1) #11 29.79 Collecting pip #11 29.80 Downloading http://tf-mirrors.gz1.opensdn.io/root/pypi/%2Bf/c46/efd13b6aa8279/pip-25.0.1-py3-none-any.whl (1.8 MB) #11 29.86 Requirement already satisfied: setuptools in /usr/lib/python3.9/site-packages (53.0.0) #11 30.35 Collecting setuptools #11 30.36 Downloading http://tf-mirrors.gz1.opensdn.io/root/pypi/%2Bf/b9a/b3a104bedb292/setuptools-79.0.0-py3-none-any.whl (1.3 MB) #11 30.51 Installing collected packages: setuptools, pip #11 32.09 Successfully installed pip-25.0.1 setuptools-79.0.0 #11 32.09 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 #11 32.41 80 files removed #11 32.48 useradd warning: contrail's uid 1999 is greater than SYS_UID_MAX 999 #11 DONE 33.9s #12 exporting to image #12 exporting layers #12 exporting layers 1.1s done #12 writing image sha256:443d117790a410467edf3526a5f65fe38bcbf9ef7fd3952d91762b953e51f985 done #12 naming to nexus.gz1.opensdn.io:5101/contrail-general-base:master-1_0_8_7-7_0 done #12 naming to nexus.gz1.opensdn.io:5101/opensdn-general-base:master-1_0_8_7-7_0 done #12 DONE 1.1s 2025-04-23 10:47:50,380: INFO: Docker build duration: 40 seconds The push refers to repository [nexus.gz1.opensdn.io:5101/contrail-general-base] 7b25a512d05e: Preparing 82c3c883c685: Preparing 5bd87fec6799: Preparing c0ed60a25e38: Preparing d1ec0186e79c: Preparing a272618d10d4: Preparing 44343de3ea1d: Preparing a272618d10d4: Waiting 44343de3ea1d: Waiting 5bd87fec6799: Pushed 82c3c883c685: Pushed c0ed60a25e38: Pushed d1ec0186e79c: Pushed 44343de3ea1d: Layer already exists a272618d10d4: Pushed 7b25a512d05e: Pushed master-1_0_8_7-7_0: digest: sha256:174e3a2b0bc29fc734d52251015cbbac3b0fc2e3210262171a8bf3f7a110ebed size: 1778 The push refers to repository [nexus.gz1.opensdn.io:5101/opensdn-general-base] 7b25a512d05e: Preparing 82c3c883c685: Preparing 5bd87fec6799: Preparing c0ed60a25e38: Preparing d1ec0186e79c: Preparing a272618d10d4: Preparing 44343de3ea1d: Preparing a272618d10d4: Waiting 44343de3ea1d: Waiting c0ed60a25e38: Layer already exists 7b25a512d05e: Layer already exists 82c3c883c685: Layer already exists d1ec0186e79c: Layer already exists 5bd87fec6799: Layer already exists a272618d10d4: Layer already exists 44343de3ea1d: Layer already exists master-1_0_8_7-7_0: digest: sha256:174e3a2b0bc29fc734d52251015cbbac3b0fc2e3210262171a8bf3f7a110ebed size: 1778 2025-04-23 10:47:57,049: INFO: Building contrail-general-base finished successfully, duration: 47 seconds