#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 ; 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.102 /bin/sh: warning: setlocale: LC_ALL: cannot change locale (en_US.UTF-8) #11 0.108 total 36 #11 0.108 -rw-r--r--. 1 root root 100 Aug 29 08:45 contrail.repo #11 0.108 -rw-r--r--. 1 root root 2707 Aug 29 08:46 mirror-base-rocky9.repo #11 0.108 -rw-r--r--. 1 root root 217 Aug 29 08:46 mirror-docker9.repo #11 0.108 -rw-r--r--. 1 root root 204 Aug 29 08:46 mirror-epel9.repo #11 0.108 -rw-r--r--. 1 root root 1 Aug 29 08:46 rocky-addons.repo #11 0.108 -rw-r--r--. 1 root root 1 Aug 29 08:46 rocky-devel.repo #11 0.108 -rw-r--r--. 1 root root 1 Aug 29 08:46 rocky-extras.repo #11 0.108 -rw-r--r--. 1 root root 1 Aug 29 08:46 rocky.repo #11 0.108 -rw-r--r--. 1 root root 140 Aug 29 08:46 tpc.repo #11 0.321 Failed to set locale, defaulting to C.UTF-8 #11 0.566 Contrail repo 7.3 MB/s | 106 kB 00:00 #11 0.641 added from: http://tf-mirrors.gz1.opensdn.io/re 41 MB/s | 2.1 MB 00:00 #11 0.996 added from: http://tf-mirrors.gz1.opensdn.io/re 21 MB/s | 730 kB 00:00 #11 1.157 added from: http://tf-mirrors.gz1.opensdn.io/re 11 MB/s | 264 kB 00:00 #11 1.329 added from: http://tf-mirrors.gz1.opensdn.io/re 67 MB/s | 7.0 MB 00:00 #11 2.638 added from: http://tf-mirrors.gz1.opensdn.io/re 52 MB/s | 4.0 MB 00:00 #11 3.436 added from: http://tf-mirrors.gz1.opensdn.io/re 23 MB/s | 939 kB 00:00 #11 3.663 added from: http://tf-mirrors.gz1.opensdn.io/re 43 MB/s | 2.3 MB 00:00 #11 4.150 added from: http://tf-mirrors.gz1.opensdn.io/re 14 MB/s | 392 kB 00:00 #11 4.313 added from: http://tf-mirrors.gz1.opensdn.io/re 16 MB/s | 451 kB 00:00 #11 4.465 added from: http://tf-mirrors.gz1.opensdn.io/re 737 kB/s | 16 kB 00:00 #11 4.572 added from: http://tf-mirrors.gz1.opensdn.io/re 11 kB/s | 257 B 00:00 #11 4.677 added from: http://tf-mirrors.gz1.opensdn.io/re 545 kB/s | 13 kB 00:00 #11 4.783 added from: http://tf-mirrors.gz1.opensdn.io/re 2.9 MB/s | 64 kB 00:00 #11 5.131 added from: http://tf-mirrors.gz1.opensdn.io/re 122 MB/s | 30 MB 00:00 #11 10.97 Third parties for OpenSDN 53 MB/s | 5.4 MB 00:00 #11 14.54 No security updates needed for "yum", but 1 update available #11 14.54 No match for argument: update-minimal #11 14.58 Dependencies resolved. #11 14.58 Nothing to do. #11 14.58 Complete! #11 14.74 Failed to set locale, defaulting to C.UTF-8 #11 15.05 Last metadata expiration check: 0:00:04 ago on Fri Aug 29 08:46:45 2025. #11 15.10 Package hostname-3.23-6.el9.x86_64 is already installed. #11 15.11 Package less-590-2.el9_2.x86_64 is already installed. #11 15.11 Package openssl-1:3.0.7-24.el9.x86_64 is already installed. #11 15.14 Dependencies resolved. #11 15.14 ============================================================================================== #11 15.14 Package Arch Version Repository Size #11 15.14 ============================================================================================== #11 15.14 Installing: #11 15.14 glibc-langpack-en x86_64 2.34-125.el9_5.1 tf-mirrors.ci_repos_yum9-baseos 552 k #11 15.14 iproute x86_64 6.2.0-6.el9_4 tf-mirrors.ci_repos_yum9-baseos 786 k #11 15.14 rsync x86_64 3.2.3-20.el9_5.1 tf-mirrors.ci_repos_yum9-baseos 391 k #11 15.14 wget x86_64 1.21.1-8.el9_4 tf-mirrors.ci_repos_yum9-appstream 768 k #11 15.14 Upgrading: #11 15.14 glibc x86_64 2.34-125.el9_5.1 tf-mirrors.ci_repos_yum9-baseos 2.0 M #11 15.14 glibc-common x86_64 2.34-125.el9_5.1 tf-mirrors.ci_repos_yum9-baseos 296 k #11 15.14 glibc-minimal-langpack x86_64 2.34-125.el9_5.1 tf-mirrors.ci_repos_yum9-baseos 22 k #11 15.14 less x86_64 590-5.el9 tf-mirrors.ci_repos_yum9-baseos 161 k #11 15.14 openssl x86_64 1:3.2.2-6.el9_5.1 tf-mirrors.ci_repos_yum9-baseos 1.3 M #11 15.14 openssl-libs x86_64 1:3.2.2-6.el9_5.1 tf-mirrors.ci_repos_yum9-baseos 2.4 M #11 15.14 Installing dependencies: #11 15.14 libbpf x86_64 2:1.4.0-1.el9 tf-mirrors.ci_repos_yum9-baseos 177 k #11 15.14 libmnl x86_64 1.0.4-16.el9_4 tf-mirrors.ci_repos_yum9-baseos 27 k #11 15.14 libpsl x86_64 0.21.1-5.el9 tf-mirrors.ci_repos_yum9-baseos 63 k #11 15.14 psmisc x86_64 23.4-3.el9 tf-mirrors.ci_repos_yum9-baseos 226 k #11 15.14 publicsuffix-list-dafsa noarch 20210518-3.el9 tf-mirrors.ci_repos_yum9-baseos 58 k #11 15.14 #11 15.14 Transaction Summary #11 15.14 ============================================================================================== #11 15.14 Install 9 Packages #11 15.14 Upgrade 6 Packages #11 15.14 #11 15.14 Total download size: 9.1 M #11 15.14 Downloading Packages: #11 15.16 (1/15): libbpf-1.4.0-1.el9.x86_64.rpm 8.3 MB/s | 177 kB 00:00 #11 15.17 (2/15): glibc-langpack-en-2.34-125.el9_5.1.x86_ 18 MB/s | 552 kB 00:00 #11 15.18 (3/15): libmnl-1.0.4-16.el9_4.x86_64.rpm 2.2 MB/s | 27 kB 00:00 #11 15.18 (4/15): libpsl-0.21.1-5.el9.x86_64.rpm 11 MB/s | 63 kB 00:00 #11 15.19 (5/15): iproute-6.2.0-6.el9_4.x86_64.rpm 16 MB/s | 786 kB 00:00 #11 15.19 (6/15): publicsuffix-list-dafsa-20210518-3.el9. 3.8 MB/s | 58 kB 00:00 #11 15.20 (7/15): psmisc-23.4-3.el9.x86_64.rpm 9.9 MB/s | 226 kB 00:00 #11 15.21 (8/15): rsync-3.2.3-20.el9_5.1.x86_64.rpm 24 MB/s | 391 kB 00:00 #11 15.22 (9/15): wget-1.21.1-8.el9_4.x86_64.rpm 32 MB/s | 768 kB 00:00 #11 15.22 (10/15): glibc-common-2.34-125.el9_5.1.x86_64.r 18 MB/s | 296 kB 00:00 #11 15.23 (11/15): glibc-minimal-langpack-2.34-125.el9_5. 2.6 MB/s | 22 kB 00:00 #11 15.23 (12/15): less-590-5.el9.x86_64.rpm 26 MB/s | 161 kB 00:00 #11 15.25 (13/15): openssl-3.2.2-6.el9_5.1.x86_64.rpm 49 MB/s | 1.3 MB 00:00 #11 15.28 (14/15): glibc-2.34-125.el9_5.1.x86_64.rpm 26 MB/s | 2.0 MB 00:00 #11 15.30 (15/15): openssl-libs-3.2.2-6.el9_5.1.x86_64.rp 32 MB/s | 2.4 MB 00:00 #11 15.31 -------------------------------------------------------------------------------- #11 15.31 Total 55 MB/s | 9.1 MB 00:00 #11 15.31 Running transaction check #11 15.65 Transaction check succeeded. #11 15.65 Running transaction test #11 15.78 Transaction test succeeded. #11 15.78 Running transaction #11 16.09 Preparing : 1/1 #11 16.16 Upgrading : glibc-common-2.34-125.el9_5.1.x86_64 1/21 #11 16.18 Upgrading : glibc-minimal-langpack-2.34-125.el9_5.1.x86_64 2/21 #11 16.18 Running scriptlet: glibc-2.34-125.el9_5.1.x86_64 3/21 #11 16.23 Upgrading : glibc-2.34-125.el9_5.1.x86_64 3/21 #11 16.24 Running scriptlet: glibc-2.34-125.el9_5.1.x86_64 3/21 #11 16.39 Installing : glibc-langpack-en-2.34-125.el9_5.1.x86_64 4/21 #11 16.46 Upgrading : openssl-libs-1:3.2.2-6.el9_5.1.x86_64 5/21 #11 16.47 Installing : libbpf-2:1.4.0-1.el9.x86_64 6/21 #11 16.48 Installing : libmnl-1.0.4-16.el9_4.x86_64 7/21 #11 16.49 Installing : psmisc-23.4-3.el9.x86_64 8/21 #11 16.50 Installing : publicsuffix-list-dafsa-20210518-3.el9.noarch 9/21 #11 16.51 Installing : libpsl-0.21.1-5.el9.x86_64 10/21 #11 16.52 Installing : wget-1.21.1-8.el9_4.x86_64 11/21 #11 16.55 Installing : iproute-6.2.0-6.el9_4.x86_64 12/21 #11 16.57 Installing : rsync-3.2.3-20.el9_5.1.x86_64 13/21 #11 16.61 Upgrading : openssl-1:3.2.2-6.el9_5.1.x86_64 14/21 #11 16.63 Upgrading : less-590-5.el9.x86_64 15/21 #11 16.64 Cleanup : openssl-1:3.0.7-24.el9.x86_64 16/21 #11 16.64 Cleanup : openssl-libs-1:3.0.7-24.el9.x86_64 17/21 #11 16.65 Cleanup : less-590-2.el9_2.x86_64 18/21 #11 16.66 Cleanup : glibc-2.34-83.el9.7.x86_64 19/21 #11 16.67 Cleanup : glibc-minimal-langpack-2.34-83.el9.7.x86_64 20/21 #11 16.67 Cleanup : glibc-common-2.34-83.el9.7.x86_64 21/21 #11 16.68 Running scriptlet: glibc-common-2.34-83.el9.7.x86_64 21/21 #11 16.83 Verifying : glibc-langpack-en-2.34-125.el9_5.1.x86_64 1/21 #11 16.83 Verifying : iproute-6.2.0-6.el9_4.x86_64 2/21 #11 16.83 Verifying : libbpf-2:1.4.0-1.el9.x86_64 3/21 #11 16.83 Verifying : libmnl-1.0.4-16.el9_4.x86_64 4/21 #11 16.83 Verifying : libpsl-0.21.1-5.el9.x86_64 5/21 #11 16.83 Verifying : psmisc-23.4-3.el9.x86_64 6/21 #11 16.83 Verifying : publicsuffix-list-dafsa-20210518-3.el9.noarch 7/21 #11 16.83 Verifying : rsync-3.2.3-20.el9_5.1.x86_64 8/21 #11 16.83 Verifying : wget-1.21.1-8.el9_4.x86_64 9/21 #11 16.83 Verifying : glibc-2.34-125.el9_5.1.x86_64 10/21 #11 16.83 Verifying : glibc-2.34-83.el9.7.x86_64 11/21 #11 16.83 Verifying : glibc-common-2.34-125.el9_5.1.x86_64 12/21 #11 16.83 Verifying : glibc-common-2.34-83.el9.7.x86_64 13/21 #11 16.83 Verifying : glibc-minimal-langpack-2.34-125.el9_5.1.x86_64 14/21 #11 16.83 Verifying : glibc-minimal-langpack-2.34-83.el9.7.x86_64 15/21 #11 16.83 Verifying : less-590-5.el9.x86_64 16/21 #11 16.83 Verifying : less-590-2.el9_2.x86_64 17/21 #11 16.83 Verifying : openssl-1:3.2.2-6.el9_5.1.x86_64 18/21 #11 16.83 Verifying : openssl-1:3.0.7-24.el9.x86_64 19/21 #11 16.83 Verifying : openssl-libs-1:3.2.2-6.el9_5.1.x86_64 20/21 #11 16.83 Verifying : openssl-libs-1:3.0.7-24.el9.x86_64 21/21 #11 16.88 #11 16.88 Upgraded: #11 16.88 glibc-2.34-125.el9_5.1.x86_64 #11 16.88 glibc-common-2.34-125.el9_5.1.x86_64 #11 16.88 glibc-minimal-langpack-2.34-125.el9_5.1.x86_64 #11 16.88 less-590-5.el9.x86_64 #11 16.88 openssl-1:3.2.2-6.el9_5.1.x86_64 #11 16.88 openssl-libs-1:3.2.2-6.el9_5.1.x86_64 #11 16.88 Installed: #11 16.88 glibc-langpack-en-2.34-125.el9_5.1.x86_64 iproute-6.2.0-6.el9_4.x86_64 #11 16.88 libbpf-2:1.4.0-1.el9.x86_64 libmnl-1.0.4-16.el9_4.x86_64 #11 16.88 libpsl-0.21.1-5.el9.x86_64 psmisc-23.4-3.el9.x86_64 #11 16.88 publicsuffix-list-dafsa-20210518-3.el9.noarch rsync-3.2.3-20.el9_5.1.x86_64 #11 16.88 wget-1.21.1-8.el9_4.x86_64 #11 16.88 #11 16.88 Complete! #11 17.33 Last metadata expiration check: 0:00:06 ago on Fri 29 Aug 2025 08:46:45 AM UTC. #11 17.39 Package python3-3.9.18-1.el9_3.x86_64 is already installed. #11 17.48 Dependencies resolved. #11 17.48 ====================================================================================== #11 17.48 Package Arch Version Repository Size #11 17.48 ====================================================================================== #11 17.48 Installing: #11 17.48 python3-pip noarch 21.3.1-1.el9 tf-mirrors.ci_repos_yum9-appstream 1.7 M #11 17.48 Upgrading: #11 17.48 python3 x86_64 3.9.21-1.el9_5 tf-mirrors.ci_repos_yum9-baseos 26 k #11 17.48 python3-libs x86_64 3.9.21-1.el9_5 tf-mirrors.ci_repos_yum9-baseos 7.5 M #11 17.48 Installing weak dependencies: #11 17.48 libxcrypt-compat x86_64 4.4.18-3.el9 tf-mirrors.ci_repos_yum9-appstream 88 k #11 17.48 python3-setuptools noarch 53.0.0-13.el9 tf-mirrors.ci_repos_yum9-baseos 838 k #11 17.48 #11 17.48 Transaction Summary #11 17.48 ====================================================================================== #11 17.48 Install 3 Packages #11 17.48 Upgrade 2 Packages #11 17.48 #11 17.48 Total download size: 10 M #11 17.48 Downloading Packages: #11 17.57 (1/5): libxcrypt-compat-4.4.18-3.el9.x86_64.rpm 1.1 MB/s | 88 kB 00:00 #11 17.57 (2/5): python3-3.9.21-1.el9_5.x86_64.rpm 4.3 MB/s | 26 kB 00:00 #11 17.59 (3/5): python3-setuptools-53.0.0-13.el9.noarch. 7.8 MB/s | 838 kB 00:00 #11 17.61 (4/5): python3-pip-21.3.1-1.el9.noarch.rpm 14 MB/s | 1.7 MB 00:00 #11 17.69 (5/5): python3-libs-3.9.21-1.el9_5.x86_64.rpm 67 MB/s | 7.5 MB 00:00 #11 17.69 -------------------------------------------------------------------------------- #11 17.69 Total 50 MB/s | 10 MB 00:00 #11 17.69 Running transaction check #11 17.73 Transaction check succeeded. #11 17.73 Running transaction test #11 17.88 Transaction test succeeded. #11 17.88 Running transaction #11 18.05 Preparing : 1/1 #11 18.46 Upgrading : python3-libs-3.9.21-1.el9_5.x86_64 1/7 #11 18.50 Upgrading : python3-3.9.21-1.el9_5.x86_64 2/7 #11 18.56 Installing : python3-setuptools-53.0.0-13.el9.noarch 3/7 #11 18.58 Installing : libxcrypt-compat-4.4.18-3.el9.x86_64 4/7 #11 18.75 Installing : python3-pip-21.3.1-1.el9.noarch 5/7 #11 18.77 Cleanup : python3-3.9.18-1.el9_3.x86_64 6/7 #11 18.82 Cleanup : python3-libs-3.9.18-1.el9_3.x86_64 7/7 #11 18.83 Running scriptlet: python3-libs-3.9.18-1.el9_3.x86_64 7/7 #11 19.13 Verifying : python3-setuptools-53.0.0-13.el9.noarch 1/7 #11 19.13 Verifying : libxcrypt-compat-4.4.18-3.el9.x86_64 2/7 #11 19.13 Verifying : python3-pip-21.3.1-1.el9.noarch 3/7 #11 19.13 Verifying : python3-3.9.21-1.el9_5.x86_64 4/7 #11 19.13 Verifying : python3-3.9.18-1.el9_3.x86_64 5/7 #11 19.13 Verifying : python3-libs-3.9.21-1.el9_5.x86_64 6/7 #11 19.13 Verifying : python3-libs-3.9.18-1.el9_3.x86_64 7/7 #11 19.16 #11 19.16 Upgraded: #11 19.16 python3-3.9.21-1.el9_5.x86_64 python3-libs-3.9.21-1.el9_5.x86_64 #11 19.16 Installed: #11 19.16 libxcrypt-compat-4.4.18-3.el9.x86_64 python3-pip-21.3.1-1.el9.noarch #11 19.16 python3-setuptools-53.0.0-13.el9.noarch #11 19.16 #11 19.16 Complete! #11 19.53 Looking in indexes: http://tf-mirrors.gz1.opensdn.io/root/pypi/+simple/ #11 19.53 Requirement already satisfied: pip in /usr/lib/python3.9/site-packages (21.3.1) #11 19.66 Collecting pip #11 19.67 Downloading http://tf-mirrors.gz1.opensdn.io/root/pypi/%2Bf/6d6/7a2b4e7f14d8b/pip-25.2-py3-none-any.whl (1.8 MB) #11 19.72 Requirement already satisfied: setuptools in /usr/lib/python3.9/site-packages (53.0.0) #11 20.16 Collecting setuptools #11 20.18 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.32 Installing collected packages: setuptools, pip #11 21.86 Successfully installed pip-25.2 setuptools-80.9.0 #11 21.86 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.21 80 files removed #11 22.27 useradd warning: contrail's uid 1999 is greater than SYS_UID_MAX 999 #11 DONE 22.5s #12 exporting to image #12 exporting layers #12 exporting layers 1.0s done #12 writing image sha256:e9101c242a49c1e1ac7aa45427066badaf8804b636e9582ac5ada0403de612cd done #12 naming to nexus.gz1.opensdn.io:5101/opensdn-general-base:master-2_0_8_2-2 done #12 DONE 1.0s 2025-08-29 08:46:58,029: INFO: Docker build duration: 27 seconds The push refers to repository [nexus.gz1.opensdn.io:5101/opensdn-general-base] 0beaae30a001: Preparing 5cd439176bc5: Preparing 94a5d8eb5035: Preparing 512e034b4459: Preparing feae84112e2b: Preparing 74785db6e140: Preparing 44343de3ea1d: Preparing 74785db6e140: Waiting 44343de3ea1d: Waiting 94a5d8eb5035: Pushed 5cd439176bc5: Pushed 512e034b4459: Pushed feae84112e2b: Pushed 44343de3ea1d: Layer already exists 74785db6e140: Pushed 0beaae30a001: Pushed master-2_0_8_2-2: digest: sha256:e52a939c62dda0aac7804a8d741e6b61469e6ff9a9d2735cb05ad36fee5f7ea5 size: 1777 2025-08-29 08:47:04,058: INFO: Building opensdn-general-base finished successfully, duration: 33 seconds