2024-08-21 11:04:38,171: INFO: Building contrail-tor-agent 2024-08-21 11:04:38,301: INFO: Building args: --network host --build-arg CONTRAIL_REGISTRY=nexus.gz1.opensdn.io:5101 --build-arg CONTRAIL_CONTAINER_TAG=r24.1-8_6_3-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-tor-agent --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 11.26 kB Step 1/8 : FROM nexus.gz1.opensdn.io:5101/contrail-base:r24.1-8_6_3-1 ---> 01a311657cce Step 2/8 : ARG CONTAINER_NAME ---> Running in 6adfdb0b280b ---> Removed intermediate container 6adfdb0b280b ---> 46b58d6c43d6 Step 3/8 : ENV NODE_TYPE=toragent SERVICE_NAME=tor-agent CONTAINER_NAME=$CONTAINER_NAME ---> Running in 665e3780a72b ---> Removed intermediate container 665e3780a72b ---> 006b4fe0bed9 Step 4/8 : LABEL name=$CONTAINER_NAME summary="Contrail ToR agent" description="A ToR agent provisioned in the Contrail cluster acts as the OVSDB client for the ToR switch, and all of the OVSDB interactions with the ToR switch are performed by using the ToR agent." $VENDOR_DOMAIN".pod"=$NODE_TYPE $VENDOR_DOMAIN".service"=$SERVICE_NAME $VENDOR_DOMAIN".container.name"=$CONTAINER_NAME ---> Running in c1ef6548145c ---> Removed intermediate container c1ef6548145c ---> 8b2d10718497 Step 5/8 : RUN yum install -y contrail-vrouter-agent python-contrail-vrouter-api && yum clean all -y && rm -rf /var/cache/yum ---> Running in 40b3a40f9c53 Loaded plugins: fastestmirror, ovl Determining fastest mirrors Resolving Dependencies --> Running transaction check ---> Package contrail-vrouter-agent.x86_64 0:r24.1.8.6.3.1-r24.1_8_6_3_1.el7 will be installed --> Processing Dependency: xmltodict >= 0.7.0 for package: contrail-vrouter-agent-r24.1.8.6.3.1-r24.1_8_6_3_1.el7.x86_64 --> Processing Dependency: libtcmalloc.so.4()(64bit) for package: contrail-vrouter-agent-r24.1.8.6.3.1-r24.1_8_6_3_1.el7.x86_64 --> Processing Dependency: libboost_thread-mt.so.1.53.0()(64bit) for package: contrail-vrouter-agent-r24.1.8.6.3.1-r24.1_8_6_3_1.el7.x86_64 --> Processing Dependency: libboost_system.so.1.53.0()(64bit) for package: contrail-vrouter-agent-r24.1.8.6.3.1-r24.1_8_6_3_1.el7.x86_64 --> Processing Dependency: libboost_system-mt.so.1.53.0()(64bit) for package: contrail-vrouter-agent-r24.1.8.6.3.1-r24.1_8_6_3_1.el7.x86_64 --> Processing Dependency: libboost_regex.so.1.53.0()(64bit) for package: contrail-vrouter-agent-r24.1.8.6.3.1-r24.1_8_6_3_1.el7.x86_64 --> Processing Dependency: libboost_program_options.so.1.53.0()(64bit) for package: contrail-vrouter-agent-r24.1.8.6.3.1-r24.1_8_6_3_1.el7.x86_64 --> Processing Dependency: libboost_filesystem.so.1.53.0()(64bit) for package: contrail-vrouter-agent-r24.1.8.6.3.1-r24.1_8_6_3_1.el7.x86_64 ---> Package python-contrail-vrouter-api.x86_64 0:r24.1.8.6.3.1-r24.1_8_6_3_1.el7 will be installed --> Running transaction check ---> Package boost-filesystem.x86_64 0:1.53.0-28.el7 will be installed ---> Package boost-program-options.x86_64 0:1.53.0-28.el7 will be installed ---> Package boost-regex.x86_64 0:1.53.0-28.el7 will be installed --> Processing Dependency: libicuuc.so.50()(64bit) for package: boost-regex-1.53.0-28.el7.x86_64 --> Processing Dependency: libicui18n.so.50()(64bit) for package: boost-regex-1.53.0-28.el7.x86_64 --> Processing Dependency: libicudata.so.50()(64bit) for package: boost-regex-1.53.0-28.el7.x86_64 ---> Package boost-system.x86_64 0:1.53.0-28.el7 will be installed ---> Package boost-thread.x86_64 0:1.53.0-28.el7 will be installed ---> Package gperftools-libs.x86_64 0:2.6.1-1.el7 will be installed ---> Package xmltodict.noarch 0:0.7.0-1.0contrail will be installed --> Running transaction check ---> Package libicu.x86_64 0:50.2-4.el7_7 will be installed --> Finished Dependency Resolution Dependencies Resolved ================================================================================ Package Arch Version Repository Size ================================================================================ Installing: contrail-vrouter-agent x86_64 r24.1.8.6.3.1-r24.1_8_6_3_1.el7 contrail 15 M python-contrail-vrouter-api x86_64 r24.1.8.6.3.1-r24.1_8_6_3_1.el7 contrail 7.1 k Installing for dependencies: boost-filesystem x86_64 1.53.0-28.el7 contrail-tpc 67 k boost-program-options x86_64 1.53.0-28.el7 contrail-tpc 155 k boost-regex x86_64 1.53.0-28.el7 contrail-tpc 294 k boost-system x86_64 1.53.0-28.el7 contrail-tpc 39 k boost-thread x86_64 1.53.0-28.el7 contrail-tpc 56 k gperftools-libs x86_64 2.6.1-1.el7 tf-mirrors.ci_repos_yum7-base 272 k libicu x86_64 50.2-4.el7_7 tf-mirrors.ci_repos_yum7-base 6.9 M xmltodict noarch 0.7.0-1.0contrail contrail-tpc 9.4 k Transaction Summary ================================================================================ Install 2 Packages (+8 Dependent packages) Total download size: 22 M Installed size: 90 M Downloading packages: -------------------------------------------------------------------------------- Total 5.1 MB/s | 22 MB 00:04 Running transaction check Running transaction test Transaction test succeeded Running transaction Installing : boost-system-1.53.0-28.el7.x86_64 1/10 Installing : boost-thread-1.53.0-28.el7.x86_64 2/10 Installing : boost-filesystem-1.53.0-28.el7.x86_64 3/10 Installing : xmltodict-0.7.0-1.0contrail.noarch 4/10 Installing : libicu-50.2-4.el7_7.x86_64 5/10 Installing : boost-regex-1.53.0-28.el7.x86_64 6/10 Installing : gperftools-libs-2.6.1-1.el7.x86_64 7/10 Installing : boost-program-options-1.53.0-28.el7.x86_64 8/10 Installing : contrail-vrouter-agent-r24.1.8.6.3.1-r24.1_8_6_3_1.el7.x 9/10 WARNING: Running pip install with root privileges is generally not a good idea. Try `__main__.py install --user` instead. Collecting paramiko Downloading http://tf-mirrors.gz1.opensdn.io/root/pypi/+f/8e4/9fd2f82f84acf/paramiko-3.4.1-py3-none-any.whl (226kB) Collecting passlib Downloading http://tf-mirrors.gz1.opensdn.io/root/pypi/+f/aa6/bca462b8d8bda/passlib-1.7.4-py2.py3-none-any.whl (525kB) Collecting xmltodict Downloading http://tf-mirrors.gz1.opensdn.io/root/pypi/+f/aa8/9e8fd76320154/xmltodict-0.13.0-py2.py3-none-any.whl Collecting pynacl>=1.5 (from paramiko) Downloading http://tf-mirrors.gz1.opensdn.io/root/pypi/+f/8ac/7448f09ab8581/PyNaCl-1.5.0.tar.gz (3.4MB) Complete output from command python setup.py egg_info: Traceback (most recent call last): File "/usr/lib64/python3.6/urllib/request.py", line 1349, in do_open encode_chunked=req.has_header('Transfer-encoding')) File "/usr/lib64/python3.6/http/client.py", line 1254, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib64/python3.6/http/client.py", line 1300, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib64/python3.6/http/client.py", line 1249, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib64/python3.6/http/client.py", line 1036, in _send_output self.send(msg) File "/usr/lib64/python3.6/http/client.py", line 974, in send self.connect() File "/usr/lib/python3.6/site-packages/setuptools/ssl_support.py", line 174, in connect (self.host, self.port), getattr(self, 'source_address', None) File "/usr/lib64/python3.6/socket.py", line 724, in create_connection raise err File "/usr/lib64/python3.6/socket.py", line 713, in create_connection sock.connect(sa) OSError: [Errno 101] Network is unreachable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/site-packages/setuptools/package_index.py", line 764, in open_url return open_with_auth(url, self.opener) File "/usr/lib/python3.6/site-packages/setuptools/package_index.py", line 951, in _socket_timeout return func(*args, **kwargs) File "/usr/lib/python3.6/site-packages/setuptools/package_index.py", line 1070, in open_with_auth fp = opener(request) File "/usr/lib64/python3.6/urllib/request.py", line 526, in open response = self._open(req, data) File "/usr/lib64/python3.6/urllib/request.py", line 544, in _open '_open', req) File "/usr/lib64/python3.6/urllib/request.py", line 504, in _call_chain result = func(*args) File "/usr/lib/python3.6/site-packages/setuptools/ssl_support.py", line 161, in https_open lambda host, **kw: VerifyingHTTPSConn(host, self.ca_bundle, **kw), req File "/usr/lib64/python3.6/urllib/request.py", line 1351, in do_open raise URLError(err) urllib.error.URLError: During handling of the above exception, another exception occurred: Traceback (most recent call last): File "", line 1, in File "/tmp/pip-build-uv74g8yt/pynacl/setup.py", line 232, in "Programming Language :: Python :: 3.10", File "/usr/lib/python3.6/site-packages/setuptools/__init__.py", line 128, in setup _install_setup_requires(attrs) File "/usr/lib/python3.6/site-packages/setuptools/__init__.py", line 123, in _install_setup_requires dist.fetch_build_eggs(dist.setup_requires) File "/usr/lib/python3.6/site-packages/setuptools/dist.py", line 514, in fetch_build_eggs replace_conflicting=True, File "/usr/lib/python3.6/site-packages/pkg_resources/__init__.py", line 770, in resolve replace_conflicting=replace_conflicting File "/usr/lib/python3.6/site-packages/pkg_resources/__init__.py", line 1053, in best_match return self.obtain(req, installer) File "/usr/lib/python3.6/site-packages/pkg_resources/__init__.py", line 1065, in obtain return installer(requirement) File "/usr/lib/python3.6/site-packages/setuptools/dist.py", line 581, in fetch_build_egg return cmd.easy_install(req) File "/usr/lib/python3.6/site-packages/setuptools/command/easy_install.py", line 666, in easy_install not self.always_copy, self.local_index File "/usr/lib/python3.6/site-packages/setuptools/package_index.py", line 653, in fetch_distribution dist = find(requirement) File "/usr/lib/python3.6/site-packages/setuptools/package_index.py", line 633, in find loc = self.download(dist.location, tmpdir) File "/usr/lib/python3.6/site-packages/setuptools/package_index.py", line 577, in download found = self._download_url(scheme.group(1), spec, tmpdir) File "/usr/lib/python3.6/site-packages/setuptools/package_index.py", line 822, in _download_url return self._attempt_download(url, filename) File "/usr/lib/python3.6/site-packages/setuptools/package_index.py", line 828, in _attempt_download headers = self._download_to(url, filename) File "/usr/lib/python3.6/site-packages/setuptools/package_index.py", line 727, in _download_to fp = self.open_url(url) File "/usr/lib/python3.6/site-packages/setuptools/package_index.py", line 778, in open_url % (url, v.reason)) distutils.errors.DistutilsError: Download error for https://files.pythonhosted.org/packages/1e/bf/82c351342972702867359cfeba5693927efe0a8dd568165490144f554b18/cffi-1.17.0.tar.gz#sha256=f3157624b7558b914cb039fd1af735e5e8049a87c817cc215109ad1c8779df76: [Errno 101] Network is unreachable ---------------------------------------- Command "python setup.py egg_info" failed with error code 1 in /tmp/pip-build-uv74g8yt/pynacl/ warning: %post(contrail-vrouter-agent-r24.1.8.6.3.1-r24.1_8_6_3_1.el7.x86_64) scriptlet failed, exit status 1 Non-fatal POSTIN scriptlet failure in rpm package contrail-vrouter-agent-r24.1.8.6.3.1-r24.1_8_6_3_1.el7.x86_64  Installing : python-contrail-vrouter-api-r24.1.8.6.3.1-r24.1_8_6_3_1. 10/10 Verifying : boost-system-1.53.0-28.el7.x86_64 1/10 Verifying : contrail-vrouter-agent-r24.1.8.6.3.1-r24.1_8_6_3_1.el7.x 2/10 Verifying : boost-thread-1.53.0-28.el7.x86_64 3/10 Verifying : boost-program-options-1.53.0-28.el7.x86_64 4/10 Verifying : gperftools-libs-2.6.1-1.el7.x86_64 5/10 Verifying : boost-regex-1.53.0-28.el7.x86_64 6/10 Verifying : libicu-50.2-4.el7_7.x86_64 7/10 Verifying : python-contrail-vrouter-api-r24.1.8.6.3.1-r24.1_8_6_3_1. 8/10 Verifying : xmltodict-0.7.0-1.0contrail.noarch 9/10 Verifying : boost-filesystem-1.53.0-28.el7.x86_64 10/10 Installed: contrail-vrouter-agent.x86_64 0:r24.1.8.6.3.1-r24.1_8_6_3_1.el7 python-contrail-vrouter-api.x86_64 0:r24.1.8.6.3.1-r24.1_8_6_3_1.el7 Dependency Installed: boost-filesystem.x86_64 0:1.53.0-28.el7 boost-program-options.x86_64 0:1.53.0-28.el7 boost-regex.x86_64 0:1.53.0-28.el7 boost-system.x86_64 0:1.53.0-28.el7 boost-thread.x86_64 0:1.53.0-28.el7 gperftools-libs.x86_64 0:2.6.1-1.el7 libicu.x86_64 0:50.2-4.el7_7 xmltodict.noarch 0:0.7.0-1.0contrail Complete! 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 40b3a40f9c53 ---> 4e898d7f43bd Step 6/8 : COPY *.sh / ---> 1c8dfd20cda3 Step 7/8 : ENTRYPOINT ["/entrypoint.sh"] ---> Running in a8131b273684 ---> Removed intermediate container a8131b273684 ---> 10e2ed7095fc Step 8/8 : CMD ["/usr/bin/contrail-tor-agent","--config_file","/etc/contrail/contrail-tor-agent.conf"] ---> Running in abf9a069209c ---> Removed intermediate container abf9a069209c ---> 3cc379235347 [Warning] One or more build-args [BASE_EXTRA_RPMS CONTRAIL_CONTAINER_TAG CONTRAIL_REGISTRY GENERAL_EXTRA_RPMS LINUX_DISTR LINUX_DISTR_VER SITE_MIRROR UBUNTU_DISTR UBUNTU_DISTR_VERSION VENDOR_DOMAIN VENDOR_NAME YUM_ENABLE_REPOS] were not consumed Successfully built 3cc379235347 Successfully tagged nexus.gz1.opensdn.io:5101/contrail-tor-agent:r24.1-8_6_3-1 Successfully tagged nexus.gz1.opensdn.io:5101/tf-tor-agent:r24.1-8_6_3-1 2024-08-21 11:10:53,324: INFO: Docker build duration: 375 seconds The push refers to repository [nexus.gz1.opensdn.io:5101/contrail-tor-agent] d1099f4bbc39: Preparing 7d1298446d30: Preparing 70999cab55cb: Preparing b651c9ae0d43: Preparing a1297ecb2896: Preparing 8df83b0d101d: Preparing f9600ed04d5b: Preparing 4ad613eecfc7: Preparing d875005a090d: Preparing 044efc99f2bd: Preparing 174f56854903: Preparing 70999cab55cb: Waiting b651c9ae0d43: Waiting a1297ecb2896: Waiting 8df83b0d101d: Waiting f9600ed04d5b: Waiting 4ad613eecfc7: Waiting d875005a090d: Waiting 044efc99f2bd: Waiting 174f56854903: Waiting d1099f4bbc39: Pushed 70999cab55cb: Layer already exists b651c9ae0d43: Layer already exists a1297ecb2896: Layer already exists 8df83b0d101d: Layer already exists f9600ed04d5b: Layer already exists 4ad613eecfc7: Layer already exists d875005a090d: Layer already exists 174f56854903: Layer already exists 044efc99f2bd: Layer already exists 7d1298446d30: Pushed r24.1-8_6_3-1: digest: sha256:db519054fd4adac05c0d5b9f97212495e07e56c20901276c3844bf0a3bb0cae0 size: 2619 The push refers to repository [nexus.gz1.opensdn.io:5101/tf-tor-agent] d1099f4bbc39: Preparing 7d1298446d30: Preparing 70999cab55cb: Preparing b651c9ae0d43: Preparing a1297ecb2896: Preparing 8df83b0d101d: Preparing f9600ed04d5b: Preparing 4ad613eecfc7: Preparing d875005a090d: Preparing 044efc99f2bd: Preparing 174f56854903: Preparing 70999cab55cb: Waiting b651c9ae0d43: Waiting a1297ecb2896: Waiting 8df83b0d101d: Waiting f9600ed04d5b: Waiting 4ad613eecfc7: Waiting d875005a090d: Waiting 044efc99f2bd: Waiting 174f56854903: Waiting d1099f4bbc39: Layer already exists 7d1298446d30: Layer already exists 70999cab55cb: Layer already exists b651c9ae0d43: Layer already exists a1297ecb2896: Layer already exists 8df83b0d101d: Layer already exists f9600ed04d5b: Layer already exists d875005a090d: Layer already exists 4ad613eecfc7: Layer already exists 044efc99f2bd: Layer already exists 174f56854903: Layer already exists r24.1-8_6_3-1: digest: sha256:db519054fd4adac05c0d5b9f97212495e07e56c20901276c3844bf0a3bb0cae0 size: 2619 2024-08-21 11:11:31,208: INFO: Building contrail-tor-agent finished successfully, duration: 413 seconds