#10 [6/7] COPY *.sh / #10 DONE 0.1s #11 [7/7] RUN set -e ; source /etc/os-release ; YUM_ENABLE_REPOS=$(echo "" | tr -d '"') ; if [[ -n """" ]] ; then echo "INFO: contrail-general-base: enable repos """ ; if ! type -p yum-config-manager ; then yum install -y yum-utils ; fi ; yum-config-manager --enable "" ; yum clean metadata ; fi ; 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 ; pkgs="hostname iproute less wget openssl glibc-langpack-en rsync" ; GENERAL_EXTRA_RPMS=$(echo "" | tr -d '"' | tr ',' ' ') ; if [[ -n """" ]] ; then pkgs+=" """ ; fi ; yum install -y $pkgs ; 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.107 /bin/sh: warning: setlocale: LC_ALL: cannot change locale (en_US.UTF-8) #11 0.114 total 36 #11 0.114 -rw-r--r--. 1 root root 100 Aug 21 00:10 contrail.repo #11 0.114 -rw-r--r--. 1 root root 2707 Aug 21 01:02 mirror-base-rocky9.repo #11 0.114 -rw-r--r--. 1 root root 217 Aug 21 01:02 mirror-docker9.repo #11 0.114 -rw-r--r--. 1 root root 204 Aug 21 01:02 mirror-epel9.repo #11 0.114 -rw-r--r--. 1 root root 1 Aug 21 01:02 rocky-addons.repo #11 0.114 -rw-r--r--. 1 root root 1 Aug 21 01:02 rocky-devel.repo #11 0.114 -rw-r--r--. 1 root root 1 Aug 21 01:02 rocky-extras.repo #11 0.114 -rw-r--r--. 1 root root 1 Aug 21 01:02 rocky.repo #11 0.114 -rw-r--r--. 1 root root 140 Aug 21 01:02 tpc.repo #11 0.267 Failed to set locale, defaulting to C.UTF-8 #11 0.477 Contrail repo 4.2 MB/s | 105 kB 00:00 #11 0.552 added from: http://tf-mirrors.gz1.opensdn.io/re 43 MB/s | 2.1 MB 00:00 #11 0.919 added from: http://tf-mirrors.gz1.opensdn.io/re 22 MB/s | 730 kB 00:00 #11 1.086 added from: http://tf-mirrors.gz1.opensdn.io/re 9.6 MB/s | 264 kB 00:00 #11 1.252 added from: http://tf-mirrors.gz1.opensdn.io/re 72 MB/s | 7.0 MB 00:00 #11 2.626 added from: http://tf-mirrors.gz1.opensdn.io/re 55 MB/s | 4.0 MB 00:00 #11 3.405 added from: http://tf-mirrors.gz1.opensdn.io/re 25 MB/s | 939 kB 00:00 #11 3.632 added from: http://tf-mirrors.gz1.opensdn.io/re 42 MB/s | 2.3 MB 00:00 #11 4.131 added from: http://tf-mirrors.gz1.opensdn.io/re 10 MB/s | 392 kB 00:00 #11 4.288 added from: http://tf-mirrors.gz1.opensdn.io/re 17 MB/s | 451 kB 00:00 #11 4.448 added from: http://tf-mirrors.gz1.opensdn.io/re 573 kB/s | 16 kB 00:00 #11 4.551 added from: http://tf-mirrors.gz1.opensdn.io/re 15 kB/s | 257 B 00:00 #11 4.655 added from: http://tf-mirrors.gz1.opensdn.io/re 731 kB/s | 13 kB 00:00 #11 4.770 added from: http://tf-mirrors.gz1.opensdn.io/re 2.6 MB/s | 64 kB 00:00 #11 5.156 added from: http://tf-mirrors.gz1.opensdn.io/re 110 MB/s | 30 MB 00:00 #11 11.13 Third parties for OpenSDN 49 MB/s | 5.4 MB 00:00 #11 14.80 No security updates needed for "yum", but 1 update available #11 14.80 No match for argument: update-minimal #11 14.84 Dependencies resolved. #11 14.84 Nothing to do. #11 14.84 Complete! #11 14.93 Failed to set locale, defaulting to C.UTF-8 #11 15.19 Last metadata expiration check: 0:00:04 ago on Thu Aug 21 01:03:06 2025. #11 15.24 Package hostname-3.23-6.el9.x86_64 is already installed. #11 15.25 Package less-590-2.el9_2.x86_64 is already installed. #11 15.25 Package openssl-1:3.0.7-24.el9.x86_64 is already installed. #11 15.28 Dependencies resolved. #11 15.28 ============================================================================================== #11 15.28 Package Arch Version Repository Size #11 15.28 ============================================================================================== #11 15.28 Installing: #11 15.28 glibc-langpack-en x86_64 2.34-125.el9_5.1 tf-mirrors.ci_repos_yum9-baseos 552 k #11 15.28 iproute x86_64 6.2.0-6.el9_4 tf-mirrors.ci_repos_yum9-baseos 786 k #11 15.28 rsync x86_64 3.2.3-20.el9_5.1 tf-mirrors.ci_repos_yum9-baseos 391 k #11 15.28 wget x86_64 1.21.1-8.el9_4 tf-mirrors.ci_repos_yum9-appstream 768 k #11 15.28 Upgrading: #11 15.28 glibc x86_64 2.34-125.el9_5.1 tf-mirrors.ci_repos_yum9-baseos 2.0 M #11 15.28 glibc-common x86_64 2.34-125.el9_5.1 tf-mirrors.ci_repos_yum9-baseos 296 k #11 15.28 glibc-minimal-langpack x86_64 2.34-125.el9_5.1 tf-mirrors.ci_repos_yum9-baseos 22 k #11 15.28 less x86_64 590-5.el9 tf-mirrors.ci_repos_yum9-baseos 161 k #11 15.28 openssl x86_64 1:3.2.2-6.el9_5.1 tf-mirrors.ci_repos_yum9-baseos 1.3 M #11 15.28 openssl-libs x86_64 1:3.2.2-6.el9_5.1 tf-mirrors.ci_repos_yum9-baseos 2.4 M #11 15.28 Installing dependencies: #11 15.28 libbpf x86_64 2:1.4.0-1.el9 tf-mirrors.ci_repos_yum9-baseos 177 k #11 15.28 libmnl x86_64 1.0.4-16.el9_4 tf-mirrors.ci_repos_yum9-baseos 27 k #11 15.28 libpsl x86_64 0.21.1-5.el9 tf-mirrors.ci_repos_yum9-baseos 63 k #11 15.28 psmisc x86_64 23.4-3.el9 tf-mirrors.ci_repos_yum9-baseos 226 k #11 15.28 publicsuffix-list-dafsa noarch 20210518-3.el9 tf-mirrors.ci_repos_yum9-baseos 58 k #11 15.28 #11 15.28 Transaction Summary #11 15.28 ============================================================================================== #11 15.28 Install 9 Packages #11 15.28 Upgrade 6 Packages #11 15.28 #11 15.28 Total download size: 9.1 M #11 15.28 Downloading Packages: #11 15.31 (1/15): libbpf-1.4.0-1.el9.x86_64.rpm 9.1 MB/s | 177 kB 00:00 #11 15.31 (2/15): libmnl-1.0.4-16.el9_4.x86_64.rpm 5.8 MB/s | 27 kB 00:00 #11 15.32 (3/15): glibc-langpack-en-2.34-125.el9_5.1.x86_ 17 MB/s | 552 kB 00:00 #11 15.32 (4/15): libpsl-0.21.1-5.el9.x86_64.rpm 5.4 MB/s | 63 kB 00:00 #11 15.33 (5/15): psmisc-23.4-3.el9.x86_64.rpm 25 MB/s | 226 kB 00:00 #11 15.33 (6/15): publicsuffix-list-dafsa-20210518-3.el9. 7.5 MB/s | 58 kB 00:00 #11 15.34 (7/15): iproute-6.2.0-6.el9_4.x86_64.rpm 14 MB/s | 786 kB 00:00 #11 15.35 (8/15): rsync-3.2.3-20.el9_5.1.x86_64.rpm 21 MB/s | 391 kB 00:00 #11 15.36 (9/15): wget-1.21.1-8.el9_4.x86_64.rpm 29 MB/s | 768 kB 00:00 #11 15.36 (10/15): glibc-common-2.34-125.el9_5.1.x86_64.r 17 MB/s | 296 kB 00:00 #11 15.37 (11/15): glibc-minimal-langpack-2.34-125.el9_5. 2.1 MB/s | 22 kB 00:00 #11 15.37 (12/15): less-590-5.el9.x86_64.rpm 23 MB/s | 161 kB 00:00 #11 15.39 (13/15): glibc-2.34-125.el9_5.1.x86_64.rpm 36 MB/s | 2.0 MB 00:00 #11 15.41 (14/15): openssl-3.2.2-6.el9_5.1.x86_64.rpm 30 MB/s | 1.3 MB 00:00 #11 15.44 (15/15): openssl-libs-3.2.2-6.el9_5.1.x86_64.rp 36 MB/s | 2.4 MB 00:00 #11 15.44 -------------------------------------------------------------------------------- #11 15.44 Total 59 MB/s | 9.1 MB 00:00 #11 15.44 Running transaction check #11 15.78 Transaction check succeeded. #11 15.78 Running transaction test #11 15.92 Transaction test succeeded. #11 15.92 Running transaction #11 16.18 Preparing : 1/1 #11 16.27 Upgrading : glibc-common-2.34-125.el9_5.1.x86_64 1/21 #11 16.28 Upgrading : glibc-minimal-langpack-2.34-125.el9_5.1.x86_64 2/21 #11 16.29 Running scriptlet: glibc-2.34-125.el9_5.1.x86_64 3/21 #11 16.34 Upgrading : glibc-2.34-125.el9_5.1.x86_64 3/21 #11 16.35 Running scriptlet: glibc-2.34-125.el9_5.1.x86_64 3/21 #11 16.49 Installing : glibc-langpack-en-2.34-125.el9_5.1.x86_64 4/21 #11 16.55 Upgrading : openssl-libs-1:3.2.2-6.el9_5.1.x86_64 5/21 #11 16.56 Installing : libbpf-2:1.4.0-1.el9.x86_64 6/21 #11 16.57 Installing : libmnl-1.0.4-16.el9_4.x86_64 7/21 #11 16.57 Installing : psmisc-23.4-3.el9.x86_64 8/21 #11 16.58 Installing : publicsuffix-list-dafsa-20210518-3.el9.noarch 9/21 #11 16.59 Installing : libpsl-0.21.1-5.el9.x86_64 10/21 #11 16.61 Installing : wget-1.21.1-8.el9_4.x86_64 11/21 #11 16.64 Installing : iproute-6.2.0-6.el9_4.x86_64 12/21 #11 16.66 Installing : rsync-3.2.3-20.el9_5.1.x86_64 13/21 #11 16.71 Upgrading : openssl-1:3.2.2-6.el9_5.1.x86_64 14/21 #11 16.73 Upgrading : less-590-5.el9.x86_64 15/21 #11 16.74 Cleanup : openssl-1:3.0.7-24.el9.x86_64 16/21 #11 16.74 Cleanup : openssl-libs-1:3.0.7-24.el9.x86_64 17/21 #11 16.75 Cleanup : less-590-2.el9_2.x86_64 18/21 #11 16.76 Cleanup : glibc-2.34-83.el9.7.x86_64 19/21 #11 16.77 Cleanup : glibc-minimal-langpack-2.34-83.el9.7.x86_64 20/21 #11 16.78 Cleanup : glibc-common-2.34-83.el9.7.x86_64 21/21 #11 16.78 Running scriptlet: glibc-common-2.34-83.el9.7.x86_64 21/21 #11 17.30 Verifying : glibc-langpack-en-2.34-125.el9_5.1.x86_64 1/21 #11 17.30 Verifying : iproute-6.2.0-6.el9_4.x86_64 2/21 #11 17.30 Verifying : libbpf-2:1.4.0-1.el9.x86_64 3/21 #11 17.30 Verifying : libmnl-1.0.4-16.el9_4.x86_64 4/21 #11 17.30 Verifying : libpsl-0.21.1-5.el9.x86_64 5/21 #11 17.30 Verifying : psmisc-23.4-3.el9.x86_64 6/21 #11 17.30 Verifying : publicsuffix-list-dafsa-20210518-3.el9.noarch 7/21 #11 17.30 Verifying : rsync-3.2.3-20.el9_5.1.x86_64 8/21 #11 17.30 Verifying : wget-1.21.1-8.el9_4.x86_64 9/21 #11 17.30 Verifying : glibc-2.34-125.el9_5.1.x86_64 10/21 #11 17.30 Verifying : glibc-2.34-83.el9.7.x86_64 11/21 #11 17.30 Verifying : glibc-common-2.34-125.el9_5.1.x86_64 12/21 #11 17.30 Verifying : glibc-common-2.34-83.el9.7.x86_64 13/21 #11 17.31 Verifying : glibc-minimal-langpack-2.34-125.el9_5.1.x86_64 14/21 #11 17.31 Verifying : glibc-minimal-langpack-2.34-83.el9.7.x86_64 15/21 #11 17.31 Verifying : less-590-5.el9.x86_64 16/21 #11 17.31 Verifying : less-590-2.el9_2.x86_64 17/21 #11 17.31 Verifying : openssl-1:3.2.2-6.el9_5.1.x86_64 18/21 #11 17.31 Verifying : openssl-1:3.0.7-24.el9.x86_64 19/21 #11 17.31 Verifying : openssl-libs-1:3.2.2-6.el9_5.1.x86_64 20/21 #11 17.31 Verifying : openssl-libs-1:3.0.7-24.el9.x86_64 21/21 #11 17.36 #11 17.36 Upgraded: #11 17.36 glibc-2.34-125.el9_5.1.x86_64 #11 17.36 glibc-common-2.34-125.el9_5.1.x86_64 #11 17.36 glibc-minimal-langpack-2.34-125.el9_5.1.x86_64 #11 17.36 less-590-5.el9.x86_64 #11 17.36 openssl-1:3.2.2-6.el9_5.1.x86_64 #11 17.36 openssl-libs-1:3.2.2-6.el9_5.1.x86_64 #11 17.36 Installed: #11 17.36 glibc-langpack-en-2.34-125.el9_5.1.x86_64 iproute-6.2.0-6.el9_4.x86_64 #11 17.36 libbpf-2:1.4.0-1.el9.x86_64 libmnl-1.0.4-16.el9_4.x86_64 #11 17.36 libpsl-0.21.1-5.el9.x86_64 psmisc-23.4-3.el9.x86_64 #11 17.36 publicsuffix-list-dafsa-20210518-3.el9.noarch rsync-3.2.3-20.el9_5.1.x86_64 #11 17.36 wget-1.21.1-8.el9_4.x86_64 #11 17.36 #11 17.36 Complete! #11 17.80 Last metadata expiration check: 0:00:07 ago on Thu 21 Aug 2025 01:03:06 AM UTC. #11 17.86 Package python3-3.9.18-1.el9_3.x86_64 is already installed. #11 17.90 Dependencies resolved. #11 17.90 ====================================================================================== #11 17.90 Package Arch Version Repository Size #11 17.90 ====================================================================================== #11 17.90 Installing: #11 17.90 python3-pip noarch 21.3.1-1.el9 tf-mirrors.ci_repos_yum9-appstream 1.7 M #11 17.90 Upgrading: #11 17.90 python3 x86_64 3.9.21-1.el9_5 tf-mirrors.ci_repos_yum9-baseos 26 k #11 17.90 python3-libs x86_64 3.9.21-1.el9_5 tf-mirrors.ci_repos_yum9-baseos 7.5 M #11 17.90 Installing weak dependencies: #11 17.90 libxcrypt-compat x86_64 4.4.18-3.el9 tf-mirrors.ci_repos_yum9-appstream 88 k #11 17.90 python3-setuptools noarch 53.0.0-13.el9 tf-mirrors.ci_repos_yum9-baseos 838 k #11 17.90 #11 17.90 Transaction Summary #11 17.90 ====================================================================================== #11 17.90 Install 3 Packages #11 17.90 Upgrade 2 Packages #11 17.90 #11 17.90 Total download size: 10 M #11 17.90 Downloading Packages: #11 17.92 (1/5): libxcrypt-compat-4.4.18-3.el9.x86_64.rpm 4.8 MB/s | 88 kB 00:00 #11 17.92 (2/5): python3-3.9.21-1.el9_5.x86_64.rpm 5.8 MB/s | 26 kB 00:00 #11 17.94 (3/5): python3-setuptools-53.0.0-13.el9.noarch. 24 MB/s | 838 kB 00:00 #11 17.97 (4/5): python3-pip-21.3.1-1.el9.noarch.rpm 27 MB/s | 1.7 MB 00:00 #11 18.03 (5/5): python3-libs-3.9.21-1.el9_5.x86_64.rpm 68 MB/s | 7.5 MB 00:00 #11 18.04 -------------------------------------------------------------------------------- #11 18.04 Total 75 MB/s | 10 MB 00:00 #11 18.04 Running transaction check #11 18.08 Transaction check succeeded. #11 18.08 Running transaction test #11 18.23 Transaction test succeeded. #11 18.24 Running transaction #11 18.40 Preparing : 1/1 #11 18.86 Upgrading : python3-libs-3.9.21-1.el9_5.x86_64 1/7 #11 18.90 Upgrading : python3-3.9.21-1.el9_5.x86_64 2/7 #11 18.97 Installing : python3-setuptools-53.0.0-13.el9.noarch 3/7 #11 18.99 Installing : libxcrypt-compat-4.4.18-3.el9.x86_64 4/7 #11 19.16 Installing : python3-pip-21.3.1-1.el9.noarch 5/7 #11 19.18 Cleanup : python3-3.9.18-1.el9_3.x86_64 6/7 #11 19.23 Cleanup : python3-libs-3.9.18-1.el9_3.x86_64 7/7 #11 19.25 Running scriptlet: python3-libs-3.9.18-1.el9_3.x86_64 7/7 #11 19.75 Verifying : python3-setuptools-53.0.0-13.el9.noarch 1/7 #11 19.75 Verifying : libxcrypt-compat-4.4.18-3.el9.x86_64 2/7 #11 19.75 Verifying : python3-pip-21.3.1-1.el9.noarch 3/7 #11 19.75 Verifying : python3-3.9.21-1.el9_5.x86_64 4/7 #11 19.75 Verifying : python3-3.9.18-1.el9_3.x86_64 5/7 #11 19.75 Verifying : python3-libs-3.9.21-1.el9_5.x86_64 6/7 #11 19.75 Verifying : python3-libs-3.9.18-1.el9_3.x86_64 7/7 #11 19.78 #11 19.78 Upgraded: #11 19.78 python3-3.9.21-1.el9_5.x86_64 python3-libs-3.9.21-1.el9_5.x86_64 #11 19.78 Installed: #11 19.78 libxcrypt-compat-4.4.18-3.el9.x86_64 python3-pip-21.3.1-1.el9.noarch #11 19.78 python3-setuptools-53.0.0-13.el9.noarch #11 19.78 #11 19.78 Complete! #11 20.16 Looking in indexes: http://tf-mirrors.gz1.opensdn.io/root/pypi/+simple/ #11 20.16 Requirement already satisfied: pip in /usr/lib/python3.9/site-packages (21.3.1) #11 20.28 Collecting pip #11 20.30 Downloading http://tf-mirrors.gz1.opensdn.io/root/pypi/%2Bf/6d6/7a2b4e7f14d8b/pip-25.2-py3-none-any.whl (1.8 MB) #11 20.35 Requirement already satisfied: setuptools in /usr/lib/python3.9/site-packages (53.0.0) #11 20.78 Collecting setuptools #11 20.80 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.93 Installing collected packages: setuptools, pip #11 22.35 Successfully installed pip-25.2 setuptools-80.9.0 #11 22.35 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.66 80 files removed #11 22.73 useradd warning: contrail's uid 1999 is greater than SYS_UID_MAX 999 #11 DONE 23.0s #12 exporting to image #12 exporting layers #12 exporting layers 1.0s done #12 writing image sha256:529796fad53685c2e0cb5890f4aeda3a8cef3ec12908e057cecfa80a5eab5bc3 done #12 naming to nexus.gz1.opensdn.io:5102/opensdn-general-base:nightly done #12 DONE 1.1s 2025-08-21 01:03:19,363: INFO: Docker build duration: 28 seconds The push refers to repository [nexus.gz1.opensdn.io:5102/opensdn-general-base] c78df8f9cb88: Preparing e68c0a1257aa: Preparing 4d29203cdc6d: Preparing 472824d7174a: Preparing a2d848a33535: Preparing bf9da39e8adb: Preparing 44343de3ea1d: Preparing bf9da39e8adb: Waiting 44343de3ea1d: Waiting 472824d7174a: Pushed a2d848a33535: Pushed e68c0a1257aa: Pushed 4d29203cdc6d: Pushed bf9da39e8adb: Pushed 44343de3ea1d: Layer already exists c78df8f9cb88: Pushed nightly: digest: sha256:fdd2263d5611434ed6d3de3caf22516b7df486800192a30f9551b750bb46ffeb size: 1777 2025-08-21 01:03:25,009: INFO: Building opensdn-general-base finished successfully, duration: 34 seconds