2024-08-21 19:02:25,068: INFO: Building contrail-vrouter-plugin-n3000-init-redhat 2024-08-21 19:02:25,142: INFO: Building args: --network host --build-arg CONTRAIL_REGISTRY=nexus.gz1.opensdn.io:5101 --build-arg CONTRAIL_CONTAINER_TAG=r24.1-8_6_5-1 --build-arg SITE_MIRROR=http://nexus.gz1.opensdn.io/repository/external-web-cache --build-arg LINUX_DISTR_VER=7 --build-arg LINUX_DISTR=centos --build-arg GENERAL_EXTRA_RPMS="" --build-arg BASE_EXTRA_RPMS="" --build-arg YUM_ENABLE_REPOS="" --build-arg CONTAINER_NAME=contrail-vrouter-plugin-n3000-init-redhat --build-arg UBUNTU_DISTR_VERSION=22.04 --build-arg UBUNTU_DISTR=ubuntu --build-arg VENDOR_NAME=OpenSDN-IO --build-arg VENDOR_DOMAIN=io.opensdn Sending build context to Docker daemon 48.64 kB Step 1/10 : FROM nexus.gz1.opensdn.io:5101/contrail-vrouter-base:r24.1-8_6_5-1 ---> 3139a6b31ccb Step 2/10 : ARG LINUX_DISTR ---> Running in 230c8fc2df98 ---> Removed intermediate container 230c8fc2df98 ---> 1711828bc3b9 Step 3/10 : ARG CONTAINER_NAME ---> Running in 78a03180a41d ---> Removed intermediate container 78a03180a41d ---> cba8841d803e Step 4/10 : ENV CONTAINER_NAME=$CONTAINER_NAME ---> Running in 227212ce85ff ---> Removed intermediate container 227212ce85ff ---> 1123a86fc9a3 Step 5/10 : LABEL name=$CONTAINER_NAME summary="N3K plugin for RedHat" description="N3K inititialization container for RedHat." $VENDOR_DOMAIN".container.name"=$CONTAINER_NAME ---> Running in a3bd817747f6 ---> Removed intermediate container a3bd817747f6 ---> eec46c843b9c Step 6/10 : SHELL ["/bin/bash", "-c"] ---> Running in 06a7d23b8a30 ---> Removed intermediate container 06a7d23b8a30 ---> e17a5af9e58d Step 7/10 : RUN yes | python3 -m pip install intelhex || true && yum install -y contrail-vrouter-dpdk-n3000-tools pciutils dhclient && rpm -Uvh --nodeps $(repoquery -q --location opae-libs) && rpm -Uvh --nodeps $(repoquery -q --location opae-devel) && rpm -Uvh --nodeps $(repoquery -q --location opae.admin) && rpm -Uvh --nodeps $(repoquery -q --location opae-tools) && rpm -Uvh --nodeps $(repoquery -q --location opae-tools-extra) && rpm -Uvh --nodeps $(repoquery -q --location opae.pac_sign) && rpm -Uvh --nodeps $(repoquery -q --location opae-super-rsu-n3000) && mkdir -p /opt/opae && yumdownloader --destdir=/opt/opae/ opae-intel-fpga-driver && mkdir -p /opt/n3000/site_packages && cp -r /usr/lib/python2.7/site-packages/opae* /opt/n3000/site_packages/ && mv /usr/bin/fecmode /opt/n3000/fecmode && mv /usr/bin/rsu /opt/n3000/rsu && yum clean all -y && rm -rf /var/cache/yum ---> Running in e6973c9155b4 WARNING: Running pip install with root privileges is generally not a good idea. Try `__main__.py install --user` instead. Collecting intelhex Downloading http://tf-mirrors.gz1.opensdn.io/root/pypi/+f/87c/c5225657524ec/intelhex-2.3.0-py2.py3-none-any.whl (50kB) Installing collected packages: intelhex Successfully installed intelhex-2.3.0 Loaded plugins: fastestmirror, ovl Determining fastest mirrors Package pciutils-3.5.1-3.el7.x86_64 already installed and latest version Resolving Dependencies --> Running transaction check ---> Package contrail-vrouter-dpdk-n3000-tools.x86_64 0:r24.1.8.6.5.1-r24.1_8_6_5_1.el7 will be installed --> Processing Dependency: libnuma.so.1(libnuma_1.2)(64bit) for package: contrail-vrouter-dpdk-n3000-tools-r24.1.8.6.5.1-r24.1_8_6_5_1.el7.x86_64 --> Processing Dependency: libnuma.so.1(libnuma_1.1)(64bit) for package: contrail-vrouter-dpdk-n3000-tools-r24.1.8.6.5.1-r24.1_8_6_5_1.el7.x86_64 --> Processing Dependency: libmlx5.so.1(MLX5_OFED_4.7)(64bit) for package: contrail-vrouter-dpdk-n3000-tools-r24.1.8.6.5.1-r24.1_8_6_5_1.el7.x86_64 --> Processing Dependency: libmlx5.so.1(MLX5_1.9)(64bit) for package: contrail-vrouter-dpdk-n3000-tools-r24.1.8.6.5.1-r24.1_8_6_5_1.el7.x86_64 --> Processing Dependency: libmlx5.so.1(MLX5_1.8)(64bit) for package: contrail-vrouter-dpdk-n3000-tools-r24.1.8.6.5.1-r24.1_8_6_5_1.el7.x86_64 --> Processing Dependency: libmlx5.so.1(MLX5_1.7)(64bit) for package: contrail-vrouter-dpdk-n3000-tools-r24.1.8.6.5.1-r24.1_8_6_5_1.el7.x86_64 --> Processing Dependency: libmlx5.so.1(MLX5_1.3)(64bit) for package: contrail-vrouter-dpdk-n3000-tools-r24.1.8.6.5.1-r24.1_8_6_5_1.el7.x86_64 --> Processing Dependency: libmlx5.so.1(MLX5_1.2)(64bit) for package: contrail-vrouter-dpdk-n3000-tools-r24.1.8.6.5.1-r24.1_8_6_5_1.el7.x86_64 --> Processing Dependency: libmlx5.so.1(MLX5_1.10)(64bit) for package: contrail-vrouter-dpdk-n3000-tools-r24.1.8.6.5.1-r24.1_8_6_5_1.el7.x86_64 --> Processing Dependency: libmlx5.so.1(MLX5_1.1)(64bit) for package: contrail-vrouter-dpdk-n3000-tools-r24.1.8.6.5.1-r24.1_8_6_5_1.el7.x86_64 --> Processing Dependency: libmlx5.so.1(MLX5_1.0)(64bit) for package: contrail-vrouter-dpdk-n3000-tools-r24.1.8.6.5.1-r24.1_8_6_5_1.el7.x86_64 --> Processing Dependency: libibverbs.so.1(IBVERBS_1.1)(64bit) for package: contrail-vrouter-dpdk-n3000-tools-r24.1.8.6.5.1-r24.1_8_6_5_1.el7.x86_64 --> Processing Dependency: libibverbs.so.1(IBVERBS_1.0)(64bit) for package: contrail-vrouter-dpdk-n3000-tools-r24.1.8.6.5.1-r24.1_8_6_5_1.el7.x86_64 --> Processing Dependency: libnuma.so.1()(64bit) for package: contrail-vrouter-dpdk-n3000-tools-r24.1.8.6.5.1-r24.1_8_6_5_1.el7.x86_64 --> Processing Dependency: libmlx5.so.1()(64bit) for package: contrail-vrouter-dpdk-n3000-tools-r24.1.8.6.5.1-r24.1_8_6_5_1.el7.x86_64 --> Processing Dependency: libibverbs.so.1()(64bit) for package: contrail-vrouter-dpdk-n3000-tools-r24.1.8.6.5.1-r24.1_8_6_5_1.el7.x86_64 ---> Package dhclient.x86_64 12:4.2.5-83.el7.centos.1 will be installed --> Processing Dependency: dhcp-libs(x86-64) = 12:4.2.5-83.el7.centos.1 for package: 12:dhclient-4.2.5-83.el7.centos.1.x86_64 --> Processing Dependency: dhcp-common = 12:4.2.5-83.el7.centos.1 for package: 12:dhclient-4.2.5-83.el7.centos.1.x86_64 --> Processing Dependency: libomapi.so.0()(64bit) for package: 12:dhclient-4.2.5-83.el7.centos.1.x86_64 --> Processing Dependency: libisc-export.so.169()(64bit) for package: 12:dhclient-4.2.5-83.el7.centos.1.x86_64 --> Processing Dependency: libdns-export.so.1102()(64bit) for package: 12:dhclient-4.2.5-83.el7.centos.1.x86_64 --> Running transaction check ---> Package bind-export-libs.x86_64 32:9.11.4-26.P2.el7_9.15 will be installed ---> Package dhcp-common.x86_64 12:4.2.5-83.el7.centos.1 will be installed ---> Package dhcp-libs.x86_64 12:4.2.5-83.el7.centos.1 will be installed ---> Package libibverbs.x86_64 0:47mlnx1-1.47329 will be installed --> Processing Dependency: rdma-core(x86-64) = 47mlnx1-1.47329 for package: libibverbs-47mlnx1-1.47329.x86_64 ---> Package numactl-libs.x86_64 0:2.0.12-5.el7 will be installed --> Running transaction check ---> Package rdma-core.x86_64 0:47mlnx1-1.47329 will be installed --> Finished Dependency Resolution Dependencies Resolved ================================================================================ Package Arch Version Repository Size ================================================================================ Installing: contrail-vrouter-dpdk-n3000-tools x86_64 r24.1.8.6.5.1-r24.1_8_6_5_1.el7 contrail 44 M dhclient x86_64 12:4.2.5-83.el7.centos.1 tf-mirrors.ci_repos_yum7-updates 286 k Installing for dependencies: bind-export-libs x86_64 32:9.11.4-26.P2.el7_9.15 tf-mirrors.ci_repos_yum7-updates 1.1 M dhcp-common x86_64 12:4.2.5-83.el7.centos.1 tf-mirrors.ci_repos_yum7-updates 177 k dhcp-libs x86_64 12:4.2.5-83.el7.centos.1 tf-mirrors.ci_repos_yum7-updates 133 k libibverbs x86_64 47mlnx1-1.47329 contrail-tpc 177 k numactl-libs x86_64 2.0.12-5.el7 tf-mirrors.ci_repos_yum7-base 30 k rdma-core x86_64 47mlnx1-1.47329 contrail-tpc 54 k Transaction Summary ================================================================================ Install 2 Packages (+6 Dependent packages) Total download size: 46 M Installed size: 209 M Downloading packages: -------------------------------------------------------------------------------- Total 26 MB/s | 46 MB 00:01 Running transaction check Running transaction test Transaction test succeeded Running transaction Installing : 12:dhcp-libs-4.2.5-83.el7.centos.1.x86_64 1/8 Installing : 12:dhcp-common-4.2.5-83.el7.centos.1.x86_64 2/8 Installing : rdma-core-47mlnx1-1.47329.x86_64 3/8 Installing : libibverbs-47mlnx1-1.47329.x86_64 4/8 Installing : numactl-libs-2.0.12-5.el7.x86_64 5/8 Installing : 32:bind-export-libs-9.11.4-26.P2.el7_9.15.x86_64 6/8 Installing : 12:dhclient-4.2.5-83.el7.centos.1.x86_64 7/8 Installing : contrail-vrouter-dpdk-n3000-tools-r24.1.8.6.5.1-r24.1_8_6_ 8/8 Verifying : libibverbs-47mlnx1-1.47329.x86_64 1/8 Verifying : 12:dhcp-common-4.2.5-83.el7.centos.1.x86_64 2/8 Verifying : 32:bind-export-libs-9.11.4-26.P2.el7_9.15.x86_64 3/8 Verifying : numactl-libs-2.0.12-5.el7.x86_64 4/8 Verifying : 12:dhcp-libs-4.2.5-83.el7.centos.1.x86_64 5/8 Verifying : contrail-vrouter-dpdk-n3000-tools-r24.1.8.6.5.1-r24.1_8_6_ 6/8 Verifying : 12:dhclient-4.2.5-83.el7.centos.1.x86_64 7/8 Verifying : rdma-core-47mlnx1-1.47329.x86_64 8/8 Installed: contrail-vrouter-dpdk-n3000-tools.x86_64 0:r24.1.8.6.5.1-r24.1_8_6_5_1.el7 dhclient.x86_64 12:4.2.5-83.el7.centos.1 Dependency Installed: bind-export-libs.x86_64 32:9.11.4-26.P2.el7_9.15 dhcp-common.x86_64 12:4.2.5-83.el7.centos.1 dhcp-libs.x86_64 12:4.2.5-83.el7.centos.1 libibverbs.x86_64 0:47mlnx1-1.47329 numactl-libs.x86_64 0:2.0.12-5.el7 rdma-core.x86_64 0:47mlnx1-1.47329 Complete! Retrieving http://nexus.gz1.opensdn.io/repository/yum-tpc7/opae-libs-1.3.5-4.x86_64.rpm Preparing... ######################################## Updating / installing... opae-libs-1.3.5-4 ######################################## Retrieving http://nexus.gz1.opensdn.io/repository/yum-tpc7/opae-devel-1.3.5-4.x86_64.rpm Preparing... ######################################## Updating / installing... opae-devel-1.3.5-4 ######################################## Retrieving http://nexus.gz1.opensdn.io/repository/yum-tpc7/opae.admin-1.0.1-3.noarch.rpm Preparing... ######################################## Updating / installing... opae.admin-1.0.1-3 ######################################## Retrieving http://nexus.gz1.opensdn.io/repository/yum-tpc7/opae-tools-1.3.5-4.x86_64.rpm Preparing... ######################################## Updating / installing... opae-tools-1.3.5-4 ######################################## Retrieving http://nexus.gz1.opensdn.io/repository/yum-tpc7/opae-tools-extra-1.3.5-4.x86_64.rpm Preparing... ######################################## Updating / installing... opae-tools-extra-1.3.5-4 ######################################## Retrieving http://nexus.gz1.opensdn.io/repository/yum-tpc7/opae.pac_sign-1.0.1-2.x86_64.rpm Preparing... ######################################## Updating / installing... opae.pac_sign-1.0.1-2 ######################################## Retrieving http://nexus.gz1.opensdn.io/repository/yum-tpc7/opae-super-rsu-n3000-1.3.5-3.noarch.rpm Preparing... ######################################## Updating / installing... opae-super-rsu-n3000-1.3.5-3 ######################################## Loaded plugins: fastestmirror, ovl Loading mirror speeds from cached hostfile Loaded plugins: fastestmirror, ovl Cleaning repos: contrail contrail-tpc : tf-mirrors.ci_repos_centos-openstack-queens : tf-mirrors.ci_repos_dockerrepo tf-mirrors.ci_repos_yum7-base : tf-mirrors.ci_repos_yum7-centos-sclo-rh : tf-mirrors.ci_repos_yum7-centosplus : tf-mirrors.ci_repos_yum7-extras tf-mirrors.ci_repos_yum7-updates Cleaning up list of fastest mirrors ---> Removed intermediate container e6973c9155b4 ---> 3835cdb8fe10 Step 8/10 : COPY entrypoint.sh / ---> 222a4c8ccfa6 Step 9/10 : COPY n3000-* / ---> 518382d42818 Step 10/10 : ENTRYPOINT ["/entrypoint.sh"] ---> Running in 5add65c8808d ---> Removed intermediate container 5add65c8808d ---> 1f9c9aa2a396 [Warning] One or more build-args [BASE_EXTRA_RPMS CONTRAIL_CONTAINER_TAG CONTRAIL_REGISTRY GENERAL_EXTRA_RPMS LINUX_DISTR_VER SITE_MIRROR UBUNTU_DISTR UBUNTU_DISTR_VERSION VENDOR_DOMAIN VENDOR_NAME YUM_ENABLE_REPOS] were not consumed Successfully built 1f9c9aa2a396 Successfully tagged nexus.gz1.opensdn.io:5101/contrail-vrouter-plugin-n3000-init-redhat:r24.1-8_6_5-1 Successfully tagged nexus.gz1.opensdn.io:5101/tf-vrouter-plugin-n3000-init-redhat:r24.1-8_6_5-1 2024-08-21 19:06:25,378: INFO: Docker build duration: 240 seconds The push refers to repository [nexus.gz1.opensdn.io:5101/contrail-vrouter-plugin-n3000-init-redhat] 5352409b0a6c: Preparing 21f47dbe30ef: Preparing 17352a17efc2: Preparing 59bd60a0d361: Preparing 2fda90248594: Preparing bbcdfba9b17f: Preparing 79683e1bb39f: Preparing 1328edfff218: Preparing 95391d9cee31: Preparing 78b617108eb3: Preparing 5e2c93fc79b2: Preparing b00ec5fedc07: Preparing 2ad08e883754: Preparing 174f56854903: Preparing 5352409b0a6c: Waiting 21f47dbe30ef: Waiting 17352a17efc2: Waiting 59bd60a0d361: Waiting 2fda90248594: Waiting bbcdfba9b17f: Waiting 79683e1bb39f: Waiting 1328edfff218: Waiting 95391d9cee31: Waiting 78b617108eb3: Waiting 5e2c93fc79b2: Waiting b00ec5fedc07: Waiting 2ad08e883754: Waiting 174f56854903: Waiting 5352409b0a6c: Pushed 21f47dbe30ef: Pushed 59bd60a0d361: Layer already exists 2fda90248594: Layer already exists bbcdfba9b17f: Layer already exists 79683e1bb39f: Layer already exists 1328edfff218: Layer already exists 95391d9cee31: Layer already exists 78b617108eb3: Layer already exists 5e2c93fc79b2: Layer already exists b00ec5fedc07: Layer already exists 2ad08e883754: Layer already exists 174f56854903: Layer already exists 17352a17efc2: Pushed r24.1-8_6_5-1: digest: sha256:0aa783c8d06fcc0701ebab58826faba245f18b1942635116c0d1f27e49127fec size: 3248 The push refers to repository [nexus.gz1.opensdn.io:5101/tf-vrouter-plugin-n3000-init-redhat] 5352409b0a6c: Preparing 21f47dbe30ef: Preparing 17352a17efc2: Preparing 59bd60a0d361: Preparing 2fda90248594: Preparing bbcdfba9b17f: Preparing 79683e1bb39f: Preparing 1328edfff218: Preparing 95391d9cee31: Preparing 78b617108eb3: Preparing 5e2c93fc79b2: Preparing b00ec5fedc07: Preparing 2ad08e883754: Preparing 174f56854903: Preparing 2fda90248594: Waiting bbcdfba9b17f: Waiting 79683e1bb39f: Waiting 1328edfff218: Waiting 95391d9cee31: Waiting 78b617108eb3: Waiting 5e2c93fc79b2: Waiting b00ec5fedc07: Waiting 2ad08e883754: Waiting 174f56854903: Waiting 21f47dbe30ef: Layer already exists 5352409b0a6c: Layer already exists 17352a17efc2: Layer already exists 59bd60a0d361: Layer already exists 2fda90248594: Layer already exists bbcdfba9b17f: Layer already exists 1328edfff218: Layer already exists 79683e1bb39f: Layer already exists 95391d9cee31: Layer already exists 5e2c93fc79b2: Layer already exists 78b617108eb3: Layer already exists b00ec5fedc07: Layer already exists 2ad08e883754: Layer already exists 174f56854903: Layer already exists r24.1-8_6_5-1: digest: sha256:0aa783c8d06fcc0701ebab58826faba245f18b1942635116c0d1f27e49127fec size: 3248 2024-08-21 19:07:04,779: INFO: Building contrail-vrouter-plugin-n3000-init-redhat finished successfully, duration: 279 seconds