#10 DONE 0.3s #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.151 /bin/sh: warning: setlocale: LC_ALL: cannot change locale (en_US.UTF-8) #11 0.301 Failed to set locale, defaulting to C.UTF-8 #11 0.522 Contrail repo 4.7 MB/s | 133 kB 00:00 #11 0.671 added from: http://tf-mirrors.gz1.opensdn.io/re 17 MB/s | 2.1 MB 00:00 #11 1.014 added from: http://tf-mirrors.gz1.opensdn.io/re 24 MB/s | 730 kB 00:00 #11 1.195 added from: http://tf-mirrors.gz1.opensdn.io/re 7.3 MB/s | 264 kB 00:00 #11 1.346 added from: http://tf-mirrors.gz1.opensdn.io/re 83 MB/s | 7.0 MB 00:00 #11 2.698 added from: http://tf-mirrors.gz1.opensdn.io/re 66 MB/s | 4.0 MB 00:00 #11 4.080 added from: http://tf-mirrors.gz1.opensdn.io/re 1.5 MB/s | 939 kB 00:00 #11 4.414 added from: http://tf-mirrors.gz1.opensdn.io/re 51 MB/s | 2.3 MB 00:00 #11 4.916 added from: http://tf-mirrors.gz1.opensdn.io/re 20 MB/s | 392 kB 00:00 #11 5.127 added from: http://tf-mirrors.gz1.opensdn.io/re 8.3 MB/s | 451 kB 00:00 #11 5.282 added from: http://tf-mirrors.gz1.opensdn.io/re 1.7 MB/s | 16 kB 00:00 #11 5.381 added from: http://tf-mirrors.gz1.opensdn.io/re 22 kB/s | 257 B 00:00 #11 5.480 added from: http://tf-mirrors.gz1.opensdn.io/re 1.3 MB/s | 13 kB 00:00 #11 5.577 added from: http://tf-mirrors.gz1.opensdn.io/re 5.2 MB/s | 64 kB 00:00 #11 5.918 added from: http://tf-mirrors.gz1.opensdn.io/re 137 MB/s | 30 MB 00:00 #11 11.98 Third parties for OpenSDN 28 MB/s | 5.4 MB 00:00 #11 15.69 No security updates needed for "yum", but 1 update available #11 15.69 No match for argument: update-minimal #11 15.73 Dependencies resolved. #11 15.73 Nothing to do. #11 15.73 Complete! #11 15.88 Failed to set locale, defaulting to C.UTF-8 #11 16.25 Last metadata expiration check: 0:00:04 ago on Fri Apr 4 21:46:13 2025. #11 16.31 Package hostname-3.23-6.el9.x86_64 is already installed. #11 16.31 Package less-590-2.el9_2.x86_64 is already installed. #11 16.31 Package openssl-1:3.0.7-24.el9.x86_64 is already installed. #11 16.34 Dependencies resolved. #11 16.34 ============================================================================================== #11 16.34 Package Arch Version Repository Size #11 16.34 ============================================================================================== #11 16.34 Installing: #11 16.34 glibc-langpack-en x86_64 2.34-125.el9_5.1 tf-mirrors.ci_repos_yum9-baseos 552 k #11 16.34 iproute x86_64 6.2.0-6.el9_4 tf-mirrors.ci_repos_yum9-baseos 786 k #11 16.34 rsync x86_64 3.2.3-20.el9_5.1 tf-mirrors.ci_repos_yum9-baseos 391 k #11 16.34 wget x86_64 1.21.1-8.el9_4 tf-mirrors.ci_repos_yum9-appstream 768 k #11 16.34 Upgrading: #11 16.34 glibc x86_64 2.34-125.el9_5.1 tf-mirrors.ci_repos_yum9-baseos 2.0 M #11 16.34 glibc-common x86_64 2.34-125.el9_5.1 tf-mirrors.ci_repos_yum9-baseos 296 k #11 16.34 glibc-minimal-langpack x86_64 2.34-125.el9_5.1 tf-mirrors.ci_repos_yum9-baseos 22 k #11 16.34 less x86_64 590-5.el9 tf-mirrors.ci_repos_yum9-baseos 161 k #11 16.34 openssl x86_64 1:3.2.2-6.el9_5.1 tf-mirrors.ci_repos_yum9-baseos 1.3 M #11 16.34 openssl-libs x86_64 1:3.2.2-6.el9_5.1 tf-mirrors.ci_repos_yum9-baseos 2.4 M #11 16.34 Installing dependencies: #11 16.34 libbpf x86_64 2:1.4.0-1.el9 tf-mirrors.ci_repos_yum9-baseos 177 k #11 16.34 libmnl x86_64 1.0.4-16.el9_4 tf-mirrors.ci_repos_yum9-baseos 27 k #11 16.34 libpsl x86_64 0.21.1-5.el9 tf-mirrors.ci_repos_yum9-baseos 63 k #11 16.34 psmisc x86_64 23.4-3.el9 tf-mirrors.ci_repos_yum9-baseos 226 k #11 16.34 publicsuffix-list-dafsa noarch 20210518-3.el9 tf-mirrors.ci_repos_yum9-baseos 58 k #11 16.34 #11 16.34 Transaction Summary #11 16.34 ============================================================================================== #11 16.34 Install 9 Packages #11 16.34 Upgrade 6 Packages #11 16.34 #11 16.34 Total download size: 9.1 M #11 16.34 Downloading Packages: #11 16.36 (1/15): libbpf-1.4.0-1.el9.x86_64.rpm 16 MB/s | 177 kB 00:00 #11 16.36 (2/15): libmnl-1.0.4-16.el9_4.x86_64.rpm 3.6 MB/s | 27 kB 00:00 #11 16.37 (3/15): glibc-langpack-en-2.34-125.el9_5.1.x86_ 19 MB/s | 552 kB 00:00 #11 16.38 (4/15): libpsl-0.21.1-5.el9.x86_64.rpm 5.1 MB/s | 63 kB 00:00 #11 16.39 (5/15): iproute-6.2.0-6.el9_4.x86_64.rpm 18 MB/s | 786 kB 00:00 #11 16.39 (6/15): publicsuffix-list-dafsa-20210518-3.el9. 4.5 MB/s | 58 kB 00:00 #11 16.39 (7/15): psmisc-23.4-3.el9.x86_64.rpm 11 MB/s | 226 kB 00:00 #11 16.40 (8/15): rsync-3.2.3-20.el9_5.1.x86_64.rpm 26 MB/s | 391 kB 00:00 #11 16.41 (9/15): wget-1.21.1-8.el9_4.x86_64.rpm 31 MB/s | 768 kB 00:00 #11 16.42 (10/15): glibc-common-2.34-125.el9_5.1.x86_64.r 16 MB/s | 296 kB 00:00 #11 16.42 (11/15): glibc-minimal-langpack-2.34-125.el9_5. 2.4 MB/s | 22 kB 00:00 #11 16.43 (12/15): less-590-5.el9.x86_64.rpm 17 MB/s | 161 kB 00:00 #11 16.45 (13/15): glibc-2.34-125.el9_5.1.x86_64.rpm 34 MB/s | 2.0 MB 00:00 #11 16.47 (14/15): openssl-3.2.2-6.el9_5.1.x86_64.rpm 31 MB/s | 1.3 MB 00:00 #11 16.49 (15/15): openssl-libs-3.2.2-6.el9_5.1.x86_64.rp 41 MB/s | 2.4 MB 00:00 #11 16.49 -------------------------------------------------------------------------------- #11 16.49 Total 61 MB/s | 9.1 MB 00:00 #11 16.49 Running transaction check #11 16.84 Transaction check succeeded. #11 16.84 Running transaction test #11 16.97 Transaction test succeeded. #11 16.98 Running transaction #11 17.25 Preparing : 1/1 #11 17.32 Upgrading : glibc-common-2.34-125.el9_5.1.x86_64 1/21 #11 17.34 Upgrading : glibc-minimal-langpack-2.34-125.el9_5.1.x86_64 2/21 #11 17.34 Running scriptlet: glibc-2.34-125.el9_5.1.x86_64 3/21 #11 17.40 Upgrading : glibc-2.34-125.el9_5.1.x86_64 3/21 #11 17.41 Running scriptlet: glibc-2.34-125.el9_5.1.x86_64 3/21 #11 17.54 Installing : glibc-langpack-en-2.34-125.el9_5.1.x86_64 4/21 #11 17.61 Upgrading : openssl-libs-1:3.2.2-6.el9_5.1.x86_64 5/21 #11 17.62 Installing : libbpf-2:1.4.0-1.el9.x86_64 6/21 #11 17.62 Installing : libmnl-1.0.4-16.el9_4.x86_64 7/21 #11 17.63 Installing : psmisc-23.4-3.el9.x86_64 8/21 #11 17.64 Installing : publicsuffix-list-dafsa-20210518-3.el9.noarch 9/21 #11 17.64 Installing : libpsl-0.21.1-5.el9.x86_64 10/21 #11 17.66 Installing : wget-1.21.1-8.el9_4.x86_64 11/21 #11 17.69 Installing : iproute-6.2.0-6.el9_4.x86_64 12/21 #11 17.71 Installing : rsync-3.2.3-20.el9_5.1.x86_64 13/21 #11 17.76 Upgrading : openssl-1:3.2.2-6.el9_5.1.x86_64 14/21 #11 17.77 Upgrading : less-590-5.el9.x86_64 15/21 #11 17.78 Cleanup : openssl-1:3.0.7-24.el9.x86_64 16/21 #11 17.79 Cleanup : openssl-libs-1:3.0.7-24.el9.x86_64 17/21 #11 17.80 Cleanup : less-590-2.el9_2.x86_64 18/21 #11 17.82 Cleanup : glibc-2.34-83.el9.7.x86_64 19/21 #11 17.83 Cleanup : glibc-minimal-langpack-2.34-83.el9.7.x86_64 20/21 #11 17.84 Cleanup : glibc-common-2.34-83.el9.7.x86_64 21/21 #11 17.85 Running scriptlet: glibc-common-2.34-83.el9.7.x86_64 21/21 #11 18.13 Verifying : glibc-langpack-en-2.34-125.el9_5.1.x86_64 1/21 #11 18.13 Verifying : iproute-6.2.0-6.el9_4.x86_64 2/21 #11 18.13 Verifying : libbpf-2:1.4.0-1.el9.x86_64 3/21 #11 18.13 Verifying : libmnl-1.0.4-16.el9_4.x86_64 4/21 #11 18.13 Verifying : libpsl-0.21.1-5.el9.x86_64 5/21 #11 18.13 Verifying : psmisc-23.4-3.el9.x86_64 6/21 #11 18.13 Verifying : publicsuffix-list-dafsa-20210518-3.el9.noarch 7/21 #11 18.13 Verifying : rsync-3.2.3-20.el9_5.1.x86_64 8/21 #11 18.13 Verifying : wget-1.21.1-8.el9_4.x86_64 9/21 #11 18.13 Verifying : glibc-2.34-125.el9_5.1.x86_64 10/21 #11 18.13 Verifying : glibc-2.34-83.el9.7.x86_64 11/21 #11 18.13 Verifying : glibc-common-2.34-125.el9_5.1.x86_64 12/21 #11 18.13 Verifying : glibc-common-2.34-83.el9.7.x86_64 13/21 #11 18.13 Verifying : glibc-minimal-langpack-2.34-125.el9_5.1.x86_64 14/21 #11 18.13 Verifying : glibc-minimal-langpack-2.34-83.el9.7.x86_64 15/21 #11 18.13 Verifying : less-590-5.el9.x86_64 16/21 #11 18.13 Verifying : less-590-2.el9_2.x86_64 17/21 #11 18.13 Verifying : openssl-1:3.2.2-6.el9_5.1.x86_64 18/21 #11 18.13 Verifying : openssl-1:3.0.7-24.el9.x86_64 19/21 #11 18.13 Verifying : openssl-libs-1:3.2.2-6.el9_5.1.x86_64 20/21 #11 18.13 Verifying : openssl-libs-1:3.0.7-24.el9.x86_64 21/21 #11 18.18 #11 18.18 Upgraded: #11 18.18 glibc-2.34-125.el9_5.1.x86_64 #11 18.18 glibc-common-2.34-125.el9_5.1.x86_64 #11 18.18 glibc-minimal-langpack-2.34-125.el9_5.1.x86_64 #11 18.18 less-590-5.el9.x86_64 #11 18.18 openssl-1:3.2.2-6.el9_5.1.x86_64 #11 18.18 openssl-libs-1:3.2.2-6.el9_5.1.x86_64 #11 18.18 Installed: #11 18.18 glibc-langpack-en-2.34-125.el9_5.1.x86_64 iproute-6.2.0-6.el9_4.x86_64 #11 18.18 libbpf-2:1.4.0-1.el9.x86_64 libmnl-1.0.4-16.el9_4.x86_64 #11 18.18 libpsl-0.21.1-5.el9.x86_64 psmisc-23.4-3.el9.x86_64 #11 18.18 publicsuffix-list-dafsa-20210518-3.el9.noarch rsync-3.2.3-20.el9_5.1.x86_64 #11 18.18 wget-1.21.1-8.el9_4.x86_64 #11 18.18 #11 18.18 Complete! #11 18.66 Last metadata expiration check: 0:00:07 ago on Fri 04 Apr 2025 09:46:13 PM UTC. #11 18.72 Package python3-3.9.18-1.el9_3.x86_64 is already installed. #11 18.74 Dependencies resolved. #11 18.74 ====================================================================================== #11 18.74 Package Arch Version Repository Size #11 18.74 ====================================================================================== #11 18.74 Installing: #11 18.74 python3-pip noarch 21.3.1-1.el9 tf-mirrors.ci_repos_yum9-appstream 1.7 M #11 18.74 Upgrading: #11 18.74 python3 x86_64 3.9.21-1.el9_5 tf-mirrors.ci_repos_yum9-baseos 26 k #11 18.74 python3-libs x86_64 3.9.21-1.el9_5 tf-mirrors.ci_repos_yum9-baseos 7.5 M #11 18.74 Installing weak dependencies: #11 18.74 libxcrypt-compat x86_64 4.4.18-3.el9 tf-mirrors.ci_repos_yum9-appstream 88 k #11 18.74 python3-setuptools noarch 53.0.0-13.el9 tf-mirrors.ci_repos_yum9-baseos 838 k #11 18.74 #11 18.74 Transaction Summary #11 18.74 ====================================================================================== #11 18.74 Install 3 Packages #11 18.74 Upgrade 2 Packages #11 18.74 #11 18.74 Total download size: 10 M #11 18.75 Downloading Packages: #11 18.76 (1/5): libxcrypt-compat-4.4.18-3.el9.x86_64.rpm 8.7 MB/s | 88 kB 00:00 #11 18.76 (2/5): python3-3.9.21-1.el9_5.x86_64.rpm 5.4 MB/s | 26 kB 00:00 #11 18.77 (3/5): python3-setuptools-53.0.0-13.el9.noarch. 31 MB/s | 838 kB 00:00 #11 18.79 (4/5): python3-pip-21.3.1-1.el9.noarch.rpm 41 MB/s | 1.7 MB 00:00 #11 18.86 (5/5): python3-libs-3.9.21-1.el9_5.x86_64.rpm 81 MB/s | 7.5 MB 00:00 #11 18.86 -------------------------------------------------------------------------------- #11 18.86 Total 92 MB/s | 10 MB 00:00 #11 18.86 Running transaction check #11 18.90 Transaction check succeeded. #11 18.90 Running transaction test #11 19.05 Transaction test succeeded. #11 19.05 Running transaction #11 19.22 Preparing : 1/1 #11 19.77 Upgrading : python3-libs-3.9.21-1.el9_5.x86_64 1/7 #11 19.81 Upgrading : python3-3.9.21-1.el9_5.x86_64 2/7 #11 19.88 Installing : python3-setuptools-53.0.0-13.el9.noarch 3/7 #11 19.89 Installing : libxcrypt-compat-4.4.18-3.el9.x86_64 4/7 #11 20.17 Installing : python3-pip-21.3.1-1.el9.noarch 5/7 #11 20.19 Cleanup : python3-3.9.18-1.el9_3.x86_64 6/7 #11 20.26 Cleanup : python3-libs-3.9.18-1.el9_3.x86_64 7/7 #11 20.28 Running scriptlet: python3-libs-3.9.18-1.el9_3.x86_64 7/7 #11 21.08 Verifying : python3-setuptools-53.0.0-13.el9.noarch 1/7 #11 21.08 Verifying : libxcrypt-compat-4.4.18-3.el9.x86_64 2/7 #11 21.08 Verifying : python3-pip-21.3.1-1.el9.noarch 3/7 #11 21.08 Verifying : python3-3.9.21-1.el9_5.x86_64 4/7 #11 21.08 Verifying : python3-3.9.18-1.el9_3.x86_64 5/7 #11 21.08 Verifying : python3-libs-3.9.21-1.el9_5.x86_64 6/7 #11 21.08 Verifying : python3-libs-3.9.18-1.el9_3.x86_64 7/7 #11 21.12 #11 21.12 Upgraded: #11 21.12 python3-3.9.21-1.el9_5.x86_64 python3-libs-3.9.21-1.el9_5.x86_64 #11 21.12 Installed: #11 21.12 libxcrypt-compat-4.4.18-3.el9.x86_64 python3-pip-21.3.1-1.el9.noarch #11 21.12 python3-setuptools-53.0.0-13.el9.noarch #11 21.12 #11 21.12 Complete! #11 21.54 Looking in indexes: http://tf-mirrors.gz1.opensdn.io/root/pypi/+simple/ #11 21.54 Requirement already satisfied: pip in /usr/lib/python3.9/site-packages (21.3.1) #11 21.66 Collecting pip #11 21.67 Downloading http://tf-mirrors.gz1.opensdn.io/root/pypi/%2Bf/c46/efd13b6aa8279/pip-25.0.1-py3-none-any.whl (1.8 MB) #11 21.72 Requirement already satisfied: setuptools in /usr/lib/python3.9/site-packages (53.0.0) #11 22.15 Collecting setuptools #11 22.16 Downloading http://tf-mirrors.gz1.opensdn.io/root/pypi/%2Bf/3e3/86e96793c8702/setuptools-78.1.0-py3-none-any.whl (1.3 MB) #11 22.30 Installing collected packages: setuptools, pip #11 23.74 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 23.74 Successfully installed pip-25.0.1 setuptools-78.1.0 #11 24.05 80 files removed #11 24.12 useradd warning: contrail's uid 1999 is greater than SYS_UID_MAX 999 #11 DONE 24.3s #12 exporting to image #12 exporting layers #12 exporting layers 1.1s done #12 writing image sha256:40f973e1da8928aee9b6fba37778566993b1831c7b94a3a69a4b4fac31faafe1 done #12 naming to nexus.gz1.opensdn.io:5101/contrail-general-base:master-1_0_8_7-6_9 done #12 naming to nexus.gz1.opensdn.io:5101/opensdn-general-base:master-1_0_8_7-6_9 done #12 DONE 1.1s 2025-04-04 21:46:27,115: INFO: Docker build duration: 30 seconds The push refers to repository [nexus.gz1.opensdn.io:5101/contrail-general-base] edd514cf217e: Preparing 876788b1b88d: Preparing dd913564e7b0: Preparing a3100f7ef802: Preparing ab65b235bfaa: Preparing 7b0ae49bd5d1: Preparing 44343de3ea1d: Preparing 7b0ae49bd5d1: Waiting 44343de3ea1d: Waiting dd913564e7b0: Pushed a3100f7ef802: Pushed 876788b1b88d: Pushed ab65b235bfaa: Pushed 44343de3ea1d: Layer already exists 7b0ae49bd5d1: Pushed edd514cf217e: Pushed master-1_0_8_7-6_9: digest: sha256:a5059bb65e399dd46545f32cdccc70fa213b794d8a8aa9a628a9487e42157d02 size: 1778 The push refers to repository [nexus.gz1.opensdn.io:5101/opensdn-general-base] edd514cf217e: Preparing 876788b1b88d: Preparing dd913564e7b0: Preparing a3100f7ef802: Preparing ab65b235bfaa: Preparing 7b0ae49bd5d1: Preparing 44343de3ea1d: Preparing 7b0ae49bd5d1: Waiting 44343de3ea1d: Waiting 876788b1b88d: Layer already exists a3100f7ef802: Layer already exists ab65b235bfaa: Layer already exists edd514cf217e: Layer already exists dd913564e7b0: Layer already exists 7b0ae49bd5d1: Layer already exists 44343de3ea1d: Layer already exists master-1_0_8_7-6_9: digest: sha256:a5059bb65e399dd46545f32cdccc70fa213b794d8a8aa9a628a9487e42157d02 size: 1778 2025-04-04 21:46:33,214: INFO: Building contrail-general-base finished successfully, duration: 36 seconds