#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.107 /bin/sh: warning: setlocale: LC_ALL: cannot change locale (en_US.UTF-8) #11 0.112 total 36 #11 0.112 -rw-r--r--. 1 root root 100 Sep 24 07:04 contrail.repo #11 0.112 -rw-r--r--. 1 root root 2707 Sep 24 07:12 mirror-base-rocky9.repo #11 0.112 -rw-r--r--. 1 root root 217 Sep 24 07:12 mirror-docker9.repo #11 0.112 -rw-r--r--. 1 root root 204 Sep 24 07:12 mirror-epel9.repo #11 0.112 -rw-r--r--. 1 root root 1 Sep 24 07:12 rocky-addons.repo #11 0.112 -rw-r--r--. 1 root root 1 Sep 24 07:12 rocky-devel.repo #11 0.112 -rw-r--r--. 1 root root 1 Sep 24 07:12 rocky-extras.repo #11 0.112 -rw-r--r--. 1 root root 1 Sep 24 07:12 rocky.repo #11 0.112 -rw-r--r--. 1 root root 140 Sep 24 07:12 tpc.repo #11 0.370 Failed to set locale, defaulting to C.UTF-8 #11 0.697 Contrail repo 35 kB/s | 947 B 00:00 #11 0.749 added from: http://tf-mirrors.gz1.opensdn.io/re 42 MB/s | 2.1 MB 00:00 #11 1.114 added from: http://tf-mirrors.gz1.opensdn.io/re 19 MB/s | 730 kB 00:00 #11 1.280 added from: http://tf-mirrors.gz1.opensdn.io/re 9.4 MB/s | 264 kB 00:00 #11 1.466 added from: http://tf-mirrors.gz1.opensdn.io/re 63 MB/s | 7.0 MB 00:00 #11 2.950 added from: http://tf-mirrors.gz1.opensdn.io/re 52 MB/s | 4.0 MB 00:00 #11 3.731 added from: http://tf-mirrors.gz1.opensdn.io/re 26 MB/s | 939 kB 00:00 #11 3.970 added from: http://tf-mirrors.gz1.opensdn.io/re 43 MB/s | 2.3 MB 00:00 #11 4.456 added from: http://tf-mirrors.gz1.opensdn.io/re 13 MB/s | 392 kB 00:00 #11 4.630 added from: http://tf-mirrors.gz1.opensdn.io/re 13 MB/s | 451 kB 00:00 #11 4.799 added from: http://tf-mirrors.gz1.opensdn.io/re 685 kB/s | 16 kB 00:00 #11 4.928 added from: http://tf-mirrors.gz1.opensdn.io/re 11 kB/s | 257 B 00:00 #11 5.041 added from: http://tf-mirrors.gz1.opensdn.io/re 666 kB/s | 13 kB 00:00 #11 5.159 added from: http://tf-mirrors.gz1.opensdn.io/re 2.6 MB/s | 64 kB 00:00 #11 5.530 added from: http://tf-mirrors.gz1.opensdn.io/re 114 MB/s | 30 MB 00:00 #11 11.65 Third parties for OpenSDN 47 MB/s | 5.4 MB 00:00 #11 15.41 No security updates needed for "yum", but 1 update available #11 15.42 No match for argument: update-minimal #11 15.45 Dependencies resolved. #11 15.46 Nothing to do. #11 15.46 Complete! #11 15.61 Failed to set locale, defaulting to C.UTF-8 #11 15.96 Last metadata expiration check: 0:00:05 ago on Wed Sep 24 07:12:34 2025. #11 16.02 Package hostname-3.23-6.el9.x86_64 is already installed. #11 16.03 Package less-590-2.el9_2.x86_64 is already installed. #11 16.03 Package openssl-1:3.0.7-24.el9.x86_64 is already installed. #11 16.06 Dependencies resolved. #11 16.07 ============================================================================================== #11 16.07 Package Arch Version Repository Size #11 16.07 ============================================================================================== #11 16.07 Installing: #11 16.07 glibc-langpack-en x86_64 2.34-125.el9_5.1 tf-mirrors.ci_repos_yum9-baseos 552 k #11 16.07 iproute x86_64 6.2.0-6.el9_4 tf-mirrors.ci_repos_yum9-baseos 786 k #11 16.07 procps-ng x86_64 3.3.17-14.el9 tf-mirrors.ci_repos_yum9-baseos 332 k #11 16.07 rsync x86_64 3.2.3-20.el9_5.1 tf-mirrors.ci_repos_yum9-baseos 391 k #11 16.07 wget x86_64 1.21.1-8.el9_4 tf-mirrors.ci_repos_yum9-appstream 768 k #11 16.07 Upgrading: #11 16.07 glibc x86_64 2.34-125.el9_5.1 tf-mirrors.ci_repos_yum9-baseos 2.0 M #11 16.07 glibc-common x86_64 2.34-125.el9_5.1 tf-mirrors.ci_repos_yum9-baseos 296 k #11 16.07 glibc-minimal-langpack x86_64 2.34-125.el9_5.1 tf-mirrors.ci_repos_yum9-baseos 22 k #11 16.07 less x86_64 590-5.el9 tf-mirrors.ci_repos_yum9-baseos 161 k #11 16.07 openssl x86_64 1:3.2.2-6.el9_5.1 tf-mirrors.ci_repos_yum9-baseos 1.3 M #11 16.07 openssl-libs x86_64 1:3.2.2-6.el9_5.1 tf-mirrors.ci_repos_yum9-baseos 2.4 M #11 16.07 Installing dependencies: #11 16.07 libbpf x86_64 2:1.4.0-1.el9 tf-mirrors.ci_repos_yum9-baseos 177 k #11 16.07 libmnl x86_64 1.0.4-16.el9_4 tf-mirrors.ci_repos_yum9-baseos 27 k #11 16.07 libpsl x86_64 0.21.1-5.el9 tf-mirrors.ci_repos_yum9-baseos 63 k #11 16.07 psmisc x86_64 23.4-3.el9 tf-mirrors.ci_repos_yum9-baseos 226 k #11 16.07 publicsuffix-list-dafsa noarch 20210518-3.el9 tf-mirrors.ci_repos_yum9-baseos 58 k #11 16.07 #11 16.07 Transaction Summary #11 16.07 ============================================================================================== #11 16.07 Install 10 Packages #11 16.07 Upgrade 6 Packages #11 16.07 #11 16.07 Total download size: 9.4 M #11 16.07 Downloading Packages: #11 16.09 (1/16): libbpf-1.4.0-1.el9.x86_64.rpm 7.4 MB/s | 177 kB 00:00 #11 16.10 (2/16): libmnl-1.0.4-16.el9_4.x86_64.rpm 5.3 MB/s | 27 kB 00:00 #11 16.11 (3/16): glibc-langpack-en-2.34-125.el9_5.1.x86_ 15 MB/s | 552 kB 00:00 #11 16.11 (4/16): libpsl-0.21.1-5.el9.x86_64.rpm 5.9 MB/s | 63 kB 00:00 #11 16.12 (5/16): procps-ng-3.3.17-14.el9.x86_64.rpm 31 MB/s | 332 kB 00:00 #11 16.13 (6/16): iproute-6.2.0-6.el9_4.x86_64.rpm 13 MB/s | 786 kB 00:00 #11 16.13 (7/16): psmisc-23.4-3.el9.x86_64.rpm 9.2 MB/s | 226 kB 00:00 #11 16.14 (8/16): publicsuffix-list-dafsa-20210518-3.el9. 2.9 MB/s | 58 kB 00:00 #11 16.14 (9/16): rsync-3.2.3-20.el9_5.1.x86_64.rpm 22 MB/s | 391 kB 00:00 #11 16.16 (10/16): wget-1.21.1-8.el9_4.x86_64.rpm 30 MB/s | 768 kB 00:00 #11 16.17 (11/16): glibc-common-2.34-125.el9_5.1.x86_64.r 14 MB/s | 296 kB 00:00 #11 16.17 (12/16): glibc-minimal-langpack-2.34-125.el9_5. 2.3 MB/s | 22 kB 00:00 #11 16.17 (13/16): less-590-5.el9.x86_64.rpm 20 MB/s | 161 kB 00:00 #11 16.20 (14/16): glibc-2.34-125.el9_5.1.x86_64.rpm 33 MB/s | 2.0 MB 00:00 #11 16.22 (15/16): openssl-3.2.2-6.el9_5.1.x86_64.rpm 26 MB/s | 1.3 MB 00:00 #11 16.24 (16/16): openssl-libs-3.2.2-6.el9_5.1.x86_64.rp 34 MB/s | 2.4 MB 00:00 #11 16.25 -------------------------------------------------------------------------------- #11 16.25 Total 53 MB/s | 9.4 MB 00:00 #11 16.25 Running transaction check #11 16.58 Transaction check succeeded. #11 16.58 Running transaction test #11 16.72 Transaction test succeeded. #11 16.72 Running transaction #11 17.05 Preparing : 1/1 #11 17.13 Upgrading : glibc-common-2.34-125.el9_5.1.x86_64 1/22 #11 17.14 Upgrading : glibc-minimal-langpack-2.34-125.el9_5.1.x86_64 2/22 #11 17.14 Running scriptlet: glibc-2.34-125.el9_5.1.x86_64 3/22 #11 17.19 Upgrading : glibc-2.34-125.el9_5.1.x86_64 3/22 #11 17.20 Running scriptlet: glibc-2.34-125.el9_5.1.x86_64 3/22 #11 17.37 Installing : glibc-langpack-en-2.34-125.el9_5.1.x86_64 4/22 #11 17.43 Upgrading : openssl-libs-1:3.2.2-6.el9_5.1.x86_64 5/22 #11 17.44 Installing : libbpf-2:1.4.0-1.el9.x86_64 6/22 #11 17.44 Installing : libmnl-1.0.4-16.el9_4.x86_64 7/22 #11 17.45 Installing : psmisc-23.4-3.el9.x86_64 8/22 #11 17.46 Installing : publicsuffix-list-dafsa-20210518-3.el9.noarch 9/22 #11 17.46 Installing : libpsl-0.21.1-5.el9.x86_64 10/22 #11 17.48 Installing : wget-1.21.1-8.el9_4.x86_64 11/22 #11 17.51 Installing : iproute-6.2.0-6.el9_4.x86_64 12/22 #11 17.53 Installing : rsync-3.2.3-20.el9_5.1.x86_64 13/22 #11 17.57 Upgrading : openssl-1:3.2.2-6.el9_5.1.x86_64 14/22 #11 17.59 Installing : procps-ng-3.3.17-14.el9.x86_64 15/22 #11 17.60 Upgrading : less-590-5.el9.x86_64 16/22 #11 17.61 Cleanup : openssl-1:3.0.7-24.el9.x86_64 17/22 #11 17.62 Cleanup : openssl-libs-1:3.0.7-24.el9.x86_64 18/22 #11 17.63 Cleanup : less-590-2.el9_2.x86_64 19/22 #11 17.64 Cleanup : glibc-2.34-83.el9.7.x86_64 20/22 #11 17.65 Cleanup : glibc-minimal-langpack-2.34-83.el9.7.x86_64 21/22 #11 17.65 Cleanup : glibc-common-2.34-83.el9.7.x86_64 22/22 #11 17.66 Running scriptlet: glibc-common-2.34-83.el9.7.x86_64 22/22 #11 17.83 Verifying : glibc-langpack-en-2.34-125.el9_5.1.x86_64 1/22 #11 17.83 Verifying : iproute-6.2.0-6.el9_4.x86_64 2/22 #11 17.83 Verifying : libbpf-2:1.4.0-1.el9.x86_64 3/22 #11 17.83 Verifying : libmnl-1.0.4-16.el9_4.x86_64 4/22 #11 17.83 Verifying : libpsl-0.21.1-5.el9.x86_64 5/22 #11 17.83 Verifying : procps-ng-3.3.17-14.el9.x86_64 6/22 #11 17.83 Verifying : psmisc-23.4-3.el9.x86_64 7/22 #11 17.83 Verifying : publicsuffix-list-dafsa-20210518-3.el9.noarch 8/22 #11 17.83 Verifying : rsync-3.2.3-20.el9_5.1.x86_64 9/22 #11 17.83 Verifying : wget-1.21.1-8.el9_4.x86_64 10/22 #11 17.83 Verifying : glibc-2.34-125.el9_5.1.x86_64 11/22 #11 17.83 Verifying : glibc-2.34-83.el9.7.x86_64 12/22 #11 17.83 Verifying : glibc-common-2.34-125.el9_5.1.x86_64 13/22 #11 17.83 Verifying : glibc-common-2.34-83.el9.7.x86_64 14/22 #11 17.83 Verifying : glibc-minimal-langpack-2.34-125.el9_5.1.x86_64 15/22 #11 17.83 Verifying : glibc-minimal-langpack-2.34-83.el9.7.x86_64 16/22 #11 17.83 Verifying : less-590-5.el9.x86_64 17/22 #11 17.83 Verifying : less-590-2.el9_2.x86_64 18/22 #11 17.83 Verifying : openssl-1:3.2.2-6.el9_5.1.x86_64 19/22 #11 17.83 Verifying : openssl-1:3.0.7-24.el9.x86_64 20/22 #11 17.83 Verifying : openssl-libs-1:3.2.2-6.el9_5.1.x86_64 21/22 #11 17.83 Verifying : openssl-libs-1:3.0.7-24.el9.x86_64 22/22 #11 17.88 #11 17.88 Upgraded: #11 17.88 glibc-2.34-125.el9_5.1.x86_64 #11 17.88 glibc-common-2.34-125.el9_5.1.x86_64 #11 17.88 glibc-minimal-langpack-2.34-125.el9_5.1.x86_64 #11 17.88 less-590-5.el9.x86_64 #11 17.88 openssl-1:3.2.2-6.el9_5.1.x86_64 #11 17.88 openssl-libs-1:3.2.2-6.el9_5.1.x86_64 #11 17.88 Installed: #11 17.88 glibc-langpack-en-2.34-125.el9_5.1.x86_64 #11 17.88 iproute-6.2.0-6.el9_4.x86_64 #11 17.88 libbpf-2:1.4.0-1.el9.x86_64 #11 17.88 libmnl-1.0.4-16.el9_4.x86_64 #11 17.88 libpsl-0.21.1-5.el9.x86_64 #11 17.88 procps-ng-3.3.17-14.el9.x86_64 #11 17.88 psmisc-23.4-3.el9.x86_64 #11 17.88 publicsuffix-list-dafsa-20210518-3.el9.noarch #11 17.88 rsync-3.2.3-20.el9_5.1.x86_64 #11 17.88 wget-1.21.1-8.el9_4.x86_64 #11 17.88 #11 17.88 Complete! #11 18.36 Last metadata expiration check: 0:00:07 ago on Wed 24 Sep 2025 07:12:34 AM UTC. #11 18.42 Package python3-3.9.18-1.el9_3.x86_64 is already installed. #11 18.45 Dependencies resolved. #11 18.45 ====================================================================================== #11 18.45 Package Arch Version Repository Size #11 18.45 ====================================================================================== #11 18.45 Installing: #11 18.45 python3-pip noarch 21.3.1-1.el9 tf-mirrors.ci_repos_yum9-appstream 1.7 M #11 18.45 Upgrading: #11 18.45 python3 x86_64 3.9.21-1.el9_5 tf-mirrors.ci_repos_yum9-baseos 26 k #11 18.45 python3-libs x86_64 3.9.21-1.el9_5 tf-mirrors.ci_repos_yum9-baseos 7.5 M #11 18.45 Installing weak dependencies: #11 18.45 libxcrypt-compat x86_64 4.4.18-3.el9 tf-mirrors.ci_repos_yum9-appstream 88 k #11 18.45 python3-setuptools noarch 53.0.0-13.el9 tf-mirrors.ci_repos_yum9-baseos 838 k #11 18.45 #11 18.45 Transaction Summary #11 18.45 ====================================================================================== #11 18.45 Install 3 Packages #11 18.45 Upgrade 2 Packages #11 18.45 #11 18.45 Total download size: 10 M #11 18.45 Downloading Packages: #11 18.47 (1/5): libxcrypt-compat-4.4.18-3.el9.x86_64.rpm 4.6 MB/s | 88 kB 00:00 #11 18.48 (2/5): python3-3.9.21-1.el9_5.x86_64.rpm 4.8 MB/s | 26 kB 00:00 #11 18.49 (3/5): python3-setuptools-53.0.0-13.el9.noarch. 23 MB/s | 838 kB 00:00 #11 18.51 (4/5): python3-pip-21.3.1-1.el9.noarch.rpm 29 MB/s | 1.7 MB 00:00 #11 18.58 (5/5): python3-libs-3.9.21-1.el9_5.x86_64.rpm 71 MB/s | 7.5 MB 00:00 #11 18.58 -------------------------------------------------------------------------------- #11 18.58 Total 77 MB/s | 10 MB 00:00 #11 18.58 Running transaction check #11 18.62 Transaction check succeeded. #11 18.62 Running transaction test #11 18.81 Transaction test succeeded. #11 18.81 Running transaction #11 18.97 Preparing : 1/1 #11 19.43 Upgrading : python3-libs-3.9.21-1.el9_5.x86_64 1/7 #11 19.46 Upgrading : python3-3.9.21-1.el9_5.x86_64 2/7 #11 19.53 Installing : python3-setuptools-53.0.0-13.el9.noarch 3/7 #11 19.54 Installing : libxcrypt-compat-4.4.18-3.el9.x86_64 4/7 #11 19.70 Installing : python3-pip-21.3.1-1.el9.noarch 5/7 #11 19.73 Cleanup : python3-3.9.18-1.el9_3.x86_64 6/7 #11 19.77 Cleanup : python3-libs-3.9.18-1.el9_3.x86_64 7/7 #11 19.79 Running scriptlet: python3-libs-3.9.18-1.el9_3.x86_64 7/7 #11 20.04 Verifying : python3-setuptools-53.0.0-13.el9.noarch 1/7 #11 20.04 Verifying : libxcrypt-compat-4.4.18-3.el9.x86_64 2/7 #11 20.04 Verifying : python3-pip-21.3.1-1.el9.noarch 3/7 #11 20.04 Verifying : python3-3.9.21-1.el9_5.x86_64 4/7 #11 20.04 Verifying : python3-3.9.18-1.el9_3.x86_64 5/7 #11 20.04 Verifying : python3-libs-3.9.21-1.el9_5.x86_64 6/7 #11 20.04 Verifying : python3-libs-3.9.18-1.el9_3.x86_64 7/7 #11 20.07 #11 20.07 Upgraded: #11 20.07 python3-3.9.21-1.el9_5.x86_64 python3-libs-3.9.21-1.el9_5.x86_64 #11 20.07 Installed: #11 20.07 libxcrypt-compat-4.4.18-3.el9.x86_64 python3-pip-21.3.1-1.el9.noarch #11 20.07 python3-setuptools-53.0.0-13.el9.noarch #11 20.07 #11 20.07 Complete! #11 20.47 Looking in indexes: http://tf-mirrors.gz1.opensdn.io/root/pypi/+simple/ #11 20.47 Requirement already satisfied: pip in /usr/lib/python3.9/site-packages (21.3.1) #11 20.62 Collecting pip #11 20.63 Downloading http://tf-mirrors.gz1.opensdn.io/root/pypi/%2Bf/6d6/7a2b4e7f14d8b/pip-25.2-py3-none-any.whl (1.8 MB) #11 20.69 Requirement already satisfied: setuptools in /usr/lib/python3.9/site-packages (53.0.0) #11 21.13 Collecting setuptools #11 21.14 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.28 Installing collected packages: setuptools, pip #11 22.76 Successfully installed pip-25.2 setuptools-80.9.0 #11 22.76 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.10 80 files removed #11 23.17 useradd warning: contrail's uid 1999 is greater than SYS_UID_MAX 999 #11 DONE 23.5s #12 exporting to image #12 exporting layers #12 exporting layers 1.2s done #12 writing image sha256:157e85fa057cb41e2d180c77d7af930f60c48ea8fa7a5d2fcb6d092732410a66 done #12 naming to nexus.gz1.opensdn.io:5101/opensdn-general-base:master-2_1_4_4-5 done #12 DONE 1.2s 2025-09-24 07:12:47,872: INFO: Docker build duration: 27 seconds The push refers to repository [nexus.gz1.opensdn.io:5101/opensdn-general-base] 2803c6996a36: Preparing 21b73c57cd9e: Preparing db4ba4405ad6: Preparing 81dd222cd294: Preparing 562fd839fc2b: Preparing 3128f0d35468: Preparing 44343de3ea1d: Preparing 3128f0d35468: Waiting 44343de3ea1d: Waiting 81dd222cd294: Pushed db4ba4405ad6: Pushed 21b73c57cd9e: Pushed 562fd839fc2b: Pushed 44343de3ea1d: Layer already exists 3128f0d35468: Pushed 2803c6996a36: Pushed master-2_1_4_4-5: digest: sha256:b21670f5c66ee8ed33354ad55f9b06b9f8a63ef46c53eae65fb65c2695455a55 size: 1777 2025-09-24 07:12:54,232: INFO: Building opensdn-general-base finished successfully, duration: 34 seconds REPOSITORY TAG IMAGE ID CREATED SIZE nexus.gz1.opensdn.io:5101/opensdn-general-base master-2_1_4_4-5 157e85fa057c 8 seconds ago 278MB nexus.gz1.opensdn.io:5101/opensdn-container-builder-src master-2_1_4_4-5 2b552b2cf950 33 seconds ago 2.42MB tf-dev-sandbox compile b8e9997f6c51 58 seconds ago 32.3GB nexus.gz1.opensdn.io:5101/opensdn-charms-src master-2_1_4_4-5 065efd81f8d0 8 minutes ago 6.04MB nexus.gz1.opensdn.io:5101/opensdn-container-builder-src 0782249b10c2 8 minutes ago 2.4MB nexus.gz1.opensdn.io:5101/opensdn-ansible-deployer-src master-2_1_4_4-5 30ccc9969350 8 minutes ago 1.39MB nexus.gz1.opensdn.io:5101/opensdn-kolla-ansible-src master-2_1_4_4-5 1da6ec768fa9 8 minutes ago 32.6MB nexus.gz1.opensdn.io:5101/opensdn-build-manifest-src master-2_1_4_4-5 f0959d10e92e 8 minutes ago 4.53kB nexus.gz1.opensdn.io:5101/tf-dev-sandbox frozen d08c597785f9 9 hours ago 20.9GB