#10 [6/7] COPY *.sh / #10 DONE 0.1s #11 [7/7] RUN set -e ; 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-* ; find /etc/yum.repos.d/ | grep -i rocky | xargs -r rm ; ls -l /etc/yum.repos.d/ ; else find /etc/yum.repos.d/ | grep -i centos | xargs rm || true ; ls -l /etc/yum.repos.d/ ; 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.080 /bin/sh: warning: setlocale: LC_ALL: cannot change locale (en_US.UTF-8) #11 0.086 rm: missing operand #11 0.086 Try 'rm --help' for more information. #11 0.088 total 36 #11 0.088 -rw-r--r--. 1 root root 100 Jun 23 18:12 contrail.repo #11 0.088 -rw-r--r--. 1 root root 2707 Jun 23 19:17 mirror-base-rocky9.repo #11 0.088 -rw-r--r--. 1 root root 217 Jun 23 19:17 mirror-docker9.repo #11 0.088 -rw-r--r--. 1 root root 204 Jun 23 19:17 mirror-epel9.repo #11 0.088 -rw-r--r--. 1 root root 1 Jun 23 19:17 rocky-addons.repo #11 0.088 -rw-r--r--. 1 root root 1 Jun 23 19:17 rocky-devel.repo #11 0.088 -rw-r--r--. 1 root root 1 Jun 23 19:17 rocky-extras.repo #11 0.088 -rw-r--r--. 1 root root 1 Jun 23 19:17 rocky.repo #11 0.088 -rw-r--r--. 1 root root 140 Jun 23 19:17 tpc.repo #11 0.216 Failed to set locale, defaulting to C.UTF-8 #11 0.382 Contrail repo 5.4 MB/s | 134 kB 00:00 #11 0.463 added from: http://tf-mirrors.gz1.opensdn.io/re 37 MB/s | 2.1 MB 00:00 #11 0.802 added from: http://tf-mirrors.gz1.opensdn.io/re 21 MB/s | 730 kB 00:00 #11 0.962 added from: http://tf-mirrors.gz1.opensdn.io/re 11 MB/s | 264 kB 00:00 #11 1.114 added from: http://tf-mirrors.gz1.opensdn.io/re 78 MB/s | 7.0 MB 00:00 #11 2.958 added from: http://tf-mirrors.gz1.opensdn.io/re 6.2 MB/s | 4.0 MB 00:00 #11 3.712 added from: http://tf-mirrors.gz1.opensdn.io/re 28 MB/s | 939 kB 00:00 #11 3.926 added from: http://tf-mirrors.gz1.opensdn.io/re 46 MB/s | 2.3 MB 00:00 #11 4.389 added from: http://tf-mirrors.gz1.opensdn.io/re 15 MB/s | 392 kB 00:00 #11 4.546 added from: http://tf-mirrors.gz1.opensdn.io/re 18 MB/s | 451 kB 00:00 #11 4.690 added from: http://tf-mirrors.gz1.opensdn.io/re 946 kB/s | 16 kB 00:00 #11 4.789 added from: http://tf-mirrors.gz1.opensdn.io/re 15 kB/s | 257 B 00:00 #11 4.885 added from: http://tf-mirrors.gz1.opensdn.io/re 754 kB/s | 13 kB 00:00 #11 4.982 added from: http://tf-mirrors.gz1.opensdn.io/re 3.6 MB/s | 64 kB 00:00 #11 5.345 added from: http://tf-mirrors.gz1.opensdn.io/re 113 MB/s | 30 MB 00:00 #11 11.20 Third parties for OpenSDN 54 MB/s | 5.4 MB 00:00 #11 14.73 No security updates needed for "yum", but 1 update available #11 14.73 No match for argument: update-minimal #11 14.77 Dependencies resolved. #11 14.77 Nothing to do. #11 14.77 Complete! #11 14.86 Failed to set locale, defaulting to C.UTF-8 #11 15.09 Last metadata expiration check: 0:00:04 ago on Mon Jun 23 19:18:03 2025. #11 15.15 Package hostname-3.23-6.el9.x86_64 is already installed. #11 15.15 Package less-590-2.el9_2.x86_64 is already installed. #11 15.15 Package openssl-1:3.0.7-24.el9.x86_64 is already installed. #11 15.18 Dependencies resolved. #11 15.18 ============================================================================================== #11 15.18 Package Arch Version Repository Size #11 15.18 ============================================================================================== #11 15.18 Installing: #11 15.18 glibc-langpack-en x86_64 2.34-125.el9_5.1 tf-mirrors.ci_repos_yum9-baseos 552 k #11 15.18 iproute x86_64 6.2.0-6.el9_4 tf-mirrors.ci_repos_yum9-baseos 786 k #11 15.18 rsync x86_64 3.2.3-20.el9_5.1 tf-mirrors.ci_repos_yum9-baseos 391 k #11 15.18 wget x86_64 1.21.1-8.el9_4 tf-mirrors.ci_repos_yum9-appstream 768 k #11 15.18 Upgrading: #11 15.18 glibc x86_64 2.34-125.el9_5.1 tf-mirrors.ci_repos_yum9-baseos 2.0 M #11 15.18 glibc-common x86_64 2.34-125.el9_5.1 tf-mirrors.ci_repos_yum9-baseos 296 k #11 15.18 glibc-minimal-langpack x86_64 2.34-125.el9_5.1 tf-mirrors.ci_repos_yum9-baseos 22 k #11 15.18 less x86_64 590-5.el9 tf-mirrors.ci_repos_yum9-baseos 161 k #11 15.18 openssl x86_64 1:3.2.2-6.el9_5.1 tf-mirrors.ci_repos_yum9-baseos 1.3 M #11 15.18 openssl-libs x86_64 1:3.2.2-6.el9_5.1 tf-mirrors.ci_repos_yum9-baseos 2.4 M #11 15.18 Installing dependencies: #11 15.18 libbpf x86_64 2:1.4.0-1.el9 tf-mirrors.ci_repos_yum9-baseos 177 k #11 15.18 libmnl x86_64 1.0.4-16.el9_4 tf-mirrors.ci_repos_yum9-baseos 27 k #11 15.18 libpsl x86_64 0.21.1-5.el9 tf-mirrors.ci_repos_yum9-baseos 63 k #11 15.18 psmisc x86_64 23.4-3.el9 tf-mirrors.ci_repos_yum9-baseos 226 k #11 15.18 publicsuffix-list-dafsa noarch 20210518-3.el9 tf-mirrors.ci_repos_yum9-baseos 58 k #11 15.18 #11 15.18 Transaction Summary #11 15.18 ============================================================================================== #11 15.18 Install 9 Packages #11 15.18 Upgrade 6 Packages #11 15.18 #11 15.18 Total download size: 9.1 M #11 15.18 Downloading Packages: #11 15.21 (1/15): libbpf-1.4.0-1.el9.x86_64.rpm 7.2 MB/s | 177 kB 00:00 #11 15.21 (2/15): libmnl-1.0.4-16.el9_4.x86_64.rpm 4.6 MB/s | 27 kB 00:00 #11 15.22 (3/15): glibc-langpack-en-2.34-125.el9_5.1.x86_ 14 MB/s | 552 kB 00:00 #11 15.23 (4/15): iproute-6.2.0-6.el9_4.x86_64.rpm 16 MB/s | 786 kB 00:00 #11 15.23 (5/15): libpsl-0.21.1-5.el9.x86_64.rpm 3.3 MB/s | 63 kB 00:00 #11 15.24 (6/15): psmisc-23.4-3.el9.x86_64.rpm 12 MB/s | 226 kB 00:00 #11 15.24 (7/15): publicsuffix-list-dafsa-20210518-3.el9. 5.4 MB/s | 58 kB 00:00 #11 15.25 (8/15): rsync-3.2.3-20.el9_5.1.x86_64.rpm 19 MB/s | 391 kB 00:00 #11 15.26 (9/15): wget-1.21.1-8.el9_4.x86_64.rpm 37 MB/s | 768 kB 00:00 #11 15.26 (10/15): glibc-minimal-langpack-2.34-125.el9_5. 5.5 MB/s | 22 kB 00:00 #11 15.27 (11/15): glibc-common-2.34-125.el9_5.1.x86_64.r 17 MB/s | 296 kB 00:00 #11 15.27 (12/15): less-590-5.el9.x86_64.rpm 19 MB/s | 161 kB 00:00 #11 15.30 (13/15): glibc-2.34-125.el9_5.1.x86_64.rpm 36 MB/s | 2.0 MB 00:00 #11 15.31 (14/15): openssl-3.2.2-6.el9_5.1.x86_64.rpm 29 MB/s | 1.3 MB 00:00 #11 15.33 (15/15): openssl-libs-3.2.2-6.el9_5.1.x86_64.rp 39 MB/s | 2.4 MB 00:00 #11 15.33 -------------------------------------------------------------------------------- #11 15.33 Total 59 MB/s | 9.1 MB 00:00 #11 15.33 Running transaction check #11 15.67 Transaction check succeeded. #11 15.67 Running transaction test #11 15.81 Transaction test succeeded. #11 15.81 Running transaction #11 16.05 Preparing : 1/1 #11 16.12 Upgrading : glibc-common-2.34-125.el9_5.1.x86_64 1/21 #11 16.13 Upgrading : glibc-minimal-langpack-2.34-125.el9_5.1.x86_64 2/21 #11 16.13 Running scriptlet: glibc-2.34-125.el9_5.1.x86_64 3/21 #11 16.17 Upgrading : glibc-2.34-125.el9_5.1.x86_64 3/21 #11 16.18 Running scriptlet: glibc-2.34-125.el9_5.1.x86_64 3/21 #11 16.31 Installing : glibc-langpack-en-2.34-125.el9_5.1.x86_64 4/21 #11 16.37 Upgrading : openssl-libs-1:3.2.2-6.el9_5.1.x86_64 5/21 #11 16.37 Installing : libbpf-2:1.4.0-1.el9.x86_64 6/21 #11 16.38 Installing : libmnl-1.0.4-16.el9_4.x86_64 7/21 #11 16.39 Installing : psmisc-23.4-3.el9.x86_64 8/21 #11 16.39 Installing : publicsuffix-list-dafsa-20210518-3.el9.noarch 9/21 #11 16.40 Installing : libpsl-0.21.1-5.el9.x86_64 10/21 #11 16.41 Installing : wget-1.21.1-8.el9_4.x86_64 11/21 #11 16.44 Installing : iproute-6.2.0-6.el9_4.x86_64 12/21 #11 16.45 Installing : rsync-3.2.3-20.el9_5.1.x86_64 13/21 #11 16.49 Upgrading : openssl-1:3.2.2-6.el9_5.1.x86_64 14/21 #11 16.51 Upgrading : less-590-5.el9.x86_64 15/21 #11 16.52 Cleanup : openssl-1:3.0.7-24.el9.x86_64 16/21 #11 16.52 Cleanup : openssl-libs-1:3.0.7-24.el9.x86_64 17/21 #11 16.53 Cleanup : less-590-2.el9_2.x86_64 18/21 #11 16.54 Cleanup : glibc-2.34-83.el9.7.x86_64 19/21 #11 16.54 Cleanup : glibc-minimal-langpack-2.34-83.el9.7.x86_64 20/21 #11 16.55 Cleanup : glibc-common-2.34-83.el9.7.x86_64 21/21 #11 16.55 Running scriptlet: glibc-common-2.34-83.el9.7.x86_64 21/21 #11 16.80 Verifying : glibc-langpack-en-2.34-125.el9_5.1.x86_64 1/21 #11 16.80 Verifying : iproute-6.2.0-6.el9_4.x86_64 2/21 #11 16.80 Verifying : libbpf-2:1.4.0-1.el9.x86_64 3/21 #11 16.80 Verifying : libmnl-1.0.4-16.el9_4.x86_64 4/21 #11 16.80 Verifying : libpsl-0.21.1-5.el9.x86_64 5/21 #11 16.80 Verifying : psmisc-23.4-3.el9.x86_64 6/21 #11 16.80 Verifying : publicsuffix-list-dafsa-20210518-3.el9.noarch 7/21 #11 16.80 Verifying : rsync-3.2.3-20.el9_5.1.x86_64 8/21 #11 16.80 Verifying : wget-1.21.1-8.el9_4.x86_64 9/21 #11 16.80 Verifying : glibc-2.34-125.el9_5.1.x86_64 10/21 #11 16.80 Verifying : glibc-2.34-83.el9.7.x86_64 11/21 #11 16.80 Verifying : glibc-common-2.34-125.el9_5.1.x86_64 12/21 #11 16.80 Verifying : glibc-common-2.34-83.el9.7.x86_64 13/21 #11 16.80 Verifying : glibc-minimal-langpack-2.34-125.el9_5.1.x86_64 14/21 #11 16.80 Verifying : glibc-minimal-langpack-2.34-83.el9.7.x86_64 15/21 #11 16.80 Verifying : less-590-5.el9.x86_64 16/21 #11 16.80 Verifying : less-590-2.el9_2.x86_64 17/21 #11 16.80 Verifying : openssl-1:3.2.2-6.el9_5.1.x86_64 18/21 #11 16.80 Verifying : openssl-1:3.0.7-24.el9.x86_64 19/21 #11 16.80 Verifying : openssl-libs-1:3.2.2-6.el9_5.1.x86_64 20/21 #11 16.80 Verifying : openssl-libs-1:3.0.7-24.el9.x86_64 21/21 #11 16.84 #11 16.84 Upgraded: #11 16.84 glibc-2.34-125.el9_5.1.x86_64 #11 16.84 glibc-common-2.34-125.el9_5.1.x86_64 #11 16.84 glibc-minimal-langpack-2.34-125.el9_5.1.x86_64 #11 16.84 less-590-5.el9.x86_64 #11 16.84 openssl-1:3.2.2-6.el9_5.1.x86_64 #11 16.84 openssl-libs-1:3.2.2-6.el9_5.1.x86_64 #11 16.84 Installed: #11 16.84 glibc-langpack-en-2.34-125.el9_5.1.x86_64 iproute-6.2.0-6.el9_4.x86_64 #11 16.84 libbpf-2:1.4.0-1.el9.x86_64 libmnl-1.0.4-16.el9_4.x86_64 #11 16.84 libpsl-0.21.1-5.el9.x86_64 psmisc-23.4-3.el9.x86_64 #11 16.84 publicsuffix-list-dafsa-20210518-3.el9.noarch rsync-3.2.3-20.el9_5.1.x86_64 #11 16.84 wget-1.21.1-8.el9_4.x86_64 #11 16.84 #11 16.84 Complete! #11 17.26 Last metadata expiration check: 0:00:06 ago on Mon 23 Jun 2025 07:18:03 PM UTC. #11 17.32 Package python3-3.9.18-1.el9_3.x86_64 is already installed. #11 17.34 Dependencies resolved. #11 17.34 ====================================================================================== #11 17.34 Package Arch Version Repository Size #11 17.34 ====================================================================================== #11 17.34 Installing: #11 17.34 python3-pip noarch 21.3.1-1.el9 tf-mirrors.ci_repos_yum9-appstream 1.7 M #11 17.34 Upgrading: #11 17.34 python3 x86_64 3.9.21-1.el9_5 tf-mirrors.ci_repos_yum9-baseos 26 k #11 17.34 python3-libs x86_64 3.9.21-1.el9_5 tf-mirrors.ci_repos_yum9-baseos 7.5 M #11 17.34 Installing weak dependencies: #11 17.34 libxcrypt-compat x86_64 4.4.18-3.el9 tf-mirrors.ci_repos_yum9-appstream 88 k #11 17.34 python3-setuptools noarch 53.0.0-13.el9 tf-mirrors.ci_repos_yum9-baseos 838 k #11 17.34 #11 17.34 Transaction Summary #11 17.34 ====================================================================================== #11 17.34 Install 3 Packages #11 17.34 Upgrade 2 Packages #11 17.34 #11 17.34 Total download size: 10 M #11 17.34 Downloading Packages: #11 17.36 (1/5): libxcrypt-compat-4.4.18-3.el9.x86_64.rpm 5.2 MB/s | 88 kB 00:00 #11 17.37 (2/5): python3-3.9.21-1.el9_5.x86_64.rpm 5.8 MB/s | 26 kB 00:00 #11 17.38 (3/5): python3-setuptools-53.0.0-13.el9.noarch. 27 MB/s | 838 kB 00:00 #11 17.39 (4/5): python3-pip-21.3.1-1.el9.noarch.rpm 37 MB/s | 1.7 MB 00:00 #11 17.48 (5/5): python3-libs-3.9.21-1.el9_5.x86_64.rpm 69 MB/s | 7.5 MB 00:00 #11 17.48 -------------------------------------------------------------------------------- #11 17.48 Total 78 MB/s | 10 MB 00:00 #11 17.48 Running transaction check #11 17.52 Transaction check succeeded. #11 17.52 Running transaction test #11 17.67 Transaction test succeeded. #11 17.67 Running transaction #11 17.86 Preparing : 1/1 #11 18.29 Upgrading : python3-libs-3.9.21-1.el9_5.x86_64 1/7 #11 18.34 Upgrading : python3-3.9.21-1.el9_5.x86_64 2/7 #11 18.41 Installing : python3-setuptools-53.0.0-13.el9.noarch 3/7 #11 18.42 Installing : libxcrypt-compat-4.4.18-3.el9.x86_64 4/7 #11 18.59 Installing : python3-pip-21.3.1-1.el9.noarch 5/7 #11 18.61 Cleanup : python3-3.9.18-1.el9_3.x86_64 6/7 #11 18.65 Cleanup : python3-libs-3.9.18-1.el9_3.x86_64 7/7 #11 18.67 Running scriptlet: python3-libs-3.9.18-1.el9_3.x86_64 7/7 #11 19.13 Verifying : python3-setuptools-53.0.0-13.el9.noarch 1/7 #11 19.13 Verifying : libxcrypt-compat-4.4.18-3.el9.x86_64 2/7 #11 19.13 Verifying : python3-pip-21.3.1-1.el9.noarch 3/7 #11 19.13 Verifying : python3-3.9.21-1.el9_5.x86_64 4/7 #11 19.13 Verifying : python3-3.9.18-1.el9_3.x86_64 5/7 #11 19.13 Verifying : python3-libs-3.9.21-1.el9_5.x86_64 6/7 #11 19.13 Verifying : python3-libs-3.9.18-1.el9_3.x86_64 7/7 #11 19.17 #11 19.17 Upgraded: #11 19.17 python3-3.9.21-1.el9_5.x86_64 python3-libs-3.9.21-1.el9_5.x86_64 #11 19.17 Installed: #11 19.17 libxcrypt-compat-4.4.18-3.el9.x86_64 python3-pip-21.3.1-1.el9.noarch #11 19.17 python3-setuptools-53.0.0-13.el9.noarch #11 19.17 #11 19.17 Complete! #11 19.58 Looking in indexes: http://tf-mirrors.gz1.opensdn.io/root/pypi/+simple/ #11 19.58 Requirement already satisfied: pip in /usr/lib/python3.9/site-packages (21.3.1) #11 19.70 Collecting pip #11 19.71 Downloading http://tf-mirrors.gz1.opensdn.io/root/pypi/%2Bf/291/3a38a2abf4ea6/pip-25.1.1-py3-none-any.whl (1.8 MB) #11 19.76 Requirement already satisfied: setuptools in /usr/lib/python3.9/site-packages (53.0.0) #11 20.19 Collecting setuptools #11 20.21 Downloading http://tf-mirrors.gz1.opensdn.io/root/pypi/%2Bf/062/d34222ad13e0c/setuptools-80.9.0-py3-none-any.whl (1.2 MB) #11 20.34 Installing collected packages: setuptools, pip #11 21.71 Successfully installed pip-25.1.1 setuptools-80.9.0 #11 21.71 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 21.99 80 files removed #11 22.05 useradd warning: contrail's uid 1999 is greater than SYS_UID_MAX 999 #11 DONE 22.5s #12 exporting to image #12 exporting layers #12 exporting layers 0.9s done #12 writing image sha256:6ca3808d258122109ac4f4abcc1d2da32d73cc61c1779e356f2abded6eed4e09 done #12 naming to nexus.gz1.opensdn.io:5101/opensdn-general-base:master-1_7_6_9-1 done #12 DONE 0.9s 2025-06-23 19:18:15,751: INFO: Docker build duration: 27 seconds The push refers to repository [nexus.gz1.opensdn.io:5101/opensdn-general-base] 2bdf497ec59c: Preparing bcd4899e3b75: Preparing 8655b71929c9: Preparing 2f7e6029fdc6: Preparing 7546dcea3a7e: Preparing 6d60652a71e4: Preparing 44343de3ea1d: Preparing 6d60652a71e4: Waiting 44343de3ea1d: Waiting 2f7e6029fdc6: Pushed 8655b71929c9: Pushed 7546dcea3a7e: Pushed bcd4899e3b75: Pushed 44343de3ea1d: Layer already exists 6d60652a71e4: Pushed 2bdf497ec59c: Pushed master-1_7_6_9-1: digest: sha256:fc2a8b16625083d30710254fef0ad966a8ee0ca2ff64254de5d967cfc132c74c size: 1777 2025-06-23 19:18:21,256: INFO: Building opensdn-general-base finished successfully, duration: 33 seconds