#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.096 /bin/sh: warning: setlocale: LC_ALL: cannot change locale (en_US.UTF-8) #11 0.101 total 36 #11 0.101 -rw-r--r--. 1 root root 100 Sep 23 11:54 contrail.repo #11 0.101 -rw-r--r--. 1 root root 2707 Sep 23 12:01 mirror-base-rocky9.repo #11 0.101 -rw-r--r--. 1 root root 217 Sep 23 12:01 mirror-docker9.repo #11 0.101 -rw-r--r--. 1 root root 204 Sep 23 12:01 mirror-epel9.repo #11 0.101 -rw-r--r--. 1 root root 1 Sep 23 12:01 rocky-addons.repo #11 0.101 -rw-r--r--. 1 root root 1 Sep 23 12:01 rocky-devel.repo #11 0.101 -rw-r--r--. 1 root root 1 Sep 23 12:01 rocky-extras.repo #11 0.101 -rw-r--r--. 1 root root 1 Sep 23 12:01 rocky.repo #11 0.101 -rw-r--r--. 1 root root 140 Sep 23 12:01 tpc.repo #11 0.298 Failed to set locale, defaulting to C.UTF-8 #11 0.535 Contrail repo 48 kB/s | 945 B 00:00 #11 0.586 added from: http://tf-mirrors.gz1.opensdn.io/re 43 MB/s | 2.1 MB 00:00 #11 0.954 added from: http://tf-mirrors.gz1.opensdn.io/re 24 MB/s | 730 kB 00:00 #11 1.121 added from: http://tf-mirrors.gz1.opensdn.io/re 12 MB/s | 264 kB 00:00 #11 1.279 added from: http://tf-mirrors.gz1.opensdn.io/re 77 MB/s | 7.0 MB 00:00 #11 2.649 added from: http://tf-mirrors.gz1.opensdn.io/re 61 MB/s | 4.0 MB 00:00 #11 3.440 added from: http://tf-mirrors.gz1.opensdn.io/re 30 MB/s | 939 kB 00:00 #11 3.665 added from: http://tf-mirrors.gz1.opensdn.io/re 46 MB/s | 2.3 MB 00:00 #11 4.167 added from: http://tf-mirrors.gz1.opensdn.io/re 14 MB/s | 392 kB 00:00 #11 4.332 added from: http://tf-mirrors.gz1.opensdn.io/re 19 MB/s | 451 kB 00:00 #11 4.485 added from: http://tf-mirrors.gz1.opensdn.io/re 859 kB/s | 16 kB 00:00 #11 4.590 added from: http://tf-mirrors.gz1.opensdn.io/re 14 kB/s | 257 B 00:00 #11 4.695 added from: http://tf-mirrors.gz1.opensdn.io/re 693 kB/s | 13 kB 00:00 #11 4.802 added from: http://tf-mirrors.gz1.opensdn.io/re 3.2 MB/s | 64 kB 00:00 #11 5.180 added from: http://tf-mirrors.gz1.opensdn.io/re 113 MB/s | 30 MB 00:00 #11 11.37 Third parties for OpenSDN 56 MB/s | 5.4 MB 00:00 #11 15.25 No security updates needed for "yum", but 1 update available #11 15.26 No match for argument: update-minimal #11 15.30 Dependencies resolved. #11 15.30 Nothing to do. #11 15.30 Complete! #11 15.43 Failed to set locale, defaulting to C.UTF-8 #11 15.79 Last metadata expiration check: 0:00:04 ago on Tue Sep 23 12:02:02 2025. #11 15.86 Package hostname-3.23-6.el9.x86_64 is already installed. #11 15.86 Package less-590-2.el9_2.x86_64 is already installed. #11 15.87 Package openssl-1:3.0.7-24.el9.x86_64 is already installed. #11 15.90 Dependencies resolved. #11 15.90 ============================================================================================== #11 15.90 Package Arch Version Repository Size #11 15.90 ============================================================================================== #11 15.90 Installing: #11 15.90 glibc-langpack-en x86_64 2.34-125.el9_5.1 tf-mirrors.ci_repos_yum9-baseos 552 k #11 15.90 iproute x86_64 6.2.0-6.el9_4 tf-mirrors.ci_repos_yum9-baseos 786 k #11 15.90 procps-ng x86_64 3.3.17-14.el9 tf-mirrors.ci_repos_yum9-baseos 332 k #11 15.90 rsync x86_64 3.2.3-20.el9_5.1 tf-mirrors.ci_repos_yum9-baseos 391 k #11 15.90 wget x86_64 1.21.1-8.el9_4 tf-mirrors.ci_repos_yum9-appstream 768 k #11 15.90 Upgrading: #11 15.90 glibc x86_64 2.34-125.el9_5.1 tf-mirrors.ci_repos_yum9-baseos 2.0 M #11 15.90 glibc-common x86_64 2.34-125.el9_5.1 tf-mirrors.ci_repos_yum9-baseos 296 k #11 15.90 glibc-minimal-langpack x86_64 2.34-125.el9_5.1 tf-mirrors.ci_repos_yum9-baseos 22 k #11 15.90 less x86_64 590-5.el9 tf-mirrors.ci_repos_yum9-baseos 161 k #11 15.90 openssl x86_64 1:3.2.2-6.el9_5.1 tf-mirrors.ci_repos_yum9-baseos 1.3 M #11 15.90 openssl-libs x86_64 1:3.2.2-6.el9_5.1 tf-mirrors.ci_repos_yum9-baseos 2.4 M #11 15.90 Installing dependencies: #11 15.90 libbpf x86_64 2:1.4.0-1.el9 tf-mirrors.ci_repos_yum9-baseos 177 k #11 15.90 libmnl x86_64 1.0.4-16.el9_4 tf-mirrors.ci_repos_yum9-baseos 27 k #11 15.90 libpsl x86_64 0.21.1-5.el9 tf-mirrors.ci_repos_yum9-baseos 63 k #11 15.90 psmisc x86_64 23.4-3.el9 tf-mirrors.ci_repos_yum9-baseos 226 k #11 15.90 publicsuffix-list-dafsa noarch 20210518-3.el9 tf-mirrors.ci_repos_yum9-baseos 58 k #11 15.90 #11 15.90 Transaction Summary #11 15.90 ============================================================================================== #11 15.90 Install 10 Packages #11 15.90 Upgrade 6 Packages #11 15.90 #11 15.90 Total download size: 9.4 M #11 15.90 Downloading Packages: #11 15.93 (1/16): glibc-langpack-en-2.34-125.el9_5.1.x86_ 21 MB/s | 552 kB 00:00 #11 15.94 (2/16): libbpf-1.4.0-1.el9.x86_64.rpm 5.5 MB/s | 177 kB 00:00 #11 15.94 (3/16): libmnl-1.0.4-16.el9_4.x86_64.rpm 3.3 MB/s | 27 kB 00:00 #11 15.94 (4/16): libpsl-0.21.1-5.el9.x86_64.rpm 13 MB/s | 63 kB 00:00 #11 15.95 (5/16): iproute-6.2.0-6.el9_4.x86_64.rpm 16 MB/s | 786 kB 00:00 #11 15.96 (6/16): procps-ng-3.3.17-14.el9.x86_64.rpm 17 MB/s | 332 kB 00:00 #11 15.96 (7/16): psmisc-23.4-3.el9.x86_64.rpm 11 MB/s | 226 kB 00:00 #11 15.97 (8/16): publicsuffix-list-dafsa-20210518-3.el9. 4.5 MB/s | 58 kB 00:00 #11 15.98 (9/16): rsync-3.2.3-20.el9_5.1.x86_64.rpm 27 MB/s | 391 kB 00:00 #11 15.98 (10/16): glibc-common-2.34-125.el9_5.1.x86_64.r 35 MB/s | 296 kB 00:00 #11 15.99 (11/16): wget-1.21.1-8.el9_4.x86_64.rpm 29 MB/s | 768 kB 00:00 #11 16.00 (12/16): glibc-minimal-langpack-2.34-125.el9_5. 1.7 MB/s | 22 kB 00:00 #11 16.00 (13/16): less-590-5.el9.x86_64.rpm 27 MB/s | 161 kB 00:00 #11 16.02 (14/16): glibc-2.34-125.el9_5.1.x86_64.rpm 37 MB/s | 2.0 MB 00:00 #11 16.04 (15/16): openssl-3.2.2-6.el9_5.1.x86_64.rpm 32 MB/s | 1.3 MB 00:00 #11 16.06 (16/16): openssl-libs-3.2.2-6.el9_5.1.x86_64.rp 38 MB/s | 2.4 MB 00:00 #11 16.06 -------------------------------------------------------------------------------- #11 16.06 Total 59 MB/s | 9.4 MB 00:00 #11 16.06 Running transaction check #11 16.44 Transaction check succeeded. #11 16.44 Running transaction test #11 16.60 Transaction test succeeded. #11 16.60 Running transaction #11 16.86 Preparing : 1/1 #11 16.95 Upgrading : glibc-common-2.34-125.el9_5.1.x86_64 1/22 #11 16.96 Upgrading : glibc-minimal-langpack-2.34-125.el9_5.1.x86_64 2/22 #11 16.96 Running scriptlet: glibc-2.34-125.el9_5.1.x86_64 3/22 #11 17.02 Upgrading : glibc-2.34-125.el9_5.1.x86_64 3/22 #11 17.03 Running scriptlet: glibc-2.34-125.el9_5.1.x86_64 3/22 #11 17.18 Installing : glibc-langpack-en-2.34-125.el9_5.1.x86_64 4/22 #11 17.24 Upgrading : openssl-libs-1:3.2.2-6.el9_5.1.x86_64 5/22 #11 17.26 Installing : libbpf-2:1.4.0-1.el9.x86_64 6/22 #11 17.26 Installing : libmnl-1.0.4-16.el9_4.x86_64 7/22 #11 17.27 Installing : psmisc-23.4-3.el9.x86_64 8/22 #11 17.28 Installing : publicsuffix-list-dafsa-20210518-3.el9.noarch 9/22 #11 17.28 Installing : libpsl-0.21.1-5.el9.x86_64 10/22 #11 17.30 Installing : wget-1.21.1-8.el9_4.x86_64 11/22 #11 17.33 Installing : iproute-6.2.0-6.el9_4.x86_64 12/22 #11 17.34 Installing : rsync-3.2.3-20.el9_5.1.x86_64 13/22 #11 17.39 Upgrading : openssl-1:3.2.2-6.el9_5.1.x86_64 14/22 #11 17.41 Installing : procps-ng-3.3.17-14.el9.x86_64 15/22 #11 17.43 Upgrading : less-590-5.el9.x86_64 16/22 #11 17.44 Cleanup : openssl-1:3.0.7-24.el9.x86_64 17/22 #11 17.44 Cleanup : openssl-libs-1:3.0.7-24.el9.x86_64 18/22 #11 17.45 Cleanup : less-590-2.el9_2.x86_64 19/22 #11 17.46 Cleanup : glibc-2.34-83.el9.7.x86_64 20/22 #11 17.47 Cleanup : glibc-minimal-langpack-2.34-83.el9.7.x86_64 21/22 #11 17.47 Cleanup : glibc-common-2.34-83.el9.7.x86_64 22/22 #11 17.48 Running scriptlet: glibc-common-2.34-83.el9.7.x86_64 22/22 #11 17.66 Verifying : glibc-langpack-en-2.34-125.el9_5.1.x86_64 1/22 #11 17.66 Verifying : iproute-6.2.0-6.el9_4.x86_64 2/22 #11 17.66 Verifying : libbpf-2:1.4.0-1.el9.x86_64 3/22 #11 17.66 Verifying : libmnl-1.0.4-16.el9_4.x86_64 4/22 #11 17.66 Verifying : libpsl-0.21.1-5.el9.x86_64 5/22 #11 17.66 Verifying : procps-ng-3.3.17-14.el9.x86_64 6/22 #11 17.66 Verifying : psmisc-23.4-3.el9.x86_64 7/22 #11 17.66 Verifying : publicsuffix-list-dafsa-20210518-3.el9.noarch 8/22 #11 17.66 Verifying : rsync-3.2.3-20.el9_5.1.x86_64 9/22 #11 17.66 Verifying : wget-1.21.1-8.el9_4.x86_64 10/22 #11 17.66 Verifying : glibc-2.34-125.el9_5.1.x86_64 11/22 #11 17.66 Verifying : glibc-2.34-83.el9.7.x86_64 12/22 #11 17.66 Verifying : glibc-common-2.34-125.el9_5.1.x86_64 13/22 #11 17.66 Verifying : glibc-common-2.34-83.el9.7.x86_64 14/22 #11 17.66 Verifying : glibc-minimal-langpack-2.34-125.el9_5.1.x86_64 15/22 #11 17.66 Verifying : glibc-minimal-langpack-2.34-83.el9.7.x86_64 16/22 #11 17.66 Verifying : less-590-5.el9.x86_64 17/22 #11 17.66 Verifying : less-590-2.el9_2.x86_64 18/22 #11 17.66 Verifying : openssl-1:3.2.2-6.el9_5.1.x86_64 19/22 #11 17.66 Verifying : openssl-1:3.0.7-24.el9.x86_64 20/22 #11 17.66 Verifying : openssl-libs-1:3.2.2-6.el9_5.1.x86_64 21/22 #11 17.66 Verifying : openssl-libs-1:3.0.7-24.el9.x86_64 22/22 #11 17.71 #11 17.71 Upgraded: #11 17.71 glibc-2.34-125.el9_5.1.x86_64 #11 17.71 glibc-common-2.34-125.el9_5.1.x86_64 #11 17.71 glibc-minimal-langpack-2.34-125.el9_5.1.x86_64 #11 17.71 less-590-5.el9.x86_64 #11 17.71 openssl-1:3.2.2-6.el9_5.1.x86_64 #11 17.71 openssl-libs-1:3.2.2-6.el9_5.1.x86_64 #11 17.71 Installed: #11 17.71 glibc-langpack-en-2.34-125.el9_5.1.x86_64 #11 17.71 iproute-6.2.0-6.el9_4.x86_64 #11 17.71 libbpf-2:1.4.0-1.el9.x86_64 #11 17.71 libmnl-1.0.4-16.el9_4.x86_64 #11 17.71 libpsl-0.21.1-5.el9.x86_64 #11 17.71 procps-ng-3.3.17-14.el9.x86_64 #11 17.71 psmisc-23.4-3.el9.x86_64 #11 17.71 publicsuffix-list-dafsa-20210518-3.el9.noarch #11 17.71 rsync-3.2.3-20.el9_5.1.x86_64 #11 17.71 wget-1.21.1-8.el9_4.x86_64 #11 17.71 #11 17.71 Complete! #11 18.22 Last metadata expiration check: 0:00:07 ago on Tue 23 Sep 2025 12:02:02 PM UTC. #11 18.28 Package python3-3.9.18-1.el9_3.x86_64 is already installed. #11 18.32 Dependencies resolved. #11 18.32 ====================================================================================== #11 18.32 Package Arch Version Repository Size #11 18.32 ====================================================================================== #11 18.32 Installing: #11 18.32 python3-pip noarch 21.3.1-1.el9 tf-mirrors.ci_repos_yum9-appstream 1.7 M #11 18.32 Upgrading: #11 18.32 python3 x86_64 3.9.21-1.el9_5 tf-mirrors.ci_repos_yum9-baseos 26 k #11 18.32 python3-libs x86_64 3.9.21-1.el9_5 tf-mirrors.ci_repos_yum9-baseos 7.5 M #11 18.32 Installing weak dependencies: #11 18.32 libxcrypt-compat x86_64 4.4.18-3.el9 tf-mirrors.ci_repos_yum9-appstream 88 k #11 18.32 python3-setuptools noarch 53.0.0-13.el9 tf-mirrors.ci_repos_yum9-baseos 838 k #11 18.32 #11 18.32 Transaction Summary #11 18.32 ====================================================================================== #11 18.32 Install 3 Packages #11 18.32 Upgrade 2 Packages #11 18.32 #11 18.32 Total download size: 10 M #11 18.32 Downloading Packages: #11 18.34 (1/5): libxcrypt-compat-4.4.18-3.el9.x86_64.rpm 4.9 MB/s | 88 kB 00:00 #11 18.35 (2/5): python3-3.9.21-1.el9_5.x86_64.rpm 5.3 MB/s | 26 kB 00:00 #11 18.36 (3/5): python3-setuptools-53.0.0-13.el9.noarch. 22 MB/s | 838 kB 00:00 #11 18.38 (4/5): python3-pip-21.3.1-1.el9.noarch.rpm 30 MB/s | 1.7 MB 00:00 #11 18.45 (5/5): python3-libs-3.9.21-1.el9_5.x86_64.rpm 71 MB/s | 7.5 MB 00:00 #11 18.45 -------------------------------------------------------------------------------- #11 18.45 Total 78 MB/s | 10 MB 00:00 #11 18.45 Running transaction check #11 18.49 Transaction check succeeded. #11 18.49 Running transaction test #11 18.71 Transaction test succeeded. #11 18.71 Running transaction #11 18.88 Preparing : 1/1 #11 19.39 Upgrading : python3-libs-3.9.21-1.el9_5.x86_64 1/7 #11 19.42 Upgrading : python3-3.9.21-1.el9_5.x86_64 2/7 #11 19.49 Installing : python3-setuptools-53.0.0-13.el9.noarch 3/7 #11 19.51 Installing : libxcrypt-compat-4.4.18-3.el9.x86_64 4/7 #11 19.69 Installing : python3-pip-21.3.1-1.el9.noarch 5/7 #11 19.71 Cleanup : python3-3.9.18-1.el9_3.x86_64 6/7 #11 19.76 Cleanup : python3-libs-3.9.18-1.el9_3.x86_64 7/7 #11 19.78 Running scriptlet: python3-libs-3.9.18-1.el9_3.x86_64 7/7 #11 20.12 Verifying : python3-setuptools-53.0.0-13.el9.noarch 1/7 #11 20.12 Verifying : libxcrypt-compat-4.4.18-3.el9.x86_64 2/7 #11 20.12 Verifying : python3-pip-21.3.1-1.el9.noarch 3/7 #11 20.12 Verifying : python3-3.9.21-1.el9_5.x86_64 4/7 #11 20.12 Verifying : python3-3.9.18-1.el9_3.x86_64 5/7 #11 20.12 Verifying : python3-libs-3.9.21-1.el9_5.x86_64 6/7 #11 20.12 Verifying : python3-libs-3.9.18-1.el9_3.x86_64 7/7 #11 20.14 #11 20.14 Upgraded: #11 20.14 python3-3.9.21-1.el9_5.x86_64 python3-libs-3.9.21-1.el9_5.x86_64 #11 20.14 Installed: #11 20.14 libxcrypt-compat-4.4.18-3.el9.x86_64 python3-pip-21.3.1-1.el9.noarch #11 20.14 python3-setuptools-53.0.0-13.el9.noarch #11 20.14 #11 20.14 Complete! #11 20.57 Looking in indexes: http://tf-mirrors.gz1.opensdn.io/root/pypi/+simple/ #11 20.57 Requirement already satisfied: pip in /usr/lib/python3.9/site-packages (21.3.1) #11 20.70 Collecting pip #11 20.72 Downloading http://tf-mirrors.gz1.opensdn.io/root/pypi/%2Bf/6d6/7a2b4e7f14d8b/pip-25.2-py3-none-any.whl (1.8 MB) #11 20.77 Requirement already satisfied: setuptools in /usr/lib/python3.9/site-packages (53.0.0) #11 21.24 Collecting setuptools #11 21.25 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.39 Installing collected packages: setuptools, pip #11 23.09 Successfully installed pip-25.2 setuptools-80.9.0 #11 23.09 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.46 80 files removed #11 23.53 useradd warning: contrail's uid 1999 is greater than SYS_UID_MAX 999 #11 DONE 23.8s #12 exporting to image #12 exporting layers #12 exporting layers 1.1s done #12 writing image sha256:dd3a10feca98f93aac50429049e713ba836f8619595efceb9201cb34009f398e done #12 naming to nexus.gz1.opensdn.io:5101/opensdn-general-base:master-2_1_1_7-4 done #12 DONE 1.1s 2025-09-23 12:02:16,153: INFO: Docker build duration: 28 seconds The push refers to repository [nexus.gz1.opensdn.io:5101/opensdn-general-base] fb9e5b02f72a: Preparing 2929527b6a5d: Preparing 0d0d19f855b0: Preparing 01c75ae51992: Preparing 1ad7715b5cef: Preparing c37adb2e912d: Preparing 44343de3ea1d: Preparing c37adb2e912d: Waiting 44343de3ea1d: Waiting 01c75ae51992: Pushed 2929527b6a5d: Pushed 1ad7715b5cef: Pushed 0d0d19f855b0: Pushed 44343de3ea1d: Layer already exists c37adb2e912d: Pushed fb9e5b02f72a: Pushed master-2_1_1_7-4: digest: sha256:ed9f10ad2fad552c4dc7cf5b3f971920e9a070a30cae5a274826f1d4944f97fe size: 1777 2025-09-23 12:02:22,473: 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_1_7-4 dd3a10feca98 8 seconds ago 278MB nexus.gz1.opensdn.io:5101/opensdn-container-builder-src master-2_1_1_7-4 1335deba5620 33 seconds ago 2.32MB tf-dev-sandbox compile 4c5a016e35d6 About a minute ago 32.5GB nexus.gz1.opensdn.io:5101/opensdn-charms-src master-2_1_1_7-4 adbd460094ac 8 minutes ago 6.04MB nexus.gz1.opensdn.io:5101/opensdn-container-builder-src 9148d3fb9a98 8 minutes ago 2.31MB nexus.gz1.opensdn.io:5101/opensdn-ansible-deployer-src master-2_1_1_7-4 998dc4ea0f66 8 minutes ago 1.39MB nexus.gz1.opensdn.io:5101/opensdn-build-manifest-src master-2_1_1_7-4 8cae22e286ca 8 minutes ago 4.53kB nexus.gz1.opensdn.io:5101/opensdn-kolla-ansible-src master-2_1_1_7-4 bd27795f97c2 8 minutes ago 32.6MB nexus.gz1.opensdn.io:5101/tf-dev-sandbox frozen b6100f16428f 7 hours ago 20.9GB