#9 [5/7] COPY pip.conf /etc/ #9 DONE 0.1s #10 [6/7] COPY *.sh / #10 DONE 0.1s #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.104 /bin/sh: warning: setlocale: LC_ALL: cannot change locale (en_US.UTF-8) #11 0.110 total 36 #11 0.110 -rw-r--r--. 1 root root 100 Sep 19 09:13 contrail.repo #11 0.110 -rw-r--r--. 1 root root 2707 Sep 19 10:06 mirror-base-rocky9.repo #11 0.110 -rw-r--r--. 1 root root 217 Sep 19 10:06 mirror-docker9.repo #11 0.110 -rw-r--r--. 1 root root 204 Sep 19 10:06 mirror-epel9.repo #11 0.110 -rw-r--r--. 1 root root 1 Sep 19 10:06 rocky-addons.repo #11 0.110 -rw-r--r--. 1 root root 1 Sep 19 10:06 rocky-devel.repo #11 0.110 -rw-r--r--. 1 root root 1 Sep 19 10:06 rocky-extras.repo #11 0.110 -rw-r--r--. 1 root root 1 Sep 19 10:06 rocky.repo #11 0.110 -rw-r--r--. 1 root root 140 Sep 19 10:06 tpc.repo #11 0.336 Failed to set locale, defaulting to C.UTF-8 #11 0.608 Contrail repo 1.9 MB/s | 81 kB 00:00 #11 0.677 added from: http://tf-mirrors.gz1.opensdn.io/re 39 MB/s | 2.1 MB 00:00 #11 1.024 added from: http://tf-mirrors.gz1.opensdn.io/re 23 MB/s | 730 kB 00:00 #11 1.184 added from: http://tf-mirrors.gz1.opensdn.io/re 11 MB/s | 264 kB 00:00 #11 1.349 added from: http://tf-mirrors.gz1.opensdn.io/re 69 MB/s | 7.0 MB 00:00 #11 2.649 added from: http://tf-mirrors.gz1.opensdn.io/re 57 MB/s | 4.0 MB 00:00 #11 3.445 added from: http://tf-mirrors.gz1.opensdn.io/re 26 MB/s | 939 kB 00:00 #11 3.667 added from: http://tf-mirrors.gz1.opensdn.io/re 43 MB/s | 2.3 MB 00:00 #11 4.144 added from: http://tf-mirrors.gz1.opensdn.io/re 15 MB/s | 392 kB 00:00 #11 4.304 added from: http://tf-mirrors.gz1.opensdn.io/re 17 MB/s | 451 kB 00:00 #11 4.454 added from: http://tf-mirrors.gz1.opensdn.io/re 867 kB/s | 16 kB 00:00 #11 4.560 added from: http://tf-mirrors.gz1.opensdn.io/re 13 kB/s | 257 B 00:00 #11 4.665 added from: http://tf-mirrors.gz1.opensdn.io/re 626 kB/s | 13 kB 00:00 #11 4.768 added from: http://tf-mirrors.gz1.opensdn.io/re 3.2 MB/s | 64 kB 00:00 #11 5.231 added from: http://tf-mirrors.gz1.opensdn.io/re 84 MB/s | 30 MB 00:00 #11 11.10 Third parties for OpenSDN 47 MB/s | 5.4 MB 00:00 #11 14.74 No security updates needed for "yum", but 1 update available #11 14.74 No match for argument: update-minimal #11 14.78 Dependencies resolved. #11 14.78 Nothing to do. #11 14.78 Complete! #11 14.92 Failed to set locale, defaulting to C.UTF-8 #11 15.20 Last metadata expiration check: 0:00:04 ago on Fri Sep 19 10:07:12 2025. #11 15.27 Package hostname-3.23-6.el9.x86_64 is already installed. #11 15.27 Package less-590-2.el9_2.x86_64 is already installed. #11 15.27 Package openssl-1:3.0.7-24.el9.x86_64 is already installed. #11 15.30 Dependencies resolved. #11 15.31 ============================================================================================== #11 15.31 Package Arch Version Repository Size #11 15.31 ============================================================================================== #11 15.31 Installing: #11 15.31 glibc-langpack-en x86_64 2.34-125.el9_5.1 tf-mirrors.ci_repos_yum9-baseos 552 k #11 15.31 iproute x86_64 6.2.0-6.el9_4 tf-mirrors.ci_repos_yum9-baseos 786 k #11 15.31 procps-ng x86_64 3.3.17-14.el9 tf-mirrors.ci_repos_yum9-baseos 332 k #11 15.31 rsync x86_64 3.2.3-20.el9_5.1 tf-mirrors.ci_repos_yum9-baseos 391 k #11 15.31 wget x86_64 1.21.1-8.el9_4 tf-mirrors.ci_repos_yum9-appstream 768 k #11 15.31 Upgrading: #11 15.31 glibc x86_64 2.34-125.el9_5.1 tf-mirrors.ci_repos_yum9-baseos 2.0 M #11 15.31 glibc-common x86_64 2.34-125.el9_5.1 tf-mirrors.ci_repos_yum9-baseos 296 k #11 15.31 glibc-minimal-langpack x86_64 2.34-125.el9_5.1 tf-mirrors.ci_repos_yum9-baseos 22 k #11 15.31 less x86_64 590-5.el9 tf-mirrors.ci_repos_yum9-baseos 161 k #11 15.31 openssl x86_64 1:3.2.2-6.el9_5.1 tf-mirrors.ci_repos_yum9-baseos 1.3 M #11 15.31 openssl-libs x86_64 1:3.2.2-6.el9_5.1 tf-mirrors.ci_repos_yum9-baseos 2.4 M #11 15.31 Installing dependencies: #11 15.31 libbpf x86_64 2:1.4.0-1.el9 tf-mirrors.ci_repos_yum9-baseos 177 k #11 15.31 libmnl x86_64 1.0.4-16.el9_4 tf-mirrors.ci_repos_yum9-baseos 27 k #11 15.31 libpsl x86_64 0.21.1-5.el9 tf-mirrors.ci_repos_yum9-baseos 63 k #11 15.31 psmisc x86_64 23.4-3.el9 tf-mirrors.ci_repos_yum9-baseos 226 k #11 15.31 publicsuffix-list-dafsa noarch 20210518-3.el9 tf-mirrors.ci_repos_yum9-baseos 58 k #11 15.31 #11 15.31 Transaction Summary #11 15.31 ============================================================================================== #11 15.31 Install 10 Packages #11 15.31 Upgrade 6 Packages #11 15.31 #11 15.31 Total download size: 9.4 M #11 15.31 Downloading Packages: #11 15.34 (1/16): glibc-langpack-en-2.34-125.el9_5.1.x86_ 19 MB/s | 552 kB 00:00 #11 15.34 (2/16): libbpf-1.4.0-1.el9.x86_64.rpm 5.3 MB/s | 177 kB 00:00 #11 15.35 (3/16): libmnl-1.0.4-16.el9_4.x86_64.rpm 3.8 MB/s | 27 kB 00:00 #11 15.36 (4/16): iproute-6.2.0-6.el9_4.x86_64.rpm 17 MB/s | 786 kB 00:00 #11 15.36 (5/16): libpsl-0.21.1-5.el9.x86_64.rpm 3.9 MB/s | 63 kB 00:00 #11 15.37 (6/16): procps-ng-3.3.17-14.el9.x86_64.rpm 16 MB/s | 332 kB 00:00 #11 15.37 (7/16): psmisc-23.4-3.el9.x86_64.rpm 16 MB/s | 226 kB 00:00 #11 15.37 (8/16): publicsuffix-list-dafsa-20210518-3.el9. 4.1 MB/s | 58 kB 00:00 #11 15.38 (9/16): rsync-3.2.3-20.el9_5.1.x86_64.rpm 27 MB/s | 391 kB 00:00 #11 15.39 (10/16): glibc-common-2.34-125.el9_5.1.x86_64.r 34 MB/s | 296 kB 00:00 #11 15.40 (11/16): wget-1.21.1-8.el9_4.x86_64.rpm 26 MB/s | 768 kB 00:00 #11 15.40 (12/16): glibc-minimal-langpack-2.34-125.el9_5. 1.7 MB/s | 22 kB 00:00 #11 15.41 (13/16): less-590-5.el9.x86_64.rpm 23 MB/s | 161 kB 00:00 #11 15.43 (14/16): glibc-2.34-125.el9_5.1.x86_64.rpm 34 MB/s | 2.0 MB 00:00 #11 15.45 (15/16): openssl-3.2.2-6.el9_5.1.x86_64.rpm 29 MB/s | 1.3 MB 00:00 #11 15.48 (16/16): openssl-libs-3.2.2-6.el9_5.1.x86_64.rp 35 MB/s | 2.4 MB 00:00 #11 15.48 -------------------------------------------------------------------------------- #11 15.48 Total 56 MB/s | 9.4 MB 00:00 #11 15.48 Running transaction check #11 15.81 Transaction check succeeded. #11 15.81 Running transaction test #11 15.94 Transaction test succeeded. #11 15.94 Running transaction #11 16.21 Preparing : 1/1 #11 16.27 Upgrading : glibc-common-2.34-125.el9_5.1.x86_64 1/22 #11 16.29 Upgrading : glibc-minimal-langpack-2.34-125.el9_5.1.x86_64 2/22 #11 16.29 Running scriptlet: glibc-2.34-125.el9_5.1.x86_64 3/22 #11 16.34 Upgrading : glibc-2.34-125.el9_5.1.x86_64 3/22 #11 16.35 Running scriptlet: glibc-2.34-125.el9_5.1.x86_64 3/22 #11 16.50 Installing : glibc-langpack-en-2.34-125.el9_5.1.x86_64 4/22 #11 16.57 Upgrading : openssl-libs-1:3.2.2-6.el9_5.1.x86_64 5/22 #11 16.58 Installing : libbpf-2:1.4.0-1.el9.x86_64 6/22 #11 16.58 Installing : libmnl-1.0.4-16.el9_4.x86_64 7/22 #11 16.59 Installing : psmisc-23.4-3.el9.x86_64 8/22 #11 16.60 Installing : publicsuffix-list-dafsa-20210518-3.el9.noarch 9/22 #11 16.61 Installing : libpsl-0.21.1-5.el9.x86_64 10/22 #11 16.62 Installing : wget-1.21.1-8.el9_4.x86_64 11/22 #11 16.65 Installing : iproute-6.2.0-6.el9_4.x86_64 12/22 #11 16.67 Installing : rsync-3.2.3-20.el9_5.1.x86_64 13/22 #11 16.71 Upgrading : openssl-1:3.2.2-6.el9_5.1.x86_64 14/22 #11 16.74 Installing : procps-ng-3.3.17-14.el9.x86_64 15/22 #11 16.75 Upgrading : less-590-5.el9.x86_64 16/22 #11 16.76 Cleanup : openssl-1:3.0.7-24.el9.x86_64 17/22 #11 16.77 Cleanup : openssl-libs-1:3.0.7-24.el9.x86_64 18/22 #11 16.77 Cleanup : less-590-2.el9_2.x86_64 19/22 #11 16.78 Cleanup : glibc-2.34-83.el9.7.x86_64 20/22 #11 16.79 Cleanup : glibc-minimal-langpack-2.34-83.el9.7.x86_64 21/22 #11 16.79 Cleanup : glibc-common-2.34-83.el9.7.x86_64 22/22 #11 16.80 Running scriptlet: glibc-common-2.34-83.el9.7.x86_64 22/22 #11 16.98 Verifying : glibc-langpack-en-2.34-125.el9_5.1.x86_64 1/22 #11 16.98 Verifying : iproute-6.2.0-6.el9_4.x86_64 2/22 #11 16.98 Verifying : libbpf-2:1.4.0-1.el9.x86_64 3/22 #11 16.98 Verifying : libmnl-1.0.4-16.el9_4.x86_64 4/22 #11 16.98 Verifying : libpsl-0.21.1-5.el9.x86_64 5/22 #11 16.98 Verifying : procps-ng-3.3.17-14.el9.x86_64 6/22 #11 16.98 Verifying : psmisc-23.4-3.el9.x86_64 7/22 #11 16.98 Verifying : publicsuffix-list-dafsa-20210518-3.el9.noarch 8/22 #11 16.98 Verifying : rsync-3.2.3-20.el9_5.1.x86_64 9/22 #11 16.98 Verifying : wget-1.21.1-8.el9_4.x86_64 10/22 #11 16.98 Verifying : glibc-2.34-125.el9_5.1.x86_64 11/22 #11 16.98 Verifying : glibc-2.34-83.el9.7.x86_64 12/22 #11 16.98 Verifying : glibc-common-2.34-125.el9_5.1.x86_64 13/22 #11 16.98 Verifying : glibc-common-2.34-83.el9.7.x86_64 14/22 #11 16.98 Verifying : glibc-minimal-langpack-2.34-125.el9_5.1.x86_64 15/22 #11 16.98 Verifying : glibc-minimal-langpack-2.34-83.el9.7.x86_64 16/22 #11 16.98 Verifying : less-590-5.el9.x86_64 17/22 #11 16.98 Verifying : less-590-2.el9_2.x86_64 18/22 #11 16.98 Verifying : openssl-1:3.2.2-6.el9_5.1.x86_64 19/22 #11 16.98 Verifying : openssl-1:3.0.7-24.el9.x86_64 20/22 #11 16.98 Verifying : openssl-libs-1:3.2.2-6.el9_5.1.x86_64 21/22 #11 16.98 Verifying : openssl-libs-1:3.0.7-24.el9.x86_64 22/22 #11 17.03 #11 17.03 Upgraded: #11 17.03 glibc-2.34-125.el9_5.1.x86_64 #11 17.03 glibc-common-2.34-125.el9_5.1.x86_64 #11 17.03 glibc-minimal-langpack-2.34-125.el9_5.1.x86_64 #11 17.03 less-590-5.el9.x86_64 #11 17.03 openssl-1:3.2.2-6.el9_5.1.x86_64 #11 17.03 openssl-libs-1:3.2.2-6.el9_5.1.x86_64 #11 17.03 Installed: #11 17.03 glibc-langpack-en-2.34-125.el9_5.1.x86_64 #11 17.03 iproute-6.2.0-6.el9_4.x86_64 #11 17.03 libbpf-2:1.4.0-1.el9.x86_64 #11 17.03 libmnl-1.0.4-16.el9_4.x86_64 #11 17.03 libpsl-0.21.1-5.el9.x86_64 #11 17.03 procps-ng-3.3.17-14.el9.x86_64 #11 17.03 psmisc-23.4-3.el9.x86_64 #11 17.03 publicsuffix-list-dafsa-20210518-3.el9.noarch #11 17.03 rsync-3.2.3-20.el9_5.1.x86_64 #11 17.03 wget-1.21.1-8.el9_4.x86_64 #11 17.03 #11 17.03 Complete! #11 17.48 Last metadata expiration check: 0:00:06 ago on Fri 19 Sep 2025 10:07:12 AM UTC. #11 17.54 Package python3-3.9.18-1.el9_3.x86_64 is already installed. #11 17.57 Dependencies resolved. #11 17.57 ====================================================================================== #11 17.57 Package Arch Version Repository Size #11 17.57 ====================================================================================== #11 17.57 Installing: #11 17.57 python3-pip noarch 21.3.1-1.el9 tf-mirrors.ci_repos_yum9-appstream 1.7 M #11 17.57 Upgrading: #11 17.57 python3 x86_64 3.9.21-1.el9_5 tf-mirrors.ci_repos_yum9-baseos 26 k #11 17.57 python3-libs x86_64 3.9.21-1.el9_5 tf-mirrors.ci_repos_yum9-baseos 7.5 M #11 17.57 Installing weak dependencies: #11 17.57 libxcrypt-compat x86_64 4.4.18-3.el9 tf-mirrors.ci_repos_yum9-appstream 88 k #11 17.57 python3-setuptools noarch 53.0.0-13.el9 tf-mirrors.ci_repos_yum9-baseos 838 k #11 17.57 #11 17.57 Transaction Summary #11 17.57 ====================================================================================== #11 17.57 Install 3 Packages #11 17.57 Upgrade 2 Packages #11 17.57 #11 17.57 Total download size: 10 M #11 17.57 Downloading Packages: #11 17.59 (1/5): libxcrypt-compat-4.4.18-3.el9.x86_64.rpm 5.5 MB/s | 88 kB 00:00 #11 17.60 (2/5): python3-3.9.21-1.el9_5.x86_64.rpm 4.6 MB/s | 26 kB 00:00 #11 17.61 (3/5): python3-setuptools-53.0.0-13.el9.noarch. 25 MB/s | 838 kB 00:00 #11 17.63 (4/5): python3-pip-21.3.1-1.el9.noarch.rpm 31 MB/s | 1.7 MB 00:00 #11 17.70 (5/5): python3-libs-3.9.21-1.el9_5.x86_64.rpm 75 MB/s | 7.5 MB 00:00 #11 17.70 -------------------------------------------------------------------------------- #11 17.70 Total 82 MB/s | 10 MB 00:00 #11 17.70 Running transaction check #11 17.74 Transaction check succeeded. #11 17.74 Running transaction test #11 17.90 Transaction test succeeded. #11 17.90 Running transaction #11 18.07 Preparing : 1/1 #11 18.54 Upgrading : python3-libs-3.9.21-1.el9_5.x86_64 1/7 #11 18.58 Upgrading : python3-3.9.21-1.el9_5.x86_64 2/7 #11 18.67 Installing : python3-setuptools-53.0.0-13.el9.noarch 3/7 #11 18.69 Installing : libxcrypt-compat-4.4.18-3.el9.x86_64 4/7 #11 18.88 Installing : python3-pip-21.3.1-1.el9.noarch 5/7 #11 18.90 Cleanup : python3-3.9.18-1.el9_3.x86_64 6/7 #11 18.95 Cleanup : python3-libs-3.9.18-1.el9_3.x86_64 7/7 #11 18.97 Running scriptlet: python3-libs-3.9.18-1.el9_3.x86_64 7/7 #11 19.36 Verifying : python3-setuptools-53.0.0-13.el9.noarch 1/7 #11 19.36 Verifying : libxcrypt-compat-4.4.18-3.el9.x86_64 2/7 #11 19.36 Verifying : python3-pip-21.3.1-1.el9.noarch 3/7 #11 19.36 Verifying : python3-3.9.21-1.el9_5.x86_64 4/7 #11 19.36 Verifying : python3-3.9.18-1.el9_3.x86_64 5/7 #11 19.36 Verifying : python3-libs-3.9.21-1.el9_5.x86_64 6/7 #11 19.36 Verifying : python3-libs-3.9.18-1.el9_3.x86_64 7/7 #11 19.40 #11 19.40 Upgraded: #11 19.40 python3-3.9.21-1.el9_5.x86_64 python3-libs-3.9.21-1.el9_5.x86_64 #11 19.40 Installed: #11 19.40 libxcrypt-compat-4.4.18-3.el9.x86_64 python3-pip-21.3.1-1.el9.noarch #11 19.40 python3-setuptools-53.0.0-13.el9.noarch #11 19.40 #11 19.40 Complete! #11 19.78 Looking in indexes: http://tf-mirrors.gz1.opensdn.io/root/pypi/+simple/ #11 19.78 Requirement already satisfied: pip in /usr/lib/python3.9/site-packages (21.3.1) #11 19.91 Collecting pip #11 19.92 Downloading http://tf-mirrors.gz1.opensdn.io/root/pypi/%2Bf/6d6/7a2b4e7f14d8b/pip-25.2-py3-none-any.whl (1.8 MB) #11 19.97 Requirement already satisfied: setuptools in /usr/lib/python3.9/site-packages (53.0.0) #11 20.41 Collecting setuptools #11 20.42 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.55 Installing collected packages: setuptools, pip #11 21.95 Successfully installed pip-25.2 setuptools-80.9.0 #11 21.95 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.27 80 files removed #11 22.33 useradd warning: contrail's uid 1999 is greater than SYS_UID_MAX 999 #11 DONE 22.6s #12 exporting to image #12 exporting layers #12 exporting layers 1.0s done #12 writing image sha256:91150829dd84d736656481e9d5c698e514d9003b52587073d61f4ef44ad634e9 done #12 naming to nexus.gz1.opensdn.io:5101/opensdn-general-base:master-2_1_0_5-1_0 done #12 DONE 1.0s 2025-09-19 10:07:24,683: INFO: Docker build duration: 25 seconds The push refers to repository [nexus.gz1.opensdn.io:5101/opensdn-general-base] 94840995885e: Preparing e79b3004cf4f: Preparing e55392b78c43: Preparing ae0017fb6695: Preparing a6c7daf249c8: Preparing 2a69a6d6c280: Preparing 44343de3ea1d: Preparing 2a69a6d6c280: Waiting 44343de3ea1d: Waiting e55392b78c43: Pushed ae0017fb6695: Pushed e79b3004cf4f: Pushed a6c7daf249c8: Pushed 44343de3ea1d: Layer already exists 2a69a6d6c280: Pushed 94840995885e: Pushed master-2_1_0_5-1_0: digest: sha256:5b3c7a48ffed293836c4faad3f5bea694a4bc8cf727308e2873f246723612ded size: 1777 2025-09-19 10:07:30,818: INFO: Building opensdn-general-base finished successfully, duration: 31 seconds REPOSITORY TAG IMAGE ID CREATED SIZE nexus.gz1.opensdn.io:5101/opensdn-general-base master-2_1_0_5-1_0 91150829dd84 7 seconds ago 278MB nexus.gz1.opensdn.io:5101/opensdn-container-builder-src master-2_1_0_5-1_0 633da15c5659 31 seconds ago 2.41MB tf-dev-sandbox compile 326a0fbfc781 59 seconds ago 20.5GB nexus.gz1.opensdn.io:5101/opensdn-charms-src master-2_1_0_5-1_0 cfe798a5fb07 54 minutes ago 6.04MB nexus.gz1.opensdn.io:5101/opensdn-container-builder-src 9ca67e0817ba 54 minutes ago 2.38MB nexus.gz1.opensdn.io:5101/opensdn-ansible-deployer-src master-2_1_0_5-1_0 fa94050e32ab 54 minutes ago 1.39MB nexus.gz1.opensdn.io:5101/opensdn-build-manifest-src master-2_1_0_5-1_0 90b3d08c25ad 54 minutes ago 4.53kB nexus.gz1.opensdn.io:5101/opensdn-kolla-ansible-src master-2_1_0_5-1_0 5af190eba8cc 54 minutes ago 32.6MB nexus.gz1.opensdn.io:5101/tf-dev-sandbox frozen 384d234498a7 4 hours ago 11.7GB