#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.111 /bin/sh: warning: setlocale: LC_ALL: cannot change locale (en_US.UTF-8) #11 0.117 total 32 #11 0.117 -rw-r--r--. 1 root root 2707 Oct 9 13:45 mirror-base-rocky9.repo #11 0.117 -rw-r--r--. 1 root root 217 Oct 9 13:45 mirror-docker9.repo #11 0.117 -rw-r--r--. 1 root root 204 Oct 9 13:45 mirror-epel9.repo #11 0.117 -rw-r--r--. 1 root root 1 Oct 9 13:45 rocky-addons.repo #11 0.117 -rw-r--r--. 1 root root 1 Oct 9 13:45 rocky-devel.repo #11 0.117 -rw-r--r--. 1 root root 1 Oct 9 13:45 rocky-extras.repo #11 0.117 -rw-r--r--. 1 root root 1 Oct 9 13:45 rocky.repo #11 0.117 -rw-r--r--. 1 root root 140 Oct 9 13:45 tpc.repo #11 0.392 Failed to set locale, defaulting to C.UTF-8 #11 0.705 added from: http://tf-mirrors.gz1.opensdn.io/re 31 MB/s | 2.1 MB 00:00 #11 1.160 added from: http://tf-mirrors.gz1.opensdn.io/re 17 MB/s | 730 kB 00:00 #11 1.367 added from: http://tf-mirrors.gz1.opensdn.io/re 7.4 MB/s | 264 kB 00:00 #11 1.548 added from: http://tf-mirrors.gz1.opensdn.io/re 64 MB/s | 7.0 MB 00:00 #11 3.062 added from: http://tf-mirrors.gz1.opensdn.io/re 54 MB/s | 4.0 MB 00:00 #11 3.980 added from: http://tf-mirrors.gz1.opensdn.io/re 20 MB/s | 939 kB 00:00 #11 4.244 added from: http://tf-mirrors.gz1.opensdn.io/re 38 MB/s | 2.3 MB 00:00 #11 4.883 added from: http://tf-mirrors.gz1.opensdn.io/re 8.6 MB/s | 392 kB 00:00 #11 5.079 added from: http://tf-mirrors.gz1.opensdn.io/re 12 MB/s | 451 kB 00:00 #11 5.261 added from: http://tf-mirrors.gz1.opensdn.io/re 582 kB/s | 16 kB 00:00 #11 5.394 added from: http://tf-mirrors.gz1.opensdn.io/re 8.3 kB/s | 257 B 00:00 #11 5.525 added from: http://tf-mirrors.gz1.opensdn.io/re 530 kB/s | 13 kB 00:00 #11 5.646 added from: http://tf-mirrors.gz1.opensdn.io/re 2.2 MB/s | 64 kB 00:00 #11 6.151 added from: http://tf-mirrors.gz1.opensdn.io/re 79 MB/s | 30 MB 00:00 #11 13.26 Third parties for OpenSDN 40 MB/s | 5.1 MB 00:00 #11 17.34 No security updates needed for "yum", but 1 update available #11 17.34 No match for argument: update-minimal #11 17.39 Dependencies resolved. #11 17.39 Nothing to do. #11 17.39 Complete! #11 17.54 Failed to set locale, defaulting to C.UTF-8 #11 17.90 Last metadata expiration check: 0:00:04 ago on Thu Oct 9 13:45:28 2025. #11 17.99 Package hostname-3.23-6.el9.x86_64 is already installed. #11 17.99 Package less-590-2.el9_2.x86_64 is already installed. #11 17.99 Package openssl-1:3.0.7-24.el9.x86_64 is already installed. #11 18.04 Dependencies resolved. #11 18.04 ============================================================================================== #11 18.04 Package Arch Version Repository Size #11 18.04 ============================================================================================== #11 18.04 Installing: #11 18.04 glibc-langpack-en x86_64 2.34-125.el9_5.1 tf-mirrors.ci_repos_yum9-baseos 552 k #11 18.04 iproute x86_64 6.2.0-6.el9_4 tf-mirrors.ci_repos_yum9-baseos 786 k #11 18.04 procps-ng x86_64 3.3.17-14.el9 tf-mirrors.ci_repos_yum9-baseos 332 k #11 18.04 rsync x86_64 3.2.3-20.el9_5.1 tf-mirrors.ci_repos_yum9-baseos 391 k #11 18.04 wget x86_64 1.21.1-8.el9_4 tf-mirrors.ci_repos_yum9-appstream 768 k #11 18.04 Upgrading: #11 18.04 glibc x86_64 2.34-125.el9_5.1 tf-mirrors.ci_repos_yum9-baseos 2.0 M #11 18.04 glibc-common x86_64 2.34-125.el9_5.1 tf-mirrors.ci_repos_yum9-baseos 296 k #11 18.04 glibc-minimal-langpack x86_64 2.34-125.el9_5.1 tf-mirrors.ci_repos_yum9-baseos 22 k #11 18.04 less x86_64 590-5.el9 tf-mirrors.ci_repos_yum9-baseos 161 k #11 18.04 openssl x86_64 1:3.2.2-6.el9_5.1 tf-mirrors.ci_repos_yum9-baseos 1.3 M #11 18.04 openssl-libs x86_64 1:3.2.2-6.el9_5.1 tf-mirrors.ci_repos_yum9-baseos 2.4 M #11 18.04 Installing dependencies: #11 18.04 libbpf x86_64 2:1.4.0-1.el9 tf-mirrors.ci_repos_yum9-baseos 177 k #11 18.04 libmnl x86_64 1.0.4-16.el9_4 tf-mirrors.ci_repos_yum9-baseos 27 k #11 18.04 libpsl x86_64 0.21.1-5.el9 tf-mirrors.ci_repos_yum9-baseos 63 k #11 18.04 psmisc x86_64 23.4-3.el9 tf-mirrors.ci_repos_yum9-baseos 226 k #11 18.04 publicsuffix-list-dafsa noarch 20210518-3.el9 tf-mirrors.ci_repos_yum9-baseos 58 k #11 18.04 #11 18.04 Transaction Summary #11 18.04 ============================================================================================== #11 18.04 Install 10 Packages #11 18.04 Upgrade 6 Packages #11 18.04 #11 18.04 Total download size: 9.4 M #11 18.04 Downloading Packages: #11 18.08 (1/16): libbpf-1.4.0-1.el9.x86_64.rpm 5.6 MB/s | 177 kB 00:00 #11 18.09 (2/16): iproute-6.2.0-6.el9_4.x86_64.rpm 16 MB/s | 786 kB 00:00 #11 18.10 (3/16): libmnl-1.0.4-16.el9_4.x86_64.rpm 1.4 MB/s | 27 kB 00:00 #11 18.10 (4/16): libpsl-0.21.1-5.el9.x86_64.rpm 7.4 MB/s | 63 kB 00:00 #11 18.11 (5/16): glibc-langpack-en-2.34-125.el9_5.1.x86_ 8.0 MB/s | 552 kB 00:00 #11 18.12 (6/16): procps-ng-3.3.17-14.el9.x86_64.rpm 12 MB/s | 332 kB 00:00 #11 18.13 (7/16): publicsuffix-list-dafsa-20210518-3.el9. 4.0 MB/s | 58 kB 00:00 #11 18.13 (8/16): psmisc-23.4-3.el9.x86_64.rpm 7.3 MB/s | 226 kB 00:00 #11 18.14 (9/16): rsync-3.2.3-20.el9_5.1.x86_64.rpm 20 MB/s | 391 kB 00:00 #11 18.16 (10/16): wget-1.21.1-8.el9_4.x86_64.rpm 25 MB/s | 768 kB 00:00 #11 18.17 (11/16): glibc-common-2.34-125.el9_5.1.x86_64.r 13 MB/s | 296 kB 00:00 #11 18.17 (12/16): glibc-minimal-langpack-2.34-125.el9_5. 2.0 MB/s | 22 kB 00:00 #11 18.18 (13/16): less-590-5.el9.x86_64.rpm 18 MB/s | 161 kB 00:00 #11 18.20 (14/16): glibc-2.34-125.el9_5.1.x86_64.rpm 30 MB/s | 2.0 MB 00:00 #11 18.22 (15/16): openssl-3.2.2-6.el9_5.1.x86_64.rpm 26 MB/s | 1.3 MB 00:00 #11 18.25 (16/16): openssl-libs-3.2.2-6.el9_5.1.x86_64.rp 31 MB/s | 2.4 MB 00:00 #11 18.25 -------------------------------------------------------------------------------- #11 18.25 Total 45 MB/s | 9.4 MB 00:00 #11 18.25 Running transaction check #11 18.64 Transaction check succeeded. #11 18.64 Running transaction test #11 18.79 Transaction test succeeded. #11 18.79 Running transaction #11 19.14 Preparing : 1/1 #11 19.24 Upgrading : glibc-common-2.34-125.el9_5.1.x86_64 1/22 #11 19.25 Upgrading : glibc-minimal-langpack-2.34-125.el9_5.1.x86_64 2/22 #11 19.26 Running scriptlet: glibc-2.34-125.el9_5.1.x86_64 3/22 #11 19.31 Upgrading : glibc-2.34-125.el9_5.1.x86_64 3/22 #11 19.32 Running scriptlet: glibc-2.34-125.el9_5.1.x86_64 3/22 #11 19.49 Installing : glibc-langpack-en-2.34-125.el9_5.1.x86_64 4/22 #11 19.56 Upgrading : openssl-libs-1:3.2.2-6.el9_5.1.x86_64 5/22 #11 19.57 Installing : libbpf-2:1.4.0-1.el9.x86_64 6/22 #11 19.58 Installing : libmnl-1.0.4-16.el9_4.x86_64 7/22 #11 19.59 Installing : psmisc-23.4-3.el9.x86_64 8/22 #11 19.60 Installing : publicsuffix-list-dafsa-20210518-3.el9.noarch 9/22 #11 19.60 Installing : libpsl-0.21.1-5.el9.x86_64 10/22 #11 19.62 Installing : wget-1.21.1-8.el9_4.x86_64 11/22 #11 19.66 Installing : iproute-6.2.0-6.el9_4.x86_64 12/22 #11 19.68 Installing : rsync-3.2.3-20.el9_5.1.x86_64 13/22 #11 19.74 Upgrading : openssl-1:3.2.2-6.el9_5.1.x86_64 14/22 #11 19.77 Installing : procps-ng-3.3.17-14.el9.x86_64 15/22 #11 19.78 Upgrading : less-590-5.el9.x86_64 16/22 #11 19.79 Cleanup : openssl-1:3.0.7-24.el9.x86_64 17/22 #11 19.80 Cleanup : openssl-libs-1:3.0.7-24.el9.x86_64 18/22 #11 19.81 Cleanup : less-590-2.el9_2.x86_64 19/22 #11 19.82 Cleanup : glibc-2.34-83.el9.7.x86_64 20/22 #11 19.84 Cleanup : glibc-minimal-langpack-2.34-83.el9.7.x86_64 21/22 #11 19.84 Cleanup : glibc-common-2.34-83.el9.7.x86_64 22/22 #11 19.85 Running scriptlet: glibc-common-2.34-83.el9.7.x86_64 22/22 #11 20.06 Verifying : glibc-langpack-en-2.34-125.el9_5.1.x86_64 1/22 #11 20.06 Verifying : iproute-6.2.0-6.el9_4.x86_64 2/22 #11 20.06 Verifying : libbpf-2:1.4.0-1.el9.x86_64 3/22 #11 20.06 Verifying : libmnl-1.0.4-16.el9_4.x86_64 4/22 #11 20.06 Verifying : libpsl-0.21.1-5.el9.x86_64 5/22 #11 20.06 Verifying : procps-ng-3.3.17-14.el9.x86_64 6/22 #11 20.06 Verifying : psmisc-23.4-3.el9.x86_64 7/22 #11 20.06 Verifying : publicsuffix-list-dafsa-20210518-3.el9.noarch 8/22 #11 20.06 Verifying : rsync-3.2.3-20.el9_5.1.x86_64 9/22 #11 20.06 Verifying : wget-1.21.1-8.el9_4.x86_64 10/22 #11 20.06 Verifying : glibc-2.34-125.el9_5.1.x86_64 11/22 #11 20.06 Verifying : glibc-2.34-83.el9.7.x86_64 12/22 #11 20.06 Verifying : glibc-common-2.34-125.el9_5.1.x86_64 13/22 #11 20.06 Verifying : glibc-common-2.34-83.el9.7.x86_64 14/22 #11 20.06 Verifying : glibc-minimal-langpack-2.34-125.el9_5.1.x86_64 15/22 #11 20.06 Verifying : glibc-minimal-langpack-2.34-83.el9.7.x86_64 16/22 #11 20.06 Verifying : less-590-5.el9.x86_64 17/22 #11 20.06 Verifying : less-590-2.el9_2.x86_64 18/22 #11 20.06 Verifying : openssl-1:3.2.2-6.el9_5.1.x86_64 19/22 #11 20.06 Verifying : openssl-1:3.0.7-24.el9.x86_64 20/22 #11 20.06 Verifying : openssl-libs-1:3.2.2-6.el9_5.1.x86_64 21/22 #11 20.06 Verifying : openssl-libs-1:3.0.7-24.el9.x86_64 22/22 #11 20.13 #11 20.13 Upgraded: #11 20.13 glibc-2.34-125.el9_5.1.x86_64 #11 20.13 glibc-common-2.34-125.el9_5.1.x86_64 #11 20.13 glibc-minimal-langpack-2.34-125.el9_5.1.x86_64 #11 20.13 less-590-5.el9.x86_64 #11 20.13 openssl-1:3.2.2-6.el9_5.1.x86_64 #11 20.13 openssl-libs-1:3.2.2-6.el9_5.1.x86_64 #11 20.13 Installed: #11 20.13 glibc-langpack-en-2.34-125.el9_5.1.x86_64 #11 20.13 iproute-6.2.0-6.el9_4.x86_64 #11 20.13 libbpf-2:1.4.0-1.el9.x86_64 #11 20.13 libmnl-1.0.4-16.el9_4.x86_64 #11 20.13 libpsl-0.21.1-5.el9.x86_64 #11 20.13 procps-ng-3.3.17-14.el9.x86_64 #11 20.13 psmisc-23.4-3.el9.x86_64 #11 20.13 publicsuffix-list-dafsa-20210518-3.el9.noarch #11 20.13 rsync-3.2.3-20.el9_5.1.x86_64 #11 20.13 wget-1.21.1-8.el9_4.x86_64 #11 20.13 #11 20.13 Complete! #11 20.78 Last metadata expiration check: 0:00:07 ago on Thu 09 Oct 2025 01:45:28 PM UTC. #11 20.88 Package python3-3.9.18-1.el9_3.x86_64 is already installed. #11 20.92 Dependencies resolved. #11 20.92 ====================================================================================== #11 20.92 Package Arch Version Repository Size #11 20.92 ====================================================================================== #11 20.92 Installing: #11 20.92 python3-pip noarch 21.3.1-1.el9 tf-mirrors.ci_repos_yum9-appstream 1.7 M #11 20.92 Upgrading: #11 20.92 python3 x86_64 3.9.21-1.el9_5 tf-mirrors.ci_repos_yum9-baseos 26 k #11 20.92 python3-libs x86_64 3.9.21-1.el9_5 tf-mirrors.ci_repos_yum9-baseos 7.5 M #11 20.92 Installing weak dependencies: #11 20.92 libxcrypt-compat x86_64 4.4.18-3.el9 tf-mirrors.ci_repos_yum9-appstream 88 k #11 20.92 python3-setuptools noarch 53.0.0-13.el9 tf-mirrors.ci_repos_yum9-baseos 838 k #11 20.92 #11 20.92 Transaction Summary #11 20.92 ====================================================================================== #11 20.92 Install 3 Packages #11 20.92 Upgrade 2 Packages #11 20.92 #11 20.92 Total download size: 10 M #11 20.92 Downloading Packages: #11 20.94 (1/5): libxcrypt-compat-4.4.18-3.el9.x86_64.rpm 3.5 MB/s | 88 kB 00:00 #11 20.95 (2/5): python3-3.9.21-1.el9_5.x86_64.rpm 5.0 MB/s | 26 kB 00:00 #11 20.97 (3/5): python3-setuptools-53.0.0-13.el9.noarch. 17 MB/s | 838 kB 00:00 #11 20.99 (4/5): python3-pip-21.3.1-1.el9.noarch.rpm 24 MB/s | 1.7 MB 00:00 #11 21.08 (5/5): python3-libs-3.9.21-1.el9_5.x86_64.rpm 60 MB/s | 7.5 MB 00:00 #11 21.08 -------------------------------------------------------------------------------- #11 21.08 Total 65 MB/s | 10 MB 00:00 #11 21.08 Running transaction check #11 21.14 Transaction check succeeded. #11 21.14 Running transaction test #11 21.33 Transaction test succeeded. #11 21.33 Running transaction #11 21.53 Preparing : 1/1 #11 22.08 Upgrading : python3-libs-3.9.21-1.el9_5.x86_64 1/7 #11 22.11 Upgrading : python3-3.9.21-1.el9_5.x86_64 2/7 #11 22.19 Installing : python3-setuptools-53.0.0-13.el9.noarch 3/7 #11 22.20 Installing : libxcrypt-compat-4.4.18-3.el9.x86_64 4/7 #11 22.40 Installing : python3-pip-21.3.1-1.el9.noarch 5/7 #11 22.42 Cleanup : python3-3.9.18-1.el9_3.x86_64 6/7 #11 22.47 Cleanup : python3-libs-3.9.18-1.el9_3.x86_64 7/7 #11 22.50 Running scriptlet: python3-libs-3.9.18-1.el9_3.x86_64 7/7 #11 22.88 Verifying : python3-setuptools-53.0.0-13.el9.noarch 1/7 #11 22.88 Verifying : libxcrypt-compat-4.4.18-3.el9.x86_64 2/7 #11 22.88 Verifying : python3-pip-21.3.1-1.el9.noarch 3/7 #11 22.88 Verifying : python3-3.9.21-1.el9_5.x86_64 4/7 #11 22.88 Verifying : python3-3.9.18-1.el9_3.x86_64 5/7 #11 22.88 Verifying : python3-libs-3.9.21-1.el9_5.x86_64 6/7 #11 22.88 Verifying : python3-libs-3.9.18-1.el9_3.x86_64 7/7 #11 22.92 #11 22.92 Upgraded: #11 22.92 python3-3.9.21-1.el9_5.x86_64 python3-libs-3.9.21-1.el9_5.x86_64 #11 22.92 Installed: #11 22.92 libxcrypt-compat-4.4.18-3.el9.x86_64 python3-pip-21.3.1-1.el9.noarch #11 22.92 python3-setuptools-53.0.0-13.el9.noarch #11 22.92 #11 22.92 Complete! #11 23.39 Looking in indexes: http://tf-mirrors.gz1.opensdn.io/root/pypi/+simple/ #11 23.39 Requirement already satisfied: pip in /usr/lib/python3.9/site-packages (21.3.1) #11 23.53 Collecting pip #11 23.54 Downloading http://tf-mirrors.gz1.opensdn.io/root/pypi/%2Bf/6d6/7a2b4e7f14d8b/pip-25.2-py3-none-any.whl (1.8 MB) #11 23.60 Requirement already satisfied: setuptools in /usr/lib/python3.9/site-packages (53.0.0) #11 24.08 Collecting setuptools #11 24.09 Downloading http://tf-mirrors.gz1.opensdn.io/root/pypi/%2Bf/062/d34222ad13e0c/setuptools-80.9.0-py3-none-any.whl (1.2 MB) #11 24.25 Installing collected packages: setuptools, pip #11 26.00 Successfully installed pip-25.2 setuptools-80.9.0 #11 26.00 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 26.47 75 files removed #11 26.57 useradd warning: contrail's uid 1999 is greater than SYS_UID_MAX 999 #11 DONE 26.8s #12 exporting to image #12 exporting layers #12 exporting layers 1.3s done #12 writing image sha256:2f901cad578dadb4e16e0ac207438c792940c223621eb7d2e021591fe233c4fa done #12 naming to nexus.gz1.opensdn.io:5101/opensdn-general-base:master-2_1_9_9-1 done #12 DONE 1.3s 2025-10-09 13:45:43,081: INFO: Docker build duration: 31 seconds The push refers to repository [nexus.gz1.opensdn.io:5101/opensdn-general-base] 18e6e2953bb9: Preparing ce708c633323: Preparing 0d75a56c393d: Preparing 1aac4ef3ee8c: Preparing bc35450c443d: Preparing ac71e67b8894: Preparing 44343de3ea1d: Preparing ac71e67b8894: Waiting 44343de3ea1d: Waiting bc35450c443d: Pushed ce708c633323: Pushed 1aac4ef3ee8c: Pushed 0d75a56c393d: Pushed 44343de3ea1d: Layer already exists ac71e67b8894: Pushed 18e6e2953bb9: Pushed master-2_1_9_9-1: digest: sha256:c4555563e3cc77abf4cc6b41672366597a76d21405d164d7106498c652829df1 size: 1777 2025-10-09 13:45:50,274: INFO: Building opensdn-general-base finished successfully, duration: 38 seconds REPOSITORY TAG IMAGE ID CREATED SIZE nexus.gz1.opensdn.io:5101/opensdn-general-base master-2_1_9_9-1 2f901cad578d 9 seconds ago 278MB nexus.gz1.opensdn.io:5101/opensdn-container-builder-src master-2_1_9_9-1 8789eca30af7 37 seconds ago 2.36MB tf-dev-sandbox compile c7d52000ff26 About a minute ago 24.9GB nexus.gz1.opensdn.io:5101/opensdn-charms-src master-2_1_9_9-1 f6d6dac9378f About an hour ago 6.04MB nexus.gz1.opensdn.io:5101/opensdn-container-builder-src 702e9ace78f9 About an hour ago 2.34MB nexus.gz1.opensdn.io:5101/opensdn-ansible-deployer-src master-2_1_9_9-1 08eec56061e3 About an hour ago 1.39MB nexus.gz1.opensdn.io:5101/opensdn-kolla-ansible-src master-2_1_9_9-1 5c676389f449 About an hour ago 32.6MB nexus.gz1.opensdn.io:5101/opensdn-build-manifest-src master-2_1_9_9-1 91433c190290 About an hour ago 4.17kB nexus.gz1.opensdn.io:5101/tf-dev-sandbox stable 0709a23a6f5d 3 hours ago 2.84GB