#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 procps-ng ; 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.091 /bin/sh: warning: setlocale: LC_ALL: cannot change locale (en_US.UTF-8) #11 0.097 total 36 #11 0.097 -rw-r--r--. 1 root root 100 Sep 22 18:45 contrail.repo #11 0.097 -rw-r--r--. 1 root root 2707 Sep 22 18:54 mirror-base-rocky9.repo #11 0.097 -rw-r--r--. 1 root root 217 Sep 22 18:54 mirror-docker9.repo #11 0.097 -rw-r--r--. 1 root root 204 Sep 22 18:54 mirror-epel9.repo #11 0.097 -rw-r--r--. 1 root root 1 Sep 22 18:54 rocky-addons.repo #11 0.097 -rw-r--r--. 1 root root 1 Sep 22 18:54 rocky-devel.repo #11 0.097 -rw-r--r--. 1 root root 1 Sep 22 18:54 rocky-extras.repo #11 0.097 -rw-r--r--. 1 root root 1 Sep 22 18:54 rocky.repo #11 0.097 -rw-r--r--. 1 root root 140 Sep 22 18:54 tpc.repo #11 0.324 Failed to set locale, defaulting to C.UTF-8 #11 0.584 Contrail repo 3.4 MB/s | 77 kB 00:00 #11 0.650 added from: http://tf-mirrors.gz1.opensdn.io/re 43 MB/s | 2.1 MB 00:00 #11 1.019 added from: http://tf-mirrors.gz1.opensdn.io/re 25 MB/s | 730 kB 00:00 #11 1.193 added from: http://tf-mirrors.gz1.opensdn.io/re 10 MB/s | 264 kB 00:00 #11 1.353 added from: http://tf-mirrors.gz1.opensdn.io/re 76 MB/s | 7.0 MB 00:00 #11 2.720 added from: http://tf-mirrors.gz1.opensdn.io/re 54 MB/s | 4.0 MB 00:00 #11 3.527 added from: http://tf-mirrors.gz1.opensdn.io/re 26 MB/s | 939 kB 00:00 #11 3.752 added from: http://tf-mirrors.gz1.opensdn.io/re 47 MB/s | 2.3 MB 00:00 #11 4.244 added from: http://tf-mirrors.gz1.opensdn.io/re 14 MB/s | 392 kB 00:00 #11 4.413 added from: http://tf-mirrors.gz1.opensdn.io/re 15 MB/s | 451 kB 00:00 #11 4.573 added from: http://tf-mirrors.gz1.opensdn.io/re 748 kB/s | 16 kB 00:00 #11 4.684 added from: http://tf-mirrors.gz1.opensdn.io/re 13 kB/s | 257 B 00:00 #11 4.789 added from: http://tf-mirrors.gz1.opensdn.io/re 700 kB/s | 13 kB 00:00 #11 4.899 added from: http://tf-mirrors.gz1.opensdn.io/re 3.4 MB/s | 64 kB 00:00 #11 5.389 added from: http://tf-mirrors.gz1.opensdn.io/re 78 MB/s | 30 MB 00:00 #11 11.45 Third parties for OpenSDN 46 MB/s | 5.4 MB 00:00 #11 15.11 No security updates needed for "yum", but 1 update available #11 15.12 No match for argument: update-minimal #11 15.15 Dependencies resolved. #11 15.15 Nothing to do. #11 15.15 Complete! #11 15.25 Failed to set locale, defaulting to C.UTF-8 #11 15.53 Last metadata expiration check: 0:00:04 ago on Mon Sep 22 18:54:29 2025. #11 15.59 Package hostname-3.23-6.el9.x86_64 is already installed. #11 15.59 Package less-590-2.el9_2.x86_64 is already installed. #11 15.59 Package openssl-1:3.0.7-24.el9.x86_64 is already installed. #11 15.62 Dependencies resolved. #11 15.63 ============================================================================================== #11 15.63 Package Arch Version Repository Size #11 15.63 ============================================================================================== #11 15.63 Installing: #11 15.63 glibc-langpack-en x86_64 2.34-125.el9_5.1 tf-mirrors.ci_repos_yum9-baseos 552 k #11 15.63 iproute x86_64 6.2.0-6.el9_4 tf-mirrors.ci_repos_yum9-baseos 786 k #11 15.63 procps-ng x86_64 3.3.17-14.el9 tf-mirrors.ci_repos_yum9-baseos 332 k #11 15.63 rsync x86_64 3.2.3-20.el9_5.1 tf-mirrors.ci_repos_yum9-baseos 391 k #11 15.63 wget x86_64 1.21.1-8.el9_4 tf-mirrors.ci_repos_yum9-appstream 768 k #11 15.63 Upgrading: #11 15.63 glibc x86_64 2.34-125.el9_5.1 tf-mirrors.ci_repos_yum9-baseos 2.0 M #11 15.63 glibc-common x86_64 2.34-125.el9_5.1 tf-mirrors.ci_repos_yum9-baseos 296 k #11 15.63 glibc-minimal-langpack x86_64 2.34-125.el9_5.1 tf-mirrors.ci_repos_yum9-baseos 22 k #11 15.63 less x86_64 590-5.el9 tf-mirrors.ci_repos_yum9-baseos 161 k #11 15.63 openssl x86_64 1:3.2.2-6.el9_5.1 tf-mirrors.ci_repos_yum9-baseos 1.3 M #11 15.63 openssl-libs x86_64 1:3.2.2-6.el9_5.1 tf-mirrors.ci_repos_yum9-baseos 2.4 M #11 15.63 Installing dependencies: #11 15.63 libbpf x86_64 2:1.4.0-1.el9 tf-mirrors.ci_repos_yum9-baseos 177 k #11 15.63 libmnl x86_64 1.0.4-16.el9_4 tf-mirrors.ci_repos_yum9-baseos 27 k #11 15.63 libpsl x86_64 0.21.1-5.el9 tf-mirrors.ci_repos_yum9-baseos 63 k #11 15.63 psmisc x86_64 23.4-3.el9 tf-mirrors.ci_repos_yum9-baseos 226 k #11 15.63 publicsuffix-list-dafsa noarch 20210518-3.el9 tf-mirrors.ci_repos_yum9-baseos 58 k #11 15.63 #11 15.63 Transaction Summary #11 15.63 ============================================================================================== #11 15.63 Install 10 Packages #11 15.63 Upgrade 6 Packages #11 15.63 #11 15.63 Total download size: 9.4 M #11 15.63 Downloading Packages: #11 15.65 (1/16): libbpf-1.4.0-1.el9.x86_64.rpm 7.6 MB/s | 177 kB 00:00 #11 15.66 (2/16): libmnl-1.0.4-16.el9_4.x86_64.rpm 6.8 MB/s | 27 kB 00:00 #11 15.67 (3/16): glibc-langpack-en-2.34-125.el9_5.1.x86_ 14 MB/s | 552 kB 00:00 #11 15.68 (4/16): iproute-6.2.0-6.el9_4.x86_64.rpm 16 MB/s | 786 kB 00:00 #11 15.68 (5/16): libpsl-0.21.1-5.el9.x86_64.rpm 2.7 MB/s | 63 kB 00:00 #11 15.69 (6/16): psmisc-23.4-3.el9.x86_64.rpm 24 MB/s | 226 kB 00:00 #11 15.69 (7/16): procps-ng-3.3.17-14.el9.x86_64.rpm 12 MB/s | 332 kB 00:00 #11 15.70 (8/16): publicsuffix-list-dafsa-20210518-3.el9. 3.4 MB/s | 58 kB 00:00 #11 15.71 (9/16): rsync-3.2.3-20.el9_5.1.x86_64.rpm 21 MB/s | 391 kB 00:00 #11 15.72 (10/16): wget-1.21.1-8.el9_4.x86_64.rpm 31 MB/s | 768 kB 00:00 #11 15.72 (11/16): glibc-common-2.34-125.el9_5.1.x86_64.r 16 MB/s | 296 kB 00:00 #11 15.73 (12/16): glibc-minimal-langpack-2.34-125.el9_5. 2.8 MB/s | 22 kB 00:00 #11 15.73 (13/16): less-590-5.el9.x86_64.rpm 23 MB/s | 161 kB 00:00 #11 15.76 (14/16): openssl-3.2.2-6.el9_5.1.x86_64.rpm 47 MB/s | 1.3 MB 00:00 #11 15.78 (15/16): openssl-libs-3.2.2-6.el9_5.1.x86_64.rp 51 MB/s | 2.4 MB 00:00 #11 15.80 (16/16): glibc-2.34-125.el9_5.1.x86_64.rpm 20 MB/s | 2.0 MB 00:00 #11 15.80 -------------------------------------------------------------------------------- #11 15.80 Total 55 MB/s | 9.4 MB 00:00 #11 15.80 Running transaction check #11 16.13 Transaction check succeeded. #11 16.13 Running transaction test #11 16.26 Transaction test succeeded. #11 16.27 Running transaction #11 16.55 Preparing : 1/1 #11 16.63 Upgrading : glibc-common-2.34-125.el9_5.1.x86_64 1/22 #11 16.64 Upgrading : glibc-minimal-langpack-2.34-125.el9_5.1.x86_64 2/22 #11 16.64 Running scriptlet: glibc-2.34-125.el9_5.1.x86_64 3/22 #11 16.70 Upgrading : glibc-2.34-125.el9_5.1.x86_64 3/22 #11 16.71 Running scriptlet: glibc-2.34-125.el9_5.1.x86_64 3/22 #11 16.85 Installing : glibc-langpack-en-2.34-125.el9_5.1.x86_64 4/22 #11 16.92 Upgrading : openssl-libs-1:3.2.2-6.el9_5.1.x86_64 5/22 #11 16.93 Installing : libbpf-2:1.4.0-1.el9.x86_64 6/22 #11 16.93 Installing : libmnl-1.0.4-16.el9_4.x86_64 7/22 #11 16.94 Installing : psmisc-23.4-3.el9.x86_64 8/22 #11 16.95 Installing : publicsuffix-list-dafsa-20210518-3.el9.noarch 9/22 #11 16.96 Installing : libpsl-0.21.1-5.el9.x86_64 10/22 #11 16.97 Installing : wget-1.21.1-8.el9_4.x86_64 11/22 #11 17.00 Installing : iproute-6.2.0-6.el9_4.x86_64 12/22 #11 17.02 Installing : rsync-3.2.3-20.el9_5.1.x86_64 13/22 #11 17.06 Upgrading : openssl-1:3.2.2-6.el9_5.1.x86_64 14/22 #11 17.09 Installing : procps-ng-3.3.17-14.el9.x86_64 15/22 #11 17.10 Upgrading : less-590-5.el9.x86_64 16/22 #11 17.11 Cleanup : openssl-1:3.0.7-24.el9.x86_64 17/22 #11 17.12 Cleanup : openssl-libs-1:3.0.7-24.el9.x86_64 18/22 #11 17.13 Cleanup : less-590-2.el9_2.x86_64 19/22 #11 17.13 Cleanup : glibc-2.34-83.el9.7.x86_64 20/22 #11 17.14 Cleanup : glibc-minimal-langpack-2.34-83.el9.7.x86_64 21/22 #11 17.15 Cleanup : glibc-common-2.34-83.el9.7.x86_64 22/22 #11 17.16 Running scriptlet: glibc-common-2.34-83.el9.7.x86_64 22/22 #11 17.32 Verifying : glibc-langpack-en-2.34-125.el9_5.1.x86_64 1/22 #11 17.32 Verifying : iproute-6.2.0-6.el9_4.x86_64 2/22 #11 17.32 Verifying : libbpf-2:1.4.0-1.el9.x86_64 3/22 #11 17.32 Verifying : libmnl-1.0.4-16.el9_4.x86_64 4/22 #11 17.32 Verifying : libpsl-0.21.1-5.el9.x86_64 5/22 #11 17.32 Verifying : procps-ng-3.3.17-14.el9.x86_64 6/22 #11 17.32 Verifying : psmisc-23.4-3.el9.x86_64 7/22 #11 17.32 Verifying : publicsuffix-list-dafsa-20210518-3.el9.noarch 8/22 #11 17.32 Verifying : rsync-3.2.3-20.el9_5.1.x86_64 9/22 #11 17.32 Verifying : wget-1.21.1-8.el9_4.x86_64 10/22 #11 17.32 Verifying : glibc-2.34-125.el9_5.1.x86_64 11/22 #11 17.32 Verifying : glibc-2.34-83.el9.7.x86_64 12/22 #11 17.32 Verifying : glibc-common-2.34-125.el9_5.1.x86_64 13/22 #11 17.32 Verifying : glibc-common-2.34-83.el9.7.x86_64 14/22 #11 17.32 Verifying : glibc-minimal-langpack-2.34-125.el9_5.1.x86_64 15/22 #11 17.32 Verifying : glibc-minimal-langpack-2.34-83.el9.7.x86_64 16/22 #11 17.32 Verifying : less-590-5.el9.x86_64 17/22 #11 17.32 Verifying : less-590-2.el9_2.x86_64 18/22 #11 17.32 Verifying : openssl-1:3.2.2-6.el9_5.1.x86_64 19/22 #11 17.32 Verifying : openssl-1:3.0.7-24.el9.x86_64 20/22 #11 17.32 Verifying : openssl-libs-1:3.2.2-6.el9_5.1.x86_64 21/22 #11 17.32 Verifying : openssl-libs-1:3.0.7-24.el9.x86_64 22/22 #11 17.37 #11 17.37 Upgraded: #11 17.37 glibc-2.34-125.el9_5.1.x86_64 #11 17.37 glibc-common-2.34-125.el9_5.1.x86_64 #11 17.37 glibc-minimal-langpack-2.34-125.el9_5.1.x86_64 #11 17.37 less-590-5.el9.x86_64 #11 17.37 openssl-1:3.2.2-6.el9_5.1.x86_64 #11 17.37 openssl-libs-1:3.2.2-6.el9_5.1.x86_64 #11 17.37 Installed: #11 17.37 glibc-langpack-en-2.34-125.el9_5.1.x86_64 #11 17.37 iproute-6.2.0-6.el9_4.x86_64 #11 17.37 libbpf-2:1.4.0-1.el9.x86_64 #11 17.37 libmnl-1.0.4-16.el9_4.x86_64 #11 17.37 libpsl-0.21.1-5.el9.x86_64 #11 17.37 procps-ng-3.3.17-14.el9.x86_64 #11 17.37 psmisc-23.4-3.el9.x86_64 #11 17.37 publicsuffix-list-dafsa-20210518-3.el9.noarch #11 17.37 rsync-3.2.3-20.el9_5.1.x86_64 #11 17.37 wget-1.21.1-8.el9_4.x86_64 #11 17.37 #11 17.37 Complete! #11 17.86 Last metadata expiration check: 0:00:06 ago on Mon 22 Sep 2025 06:54:29 PM UTC. #11 17.92 Package python3-3.9.18-1.el9_3.x86_64 is already installed. #11 17.95 Dependencies resolved. #11 17.95 ====================================================================================== #11 17.95 Package Arch Version Repository Size #11 17.95 ====================================================================================== #11 17.95 Installing: #11 17.95 python3-pip noarch 21.3.1-1.el9 tf-mirrors.ci_repos_yum9-appstream 1.7 M #11 17.95 Upgrading: #11 17.95 python3 x86_64 3.9.21-1.el9_5 tf-mirrors.ci_repos_yum9-baseos 26 k #11 17.95 python3-libs x86_64 3.9.21-1.el9_5 tf-mirrors.ci_repos_yum9-baseos 7.5 M #11 17.95 Installing weak dependencies: #11 17.95 libxcrypt-compat x86_64 4.4.18-3.el9 tf-mirrors.ci_repos_yum9-appstream 88 k #11 17.95 python3-setuptools noarch 53.0.0-13.el9 tf-mirrors.ci_repos_yum9-baseos 838 k #11 17.95 #11 17.95 Transaction Summary #11 17.95 ====================================================================================== #11 17.95 Install 3 Packages #11 17.95 Upgrade 2 Packages #11 17.95 #11 17.95 Total download size: 10 M #11 17.95 Downloading Packages: #11 17.98 (1/5): libxcrypt-compat-4.4.18-3.el9.x86_64.rpm 3.7 MB/s | 88 kB 00:00 #11 17.98 (2/5): python3-3.9.21-1.el9_5.x86_64.rpm 4.5 MB/s | 26 kB 00:00 #11 18.00 (3/5): python3-setuptools-53.0.0-13.el9.noarch. 18 MB/s | 838 kB 00:00 #11 18.02 (4/5): python3-pip-21.3.1-1.el9.noarch.rpm 28 MB/s | 1.7 MB 00:00 #11 18.12 (5/5): python3-libs-3.9.21-1.el9_5.x86_64.rpm 58 MB/s | 7.5 MB 00:00 #11 18.12 -------------------------------------------------------------------------------- #11 18.12 Total 62 MB/s | 10 MB 00:00 #11 18.12 Running transaction check #11 18.16 Transaction check succeeded. #11 18.16 Running transaction test #11 18.31 Transaction test succeeded. #11 18.31 Running transaction #11 18.48 Preparing : 1/1 #11 18.95 Upgrading : python3-libs-3.9.21-1.el9_5.x86_64 1/7 #11 18.98 Upgrading : python3-3.9.21-1.el9_5.x86_64 2/7 #11 19.06 Installing : python3-setuptools-53.0.0-13.el9.noarch 3/7 #11 19.07 Installing : libxcrypt-compat-4.4.18-3.el9.x86_64 4/7 #11 19.24 Installing : python3-pip-21.3.1-1.el9.noarch 5/7 #11 19.26 Cleanup : python3-3.9.18-1.el9_3.x86_64 6/7 #11 19.30 Cleanup : python3-libs-3.9.18-1.el9_3.x86_64 7/7 #11 19.32 Running scriptlet: python3-libs-3.9.18-1.el9_3.x86_64 7/7 #11 19.68 Verifying : python3-setuptools-53.0.0-13.el9.noarch 1/7 #11 19.68 Verifying : libxcrypt-compat-4.4.18-3.el9.x86_64 2/7 #11 19.68 Verifying : python3-pip-21.3.1-1.el9.noarch 3/7 #11 19.68 Verifying : python3-3.9.21-1.el9_5.x86_64 4/7 #11 19.68 Verifying : python3-3.9.18-1.el9_3.x86_64 5/7 #11 19.68 Verifying : python3-libs-3.9.21-1.el9_5.x86_64 6/7 #11 19.68 Verifying : python3-libs-3.9.18-1.el9_3.x86_64 7/7 #11 19.71 #11 19.71 Upgraded: #11 19.71 python3-3.9.21-1.el9_5.x86_64 python3-libs-3.9.21-1.el9_5.x86_64 #11 19.71 Installed: #11 19.71 libxcrypt-compat-4.4.18-3.el9.x86_64 python3-pip-21.3.1-1.el9.noarch #11 19.71 python3-setuptools-53.0.0-13.el9.noarch #11 19.71 #11 19.71 Complete! #11 20.11 Looking in indexes: http://tf-mirrors.gz1.opensdn.io/root/pypi/+simple/ #11 20.11 Requirement already satisfied: pip in /usr/lib/python3.9/site-packages (21.3.1) #11 20.24 Collecting pip #11 20.26 Downloading http://tf-mirrors.gz1.opensdn.io/root/pypi/%2Bf/6d6/7a2b4e7f14d8b/pip-25.2-py3-none-any.whl (1.8 MB) #11 20.31 Requirement already satisfied: setuptools in /usr/lib/python3.9/site-packages (53.0.0) #11 20.76 Collecting setuptools #11 20.77 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.94 Installing collected packages: setuptools, pip #11 22.38 Successfully installed pip-25.2 setuptools-80.9.0 #11 22.38 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 22.71 80 files removed #11 22.78 useradd warning: contrail's uid 1999 is greater than SYS_UID_MAX 999 #11 DONE 23.1s #12 exporting to image #12 exporting layers #12 exporting layers 1.2s done #12 writing image sha256:c7edb09d83a964c581dff5984cdc1f7732c6f0e8d24c011f12a5183db3664b84 done #12 naming to nexus.gz1.opensdn.io:5101/opensdn-general-base:master-2_1_5_0-1 done #12 DONE 1.2s 2025-09-22 18:54:42,216: INFO: Docker build duration: 27 seconds The push refers to repository [nexus.gz1.opensdn.io:5101/opensdn-general-base] 032f72676d10: Preparing 6f3bba9c2595: Preparing 11431dfb5aa9: Preparing 97673647c252: Preparing cad3bb8729f6: Preparing b1b3fb5c362d: Preparing 44343de3ea1d: Preparing b1b3fb5c362d: Waiting 44343de3ea1d: Waiting 97673647c252: Pushed 11431dfb5aa9: Pushed 6f3bba9c2595: Pushed cad3bb8729f6: Pushed 44343de3ea1d: Layer already exists b1b3fb5c362d: Pushed 032f72676d10: Pushed master-2_1_5_0-1: digest: sha256:d861b1e10bd3ed690155c273433029094ad60d28c53a6fd6997c0fb272ace061 size: 1777 2025-09-22 18:54:48,206: INFO: Building opensdn-general-base finished successfully, duration: 33 seconds REPOSITORY TAG IMAGE ID CREATED SIZE nexus.gz1.opensdn.io:5101/opensdn-general-base master-2_1_5_0-1 c7edb09d83a9 8 seconds ago 278MB nexus.gz1.opensdn.io:5101/opensdn-container-builder-src master-2_1_5_0-1 1ab3ed981976 32 seconds ago 2.42MB tf-dev-sandbox compile a726e25cf4c3 56 seconds ago 32.2GB nexus.gz1.opensdn.io:5101/opensdn-charms-src master-2_1_5_0-1 69df47035b02 8 minutes ago 6.04MB nexus.gz1.opensdn.io:5101/opensdn-container-builder-src e5678d8e54ba 8 minutes ago 2.4MB nexus.gz1.opensdn.io:5101/opensdn-kolla-ansible-src master-2_1_5_0-1 eff69d29470d 8 minutes ago 32.6MB nexus.gz1.opensdn.io:5101/opensdn-ansible-deployer-src master-2_1_5_0-1 abf866a9e732 8 minutes ago 1.39MB nexus.gz1.opensdn.io:5101/opensdn-build-manifest-src master-2_1_5_0-1 e232f011b06d 8 minutes ago 4.53kB nexus.gz1.opensdn.io:5101/tf-dev-sandbox frozen cc4c660bb7a7 28 hours ago 20.9GB