#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.112 /bin/sh: warning: setlocale: LC_ALL: cannot change locale (en_US.UTF-8) #11 0.119 total 36 #11 0.119 -rw-r--r--. 1 root root 100 Aug 26 19:40 contrail.repo #11 0.119 -rw-r--r--. 1 root root 2707 Aug 26 20:38 mirror-base-rocky9.repo #11 0.119 -rw-r--r--. 1 root root 217 Aug 26 20:38 mirror-docker9.repo #11 0.119 -rw-r--r--. 1 root root 204 Aug 26 20:38 mirror-epel9.repo #11 0.119 -rw-r--r--. 1 root root 1 Aug 26 20:38 rocky-addons.repo #11 0.119 -rw-r--r--. 1 root root 1 Aug 26 20:38 rocky-devel.repo #11 0.119 -rw-r--r--. 1 root root 1 Aug 26 20:38 rocky-extras.repo #11 0.119 -rw-r--r--. 1 root root 1 Aug 26 20:38 rocky.repo #11 0.119 -rw-r--r--. 1 root root 140 Aug 26 20:38 tpc.repo #11 0.337 Failed to set locale, defaulting to C.UTF-8 #11 0.588 Contrail repo 2.9 MB/s | 105 kB 00:00 #11 0.660 added from: http://tf-mirrors.gz1.opensdn.io/re 42 MB/s | 2.1 MB 00:00 #11 1.018 added from: http://tf-mirrors.gz1.opensdn.io/re 22 MB/s | 730 kB 00:00 #11 1.180 added from: http://tf-mirrors.gz1.opensdn.io/re 10 MB/s | 264 kB 00:00 #11 1.343 added from: http://tf-mirrors.gz1.opensdn.io/re 72 MB/s | 7.0 MB 00:00 #11 2.935 added from: http://tf-mirrors.gz1.opensdn.io/re 15 MB/s | 4.0 MB 00:00 #11 3.791 added from: http://tf-mirrors.gz1.opensdn.io/re 25 MB/s | 939 kB 00:00 #11 4.029 added from: http://tf-mirrors.gz1.opensdn.io/re 41 MB/s | 2.3 MB 00:00 #11 4.550 added from: http://tf-mirrors.gz1.opensdn.io/re 12 MB/s | 392 kB 00:00 #11 4.735 added from: http://tf-mirrors.gz1.opensdn.io/re 14 MB/s | 451 kB 00:00 #11 4.932 added from: http://tf-mirrors.gz1.opensdn.io/re 505 kB/s | 16 kB 00:00 #11 5.046 added from: http://tf-mirrors.gz1.opensdn.io/re 11 kB/s | 257 B 00:00 #11 5.158 added from: http://tf-mirrors.gz1.opensdn.io/re 561 kB/s | 13 kB 00:00 #11 5.276 added from: http://tf-mirrors.gz1.opensdn.io/re 2.2 MB/s | 64 kB 00:00 #11 6.037 added from: http://tf-mirrors.gz1.opensdn.io/re 47 MB/s | 30 MB 00:00 #11 12.16 Third parties for OpenSDN 53 MB/s | 5.4 MB 00:00 #11 15.92 No security updates needed for "yum", but 1 update available #11 15.92 No match for argument: update-minimal #11 16.25 Dependencies resolved. #11 16.25 Nothing to do. #11 16.25 Complete! #11 16.39 Failed to set locale, defaulting to C.UTF-8 #11 16.72 Last metadata expiration check: 0:00:04 ago on Tue Aug 26 20:39:11 2025. #11 16.78 Package hostname-3.23-6.el9.x86_64 is already installed. #11 16.78 Package less-590-2.el9_2.x86_64 is already installed. #11 16.78 Package openssl-1:3.0.7-24.el9.x86_64 is already installed. #11 16.81 Dependencies resolved. #11 16.81 ============================================================================================== #11 16.81 Package Arch Version Repository Size #11 16.81 ============================================================================================== #11 16.81 Installing: #11 16.81 glibc-langpack-en x86_64 2.34-125.el9_5.1 tf-mirrors.ci_repos_yum9-baseos 552 k #11 16.81 iproute x86_64 6.2.0-6.el9_4 tf-mirrors.ci_repos_yum9-baseos 786 k #11 16.81 rsync x86_64 3.2.3-20.el9_5.1 tf-mirrors.ci_repos_yum9-baseos 391 k #11 16.81 wget x86_64 1.21.1-8.el9_4 tf-mirrors.ci_repos_yum9-appstream 768 k #11 16.81 Upgrading: #11 16.81 glibc x86_64 2.34-125.el9_5.1 tf-mirrors.ci_repos_yum9-baseos 2.0 M #11 16.81 glibc-common x86_64 2.34-125.el9_5.1 tf-mirrors.ci_repos_yum9-baseos 296 k #11 16.81 glibc-minimal-langpack x86_64 2.34-125.el9_5.1 tf-mirrors.ci_repos_yum9-baseos 22 k #11 16.81 less x86_64 590-5.el9 tf-mirrors.ci_repos_yum9-baseos 161 k #11 16.81 openssl x86_64 1:3.2.2-6.el9_5.1 tf-mirrors.ci_repos_yum9-baseos 1.3 M #11 16.81 openssl-libs x86_64 1:3.2.2-6.el9_5.1 tf-mirrors.ci_repos_yum9-baseos 2.4 M #11 16.81 Installing dependencies: #11 16.81 libbpf x86_64 2:1.4.0-1.el9 tf-mirrors.ci_repos_yum9-baseos 177 k #11 16.81 libmnl x86_64 1.0.4-16.el9_4 tf-mirrors.ci_repos_yum9-baseos 27 k #11 16.81 libpsl x86_64 0.21.1-5.el9 tf-mirrors.ci_repos_yum9-baseos 63 k #11 16.81 psmisc x86_64 23.4-3.el9 tf-mirrors.ci_repos_yum9-baseos 226 k #11 16.81 publicsuffix-list-dafsa noarch 20210518-3.el9 tf-mirrors.ci_repos_yum9-baseos 58 k #11 16.81 #11 16.81 Transaction Summary #11 16.81 ============================================================================================== #11 16.81 Install 9 Packages #11 16.81 Upgrade 6 Packages #11 16.81 #11 16.81 Total download size: 9.1 M #11 16.81 Downloading Packages: #11 16.83 (1/15): libbpf-1.4.0-1.el9.x86_64.rpm 9.7 MB/s | 177 kB 00:00 #11 16.85 (2/15): iproute-6.2.0-6.el9_4.x86_64.rpm 25 MB/s | 786 kB 00:00 #11 16.85 (3/15): libmnl-1.0.4-16.el9_4.x86_64.rpm 1.8 MB/s | 27 kB 00:00 #11 16.85 (4/15): libpsl-0.21.1-5.el9.x86_64.rpm 11 MB/s | 63 kB 00:00 #11 16.86 (5/15): psmisc-23.4-3.el9.x86_64.rpm 27 MB/s | 226 kB 00:00 #11 16.86 (6/15): publicsuffix-list-dafsa-20210518-3.el9. 7.8 MB/s | 58 kB 00:00 #11 16.87 (7/15): glibc-langpack-en-2.34-125.el9_5.1.x86_ 11 MB/s | 552 kB 00:00 #11 16.87 (8/15): rsync-3.2.3-20.el9_5.1.x86_64.rpm 24 MB/s | 391 kB 00:00 #11 16.88 (9/15): wget-1.21.1-8.el9_4.x86_64.rpm 32 MB/s | 768 kB 00:00 #11 16.89 (10/15): glibc-common-2.34-125.el9_5.1.x86_64.r 20 MB/s | 296 kB 00:00 #11 16.89 (11/15): glibc-minimal-langpack-2.34-125.el9_5. 3.0 MB/s | 22 kB 00:00 #11 16.90 (12/15): less-590-5.el9.x86_64.rpm 21 MB/s | 161 kB 00:00 #11 16.92 (13/15): glibc-2.34-125.el9_5.1.x86_64.rpm 39 MB/s | 2.0 MB 00:00 #11 16.94 (14/15): openssl-3.2.2-6.el9_5.1.x86_64.rpm 29 MB/s | 1.3 MB 00:00 #11 16.95 (15/15): openssl-libs-3.2.2-6.el9_5.1.x86_64.rp 41 MB/s | 2.4 MB 00:00 #11 16.96 -------------------------------------------------------------------------------- #11 16.96 Total 64 MB/s | 9.1 MB 00:00 #11 16.96 Running transaction check #11 17.30 Transaction check succeeded. #11 17.30 Running transaction test #11 17.44 Transaction test succeeded. #11 17.44 Running transaction #11 17.68 Preparing : 1/1 #11 17.74 Upgrading : glibc-common-2.34-125.el9_5.1.x86_64 1/21 #11 17.75 Upgrading : glibc-minimal-langpack-2.34-125.el9_5.1.x86_64 2/21 #11 17.75 Running scriptlet: glibc-2.34-125.el9_5.1.x86_64 3/21 #11 17.80 Upgrading : glibc-2.34-125.el9_5.1.x86_64 3/21 #11 17.81 Running scriptlet: glibc-2.34-125.el9_5.1.x86_64 3/21 #11 17.96 Installing : glibc-langpack-en-2.34-125.el9_5.1.x86_64 4/21 #11 18.03 Upgrading : openssl-libs-1:3.2.2-6.el9_5.1.x86_64 5/21 #11 18.04 Installing : libbpf-2:1.4.0-1.el9.x86_64 6/21 #11 18.04 Installing : libmnl-1.0.4-16.el9_4.x86_64 7/21 #11 18.05 Installing : psmisc-23.4-3.el9.x86_64 8/21 #11 18.06 Installing : publicsuffix-list-dafsa-20210518-3.el9.noarch 9/21 #11 18.06 Installing : libpsl-0.21.1-5.el9.x86_64 10/21 #11 18.08 Installing : wget-1.21.1-8.el9_4.x86_64 11/21 #11 18.11 Installing : iproute-6.2.0-6.el9_4.x86_64 12/21 #11 18.12 Installing : rsync-3.2.3-20.el9_5.1.x86_64 13/21 #11 18.17 Upgrading : openssl-1:3.2.2-6.el9_5.1.x86_64 14/21 #11 18.18 Upgrading : less-590-5.el9.x86_64 15/21 #11 18.19 Cleanup : openssl-1:3.0.7-24.el9.x86_64 16/21 #11 18.20 Cleanup : openssl-libs-1:3.0.7-24.el9.x86_64 17/21 #11 18.20 Cleanup : less-590-2.el9_2.x86_64 18/21 #11 18.21 Cleanup : glibc-2.34-83.el9.7.x86_64 19/21 #11 18.22 Cleanup : glibc-minimal-langpack-2.34-83.el9.7.x86_64 20/21 #11 18.22 Cleanup : glibc-common-2.34-83.el9.7.x86_64 21/21 #11 18.23 Running scriptlet: glibc-common-2.34-83.el9.7.x86_64 21/21 #11 18.54 Verifying : glibc-langpack-en-2.34-125.el9_5.1.x86_64 1/21 #11 18.54 Verifying : iproute-6.2.0-6.el9_4.x86_64 2/21 #11 18.54 Verifying : libbpf-2:1.4.0-1.el9.x86_64 3/21 #11 18.54 Verifying : libmnl-1.0.4-16.el9_4.x86_64 4/21 #11 18.54 Verifying : libpsl-0.21.1-5.el9.x86_64 5/21 #11 18.54 Verifying : psmisc-23.4-3.el9.x86_64 6/21 #11 18.54 Verifying : publicsuffix-list-dafsa-20210518-3.el9.noarch 7/21 #11 18.54 Verifying : rsync-3.2.3-20.el9_5.1.x86_64 8/21 #11 18.54 Verifying : wget-1.21.1-8.el9_4.x86_64 9/21 #11 18.54 Verifying : glibc-2.34-125.el9_5.1.x86_64 10/21 #11 18.54 Verifying : glibc-2.34-83.el9.7.x86_64 11/21 #11 18.54 Verifying : glibc-common-2.34-125.el9_5.1.x86_64 12/21 #11 18.54 Verifying : glibc-common-2.34-83.el9.7.x86_64 13/21 #11 18.54 Verifying : glibc-minimal-langpack-2.34-125.el9_5.1.x86_64 14/21 #11 18.54 Verifying : glibc-minimal-langpack-2.34-83.el9.7.x86_64 15/21 #11 18.54 Verifying : less-590-5.el9.x86_64 16/21 #11 18.54 Verifying : less-590-2.el9_2.x86_64 17/21 #11 18.54 Verifying : openssl-1:3.2.2-6.el9_5.1.x86_64 18/21 #11 18.54 Verifying : openssl-1:3.0.7-24.el9.x86_64 19/21 #11 18.54 Verifying : openssl-libs-1:3.2.2-6.el9_5.1.x86_64 20/21 #11 18.54 Verifying : openssl-libs-1:3.0.7-24.el9.x86_64 21/21 #11 18.59 #11 18.59 Upgraded: #11 18.59 glibc-2.34-125.el9_5.1.x86_64 #11 18.59 glibc-common-2.34-125.el9_5.1.x86_64 #11 18.59 glibc-minimal-langpack-2.34-125.el9_5.1.x86_64 #11 18.59 less-590-5.el9.x86_64 #11 18.59 openssl-1:3.2.2-6.el9_5.1.x86_64 #11 18.59 openssl-libs-1:3.2.2-6.el9_5.1.x86_64 #11 18.59 Installed: #11 18.59 glibc-langpack-en-2.34-125.el9_5.1.x86_64 iproute-6.2.0-6.el9_4.x86_64 #11 18.59 libbpf-2:1.4.0-1.el9.x86_64 libmnl-1.0.4-16.el9_4.x86_64 #11 18.59 libpsl-0.21.1-5.el9.x86_64 psmisc-23.4-3.el9.x86_64 #11 18.59 publicsuffix-list-dafsa-20210518-3.el9.noarch rsync-3.2.3-20.el9_5.1.x86_64 #11 18.59 wget-1.21.1-8.el9_4.x86_64 #11 18.59 #11 18.59 Complete! #11 19.01 Last metadata expiration check: 0:00:07 ago on Tue 26 Aug 2025 08:39:11 PM UTC. #11 19.07 Package python3-3.9.18-1.el9_3.x86_64 is already installed. #11 19.10 Dependencies resolved. #11 19.10 ====================================================================================== #11 19.10 Package Arch Version Repository Size #11 19.10 ====================================================================================== #11 19.10 Installing: #11 19.10 python3-pip noarch 21.3.1-1.el9 tf-mirrors.ci_repos_yum9-appstream 1.7 M #11 19.10 Upgrading: #11 19.10 python3 x86_64 3.9.21-1.el9_5 tf-mirrors.ci_repos_yum9-baseos 26 k #11 19.10 python3-libs x86_64 3.9.21-1.el9_5 tf-mirrors.ci_repos_yum9-baseos 7.5 M #11 19.10 Installing weak dependencies: #11 19.10 libxcrypt-compat x86_64 4.4.18-3.el9 tf-mirrors.ci_repos_yum9-appstream 88 k #11 19.10 python3-setuptools noarch 53.0.0-13.el9 tf-mirrors.ci_repos_yum9-baseos 838 k #11 19.10 #11 19.10 Transaction Summary #11 19.10 ====================================================================================== #11 19.10 Install 3 Packages #11 19.10 Upgrade 2 Packages #11 19.10 #11 19.10 Total download size: 10 M #11 19.10 Downloading Packages: #11 19.13 (1/5): python3-setuptools-53.0.0-13.el9.noarch. 29 MB/s | 838 kB 00:00 #11 19.14 (2/5): libxcrypt-compat-4.4.18-3.el9.x86_64.rpm 2.7 MB/s | 88 kB 00:00 #11 19.14 (3/5): python3-3.9.21-1.el9_5.x86_64.rpm 4.2 MB/s | 26 kB 00:00 #11 19.16 (4/5): python3-pip-21.3.1-1.el9.noarch.rpm 29 MB/s | 1.7 MB 00:00 #11 19.23 (5/5): python3-libs-3.9.21-1.el9_5.x86_64.rpm 84 MB/s | 7.5 MB 00:00 #11 19.23 -------------------------------------------------------------------------------- #11 19.23 Total 82 MB/s | 10 MB 00:00 #11 19.23 Running transaction check #11 19.27 Transaction check succeeded. #11 19.27 Running transaction test #11 19.43 Transaction test succeeded. #11 19.43 Running transaction #11 19.60 Preparing : 1/1 #11 20.10 Upgrading : python3-libs-3.9.21-1.el9_5.x86_64 1/7 #11 20.13 Upgrading : python3-3.9.21-1.el9_5.x86_64 2/7 #11 20.21 Installing : python3-setuptools-53.0.0-13.el9.noarch 3/7 #11 20.23 Installing : libxcrypt-compat-4.4.18-3.el9.x86_64 4/7 #11 20.43 Installing : python3-pip-21.3.1-1.el9.noarch 5/7 #11 20.45 Cleanup : python3-3.9.18-1.el9_3.x86_64 6/7 #11 20.50 Cleanup : python3-libs-3.9.18-1.el9_3.x86_64 7/7 #11 20.52 Running scriptlet: python3-libs-3.9.18-1.el9_3.x86_64 7/7 #11 20.95 Verifying : python3-setuptools-53.0.0-13.el9.noarch 1/7 #11 20.95 Verifying : libxcrypt-compat-4.4.18-3.el9.x86_64 2/7 #11 20.95 Verifying : python3-pip-21.3.1-1.el9.noarch 3/7 #11 20.95 Verifying : python3-3.9.21-1.el9_5.x86_64 4/7 #11 20.95 Verifying : python3-3.9.18-1.el9_3.x86_64 5/7 #11 20.95 Verifying : python3-libs-3.9.21-1.el9_5.x86_64 6/7 #11 20.95 Verifying : python3-libs-3.9.18-1.el9_3.x86_64 7/7 #11 21.02 #11 21.02 Upgraded: #11 21.02 python3-3.9.21-1.el9_5.x86_64 python3-libs-3.9.21-1.el9_5.x86_64 #11 21.02 Installed: #11 21.02 libxcrypt-compat-4.4.18-3.el9.x86_64 python3-pip-21.3.1-1.el9.noarch #11 21.02 python3-setuptools-53.0.0-13.el9.noarch #11 21.02 #11 21.02 Complete! #11 21.47 Looking in indexes: http://tf-mirrors.gz1.opensdn.io/root/pypi/+simple/ #11 21.47 Requirement already satisfied: pip in /usr/lib/python3.9/site-packages (21.3.1) #11 21.60 Collecting pip #11 21.61 Downloading http://tf-mirrors.gz1.opensdn.io/root/pypi/%2Bf/6d6/7a2b4e7f14d8b/pip-25.2-py3-none-any.whl (1.8 MB) #11 21.67 Requirement already satisfied: setuptools in /usr/lib/python3.9/site-packages (53.0.0) #11 22.13 Collecting setuptools #11 22.14 Downloading http://tf-mirrors.gz1.opensdn.io/root/pypi/%2Bf/062/d34222ad13e0c/setuptools-80.9.0-py3-none-any.whl (1.2 MB) #11 22.33 Installing collected packages: setuptools, pip #11 23.84 Successfully installed pip-25.2 setuptools-80.9.0 #11 23.84 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 24.18 80 files removed #11 24.24 useradd warning: contrail's uid 1999 is greater than SYS_UID_MAX 999 #11 DONE 24.5s #12 exporting to image #12 exporting layers #12 exporting layers 1.1s done #12 writing image sha256:3aea7ced710271c7780edfabdd05387d40cde3621ec88e4f51c6540e6e9e431c done #12 naming to nexus.gz1.opensdn.io:5102/opensdn-general-base:nightly done #12 DONE 1.1s 2025-08-26 20:39:24,780: INFO: Docker build duration: 28 seconds The push refers to repository [nexus.gz1.opensdn.io:5102/opensdn-general-base] 8634f84a5036: Preparing f1d7125db40c: Preparing c4d5e6b86ca9: Preparing 3e6e33fee14e: Preparing fa51fce7759d: Preparing 426dcf89ffb8: Preparing 44343de3ea1d: Preparing 426dcf89ffb8: Waiting 44343de3ea1d: Waiting fa51fce7759d: Pushed f1d7125db40c: Pushed c4d5e6b86ca9: Pushed 3e6e33fee14e: Pushed 44343de3ea1d: Layer already exists 426dcf89ffb8: Pushed 8634f84a5036: Pushed nightly: digest: sha256:37a693edf902892fb100af311817d9dff4d0429a69f41ecf7587bd19133909c3 size: 1777 2025-08-26 20:39:30,908: INFO: Building opensdn-general-base finished successfully, duration: 34 seconds