#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 -r rm ; 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.136 /bin/sh: warning: setlocale: LC_ALL: cannot change locale (en_US.UTF-8) #11 0.142 total 36 #11 0.142 -rw-r--r--. 1 root root 100 Jul 21 10:50 contrail.repo #11 0.142 -rw-r--r--. 1 root root 2707 Jul 21 11:51 mirror-base-rocky9.repo #11 0.142 -rw-r--r--. 1 root root 217 Jul 21 11:51 mirror-docker9.repo #11 0.142 -rw-r--r--. 1 root root 204 Jul 21 11:51 mirror-epel9.repo #11 0.142 -rw-r--r--. 1 root root 1 Jul 21 11:51 rocky-addons.repo #11 0.142 -rw-r--r--. 1 root root 1 Jul 21 11:51 rocky-devel.repo #11 0.142 -rw-r--r--. 1 root root 1 Jul 21 11:51 rocky-extras.repo #11 0.142 -rw-r--r--. 1 root root 1 Jul 21 11:51 rocky.repo #11 0.142 -rw-r--r--. 1 root root 140 Jul 21 11:51 tpc.repo #11 0.342 Failed to set locale, defaulting to C.UTF-8 #11 0.554 Contrail repo 4.6 MB/s | 119 kB 00:00 #11 0.637 added from: http://tf-mirrors.gz1.opensdn.io/re 36 MB/s | 2.1 MB 00:00 #11 1.005 added from: http://tf-mirrors.gz1.opensdn.io/re 20 MB/s | 730 kB 00:00 #11 1.175 added from: http://tf-mirrors.gz1.opensdn.io/re 8.3 MB/s | 264 kB 00:00 #11 1.361 added from: http://tf-mirrors.gz1.opensdn.io/re 67 MB/s | 7.0 MB 00:00 #11 2.702 added from: http://tf-mirrors.gz1.opensdn.io/re 45 MB/s | 4.0 MB 00:00 #11 3.492 added from: http://tf-mirrors.gz1.opensdn.io/re 23 MB/s | 939 kB 00:00 #11 3.725 added from: http://tf-mirrors.gz1.opensdn.io/re 41 MB/s | 2.3 MB 00:00 #11 4.207 added from: http://tf-mirrors.gz1.opensdn.io/re 12 MB/s | 392 kB 00:00 #11 4.382 added from: http://tf-mirrors.gz1.opensdn.io/re 12 MB/s | 451 kB 00:00 #11 4.542 added from: http://tf-mirrors.gz1.opensdn.io/re 604 kB/s | 16 kB 00:00 #11 4.673 added from: http://tf-mirrors.gz1.opensdn.io/re 8.4 kB/s | 257 B 00:00 #11 4.801 added from: http://tf-mirrors.gz1.opensdn.io/re 604 kB/s | 13 kB 00:00 #11 4.910 added from: http://tf-mirrors.gz1.opensdn.io/re 2.8 MB/s | 64 kB 00:00 #11 5.311 added from: http://tf-mirrors.gz1.opensdn.io/re 107 MB/s | 30 MB 00:00 #11 11.46 Third parties for OpenSDN 53 MB/s | 5.4 MB 00:00 #11 15.27 No security updates needed for "yum", but 1 update available #11 15.27 No match for argument: update-minimal #11 15.31 Dependencies resolved. #11 15.31 Nothing to do. #11 15.31 Complete! #11 15.46 Failed to set locale, defaulting to C.UTF-8 #11 15.78 Last metadata expiration check: 0:00:04 ago on Mon Jul 21 11:51:58 2025. #11 15.84 Package hostname-3.23-6.el9.x86_64 is already installed. #11 15.84 Package less-590-2.el9_2.x86_64 is already installed. #11 15.84 Package openssl-1:3.0.7-24.el9.x86_64 is already installed. #11 15.88 Dependencies resolved. #11 15.88 ============================================================================================== #11 15.88 Package Arch Version Repository Size #11 15.88 ============================================================================================== #11 15.88 Installing: #11 15.88 glibc-langpack-en x86_64 2.34-125.el9_5.1 tf-mirrors.ci_repos_yum9-baseos 552 k #11 15.88 iproute x86_64 6.2.0-6.el9_4 tf-mirrors.ci_repos_yum9-baseos 786 k #11 15.88 rsync x86_64 3.2.3-20.el9_5.1 tf-mirrors.ci_repos_yum9-baseos 391 k #11 15.88 wget x86_64 1.21.1-8.el9_4 tf-mirrors.ci_repos_yum9-appstream 768 k #11 15.88 Upgrading: #11 15.88 glibc x86_64 2.34-125.el9_5.1 tf-mirrors.ci_repos_yum9-baseos 2.0 M #11 15.88 glibc-common x86_64 2.34-125.el9_5.1 tf-mirrors.ci_repos_yum9-baseos 296 k #11 15.88 glibc-minimal-langpack x86_64 2.34-125.el9_5.1 tf-mirrors.ci_repos_yum9-baseos 22 k #11 15.88 less x86_64 590-5.el9 tf-mirrors.ci_repos_yum9-baseos 161 k #11 15.88 openssl x86_64 1:3.2.2-6.el9_5.1 tf-mirrors.ci_repos_yum9-baseos 1.3 M #11 15.88 openssl-libs x86_64 1:3.2.2-6.el9_5.1 tf-mirrors.ci_repos_yum9-baseos 2.4 M #11 15.88 Installing dependencies: #11 15.88 libbpf x86_64 2:1.4.0-1.el9 tf-mirrors.ci_repos_yum9-baseos 177 k #11 15.88 libmnl x86_64 1.0.4-16.el9_4 tf-mirrors.ci_repos_yum9-baseos 27 k #11 15.88 libpsl x86_64 0.21.1-5.el9 tf-mirrors.ci_repos_yum9-baseos 63 k #11 15.88 psmisc x86_64 23.4-3.el9 tf-mirrors.ci_repos_yum9-baseos 226 k #11 15.88 publicsuffix-list-dafsa noarch 20210518-3.el9 tf-mirrors.ci_repos_yum9-baseos 58 k #11 15.88 #11 15.88 Transaction Summary #11 15.88 ============================================================================================== #11 15.88 Install 9 Packages #11 15.88 Upgrade 6 Packages #11 15.88 #11 15.88 Total download size: 9.1 M #11 15.88 Downloading Packages: #11 15.90 (1/15): libbpf-1.4.0-1.el9.x86_64.rpm 8.4 MB/s | 177 kB 00:00 #11 15.92 (2/15): glibc-langpack-en-2.34-125.el9_5.1.x86_ 17 MB/s | 552 kB 00:00 #11 15.92 (3/15): libmnl-1.0.4-16.el9_4.x86_64.rpm 1.8 MB/s | 27 kB 00:00 #11 15.92 (4/15): libpsl-0.21.1-5.el9.x86_64.rpm 9.4 MB/s | 63 kB 00:00 #11 15.94 (5/15): iproute-6.2.0-6.el9_4.x86_64.rpm 15 MB/s | 786 kB 00:00 #11 15.94 (6/15): psmisc-23.4-3.el9.x86_64.rpm 11 MB/s | 226 kB 00:00 #11 15.94 (7/15): publicsuffix-list-dafsa-20210518-3.el9. 3.1 MB/s | 58 kB 00:00 #11 15.95 (8/15): rsync-3.2.3-20.el9_5.1.x86_64.rpm 25 MB/s | 391 kB 00:00 #11 15.96 (9/15): wget-1.21.1-8.el9_4.x86_64.rpm 34 MB/s | 768 kB 00:00 #11 15.97 (10/15): glibc-common-2.34-125.el9_5.1.x86_64.r 14 MB/s | 296 kB 00:00 #11 15.97 (11/15): glibc-minimal-langpack-2.34-125.el9_5. 2.4 MB/s | 22 kB 00:00 #11 15.98 (12/15): less-590-5.el9.x86_64.rpm 16 MB/s | 161 kB 00:00 #11 16.01 (13/15): openssl-3.2.2-6.el9_5.1.x86_64.rpm 42 MB/s | 1.3 MB 00:00 #11 16.03 (14/15): glibc-2.34-125.el9_5.1.x86_64.rpm 23 MB/s | 2.0 MB 00:00 #11 16.06 (15/15): openssl-libs-3.2.2-6.el9_5.1.x86_64.rp 31 MB/s | 2.4 MB 00:00 #11 16.06 -------------------------------------------------------------------------------- #11 16.06 Total 51 MB/s | 9.1 MB 00:00 #11 16.06 Running transaction check #11 16.42 Transaction check succeeded. #11 16.42 Running transaction test #11 16.58 Transaction test succeeded. #11 16.58 Running transaction #11 17.09 Preparing : 1/1 #11 17.30 Upgrading : glibc-common-2.34-125.el9_5.1.x86_64 1/21 #11 17.31 Upgrading : glibc-minimal-langpack-2.34-125.el9_5.1.x86_64 2/21 #11 17.31 Running scriptlet: glibc-2.34-125.el9_5.1.x86_64 3/21 #11 17.37 Upgrading : glibc-2.34-125.el9_5.1.x86_64 3/21 #11 17.38 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.60 Upgrading : openssl-libs-1:3.2.2-6.el9_5.1.x86_64 5/21 #11 17.61 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.65 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.70 Installing : rsync-3.2.3-20.el9_5.1.x86_64 13/21 #11 17.75 Upgrading : openssl-1:3.2.2-6.el9_5.1.x86_64 14/21 #11 17.76 Upgrading : less-590-5.el9.x86_64 15/21 #11 17.77 Cleanup : openssl-1:3.0.7-24.el9.x86_64 16/21 #11 17.78 Cleanup : openssl-libs-1:3.0.7-24.el9.x86_64 17/21 #11 17.79 Cleanup : less-590-2.el9_2.x86_64 18/21 #11 17.80 Cleanup : glibc-2.34-83.el9.7.x86_64 19/21 #11 17.81 Cleanup : glibc-minimal-langpack-2.34-83.el9.7.x86_64 20/21 #11 17.81 Cleanup : glibc-common-2.34-83.el9.7.x86_64 21/21 #11 17.82 Running scriptlet: glibc-common-2.34-83.el9.7.x86_64 21/21 #11 18.05 Verifying : glibc-langpack-en-2.34-125.el9_5.1.x86_64 1/21 #11 18.05 Verifying : iproute-6.2.0-6.el9_4.x86_64 2/21 #11 18.05 Verifying : libbpf-2:1.4.0-1.el9.x86_64 3/21 #11 18.05 Verifying : libmnl-1.0.4-16.el9_4.x86_64 4/21 #11 18.05 Verifying : libpsl-0.21.1-5.el9.x86_64 5/21 #11 18.05 Verifying : psmisc-23.4-3.el9.x86_64 6/21 #11 18.05 Verifying : publicsuffix-list-dafsa-20210518-3.el9.noarch 7/21 #11 18.05 Verifying : rsync-3.2.3-20.el9_5.1.x86_64 8/21 #11 18.05 Verifying : wget-1.21.1-8.el9_4.x86_64 9/21 #11 18.05 Verifying : glibc-2.34-125.el9_5.1.x86_64 10/21 #11 18.05 Verifying : glibc-2.34-83.el9.7.x86_64 11/21 #11 18.05 Verifying : glibc-common-2.34-125.el9_5.1.x86_64 12/21 #11 18.05 Verifying : glibc-common-2.34-83.el9.7.x86_64 13/21 #11 18.05 Verifying : glibc-minimal-langpack-2.34-125.el9_5.1.x86_64 14/21 #11 18.05 Verifying : glibc-minimal-langpack-2.34-83.el9.7.x86_64 15/21 #11 18.05 Verifying : less-590-5.el9.x86_64 16/21 #11 18.05 Verifying : less-590-2.el9_2.x86_64 17/21 #11 18.05 Verifying : openssl-1:3.2.2-6.el9_5.1.x86_64 18/21 #11 18.05 Verifying : openssl-1:3.0.7-24.el9.x86_64 19/21 #11 18.05 Verifying : openssl-libs-1:3.2.2-6.el9_5.1.x86_64 20/21 #11 18.05 Verifying : openssl-libs-1:3.0.7-24.el9.x86_64 21/21 #11 18.11 #11 18.11 Upgraded: #11 18.11 glibc-2.34-125.el9_5.1.x86_64 #11 18.11 glibc-common-2.34-125.el9_5.1.x86_64 #11 18.11 glibc-minimal-langpack-2.34-125.el9_5.1.x86_64 #11 18.11 less-590-5.el9.x86_64 #11 18.11 openssl-1:3.2.2-6.el9_5.1.x86_64 #11 18.11 openssl-libs-1:3.2.2-6.el9_5.1.x86_64 #11 18.11 Installed: #11 18.11 glibc-langpack-en-2.34-125.el9_5.1.x86_64 iproute-6.2.0-6.el9_4.x86_64 #11 18.11 libbpf-2:1.4.0-1.el9.x86_64 libmnl-1.0.4-16.el9_4.x86_64 #11 18.11 libpsl-0.21.1-5.el9.x86_64 psmisc-23.4-3.el9.x86_64 #11 18.11 publicsuffix-list-dafsa-20210518-3.el9.noarch rsync-3.2.3-20.el9_5.1.x86_64 #11 18.11 wget-1.21.1-8.el9_4.x86_64 #11 18.11 #11 18.11 Complete! #11 18.56 Last metadata expiration check: 0:00:07 ago on Mon 21 Jul 2025 11:51:58 AM UTC. #11 18.63 Package python3-3.9.18-1.el9_3.x86_64 is already installed. #11 18.66 Dependencies resolved. #11 18.66 ====================================================================================== #11 18.66 Package Arch Version Repository Size #11 18.66 ====================================================================================== #11 18.66 Installing: #11 18.66 python3-pip noarch 21.3.1-1.el9 tf-mirrors.ci_repos_yum9-appstream 1.7 M #11 18.66 Upgrading: #11 18.66 python3 x86_64 3.9.21-1.el9_5 tf-mirrors.ci_repos_yum9-baseos 26 k #11 18.66 python3-libs x86_64 3.9.21-1.el9_5 tf-mirrors.ci_repos_yum9-baseos 7.5 M #11 18.66 Installing weak dependencies: #11 18.66 libxcrypt-compat x86_64 4.4.18-3.el9 tf-mirrors.ci_repos_yum9-appstream 88 k #11 18.66 python3-setuptools noarch 53.0.0-13.el9 tf-mirrors.ci_repos_yum9-baseos 838 k #11 18.66 #11 18.66 Transaction Summary #11 18.66 ====================================================================================== #11 18.66 Install 3 Packages #11 18.66 Upgrade 2 Packages #11 18.66 #11 18.66 Total download size: 10 M #11 18.66 Downloading Packages: #11 18.68 (1/5): libxcrypt-compat-4.4.18-3.el9.x86_64.rpm 4.1 MB/s | 88 kB 00:00 #11 18.69 (2/5): python3-3.9.21-1.el9_5.x86_64.rpm 4.8 MB/s | 26 kB 00:00 #11 18.71 (3/5): python3-setuptools-53.0.0-13.el9.noarch. 18 MB/s | 838 kB 00:00 #11 18.73 (4/5): python3-pip-21.3.1-1.el9.noarch.rpm 28 MB/s | 1.7 MB 00:00 #11 18.80 (5/5): python3-libs-3.9.21-1.el9_5.x86_64.rpm 71 MB/s | 7.5 MB 00:00 #11 18.80 -------------------------------------------------------------------------------- #11 18.80 Total 75 MB/s | 10 MB 00:00 #11 18.80 Running transaction check #11 18.84 Transaction check succeeded. #11 18.84 Running transaction test #11 18.99 Transaction test succeeded. #11 18.99 Running transaction #11 19.18 Preparing : 1/1 #11 19.65 Upgrading : python3-libs-3.9.21-1.el9_5.x86_64 1/7 #11 19.69 Upgrading : python3-3.9.21-1.el9_5.x86_64 2/7 #11 19.75 Installing : python3-setuptools-53.0.0-13.el9.noarch 3/7 #11 19.77 Installing : libxcrypt-compat-4.4.18-3.el9.x86_64 4/7 #11 19.93 Installing : python3-pip-21.3.1-1.el9.noarch 5/7 #11 20.01 Cleanup : python3-3.9.18-1.el9_3.x86_64 6/7 #11 20.30 Cleanup : python3-libs-3.9.18-1.el9_3.x86_64 7/7 #11 20.45 Running scriptlet: python3-libs-3.9.18-1.el9_3.x86_64 7/7 #11 20.64 Verifying : python3-setuptools-53.0.0-13.el9.noarch 1/7 #11 20.64 Verifying : libxcrypt-compat-4.4.18-3.el9.x86_64 2/7 #11 20.64 Verifying : python3-pip-21.3.1-1.el9.noarch 3/7 #11 20.64 Verifying : python3-3.9.21-1.el9_5.x86_64 4/7 #11 20.64 Verifying : python3-3.9.18-1.el9_3.x86_64 5/7 #11 20.64 Verifying : python3-libs-3.9.21-1.el9_5.x86_64 6/7 #11 20.64 Verifying : python3-libs-3.9.18-1.el9_3.x86_64 7/7 #11 20.69 #11 20.69 Upgraded: #11 20.69 python3-3.9.21-1.el9_5.x86_64 python3-libs-3.9.21-1.el9_5.x86_64 #11 20.69 Installed: #11 20.69 libxcrypt-compat-4.4.18-3.el9.x86_64 python3-pip-21.3.1-1.el9.noarch #11 20.69 python3-setuptools-53.0.0-13.el9.noarch #11 20.69 #11 20.69 Complete! #11 21.16 Looking in indexes: http://tf-mirrors.gz1.opensdn.io/root/pypi/+simple/ #11 21.16 Requirement already satisfied: pip in /usr/lib/python3.9/site-packages (21.3.1) #11 21.29 Collecting pip #11 21.31 Downloading http://tf-mirrors.gz1.opensdn.io/root/pypi/%2Bf/291/3a38a2abf4ea6/pip-25.1.1-py3-none-any.whl (1.8 MB) #11 21.36 Requirement already satisfied: setuptools in /usr/lib/python3.9/site-packages (53.0.0) #11 21.80 Collecting setuptools #11 21.82 Downloading http://tf-mirrors.gz1.opensdn.io/root/pypi/%2Bf/062/d34222ad13e0c/setuptools-80.9.0-py3-none-any.whl (1.2 MB) #11 21.95 Installing collected packages: setuptools, pip #11 23.42 Successfully installed pip-25.1.1 setuptools-80.9.0 #11 23.42 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.78 80 files removed #11 23.85 useradd warning: contrail's uid 1999 is greater than SYS_UID_MAX 999 #11 DONE 24.2s #12 exporting to image #12 exporting layers #12 exporting layers 1.1s done #12 writing image sha256:b86db85904a5793644d2e68d6a8abb8acca767e86b346c300f85f04e57e91a98 done #12 naming to nexus.gz1.opensdn.io:5101/opensdn-general-base:master-1_7_6_9-6 done #12 DONE 1.1s 2025-07-21 11:52:12,473: INFO: Docker build duration: 29 seconds The push refers to repository [nexus.gz1.opensdn.io:5101/opensdn-general-base] 120014cc3e77: Preparing 3833e8b5ce32: Preparing a1a83f8b8b53: Preparing 6e4b38542d48: Preparing 242040c6e166: Preparing efc6ef572312: Preparing 44343de3ea1d: Preparing efc6ef572312: Waiting 44343de3ea1d: Waiting 3833e8b5ce32: Pushed a1a83f8b8b53: Pushed 6e4b38542d48: Pushed 242040c6e166: Pushed 44343de3ea1d: Layer already exists efc6ef572312: Pushed 120014cc3e77: Pushed master-1_7_6_9-6: digest: sha256:7d47bb7476079bda26f6c36b9c98e3247a23d9a9fb591a902eb5d4fb329644c7 size: 1777 2025-07-21 11:52:18,900: INFO: Building opensdn-general-base finished successfully, duration: 35 seconds