#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.099 /bin/sh: warning: setlocale: LC_ALL: cannot change locale (en_US.UTF-8) #11 0.107 total 36 #11 0.107 -rw-r--r--. 1 root root 100 Oct 9 13:12 contrail.repo #11 0.107 -rw-r--r--. 1 root root 2707 Oct 9 13:13 mirror-base-rocky9.repo #11 0.107 -rw-r--r--. 1 root root 217 Oct 9 13:13 mirror-docker9.repo #11 0.107 -rw-r--r--. 1 root root 204 Oct 9 13:13 mirror-epel9.repo #11 0.107 -rw-r--r--. 1 root root 1 Oct 9 13:13 rocky-addons.repo #11 0.107 -rw-r--r--. 1 root root 1 Oct 9 13:13 rocky-devel.repo #11 0.107 -rw-r--r--. 1 root root 1 Oct 9 13:13 rocky-extras.repo #11 0.107 -rw-r--r--. 1 root root 1 Oct 9 13:13 rocky.repo #11 0.107 -rw-r--r--. 1 root root 140 Oct 9 13:13 tpc.repo #11 0.378 Failed to set locale, defaulting to C.UTF-8 #11 0.985 Contrail repo 21 kB/s | 257 B 00:00 #11 1.047 added from: http://tf-mirrors.gz1.opensdn.io/re 35 MB/s | 2.1 MB 00:00 #11 1.435 added from: http://tf-mirrors.gz1.opensdn.io/re 19 MB/s | 730 kB 00:00 #11 1.628 added from: http://tf-mirrors.gz1.opensdn.io/re 7.4 MB/s | 264 kB 00:00 #11 1.873 added from: http://tf-mirrors.gz1.opensdn.io/re 40 MB/s | 7.0 MB 00:00 #11 3.860 added from: http://tf-mirrors.gz1.opensdn.io/re 34 MB/s | 4.0 MB 00:00 #11 4.741 added from: http://tf-mirrors.gz1.opensdn.io/re 15 MB/s | 939 kB 00:00 #11 4.994 added from: http://tf-mirrors.gz1.opensdn.io/re 34 MB/s | 2.3 MB 00:00 #11 5.852 added from: http://tf-mirrors.gz1.opensdn.io/re 3.6 MB/s | 392 kB 00:00 #11 6.248 added from: http://tf-mirrors.gz1.opensdn.io/re 2.4 MB/s | 451 kB 00:00 #11 6.537 added from: http://tf-mirrors.gz1.opensdn.io/re 178 kB/s | 16 kB 00:00 #11 6.716 added from: http://tf-mirrors.gz1.opensdn.io/re 3.0 kB/s | 257 B 00:00 #11 6.843 added from: http://tf-mirrors.gz1.opensdn.io/re 387 kB/s | 13 kB 00:00 #11 11.99 added from: http://tf-mirrors.gz1.opensdn.io/re 13 kB/s | 64 kB 00:05 #11 12.41 added from: http://tf-mirrors.gz1.opensdn.io/re 99 MB/s | 30 MB 00:00 #11 19.34 Third parties for OpenSDN 44 MB/s | 5.1 MB 00:00 #11 23.63 No security updates needed for "yum", but 1 update available #11 23.64 No match for argument: update-minimal #11 23.68 Dependencies resolved. #11 23.68 Nothing to do. #11 23.68 Complete! #11 23.86 Failed to set locale, defaulting to C.UTF-8 #11 24.37 Last metadata expiration check: 0:00:05 ago on Thu Oct 9 13:14:10 2025. #11 24.49 Package hostname-3.23-6.el9.x86_64 is already installed. #11 24.49 Package less-590-2.el9_2.x86_64 is already installed. #11 24.49 Package openssl-1:3.0.7-24.el9.x86_64 is already installed. #11 24.55 Dependencies resolved. #11 24.55 ============================================================================================== #11 24.55 Package Arch Version Repository Size #11 24.55 ============================================================================================== #11 24.55 Installing: #11 24.55 glibc-langpack-en x86_64 2.34-125.el9_5.1 tf-mirrors.ci_repos_yum9-baseos 552 k #11 24.55 iproute x86_64 6.2.0-6.el9_4 tf-mirrors.ci_repos_yum9-baseos 786 k #11 24.55 procps-ng x86_64 3.3.17-14.el9 tf-mirrors.ci_repos_yum9-baseos 332 k #11 24.55 rsync x86_64 3.2.3-20.el9_5.1 tf-mirrors.ci_repos_yum9-baseos 391 k #11 24.55 wget x86_64 1.21.1-8.el9_4 tf-mirrors.ci_repos_yum9-appstream 768 k #11 24.55 Upgrading: #11 24.55 glibc x86_64 2.34-125.el9_5.1 tf-mirrors.ci_repos_yum9-baseos 2.0 M #11 24.55 glibc-common x86_64 2.34-125.el9_5.1 tf-mirrors.ci_repos_yum9-baseos 296 k #11 24.55 glibc-minimal-langpack x86_64 2.34-125.el9_5.1 tf-mirrors.ci_repos_yum9-baseos 22 k #11 24.55 less x86_64 590-5.el9 tf-mirrors.ci_repos_yum9-baseos 161 k #11 24.55 openssl x86_64 1:3.2.2-6.el9_5.1 tf-mirrors.ci_repos_yum9-baseos 1.3 M #11 24.55 openssl-libs x86_64 1:3.2.2-6.el9_5.1 tf-mirrors.ci_repos_yum9-baseos 2.4 M #11 24.55 Installing dependencies: #11 24.55 libbpf x86_64 2:1.4.0-1.el9 tf-mirrors.ci_repos_yum9-baseos 177 k #11 24.55 libmnl x86_64 1.0.4-16.el9_4 tf-mirrors.ci_repos_yum9-baseos 27 k #11 24.55 libpsl x86_64 0.21.1-5.el9 tf-mirrors.ci_repos_yum9-baseos 63 k #11 24.55 psmisc x86_64 23.4-3.el9 tf-mirrors.ci_repos_yum9-baseos 226 k #11 24.55 publicsuffix-list-dafsa noarch 20210518-3.el9 tf-mirrors.ci_repos_yum9-baseos 58 k #11 24.55 #11 24.55 Transaction Summary #11 24.55 ============================================================================================== #11 24.55 Install 10 Packages #11 24.55 Upgrade 6 Packages #11 24.55 #11 24.56 Total download size: 9.4 M #11 24.56 Downloading Packages: #11 24.59 (1/16): libbpf-1.4.0-1.el9.x86_64.rpm 6.8 MB/s | 177 kB 00:00 #11 24.60 (2/16): glibc-langpack-en-2.34-125.el9_5.1.x86_ 15 MB/s | 552 kB 00:00 #11 24.60 (3/16): libmnl-1.0.4-16.el9_4.x86_64.rpm 1.8 MB/s | 27 kB 00:00 #11 24.60 (4/16): libpsl-0.21.1-5.el9.x86_64.rpm 8.9 MB/s | 63 kB 00:00 #11 24.62 (5/16): iproute-6.2.0-6.el9_4.x86_64.rpm 13 MB/s | 786 kB 00:00 #11 24.63 (6/16): procps-ng-3.3.17-14.el9.x86_64.rpm 12 MB/s | 332 kB 00:00 #11 24.64 (7/16): psmisc-23.4-3.el9.x86_64.rpm 7.3 MB/s | 226 kB 00:00 #11 24.64 (8/16): publicsuffix-list-dafsa-20210518-3.el9. 3.1 MB/s | 58 kB 00:00 #11 24.65 (9/16): rsync-3.2.3-20.el9_5.1.x86_64.rpm 21 MB/s | 391 kB 00:00 #11 24.66 (10/16): wget-1.21.1-8.el9_4.x86_64.rpm 27 MB/s | 768 kB 00:00 #11 24.67 (11/16): glibc-common-2.34-125.el9_5.1.x86_64.r 13 MB/s | 296 kB 00:00 #11 24.68 (12/16): glibc-minimal-langpack-2.34-125.el9_5. 2.0 MB/s | 22 kB 00:00 #11 24.68 (13/16): less-590-5.el9.x86_64.rpm 18 MB/s | 161 kB 00:00 #11 24.71 (14/16): glibc-2.34-125.el9_5.1.x86_64.rpm 27 MB/s | 2.0 MB 00:00 #11 24.73 (15/16): openssl-3.2.2-6.el9_5.1.x86_64.rpm 23 MB/s | 1.3 MB 00:00 #11 24.77 (16/16): openssl-libs-3.2.2-6.el9_5.1.x86_64.rp 28 MB/s | 2.4 MB 00:00 #11 24.77 -------------------------------------------------------------------------------- #11 24.77 Total 45 MB/s | 9.4 MB 00:00 #11 24.77 Running transaction check #11 25.30 Transaction check succeeded. #11 25.30 Running transaction test #11 25.50 Transaction test succeeded. #11 25.50 Running transaction #11 25.84 Preparing : 1/1 #11 25.93 Upgrading : glibc-common-2.34-125.el9_5.1.x86_64 1/22 #11 25.95 Upgrading : glibc-minimal-langpack-2.34-125.el9_5.1.x86_64 2/22 #11 25.95 Running scriptlet: glibc-2.34-125.el9_5.1.x86_64 3/22 #11 26.02 Upgrading : glibc-2.34-125.el9_5.1.x86_64 3/22 #11 26.03 Running scriptlet: glibc-2.34-125.el9_5.1.x86_64 3/22 #11 26.28 Installing : glibc-langpack-en-2.34-125.el9_5.1.x86_64 4/22 #11 26.37 Upgrading : openssl-libs-1:3.2.2-6.el9_5.1.x86_64 5/22 #11 26.39 Installing : libbpf-2:1.4.0-1.el9.x86_64 6/22 #11 26.40 Installing : libmnl-1.0.4-16.el9_4.x86_64 7/22 #11 26.41 Installing : psmisc-23.4-3.el9.x86_64 8/22 #11 26.42 Installing : publicsuffix-list-dafsa-20210518-3.el9.noarch 9/22 #11 26.43 Installing : libpsl-0.21.1-5.el9.x86_64 10/22 #11 26.45 Installing : wget-1.21.1-8.el9_4.x86_64 11/22 #11 26.50 Installing : iproute-6.2.0-6.el9_4.x86_64 12/22 #11 26.53 Installing : rsync-3.2.3-20.el9_5.1.x86_64 13/22 #11 26.60 Upgrading : openssl-1:3.2.2-6.el9_5.1.x86_64 14/22 #11 26.63 Installing : procps-ng-3.3.17-14.el9.x86_64 15/22 #11 26.65 Upgrading : less-590-5.el9.x86_64 16/22 #11 26.66 Cleanup : openssl-1:3.0.7-24.el9.x86_64 17/22 #11 26.68 Cleanup : openssl-libs-1:3.0.7-24.el9.x86_64 18/22 #11 26.69 Cleanup : less-590-2.el9_2.x86_64 19/22 #11 26.70 Cleanup : glibc-2.34-83.el9.7.x86_64 20/22 #11 26.71 Cleanup : glibc-minimal-langpack-2.34-83.el9.7.x86_64 21/22 #11 26.72 Cleanup : glibc-common-2.34-83.el9.7.x86_64 22/22 #11 26.73 Running scriptlet: glibc-common-2.34-83.el9.7.x86_64 22/22 #11 26.95 Verifying : glibc-langpack-en-2.34-125.el9_5.1.x86_64 1/22 #11 26.95 Verifying : iproute-6.2.0-6.el9_4.x86_64 2/22 #11 26.95 Verifying : libbpf-2:1.4.0-1.el9.x86_64 3/22 #11 26.95 Verifying : libmnl-1.0.4-16.el9_4.x86_64 4/22 #11 26.96 Verifying : libpsl-0.21.1-5.el9.x86_64 5/22 #11 26.96 Verifying : procps-ng-3.3.17-14.el9.x86_64 6/22 #11 26.96 Verifying : psmisc-23.4-3.el9.x86_64 7/22 #11 26.96 Verifying : publicsuffix-list-dafsa-20210518-3.el9.noarch 8/22 #11 26.96 Verifying : rsync-3.2.3-20.el9_5.1.x86_64 9/22 #11 26.96 Verifying : wget-1.21.1-8.el9_4.x86_64 10/22 #11 26.96 Verifying : glibc-2.34-125.el9_5.1.x86_64 11/22 #11 26.96 Verifying : glibc-2.34-83.el9.7.x86_64 12/22 #11 26.96 Verifying : glibc-common-2.34-125.el9_5.1.x86_64 13/22 #11 26.96 Verifying : glibc-common-2.34-83.el9.7.x86_64 14/22 #11 26.96 Verifying : glibc-minimal-langpack-2.34-125.el9_5.1.x86_64 15/22 #11 26.96 Verifying : glibc-minimal-langpack-2.34-83.el9.7.x86_64 16/22 #11 26.96 Verifying : less-590-5.el9.x86_64 17/22 #11 26.96 Verifying : less-590-2.el9_2.x86_64 18/22 #11 26.96 Verifying : openssl-1:3.2.2-6.el9_5.1.x86_64 19/22 #11 26.96 Verifying : openssl-1:3.0.7-24.el9.x86_64 20/22 #11 26.96 Verifying : openssl-libs-1:3.2.2-6.el9_5.1.x86_64 21/22 #11 26.96 Verifying : openssl-libs-1:3.0.7-24.el9.x86_64 22/22 #11 27.03 #11 27.03 Upgraded: #11 27.03 glibc-2.34-125.el9_5.1.x86_64 #11 27.03 glibc-common-2.34-125.el9_5.1.x86_64 #11 27.03 glibc-minimal-langpack-2.34-125.el9_5.1.x86_64 #11 27.03 less-590-5.el9.x86_64 #11 27.03 openssl-1:3.2.2-6.el9_5.1.x86_64 #11 27.03 openssl-libs-1:3.2.2-6.el9_5.1.x86_64 #11 27.03 Installed: #11 27.03 glibc-langpack-en-2.34-125.el9_5.1.x86_64 #11 27.03 iproute-6.2.0-6.el9_4.x86_64 #11 27.03 libbpf-2:1.4.0-1.el9.x86_64 #11 27.03 libmnl-1.0.4-16.el9_4.x86_64 #11 27.03 libpsl-0.21.1-5.el9.x86_64 #11 27.03 procps-ng-3.3.17-14.el9.x86_64 #11 27.03 psmisc-23.4-3.el9.x86_64 #11 27.03 publicsuffix-list-dafsa-20210518-3.el9.noarch #11 27.03 rsync-3.2.3-20.el9_5.1.x86_64 #11 27.03 wget-1.21.1-8.el9_4.x86_64 #11 27.03 #11 27.03 Complete! #11 27.65 Last metadata expiration check: 0:00:08 ago on Thu 09 Oct 2025 01:14:10 PM UTC. #11 27.75 Package python3-3.9.18-1.el9_3.x86_64 is already installed. #11 27.78 Dependencies resolved. #11 27.79 ====================================================================================== #11 27.79 Package Arch Version Repository Size #11 27.79 ====================================================================================== #11 27.79 Installing: #11 27.79 python3-pip noarch 21.3.1-1.el9 tf-mirrors.ci_repos_yum9-appstream 1.7 M #11 27.79 Upgrading: #11 27.79 python3 x86_64 3.9.21-1.el9_5 tf-mirrors.ci_repos_yum9-baseos 26 k #11 27.79 python3-libs x86_64 3.9.21-1.el9_5 tf-mirrors.ci_repos_yum9-baseos 7.5 M #11 27.79 Installing weak dependencies: #11 27.79 libxcrypt-compat x86_64 4.4.18-3.el9 tf-mirrors.ci_repos_yum9-appstream 88 k #11 27.79 python3-setuptools noarch 53.0.0-13.el9 tf-mirrors.ci_repos_yum9-baseos 838 k #11 27.79 #11 27.79 Transaction Summary #11 27.79 ====================================================================================== #11 27.79 Install 3 Packages #11 27.79 Upgrade 2 Packages #11 27.79 #11 27.79 Total download size: 10 M #11 27.79 Downloading Packages: #11 27.83 (1/5): libxcrypt-compat-4.4.18-3.el9.x86_64.rpm 2.4 MB/s | 88 kB 00:00 #11 27.83 (2/5): python3-3.9.21-1.el9_5.x86_64.rpm 4.4 MB/s | 26 kB 00:00 #11 27.85 (3/5): python3-setuptools-53.0.0-13.el9.noarch. 14 MB/s | 838 kB 00:00 #11 27.88 (4/5): python3-pip-21.3.1-1.el9.noarch.rpm 20 MB/s | 1.7 MB 00:00 #11 27.96 (5/5): python3-libs-3.9.21-1.el9_5.x86_64.rpm 61 MB/s | 7.5 MB 00:00 #11 27.96 -------------------------------------------------------------------------------- #11 27.96 Total 60 MB/s | 10 MB 00:00 #11 27.96 Running transaction check #11 28.01 Transaction check succeeded. #11 28.01 Running transaction test #11 28.19 Transaction test succeeded. #11 28.19 Running transaction #11 28.39 Preparing : 1/1 #11 28.96 Upgrading : python3-libs-3.9.21-1.el9_5.x86_64 1/7 #11 29.00 Upgrading : python3-3.9.21-1.el9_5.x86_64 2/7 #11 29.09 Installing : python3-setuptools-53.0.0-13.el9.noarch 3/7 #11 29.10 Installing : libxcrypt-compat-4.4.18-3.el9.x86_64 4/7 #11 29.30 Installing : python3-pip-21.3.1-1.el9.noarch 5/7 #11 29.32 Cleanup : python3-3.9.18-1.el9_3.x86_64 6/7 #11 29.38 Cleanup : python3-libs-3.9.18-1.el9_3.x86_64 7/7 #11 29.40 Running scriptlet: python3-libs-3.9.18-1.el9_3.x86_64 7/7 #11 29.66 Verifying : python3-setuptools-53.0.0-13.el9.noarch 1/7 #11 29.66 Verifying : libxcrypt-compat-4.4.18-3.el9.x86_64 2/7 #11 29.66 Verifying : python3-pip-21.3.1-1.el9.noarch 3/7 #11 29.66 Verifying : python3-3.9.21-1.el9_5.x86_64 4/7 #11 29.66 Verifying : python3-3.9.18-1.el9_3.x86_64 5/7 #11 29.66 Verifying : python3-libs-3.9.21-1.el9_5.x86_64 6/7 #11 29.66 Verifying : python3-libs-3.9.18-1.el9_3.x86_64 7/7 #11 29.70 #11 29.70 Upgraded: #11 29.70 python3-3.9.21-1.el9_5.x86_64 python3-libs-3.9.21-1.el9_5.x86_64 #11 29.70 Installed: #11 29.70 libxcrypt-compat-4.4.18-3.el9.x86_64 python3-pip-21.3.1-1.el9.noarch #11 29.70 python3-setuptools-53.0.0-13.el9.noarch #11 29.70 #11 29.70 Complete! #11 30.27 Looking in indexes: http://tf-mirrors.gz1.opensdn.io/root/pypi/+simple/ #11 30.27 Requirement already satisfied: pip in /usr/lib/python3.9/site-packages (21.3.1) #11 30.48 Collecting pip #11 30.49 Downloading http://tf-mirrors.gz1.opensdn.io/root/pypi/%2Bf/6d6/7a2b4e7f14d8b/pip-25.2-py3-none-any.whl (1.8 MB) #11 30.56 Requirement already satisfied: setuptools in /usr/lib/python3.9/site-packages (53.0.0) #11 31.27 Collecting setuptools #11 31.28 Downloading http://tf-mirrors.gz1.opensdn.io/root/pypi/%2Bf/062/d34222ad13e0c/setuptools-80.9.0-py3-none-any.whl (1.2 MB) #11 31.50 Installing collected packages: setuptools, pip #11 33.98 Successfully installed pip-25.2 setuptools-80.9.0 #11 33.98 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 34.50 80 files removed #11 34.60 useradd warning: contrail's uid 1999 is greater than SYS_UID_MAX 999 #11 DONE 34.9s #12 exporting to image #12 exporting layers #12 exporting layers 1.3s done #12 writing image sha256:fe94600b2fa07d06f2399ea04928baf7123c328432f9ccb57864d744a7b80fe1 done #12 naming to nexus.gz1.opensdn.io:5101/opensdn-general-base:master-2_0_4_5-4 done #12 DONE 1.4s 2025-10-09 13:14:27,336: INFO: Docker build duration: 38 seconds The push refers to repository [nexus.gz1.opensdn.io:5101/opensdn-general-base] bfe1e241b2d5: Preparing b6dff02cd465: Preparing 3db52d5341e6: Preparing 04e2c93bfd52: Preparing 351e07098705: Preparing c211178eb694: Preparing 44343de3ea1d: Preparing c211178eb694: Waiting 44343de3ea1d: Waiting 04e2c93bfd52: Pushed 351e07098705: Pushed 3db52d5341e6: Pushed b6dff02cd465: Pushed 44343de3ea1d: Layer already exists c211178eb694: Pushed bfe1e241b2d5: Pushed master-2_0_4_5-4: digest: sha256:21c90080f4a8611a80a3be93666dbbc470d94ebb887df7b1ad9971acf25c6f4b size: 1777 2025-10-09 13:14:38,585: INFO: Building opensdn-general-base finished successfully, duration: 49 seconds REPOSITORY TAG IMAGE ID CREATED SIZE nexus.gz1.opensdn.io:5101/opensdn-general-base master-2_0_4_5-4 fe94600b2fa0 13 seconds ago 278MB nexus.gz1.opensdn.io:5101/opensdn-container-builder-src master-2_0_4_5-4 53cc27479fb5 49 seconds ago 2.44MB tf-dev-sandbox compile 95fbb26c76ba About a minute ago 24.7GB nexus.gz1.opensdn.io:5101/opensdn-charms-src master-2_0_4_5-4 431e3d9ee764 2 minutes ago 6.04MB nexus.gz1.opensdn.io:5101/opensdn-kolla-ansible-src master-2_0_4_5-4 7f426c65904b 2 minutes ago 32.6MB nexus.gz1.opensdn.io:5101/opensdn-ansible-deployer-src master-2_0_4_5-4 9e7abcbc70de 2 minutes ago 1.39MB nexus.gz1.opensdn.io:5101/opensdn-container-builder-src 728d32d9293d 2 minutes ago 2.42MB nexus.gz1.opensdn.io:5101/opensdn-build-manifest-src master-2_0_4_5-4 844263fe1689 2 minutes ago 4.17kB nexus.gz1.opensdn.io:5101/tf-dev-sandbox frozen 5f65f03cb968 3 hours ago 23.8GB