#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.087 /bin/sh: warning: setlocale: LC_ALL: cannot change locale (en_US.UTF-8) #11 0.094 total 36 #11 0.094 -rw-r--r--. 1 root root 100 Oct 9 19:13 contrail.repo #11 0.094 -rw-r--r--. 1 root root 2707 Oct 9 20:13 mirror-base-rocky9.repo #11 0.094 -rw-r--r--. 1 root root 217 Oct 9 20:13 mirror-docker9.repo #11 0.094 -rw-r--r--. 1 root root 204 Oct 9 20:13 mirror-epel9.repo #11 0.094 -rw-r--r--. 1 root root 1 Oct 9 20:13 rocky-addons.repo #11 0.094 -rw-r--r--. 1 root root 1 Oct 9 20:13 rocky-devel.repo #11 0.094 -rw-r--r--. 1 root root 1 Oct 9 20:13 rocky-extras.repo #11 0.094 -rw-r--r--. 1 root root 1 Oct 9 20:13 rocky.repo #11 0.094 -rw-r--r--. 1 root root 140 Oct 9 20:13 tpc.repo #11 0.318 Failed to set locale, defaulting to C.UTF-8 #11 0.565 Contrail repo 5.5 kB/s | 257 B 00:00 #11 0.611 added from: http://tf-mirrors.gz1.opensdn.io/re 47 MB/s | 2.1 MB 00:00 #11 0.925 added from: http://tf-mirrors.gz1.opensdn.io/re 22 MB/s | 730 kB 00:00 #11 1.071 added from: http://tf-mirrors.gz1.opensdn.io/re 12 MB/s | 264 kB 00:00 #11 1.235 added from: http://tf-mirrors.gz1.opensdn.io/re 68 MB/s | 7.0 MB 00:00 #11 2.450 added from: http://tf-mirrors.gz1.opensdn.io/re 54 MB/s | 4.0 MB 00:00 #11 3.153 added from: http://tf-mirrors.gz1.opensdn.io/re 26 MB/s | 939 kB 00:00 #11 3.368 added from: http://tf-mirrors.gz1.opensdn.io/re 42 MB/s | 2.3 MB 00:00 #11 3.814 added from: http://tf-mirrors.gz1.opensdn.io/re 15 MB/s | 392 kB 00:00 #11 3.968 added from: http://tf-mirrors.gz1.opensdn.io/re 15 MB/s | 451 kB 00:00 #11 4.115 added from: http://tf-mirrors.gz1.opensdn.io/re 783 kB/s | 16 kB 00:00 #11 4.216 added from: http://tf-mirrors.gz1.opensdn.io/re 12 kB/s | 257 B 00:00 #11 4.316 added from: http://tf-mirrors.gz1.opensdn.io/re 613 kB/s | 13 kB 00:00 #11 4.418 added from: http://tf-mirrors.gz1.opensdn.io/re 2.6 MB/s | 64 kB 00:00 #11 4.792 added from: http://tf-mirrors.gz1.opensdn.io/re 108 MB/s | 30 MB 00:00 #11 10.31 Third parties for OpenSDN 51 MB/s | 5.1 MB 00:00 #11 13.81 No security updates needed for "yum", but 1 update available #11 13.81 No match for argument: update-minimal #11 13.85 Dependencies resolved. #11 13.85 Nothing to do. #11 13.85 Complete! #11 13.96 Failed to set locale, defaulting to C.UTF-8 #11 14.24 Last metadata expiration check: 0:00:04 ago on Thu Oct 9 20:13:24 2025. #11 14.29 Package hostname-3.23-6.el9.x86_64 is already installed. #11 14.29 Package less-590-2.el9_2.x86_64 is already installed. #11 14.29 Package openssl-1:3.0.7-24.el9.x86_64 is already installed. #11 14.32 Dependencies resolved. #11 14.32 ============================================================================================== #11 14.32 Package Arch Version Repository Size #11 14.32 ============================================================================================== #11 14.32 Installing: #11 14.32 glibc-langpack-en x86_64 2.34-125.el9_5.1 tf-mirrors.ci_repos_yum9-baseos 552 k #11 14.32 iproute x86_64 6.2.0-6.el9_4 tf-mirrors.ci_repos_yum9-baseos 786 k #11 14.32 procps-ng x86_64 3.3.17-14.el9 tf-mirrors.ci_repos_yum9-baseos 332 k #11 14.32 rsync x86_64 3.2.3-20.el9_5.1 tf-mirrors.ci_repos_yum9-baseos 391 k #11 14.32 wget x86_64 1.21.1-8.el9_4 tf-mirrors.ci_repos_yum9-appstream 768 k #11 14.32 Upgrading: #11 14.32 glibc x86_64 2.34-125.el9_5.1 tf-mirrors.ci_repos_yum9-baseos 2.0 M #11 14.32 glibc-common x86_64 2.34-125.el9_5.1 tf-mirrors.ci_repos_yum9-baseos 296 k #11 14.32 glibc-minimal-langpack x86_64 2.34-125.el9_5.1 tf-mirrors.ci_repos_yum9-baseos 22 k #11 14.32 less x86_64 590-5.el9 tf-mirrors.ci_repos_yum9-baseos 161 k #11 14.32 openssl x86_64 1:3.2.2-6.el9_5.1 tf-mirrors.ci_repos_yum9-baseos 1.3 M #11 14.32 openssl-libs x86_64 1:3.2.2-6.el9_5.1 tf-mirrors.ci_repos_yum9-baseos 2.4 M #11 14.32 Installing dependencies: #11 14.32 libbpf x86_64 2:1.4.0-1.el9 tf-mirrors.ci_repos_yum9-baseos 177 k #11 14.32 libmnl x86_64 1.0.4-16.el9_4 tf-mirrors.ci_repos_yum9-baseos 27 k #11 14.32 libpsl x86_64 0.21.1-5.el9 tf-mirrors.ci_repos_yum9-baseos 63 k #11 14.32 psmisc x86_64 23.4-3.el9 tf-mirrors.ci_repos_yum9-baseos 226 k #11 14.32 publicsuffix-list-dafsa noarch 20210518-3.el9 tf-mirrors.ci_repos_yum9-baseos 58 k #11 14.32 #11 14.32 Transaction Summary #11 14.32 ============================================================================================== #11 14.32 Install 10 Packages #11 14.32 Upgrade 6 Packages #11 14.32 #11 14.33 Total download size: 9.4 M #11 14.33 Downloading Packages: #11 14.36 (1/16): libbpf-1.4.0-1.el9.x86_64.rpm 5.5 MB/s | 177 kB 00:00 #11 14.37 (2/16): libmnl-1.0.4-16.el9_4.x86_64.rpm 2.8 MB/s | 27 kB 00:00 #11 14.38 (3/16): glibc-langpack-en-2.34-125.el9_5.1.x86_ 11 MB/s | 552 kB 00:00 #11 14.39 (4/16): iproute-6.2.0-6.el9_4.x86_64.rpm 13 MB/s | 786 kB 00:00 #11 14.39 (5/16): libpsl-0.21.1-5.el9.x86_64.rpm 3.2 MB/s | 63 kB 00:00 #11 14.40 (6/16): psmisc-23.4-3.el9.x86_64.rpm 25 MB/s | 226 kB 00:00 #11 14.40 (7/16): publicsuffix-list-dafsa-20210518-3.el9. 6.4 MB/s | 58 kB 00:00 #11 14.40 (8/16): procps-ng-3.3.17-14.el9.x86_64.rpm 12 MB/s | 332 kB 00:00 #11 14.41 (9/16): rsync-3.2.3-20.el9_5.1.x86_64.rpm 22 MB/s | 391 kB 00:00 #11 14.42 (10/16): wget-1.21.1-8.el9_4.x86_64.rpm 29 MB/s | 768 kB 00:00 #11 14.43 (11/16): glibc-common-2.34-125.el9_5.1.x86_64.r 17 MB/s | 296 kB 00:00 #11 14.43 (12/16): glibc-minimal-langpack-2.34-125.el9_5. 2.7 MB/s | 22 kB 00:00 #11 14.44 (13/16): less-590-5.el9.x86_64.rpm 20 MB/s | 161 kB 00:00 #11 14.47 (14/16): glibc-2.34-125.el9_5.1.x86_64.rpm 30 MB/s | 2.0 MB 00:00 #11 14.49 (15/16): openssl-3.2.2-6.el9_5.1.x86_64.rpm 24 MB/s | 1.3 MB 00:00 #11 14.51 (16/16): openssl-libs-3.2.2-6.el9_5.1.x86_64.rp 33 MB/s | 2.4 MB 00:00 #11 14.51 -------------------------------------------------------------------------------- #11 14.51 Total 51 MB/s | 9.4 MB 00:00 #11 14.51 Running transaction check #11 14.83 Transaction check succeeded. #11 14.83 Running transaction test #11 14.96 Transaction test succeeded. #11 14.96 Running transaction #11 15.23 Preparing : 1/1 #11 15.31 Upgrading : glibc-common-2.34-125.el9_5.1.x86_64 1/22 #11 15.32 Upgrading : glibc-minimal-langpack-2.34-125.el9_5.1.x86_64 2/22 #11 15.33 Running scriptlet: glibc-2.34-125.el9_5.1.x86_64 3/22 #11 15.38 Upgrading : glibc-2.34-125.el9_5.1.x86_64 3/22 #11 15.39 Running scriptlet: glibc-2.34-125.el9_5.1.x86_64 3/22 #11 15.54 Installing : glibc-langpack-en-2.34-125.el9_5.1.x86_64 4/22 #11 15.61 Upgrading : openssl-libs-1:3.2.2-6.el9_5.1.x86_64 5/22 #11 15.62 Installing : libbpf-2:1.4.0-1.el9.x86_64 6/22 #11 15.63 Installing : libmnl-1.0.4-16.el9_4.x86_64 7/22 #11 15.64 Installing : psmisc-23.4-3.el9.x86_64 8/22 #11 15.65 Installing : publicsuffix-list-dafsa-20210518-3.el9.noarch 9/22 #11 15.65 Installing : libpsl-0.21.1-5.el9.x86_64 10/22 #11 15.67 Installing : wget-1.21.1-8.el9_4.x86_64 11/22 #11 15.70 Installing : iproute-6.2.0-6.el9_4.x86_64 12/22 #11 15.71 Installing : rsync-3.2.3-20.el9_5.1.x86_64 13/22 #11 15.76 Upgrading : openssl-1:3.2.2-6.el9_5.1.x86_64 14/22 #11 15.78 Installing : procps-ng-3.3.17-14.el9.x86_64 15/22 #11 15.79 Upgrading : less-590-5.el9.x86_64 16/22 #11 15.80 Cleanup : openssl-1:3.0.7-24.el9.x86_64 17/22 #11 15.81 Cleanup : openssl-libs-1:3.0.7-24.el9.x86_64 18/22 #11 15.82 Cleanup : less-590-2.el9_2.x86_64 19/22 #11 15.83 Cleanup : glibc-2.34-83.el9.7.x86_64 20/22 #11 15.84 Cleanup : glibc-minimal-langpack-2.34-83.el9.7.x86_64 21/22 #11 15.84 Cleanup : glibc-common-2.34-83.el9.7.x86_64 22/22 #11 15.85 Running scriptlet: glibc-common-2.34-83.el9.7.x86_64 22/22 #11 16.03 Verifying : glibc-langpack-en-2.34-125.el9_5.1.x86_64 1/22 #11 16.03 Verifying : iproute-6.2.0-6.el9_4.x86_64 2/22 #11 16.03 Verifying : libbpf-2:1.4.0-1.el9.x86_64 3/22 #11 16.03 Verifying : libmnl-1.0.4-16.el9_4.x86_64 4/22 #11 16.03 Verifying : libpsl-0.21.1-5.el9.x86_64 5/22 #11 16.03 Verifying : procps-ng-3.3.17-14.el9.x86_64 6/22 #11 16.03 Verifying : psmisc-23.4-3.el9.x86_64 7/22 #11 16.03 Verifying : publicsuffix-list-dafsa-20210518-3.el9.noarch 8/22 #11 16.03 Verifying : rsync-3.2.3-20.el9_5.1.x86_64 9/22 #11 16.03 Verifying : wget-1.21.1-8.el9_4.x86_64 10/22 #11 16.03 Verifying : glibc-2.34-125.el9_5.1.x86_64 11/22 #11 16.03 Verifying : glibc-2.34-83.el9.7.x86_64 12/22 #11 16.03 Verifying : glibc-common-2.34-125.el9_5.1.x86_64 13/22 #11 16.03 Verifying : glibc-common-2.34-83.el9.7.x86_64 14/22 #11 16.03 Verifying : glibc-minimal-langpack-2.34-125.el9_5.1.x86_64 15/22 #11 16.03 Verifying : glibc-minimal-langpack-2.34-83.el9.7.x86_64 16/22 #11 16.03 Verifying : less-590-5.el9.x86_64 17/22 #11 16.03 Verifying : less-590-2.el9_2.x86_64 18/22 #11 16.03 Verifying : openssl-1:3.2.2-6.el9_5.1.x86_64 19/22 #11 16.03 Verifying : openssl-1:3.0.7-24.el9.x86_64 20/22 #11 16.03 Verifying : openssl-libs-1:3.2.2-6.el9_5.1.x86_64 21/22 #11 16.03 Verifying : openssl-libs-1:3.0.7-24.el9.x86_64 22/22 #11 16.09 #11 16.09 Upgraded: #11 16.09 glibc-2.34-125.el9_5.1.x86_64 #11 16.09 glibc-common-2.34-125.el9_5.1.x86_64 #11 16.09 glibc-minimal-langpack-2.34-125.el9_5.1.x86_64 #11 16.09 less-590-5.el9.x86_64 #11 16.09 openssl-1:3.2.2-6.el9_5.1.x86_64 #11 16.09 openssl-libs-1:3.2.2-6.el9_5.1.x86_64 #11 16.09 Installed: #11 16.09 glibc-langpack-en-2.34-125.el9_5.1.x86_64 #11 16.09 iproute-6.2.0-6.el9_4.x86_64 #11 16.09 libbpf-2:1.4.0-1.el9.x86_64 #11 16.09 libmnl-1.0.4-16.el9_4.x86_64 #11 16.09 libpsl-0.21.1-5.el9.x86_64 #11 16.09 procps-ng-3.3.17-14.el9.x86_64 #11 16.09 psmisc-23.4-3.el9.x86_64 #11 16.09 publicsuffix-list-dafsa-20210518-3.el9.noarch #11 16.09 rsync-3.2.3-20.el9_5.1.x86_64 #11 16.09 wget-1.21.1-8.el9_4.x86_64 #11 16.09 #11 16.09 Complete! #11 16.54 Last metadata expiration check: 0:00:06 ago on Thu 09 Oct 2025 08:13:24 PM UTC. #11 16.60 Package python3-3.9.18-1.el9_3.x86_64 is already installed. #11 16.63 Dependencies resolved. #11 16.64 ====================================================================================== #11 16.64 Package Arch Version Repository Size #11 16.64 ====================================================================================== #11 16.64 Installing: #11 16.64 python3-pip noarch 21.3.1-1.el9 tf-mirrors.ci_repos_yum9-appstream 1.7 M #11 16.64 Upgrading: #11 16.64 python3 x86_64 3.9.21-1.el9_5 tf-mirrors.ci_repos_yum9-baseos 26 k #11 16.64 python3-libs x86_64 3.9.21-1.el9_5 tf-mirrors.ci_repos_yum9-baseos 7.5 M #11 16.64 Installing weak dependencies: #11 16.64 libxcrypt-compat x86_64 4.4.18-3.el9 tf-mirrors.ci_repos_yum9-appstream 88 k #11 16.64 python3-setuptools noarch 53.0.0-13.el9 tf-mirrors.ci_repos_yum9-baseos 838 k #11 16.64 #11 16.64 Transaction Summary #11 16.64 ====================================================================================== #11 16.64 Install 3 Packages #11 16.64 Upgrade 2 Packages #11 16.64 #11 16.64 Total download size: 10 M #11 16.64 Downloading Packages: #11 16.66 (1/5): libxcrypt-compat-4.4.18-3.el9.x86_64.rpm 4.0 MB/s | 88 kB 00:00 #11 16.67 (2/5): python3-3.9.21-1.el9_5.x86_64.rpm 4.0 MB/s | 26 kB 00:00 #11 16.68 (3/5): python3-setuptools-53.0.0-13.el9.noarch. 20 MB/s | 838 kB 00:00 #11 16.70 (4/5): python3-pip-21.3.1-1.el9.noarch.rpm 29 MB/s | 1.7 MB 00:00 #11 16.94 (5/5): python3-libs-3.9.21-1.el9_5.x86_64.rpm 27 MB/s | 7.5 MB 00:00 #11 16.94 -------------------------------------------------------------------------------- #11 16.94 Total 33 MB/s | 10 MB 00:00 #11 16.94 Running transaction check #11 16.98 Transaction check succeeded. #11 16.98 Running transaction test #11 17.13 Transaction test succeeded. #11 17.13 Running transaction #11 17.28 Preparing : 1/1 #11 17.68 Upgrading : python3-libs-3.9.21-1.el9_5.x86_64 1/7 #11 17.72 Upgrading : python3-3.9.21-1.el9_5.x86_64 2/7 #11 17.79 Installing : python3-setuptools-53.0.0-13.el9.noarch 3/7 #11 17.80 Installing : libxcrypt-compat-4.4.18-3.el9.x86_64 4/7 #11 17.96 Installing : python3-pip-21.3.1-1.el9.noarch 5/7 #11 17.99 Cleanup : python3-3.9.18-1.el9_3.x86_64 6/7 #11 18.03 Cleanup : python3-libs-3.9.18-1.el9_3.x86_64 7/7 #11 18.05 Running scriptlet: python3-libs-3.9.18-1.el9_3.x86_64 7/7 #11 18.47 Verifying : python3-setuptools-53.0.0-13.el9.noarch 1/7 #11 18.47 Verifying : libxcrypt-compat-4.4.18-3.el9.x86_64 2/7 #11 18.47 Verifying : python3-pip-21.3.1-1.el9.noarch 3/7 #11 18.47 Verifying : python3-3.9.21-1.el9_5.x86_64 4/7 #11 18.47 Verifying : python3-3.9.18-1.el9_3.x86_64 5/7 #11 18.47 Verifying : python3-libs-3.9.21-1.el9_5.x86_64 6/7 #11 18.47 Verifying : python3-libs-3.9.18-1.el9_3.x86_64 7/7 #11 18.50 #11 18.50 Upgraded: #11 18.50 python3-3.9.21-1.el9_5.x86_64 python3-libs-3.9.21-1.el9_5.x86_64 #11 18.50 Installed: #11 18.50 libxcrypt-compat-4.4.18-3.el9.x86_64 python3-pip-21.3.1-1.el9.noarch #11 18.50 python3-setuptools-53.0.0-13.el9.noarch #11 18.50 #11 18.50 Complete! #11 18.89 Looking in indexes: http://tf-mirrors.gz1.opensdn.io/root/pypi/+simple/ #11 18.89 Requirement already satisfied: pip in /usr/lib/python3.9/site-packages (21.3.1) #11 19.00 Collecting pip #11 19.01 Downloading http://tf-mirrors.gz1.opensdn.io/root/pypi/%2Bf/6d6/7a2b4e7f14d8b/pip-25.2-py3-none-any.whl (1.8 MB) #11 19.07 Requirement already satisfied: setuptools in /usr/lib/python3.9/site-packages (53.0.0) #11 19.47 Collecting setuptools #11 19.48 Downloading http://tf-mirrors.gz1.opensdn.io/root/pypi/%2Bf/062/d34222ad13e0c/setuptools-80.9.0-py3-none-any.whl (1.2 MB) #11 19.62 Installing collected packages: setuptools, pip #11 20.90 Successfully installed pip-25.2 setuptools-80.9.0 #11 20.90 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 21.21 80 files removed #11 21.27 useradd warning: contrail's uid 1999 is greater than SYS_UID_MAX 999 #11 DONE 21.4s #12 exporting to image #12 exporting layers #12 exporting layers 1.0s done #12 writing image sha256:72f8139e609199fdba0c30bf5398175435db49b72cbf841ff8154c5d5870a941 done #12 naming to nexus.gz1.opensdn.io:5101/opensdn-general-base:master-2_2_2_6-1 done #12 DONE 1.0s 2025-10-09 20:13:36,567: INFO: Docker build duration: 25 seconds The push refers to repository [nexus.gz1.opensdn.io:5101/opensdn-general-base] 6e1082209124: Preparing 240262911a73: Preparing a5820b570bd0: Preparing d0d68394386a: Preparing c184a0a4eedc: Preparing 103cddb4a440: Preparing 44343de3ea1d: Preparing 103cddb4a440: Waiting 44343de3ea1d: Waiting 240262911a73: Pushed a5820b570bd0: Pushed d0d68394386a: Pushed 44343de3ea1d: Layer already exists c184a0a4eedc: Pushed 103cddb4a440: Pushed 6e1082209124: Pushed master-2_2_2_6-1: digest: sha256:710df951cd111dfa01e4d2d17f62d9ce9f536d3c27aaf3dd0aa44355a87ab747 size: 1777 2025-10-09 20:13:42,238: 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_2_2_6-1 72f8139e6091 7 seconds ago 278MB nexus.gz1.opensdn.io:5101/opensdn-container-builder-src master-2_2_2_6-1 73a222cddc69 30 seconds ago 2.35MB tf-dev-sandbox compile 675b41df6048 About a minute ago 24.9GB nexus.gz1.opensdn.io:5101/opensdn-charms-src master-2_2_2_6-1 f7462f7e8b12 About an hour ago 6.04MB nexus.gz1.opensdn.io:5101/opensdn-ansible-deployer-src master-2_2_2_6-1 ceb6a9a2ba32 About an hour ago 1.39MB nexus.gz1.opensdn.io:5101/opensdn-kolla-ansible-src master-2_2_2_6-1 61e721461ec1 About an hour ago 32.6MB nexus.gz1.opensdn.io:5101/opensdn-container-builder-src e9fce5d088c3 About an hour ago 2.33MB nexus.gz1.opensdn.io:5101/opensdn-build-manifest-src master-2_2_2_6-1 c19d97af8235 About an hour ago 4.17kB nexus.gz1.opensdn.io:5101/tf-dev-sandbox stable 0709a23a6f5d 9 hours ago 2.84GB