2024-09-13 20:30:09,662: INFO: Building contrail-vrouter-plugin-n3000-init-redhat 2024-09-13 20:30:09,731: INFO: Building args: --network host --build-arg CONTRAIL_REGISTRY=nexus.gz1.opensdn.io:5101 --build-arg CONTRAIL_CONTAINER_TAG=master-1_0_2_2-7 --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:master-1_0_2_2-7 ---> 071a839c28b4 Step 2/10 : ARG LINUX_DISTR ---> Running in ca398d2cb320 ---> Removed intermediate container ca398d2cb320 ---> bc7797741647 Step 3/10 : ARG CONTAINER_NAME ---> Running in 4ad69afbd04e ---> Removed intermediate container 4ad69afbd04e ---> a2b8dc53e09f Step 4/10 : ENV CONTAINER_NAME=$CONTAINER_NAME ---> Running in a9a6b85a299d ---> Removed intermediate container a9a6b85a299d ---> 43140f135215 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 71e6ea96c520 ---> Removed intermediate container 71e6ea96c520 ---> c4cd0b991f41 Step 6/10 : SHELL ["/bin/bash", "-c"] ---> Running in 49f6a67cda12 ---> Removed intermediate container 49f6a67cda12 ---> 173aa5075b0d 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 143d98a85a59 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:master.9.7.7.3-master_9_7_7_3.el7 will be installed --> Processing Dependency: libnuma.so.1(libnuma_1.2)(64bit) for package: contrail-vrouter-dpdk-n3000-tools-master.9.7.7.3-master_9_7_7_3.el7.x86_64 --> Processing Dependency: libnuma.so.1(libnuma_1.1)(64bit) for package: contrail-vrouter-dpdk-n3000-tools-master.9.7.7.3-master_9_7_7_3.el7.x86_64 --> Processing Dependency: libmlx5.so.1(MLX5_OFED_4.7)(64bit) for package: contrail-vrouter-dpdk-n3000-tools-master.9.7.7.3-master_9_7_7_3.el7.x86_64 --> Processing Dependency: libmlx5.so.1(MLX5_1.9)(64bit) for package: contrail-vrouter-dpdk-n3000-tools-master.9.7.7.3-master_9_7_7_3.el7.x86_64 --> Processing Dependency: libmlx5.so.1(MLX5_1.8)(64bit) for package: contrail-vrouter-dpdk-n3000-tools-master.9.7.7.3-master_9_7_7_3.el7.x86_64 --> Processing Dependency: libmlx5.so.1(MLX5_1.7)(64bit) for package: contrail-vrouter-dpdk-n3000-tools-master.9.7.7.3-master_9_7_7_3.el7.x86_64 --> Processing Dependency: libmlx5.so.1(MLX5_1.3)(64bit) for package: contrail-vrouter-dpdk-n3000-tools-master.9.7.7.3-master_9_7_7_3.el7.x86_64 --> Processing Dependency: libmlx5.so.1(MLX5_1.2)(64bit) for package: contrail-vrouter-dpdk-n3000-tools-master.9.7.7.3-master_9_7_7_3.el7.x86_64 --> Processing Dependency: libmlx5.so.1(MLX5_1.10)(64bit) for package: contrail-vrouter-dpdk-n3000-tools-master.9.7.7.3-master_9_7_7_3.el7.x86_64 --> Processing Dependency: libmlx5.so.1(MLX5_1.1)(64bit) for package: contrail-vrouter-dpdk-n3000-tools-master.9.7.7.3-master_9_7_7_3.el7.x86_64 --> Processing Dependency: libmlx5.so.1(MLX5_1.0)(64bit) for package: contrail-vrouter-dpdk-n3000-tools-master.9.7.7.3-master_9_7_7_3.el7.x86_64 --> Processing Dependency: libibverbs.so.1(IBVERBS_1.1)(64bit) for package: contrail-vrouter-dpdk-n3000-tools-master.9.7.7.3-master_9_7_7_3.el7.x86_64 --> Processing Dependency: libibverbs.so.1(IBVERBS_1.0)(64bit) for package: contrail-vrouter-dpdk-n3000-tools-master.9.7.7.3-master_9_7_7_3.el7.x86_64 --> Processing Dependency: libnuma.so.1()(64bit) for package: contrail-vrouter-dpdk-n3000-tools-master.9.7.7.3-master_9_7_7_3.el7.x86_64 --> Processing Dependency: libmlx5.so.1()(64bit) for package: contrail-vrouter-dpdk-n3000-tools-master.9.7.7.3-master_9_7_7_3.el7.x86_64 --> Processing Dependency: libibverbs.so.1()(64bit) for package: contrail-vrouter-dpdk-n3000-tools-master.9.7.7.3-master_9_7_7_3.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 master.9.7.7.3-master_9_7_7_3.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 59 MB/s | 46 MB 00:00 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-master.9.7.7.3-master_9_ 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 : 12:dhclient-4.2.5-83.el7.centos.1.x86_64 6/8 Verifying : contrail-vrouter-dpdk-n3000-tools-master.9.7.7.3-master_9_ 7/8 Verifying : rdma-core-47mlnx1-1.47329.x86_64 8/8 Installed: contrail-vrouter-dpdk-n3000-tools.x86_64 0:master.9.7.7.3-master_9_7_7_3.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 143d98a85a59 ---> 4d535a882bde Step 8/10 : COPY entrypoint.sh / ---> 200aef4ee3f6 Step 9/10 : COPY n3000-* / ---> ef64f0210b59 Step 10/10 : ENTRYPOINT ["/entrypoint.sh"] ---> Running in 34ae1ae1360b ---> Removed intermediate container 34ae1ae1360b ---> df277a0f5a74 [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 df277a0f5a74 Successfully tagged nexus.gz1.opensdn.io:5101/contrail-vrouter-plugin-n3000-init-redhat:master-1_0_2_2-7 Successfully tagged nexus.gz1.opensdn.io:5101/tf-vrouter-plugin-n3000-init-redhat:master-1_0_2_2-7 2024-09-13 20:33:08,748: INFO: Docker build duration: 179 seconds The push refers to repository [nexus.gz1.opensdn.io:5101/contrail-vrouter-plugin-n3000-init-redhat] 74d606b0c137: Preparing 9a3efe0b06c1: Preparing cd79eeecf7a4: Preparing 822073dd4ac2: Preparing 925179774102: Preparing f44db80172d2: Preparing ea82938197b3: Preparing b4c557857246: Preparing 9d9d8b9e99fb: Preparing 85e33e6554a0: Preparing f58ce33157c2: Preparing 608ee07d7b91: Preparing 467b165136c8: Preparing 174f56854903: Preparing f44db80172d2: Waiting ea82938197b3: Waiting b4c557857246: Waiting 9d9d8b9e99fb: Waiting 85e33e6554a0: Waiting f58ce33157c2: Waiting 608ee07d7b91: Waiting 467b165136c8: Waiting 174f56854903: Waiting 925179774102: Layer already exists 822073dd4ac2: Layer already exists f44db80172d2: Layer already exists 74d606b0c137: Pushed ea82938197b3: Layer already exists b4c557857246: Layer already exists 9a3efe0b06c1: Pushed 9d9d8b9e99fb: Layer already exists 85e33e6554a0: Layer already exists f58ce33157c2: Layer already exists 608ee07d7b91: Layer already exists 467b165136c8: Layer already exists 174f56854903: Layer already exists cd79eeecf7a4: Pushed master-1_0_2_2-7: digest: sha256:7d5997e2fa3f29cc5eda15f15f3ee737a7b1b093a0167df6a40f13c71a37bccc size: 3248 The push refers to repository [nexus.gz1.opensdn.io:5101/tf-vrouter-plugin-n3000-init-redhat] 74d606b0c137: Preparing 9a3efe0b06c1: Preparing cd79eeecf7a4: Preparing 822073dd4ac2: Preparing 925179774102: Preparing f44db80172d2: Preparing ea82938197b3: Preparing b4c557857246: Preparing 9d9d8b9e99fb: Preparing 85e33e6554a0: Preparing f58ce33157c2: Preparing 608ee07d7b91: Preparing 467b165136c8: Preparing 174f56854903: Preparing cd79eeecf7a4: Waiting 822073dd4ac2: Waiting 925179774102: Waiting f44db80172d2: Waiting ea82938197b3: Waiting b4c557857246: Waiting 9d9d8b9e99fb: Waiting 85e33e6554a0: Waiting f58ce33157c2: Waiting 608ee07d7b91: Waiting 467b165136c8: Waiting 174f56854903: Waiting 9a3efe0b06c1: Layer already exists 74d606b0c137: Layer already exists cd79eeecf7a4: Layer already exists 822073dd4ac2: Layer already exists 925179774102: Layer already exists f44db80172d2: Layer already exists ea82938197b3: Layer already exists b4c557857246: Layer already exists 9d9d8b9e99fb: Layer already exists 85e33e6554a0: Layer already exists f58ce33157c2: Layer already exists 608ee07d7b91: Layer already exists 467b165136c8: Layer already exists 174f56854903: Layer already exists master-1_0_2_2-7: digest: sha256:7d5997e2fa3f29cc5eda15f15f3ee737a7b1b093a0167df6a40f13c71a37bccc size: 3248 2024-09-13 20:34:29,489: INFO: Building contrail-vrouter-plugin-n3000-init-redhat finished successfully, duration: 260 seconds