#11 [7/7] RUN set -e ; source /etc/os-release ; 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 ; yum install -y hostname iproute less wget openssl glibc-langpack-en rsync ; 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.092 /bin/sh: warning: setlocale: LC_ALL: cannot change locale (en_US.UTF-8) #11 0.098 total 36 #11 0.098 -rw-r--r--. 1 root root 100 Aug 27 09:52 contrail.repo #11 0.098 -rw-r--r--. 1 root root 2707 Aug 27 10:49 mirror-base-rocky9.repo #11 0.098 -rw-r--r--. 1 root root 217 Aug 27 10:49 mirror-docker9.repo #11 0.098 -rw-r--r--. 1 root root 204 Aug 27 10:49 mirror-epel9.repo #11 0.098 -rw-r--r--. 1 root root 1 Aug 27 10:49 rocky-addons.repo #11 0.098 -rw-r--r--. 1 root root 1 Aug 27 10:49 rocky-devel.repo #11 0.098 -rw-r--r--. 1 root root 1 Aug 27 10:49 rocky-extras.repo #11 0.098 -rw-r--r--. 1 root root 1 Aug 27 10:49 rocky.repo #11 0.098 -rw-r--r--. 1 root root 140 Aug 27 10:49 tpc.repo #11 0.327 Failed to set locale, defaulting to C.UTF-8 #11 0.618 Contrail repo 2.1 MB/s | 106 kB 00:00 #11 0.694 added from: http://tf-mirrors.gz1.opensdn.io/re 40 MB/s | 2.1 MB 00:00 #11 1.053 added from: http://tf-mirrors.gz1.opensdn.io/re 20 MB/s | 730 kB 00:00 #11 1.228 added from: http://tf-mirrors.gz1.opensdn.io/re 10 MB/s | 264 kB 00:00 #11 1.387 added from: http://tf-mirrors.gz1.opensdn.io/re 75 MB/s | 7.0 MB 00:00 #11 3.764 added from: http://tf-mirrors.gz1.opensdn.io/re 6.2 MB/s | 4.0 MB 00:00 #11 4.609 added from: http://tf-mirrors.gz1.opensdn.io/re 14 MB/s | 939 kB 00:00 #11 4.839 added from: http://tf-mirrors.gz1.opensdn.io/re 41 MB/s | 2.3 MB 00:00 #11 5.318 added from: http://tf-mirrors.gz1.opensdn.io/re 14 MB/s | 392 kB 00:00 #11 5.484 added from: http://tf-mirrors.gz1.opensdn.io/re 14 MB/s | 451 kB 00:00 #11 5.644 added from: http://tf-mirrors.gz1.opensdn.io/re 612 kB/s | 16 kB 00:00 #11 5.752 added from: http://tf-mirrors.gz1.opensdn.io/re 11 kB/s | 257 B 00:00 #11 5.860 added from: http://tf-mirrors.gz1.opensdn.io/re 633 kB/s | 13 kB 00:00 #11 6.277 added from: http://tf-mirrors.gz1.opensdn.io/re 194 kB/s | 64 kB 00:00 #11 6.634 added from: http://tf-mirrors.gz1.opensdn.io/re 119 MB/s | 30 MB 00:00 #11 12.87 Third parties for OpenSDN 58 MB/s | 5.4 MB 00:00 #11 16.55 No security updates needed for "yum", but 1 update available #11 16.55 No match for argument: update-minimal #11 16.59 Dependencies resolved. #11 16.59 Nothing to do. #11 16.59 Complete! #11 16.73 Failed to set locale, defaulting to C.UTF-8 #11 17.01 Last metadata expiration check: 0:00:04 ago on Wed Aug 27 10:49:42 2025. #11 17.07 Package hostname-3.23-6.el9.x86_64 is already installed. #11 17.07 Package less-590-2.el9_2.x86_64 is already installed. #11 17.07 Package openssl-1:3.0.7-24.el9.x86_64 is already installed. #11 17.10 Dependencies resolved. #11 17.11 ============================================================================================== #11 17.11 Package Arch Version Repository Size #11 17.11 ============================================================================================== #11 17.11 Installing: #11 17.11 glibc-langpack-en x86_64 2.34-125.el9_5.1 tf-mirrors.ci_repos_yum9-baseos 552 k #11 17.11 iproute x86_64 6.2.0-6.el9_4 tf-mirrors.ci_repos_yum9-baseos 786 k #11 17.11 rsync x86_64 3.2.3-20.el9_5.1 tf-mirrors.ci_repos_yum9-baseos 391 k #11 17.11 wget x86_64 1.21.1-8.el9_4 tf-mirrors.ci_repos_yum9-appstream 768 k #11 17.11 Upgrading: #11 17.11 glibc x86_64 2.34-125.el9_5.1 tf-mirrors.ci_repos_yum9-baseos 2.0 M #11 17.11 glibc-common x86_64 2.34-125.el9_5.1 tf-mirrors.ci_repos_yum9-baseos 296 k #11 17.11 glibc-minimal-langpack x86_64 2.34-125.el9_5.1 tf-mirrors.ci_repos_yum9-baseos 22 k #11 17.11 less x86_64 590-5.el9 tf-mirrors.ci_repos_yum9-baseos 161 k #11 17.11 openssl x86_64 1:3.2.2-6.el9_5.1 tf-mirrors.ci_repos_yum9-baseos 1.3 M #11 17.11 openssl-libs x86_64 1:3.2.2-6.el9_5.1 tf-mirrors.ci_repos_yum9-baseos 2.4 M #11 17.11 Installing dependencies: #11 17.11 libbpf x86_64 2:1.4.0-1.el9 tf-mirrors.ci_repos_yum9-baseos 177 k #11 17.11 libmnl x86_64 1.0.4-16.el9_4 tf-mirrors.ci_repos_yum9-baseos 27 k #11 17.11 libpsl x86_64 0.21.1-5.el9 tf-mirrors.ci_repos_yum9-baseos 63 k #11 17.11 psmisc x86_64 23.4-3.el9 tf-mirrors.ci_repos_yum9-baseos 226 k #11 17.11 publicsuffix-list-dafsa noarch 20210518-3.el9 tf-mirrors.ci_repos_yum9-baseos 58 k #11 17.11 #11 17.11 Transaction Summary #11 17.11 ============================================================================================== #11 17.11 Install 9 Packages #11 17.11 Upgrade 6 Packages #11 17.11 #11 17.11 Total download size: 9.1 M #11 17.11 Downloading Packages: #11 17.13 (1/15): glibc-langpack-en-2.34-125.el9_5.1.x86_ 23 MB/s | 552 kB 00:00 #11 17.14 (2/15): libbpf-1.4.0-1.el9.x86_64.rpm 6.4 MB/s | 177 kB 00:00 #11 17.14 (3/15): libmnl-1.0.4-16.el9_4.x86_64.rpm 3.9 MB/s | 27 kB 00:00 #11 17.14 (4/15): libpsl-0.21.1-5.el9.x86_64.rpm 9.3 MB/s | 63 kB 00:00 #11 17.15 (5/15): psmisc-23.4-3.el9.x86_64.rpm 25 MB/s | 226 kB 00:00 #11 17.15 (6/15): publicsuffix-list-dafsa-20210518-3.el9. 7.4 MB/s | 58 kB 00:00 #11 17.16 (7/15): iproute-6.2.0-6.el9_4.x86_64.rpm 15 MB/s | 786 kB 00:00 #11 17.17 (8/15): rsync-3.2.3-20.el9_5.1.x86_64.rpm 22 MB/s | 391 kB 00:00 #11 17.18 (9/15): glibc-common-2.34-125.el9_5.1.x86_64.rp 33 MB/s | 296 kB 00:00 #11 17.19 (10/15): wget-1.21.1-8.el9_4.x86_64.rpm 22 MB/s | 768 kB 00:00 #11 17.19 (11/15): glibc-minimal-langpack-2.34-125.el9_5. 1.6 MB/s | 22 kB 00:00 #11 17.19 (12/15): less-590-5.el9.x86_64.rpm 23 MB/s | 161 kB 00:00 #11 17.22 (13/15): glibc-2.34-125.el9_5.1.x86_64.rpm 35 MB/s | 2.0 MB 00:00 #11 17.24 (14/15): openssl-3.2.2-6.el9_5.1.x86_64.rpm 29 MB/s | 1.3 MB 00:00 #11 17.26 (15/15): openssl-libs-3.2.2-6.el9_5.1.x86_64.rp 37 MB/s | 2.4 MB 00:00 #11 17.26 -------------------------------------------------------------------------------- #11 17.26 Total 60 MB/s | 9.1 MB 00:00 #11 17.26 Running transaction check #11 17.59 Transaction check succeeded. #11 17.59 Running transaction test #11 17.71 Transaction test succeeded. #11 17.71 Running transaction #11 17.98 Preparing : 1/1 #11 18.06 Upgrading : glibc-common-2.34-125.el9_5.1.x86_64 1/21 #11 18.07 Upgrading : glibc-minimal-langpack-2.34-125.el9_5.1.x86_64 2/21 #11 18.07 Running scriptlet: glibc-2.34-125.el9_5.1.x86_64 3/21 #11 18.12 Upgrading : glibc-2.34-125.el9_5.1.x86_64 3/21 #11 18.13 Running scriptlet: glibc-2.34-125.el9_5.1.x86_64 3/21 #11 18.28 Installing : glibc-langpack-en-2.34-125.el9_5.1.x86_64 4/21 #11 18.35 Upgrading : openssl-libs-1:3.2.2-6.el9_5.1.x86_64 5/21 #11 18.36 Installing : libbpf-2:1.4.0-1.el9.x86_64 6/21 #11 18.36 Installing : libmnl-1.0.4-16.el9_4.x86_64 7/21 #11 18.37 Installing : psmisc-23.4-3.el9.x86_64 8/21 #11 18.38 Installing : publicsuffix-list-dafsa-20210518-3.el9.noarch 9/21 #11 18.38 Installing : libpsl-0.21.1-5.el9.x86_64 10/21 #11 18.40 Installing : wget-1.21.1-8.el9_4.x86_64 11/21 #11 18.43 Installing : iproute-6.2.0-6.el9_4.x86_64 12/21 #11 18.45 Installing : rsync-3.2.3-20.el9_5.1.x86_64 13/21 #11 18.50 Upgrading : openssl-1:3.2.2-6.el9_5.1.x86_64 14/21 #11 18.51 Upgrading : less-590-5.el9.x86_64 15/21 #11 18.52 Cleanup : openssl-1:3.0.7-24.el9.x86_64 16/21 #11 18.53 Cleanup : openssl-libs-1:3.0.7-24.el9.x86_64 17/21 #11 18.54 Cleanup : less-590-2.el9_2.x86_64 18/21 #11 18.55 Cleanup : glibc-2.34-83.el9.7.x86_64 19/21 #11 18.68 Cleanup : glibc-minimal-langpack-2.34-83.el9.7.x86_64 20/21 #11 18.85 Cleanup : glibc-common-2.34-83.el9.7.x86_64 21/21 #11 19.01 Running scriptlet: glibc-common-2.34-83.el9.7.x86_64 21/21 #11 19.07 Verifying : glibc-langpack-en-2.34-125.el9_5.1.x86_64 1/21 #11 19.07 Verifying : iproute-6.2.0-6.el9_4.x86_64 2/21 #11 19.07 Verifying : libbpf-2:1.4.0-1.el9.x86_64 3/21 #11 19.07 Verifying : libmnl-1.0.4-16.el9_4.x86_64 4/21 #11 19.07 Verifying : libpsl-0.21.1-5.el9.x86_64 5/21 #11 19.07 Verifying : psmisc-23.4-3.el9.x86_64 6/21 #11 19.07 Verifying : publicsuffix-list-dafsa-20210518-3.el9.noarch 7/21 #11 19.07 Verifying : rsync-3.2.3-20.el9_5.1.x86_64 8/21 #11 19.07 Verifying : wget-1.21.1-8.el9_4.x86_64 9/21 #11 19.07 Verifying : glibc-2.34-125.el9_5.1.x86_64 10/21 #11 19.07 Verifying : glibc-2.34-83.el9.7.x86_64 11/21 #11 19.07 Verifying : glibc-common-2.34-125.el9_5.1.x86_64 12/21 #11 19.07 Verifying : glibc-common-2.34-83.el9.7.x86_64 13/21 #11 19.07 Verifying : glibc-minimal-langpack-2.34-125.el9_5.1.x86_64 14/21 #11 19.07 Verifying : glibc-minimal-langpack-2.34-83.el9.7.x86_64 15/21 #11 19.07 Verifying : less-590-5.el9.x86_64 16/21 #11 19.07 Verifying : less-590-2.el9_2.x86_64 17/21 #11 19.07 Verifying : openssl-1:3.2.2-6.el9_5.1.x86_64 18/21 #11 19.07 Verifying : openssl-1:3.0.7-24.el9.x86_64 19/21 #11 19.07 Verifying : openssl-libs-1:3.2.2-6.el9_5.1.x86_64 20/21 #11 19.07 Verifying : openssl-libs-1:3.0.7-24.el9.x86_64 21/21 #11 20.05 #11 20.05 Upgraded: #11 20.05 glibc-2.34-125.el9_5.1.x86_64 #11 20.05 glibc-common-2.34-125.el9_5.1.x86_64 #11 20.05 glibc-minimal-langpack-2.34-125.el9_5.1.x86_64 #11 20.05 less-590-5.el9.x86_64 #11 20.05 openssl-1:3.2.2-6.el9_5.1.x86_64 #11 20.05 openssl-libs-1:3.2.2-6.el9_5.1.x86_64 #11 20.05 Installed: #11 20.05 glibc-langpack-en-2.34-125.el9_5.1.x86_64 iproute-6.2.0-6.el9_4.x86_64 #11 20.05 libbpf-2:1.4.0-1.el9.x86_64 libmnl-1.0.4-16.el9_4.x86_64 #11 20.05 libpsl-0.21.1-5.el9.x86_64 psmisc-23.4-3.el9.x86_64 #11 20.05 publicsuffix-list-dafsa-20210518-3.el9.noarch rsync-3.2.3-20.el9_5.1.x86_64 #11 20.05 wget-1.21.1-8.el9_4.x86_64 #11 20.05 #11 20.05 Complete! #11 20.62 Last metadata expiration check: 0:00:08 ago on Wed 27 Aug 2025 10:49:42 AM UTC. #11 20.68 Package python3-3.9.18-1.el9_3.x86_64 is already installed. #11 20.71 Dependencies resolved. #11 20.71 ====================================================================================== #11 20.71 Package Arch Version Repository Size #11 20.71 ====================================================================================== #11 20.71 Installing: #11 20.71 python3-pip noarch 21.3.1-1.el9 tf-mirrors.ci_repos_yum9-appstream 1.7 M #11 20.71 Upgrading: #11 20.71 python3 x86_64 3.9.21-1.el9_5 tf-mirrors.ci_repos_yum9-baseos 26 k #11 20.71 python3-libs x86_64 3.9.21-1.el9_5 tf-mirrors.ci_repos_yum9-baseos 7.5 M #11 20.71 Installing weak dependencies: #11 20.71 libxcrypt-compat x86_64 4.4.18-3.el9 tf-mirrors.ci_repos_yum9-appstream 88 k #11 20.71 python3-setuptools noarch 53.0.0-13.el9 tf-mirrors.ci_repos_yum9-baseos 838 k #11 20.71 #11 20.71 Transaction Summary #11 20.71 ====================================================================================== #11 20.71 Install 3 Packages #11 20.71 Upgrade 2 Packages #11 20.71 #11 20.71 Total download size: 10 M #11 20.71 Downloading Packages: #11 20.73 (1/5): libxcrypt-compat-4.4.18-3.el9.x86_64.rpm 5.6 MB/s | 88 kB 00:00 #11 20.74 (2/5): python3-3.9.21-1.el9_5.x86_64.rpm 6.4 MB/s | 26 kB 00:00 #11 20.76 (3/5): python3-pip-21.3.1-1.el9.noarch.rpm 42 MB/s | 1.7 MB 00:00 #11 20.77 (4/5): python3-setuptools-53.0.0-13.el9.noarch. 15 MB/s | 838 kB 00:00 #11 20.83 (5/5): python3-libs-3.9.21-1.el9_5.x86_64.rpm 78 MB/s | 7.5 MB 00:00 #11 20.83 -------------------------------------------------------------------------------- #11 20.83 Total 86 MB/s | 10 MB 00:00 #11 20.83 Running transaction check #11 20.88 Transaction check succeeded. #11 20.88 Running transaction test #11 21.03 Transaction test succeeded. #11 21.03 Running transaction #11 21.21 Preparing : 1/1 #11 21.69 Upgrading : python3-libs-3.9.21-1.el9_5.x86_64 1/7 #11 21.72 Upgrading : python3-3.9.21-1.el9_5.x86_64 2/7 #11 21.79 Installing : python3-setuptools-53.0.0-13.el9.noarch 3/7 #11 21.80 Installing : libxcrypt-compat-4.4.18-3.el9.x86_64 4/7 #11 21.96 Installing : python3-pip-21.3.1-1.el9.noarch 5/7 #11 21.98 Cleanup : python3-3.9.18-1.el9_3.x86_64 6/7 #11 22.03 Cleanup : python3-libs-3.9.18-1.el9_3.x86_64 7/7 #11 22.04 Running scriptlet: python3-libs-3.9.18-1.el9_3.x86_64 7/7 #11 22.52 Verifying : python3-setuptools-53.0.0-13.el9.noarch 1/7 #11 22.52 Verifying : libxcrypt-compat-4.4.18-3.el9.x86_64 2/7 #11 22.52 Verifying : python3-pip-21.3.1-1.el9.noarch 3/7 #11 22.52 Verifying : python3-3.9.21-1.el9_5.x86_64 4/7 #11 22.52 Verifying : python3-3.9.18-1.el9_3.x86_64 5/7 #11 22.52 Verifying : python3-libs-3.9.21-1.el9_5.x86_64 6/7 #11 22.52 Verifying : python3-libs-3.9.18-1.el9_3.x86_64 7/7 #11 22.54 #11 22.54 Upgraded: #11 22.54 python3-3.9.21-1.el9_5.x86_64 python3-libs-3.9.21-1.el9_5.x86_64 #11 22.54 Installed: #11 22.54 libxcrypt-compat-4.4.18-3.el9.x86_64 python3-pip-21.3.1-1.el9.noarch #11 22.54 python3-setuptools-53.0.0-13.el9.noarch #11 22.54 #11 22.54 Complete! #11 22.98 Looking in indexes: http://tf-mirrors.gz1.opensdn.io/root/pypi/+simple/ #11 22.98 Requirement already satisfied: pip in /usr/lib/python3.9/site-packages (21.3.1) #11 23.11 Collecting pip #11 23.13 Downloading http://tf-mirrors.gz1.opensdn.io/root/pypi/%2Bf/6d6/7a2b4e7f14d8b/pip-25.2-py3-none-any.whl (1.8 MB) #11 23.18 Requirement already satisfied: setuptools in /usr/lib/python3.9/site-packages (53.0.0) #11 23.63 Collecting setuptools #11 23.64 Downloading http://tf-mirrors.gz1.opensdn.io/root/pypi/%2Bf/062/d34222ad13e0c/setuptools-80.9.0-py3-none-any.whl (1.2 MB) #11 23.77 Installing collected packages: setuptools, pip #11 25.28 Successfully installed pip-25.2 setuptools-80.9.0 #11 25.28 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 25.63 80 files removed #11 25.70 useradd warning: contrail's uid 1999 is greater than SYS_UID_MAX 999 #11 DONE 25.9s #12 exporting to image #12 exporting layers #12 exporting layers 1.0s done #12 writing image sha256:ac7d0f01a35892a99d9aa1cf7b275c709286401c59b0e216fab3e6063117bcd3 done #12 naming to nexus.gz1.opensdn.io:5101/opensdn-general-base:master-2_0_3_4-4 done #12 DONE 1.0s 2025-08-27 10:49:56,868: INFO: Docker build duration: 29 seconds The push refers to repository [nexus.gz1.opensdn.io:5101/opensdn-general-base] caa4d1d10c51: Preparing 19f21f26b293: Preparing 2879445c4dc6: Preparing 448b8a36b820: Preparing 18e5af82775b: Preparing 18e46ce706d4: Preparing 44343de3ea1d: Preparing 18e46ce706d4: Waiting 44343de3ea1d: Waiting 2879445c4dc6: Pushed 448b8a36b820: Pushed 18e5af82775b: Pushed 44343de3ea1d: Layer already exists 19f21f26b293: Pushed 18e46ce706d4: Pushed caa4d1d10c51: Pushed master-2_0_3_4-4: digest: sha256:a24c2438509594f1c4a60575e2252785bfbe214405b9096481c7b0e15be81e97 size: 1777 2025-08-27 10:50:03,245: INFO: Building opensdn-general-base finished successfully, duration: 36 seconds