2024-09-17 23:42:14,230: INFO: Building contrail-tor-agent 2024-09-17 23:42:14,306: INFO: Building args: --network host --build-arg CONTRAIL_REGISTRY=nexus.gz1.opensdn.io:5101 --build-arg CONTRAIL_CONTAINER_TAG=master-1_0_4_0-3 --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:master-1_0_4_0-3 ---> 43fcb401bac1 Step 2/8 : ARG CONTAINER_NAME ---> Running in 678909d29fe6 ---> Removed intermediate container 678909d29fe6 ---> 517c57b3719c Step 3/8 : ENV NODE_TYPE=toragent SERVICE_NAME=tor-agent CONTAINER_NAME=$CONTAINER_NAME ---> Running in 063ea68a9df9 ---> Removed intermediate container 063ea68a9df9 ---> 406604c86750 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 5048b445d11b ---> Removed intermediate container 5048b445d11b ---> cdea22724f72 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 7beef4f0cf51 Loaded plugins: fastestmirror, ovl Determining fastest mirrors Resolving Dependencies --> Running transaction check ---> Package contrail-vrouter-agent.x86_64 0:master.1.0.4.0.3-master_1_0_4_0_3.el7 will be installed --> Processing Dependency: xmltodict >= 0.7.0 for package: contrail-vrouter-agent-master.1.0.4.0.3-master_1_0_4_0_3.el7.x86_64 --> Processing Dependency: boost169-devel for package: contrail-vrouter-agent-master.1.0.4.0.3-master_1_0_4_0_3.el7.x86_64 --> Processing Dependency: boost169 for package: contrail-vrouter-agent-master.1.0.4.0.3-master_1_0_4_0_3.el7.x86_64 --> Processing Dependency: libtcmalloc.so.4()(64bit) for package: contrail-vrouter-agent-master.1.0.4.0.3-master_1_0_4_0_3.el7.x86_64 --> Processing Dependency: libboost_thread.so.1.69.0()(64bit) for package: contrail-vrouter-agent-master.1.0.4.0.3-master_1_0_4_0_3.el7.x86_64 --> Processing Dependency: libboost_system.so.1.69.0()(64bit) for package: contrail-vrouter-agent-master.1.0.4.0.3-master_1_0_4_0_3.el7.x86_64 --> Processing Dependency: libboost_regex.so.1.69.0()(64bit) for package: contrail-vrouter-agent-master.1.0.4.0.3-master_1_0_4_0_3.el7.x86_64 --> Processing Dependency: libboost_program_options.so.1.69.0()(64bit) for package: contrail-vrouter-agent-master.1.0.4.0.3-master_1_0_4_0_3.el7.x86_64 --> Processing Dependency: libboost_filesystem.so.1.69.0()(64bit) for package: contrail-vrouter-agent-master.1.0.4.0.3-master_1_0_4_0_3.el7.x86_64 ---> Package python-contrail-vrouter-api.x86_64 0:master.1.0.4.0.3-master_1_0_4_0_3.el7 will be installed --> Running transaction check ---> Package boost169.x86_64 0:1.69.0-2.el7 will be installed --> Processing Dependency: boost169-wave(x86-64) = 1.69.0-2.el7 for package: boost169-1.69.0-2.el7.x86_64 --> Processing Dependency: boost169-type_erasure(x86-64) = 1.69.0-2.el7 for package: boost169-1.69.0-2.el7.x86_64 --> Processing Dependency: boost169-timer(x86-64) = 1.69.0-2.el7 for package: boost169-1.69.0-2.el7.x86_64 --> Processing Dependency: boost169-test(x86-64) = 1.69.0-2.el7 for package: boost169-1.69.0-2.el7.x86_64 --> Processing Dependency: boost169-stacktrace(x86-64) = 1.69.0-2.el7 for package: boost169-1.69.0-2.el7.x86_64 --> Processing Dependency: boost169-serialization(x86-64) = 1.69.0-2.el7 for package: boost169-1.69.0-2.el7.x86_64 --> Processing Dependency: boost169-random(x86-64) = 1.69.0-2.el7 for package: boost169-1.69.0-2.el7.x86_64 --> Processing Dependency: boost169-math(x86-64) = 1.69.0-2.el7 for package: boost169-1.69.0-2.el7.x86_64 --> Processing Dependency: boost169-log(x86-64) = 1.69.0-2.el7 for package: boost169-1.69.0-2.el7.x86_64 --> Processing Dependency: boost169-locale(x86-64) = 1.69.0-2.el7 for package: boost169-1.69.0-2.el7.x86_64 --> Processing Dependency: boost169-iostreams(x86-64) = 1.69.0-2.el7 for package: boost169-1.69.0-2.el7.x86_64 --> Processing Dependency: boost169-graph(x86-64) = 1.69.0-2.el7 for package: boost169-1.69.0-2.el7.x86_64 --> Processing Dependency: boost169-fiber(x86-64) = 1.69.0-2.el7 for package: boost169-1.69.0-2.el7.x86_64 --> Processing Dependency: boost169-date-time(x86-64) = 1.69.0-2.el7 for package: boost169-1.69.0-2.el7.x86_64 --> Processing Dependency: boost169-coroutine(x86-64) = 1.69.0-2.el7 for package: boost169-1.69.0-2.el7.x86_64 --> Processing Dependency: boost169-contract(x86-64) = 1.69.0-2.el7 for package: boost169-1.69.0-2.el7.x86_64 --> Processing Dependency: boost169-context(x86-64) = 1.69.0-2.el7 for package: boost169-1.69.0-2.el7.x86_64 --> Processing Dependency: boost169-container(x86-64) = 1.69.0-2.el7 for package: boost169-1.69.0-2.el7.x86_64 --> Processing Dependency: boost169-chrono(x86-64) = 1.69.0-2.el7 for package: boost169-1.69.0-2.el7.x86_64 --> Processing Dependency: boost169-atomic(x86-64) = 1.69.0-2.el7 for package: boost169-1.69.0-2.el7.x86_64 ---> Package boost169-devel.x86_64 0:1.69.0-2.el7 will be installed --> Processing Dependency: libquadmath-devel(x86-64) for package: boost169-devel-1.69.0-2.el7.x86_64 --> Processing Dependency: libicu-devel(x86-64) for package: boost169-devel-1.69.0-2.el7.x86_64 --> Processing Dependency: libboost_python36.so.1.69.0()(64bit) for package: boost169-devel-1.69.0-2.el7.x86_64 --> Processing Dependency: libboost_python27.so.1.69.0()(64bit) for package: boost169-devel-1.69.0-2.el7.x86_64 --> Processing Dependency: libboost_numpy36.so.1.69.0()(64bit) for package: boost169-devel-1.69.0-2.el7.x86_64 --> Processing Dependency: libboost_numpy27.so.1.69.0()(64bit) for package: boost169-devel-1.69.0-2.el7.x86_64 ---> Package boost169-filesystem.x86_64 0:1.69.0-2.el7 will be installed ---> Package boost169-program-options.x86_64 0:1.69.0-2.el7 will be installed ---> Package boost169-regex.x86_64 0:1.69.0-2.el7 will be installed --> Processing Dependency: libicuuc.so.50()(64bit) for package: boost169-regex-1.69.0-2.el7.x86_64 --> Processing Dependency: libicui18n.so.50()(64bit) for package: boost169-regex-1.69.0-2.el7.x86_64 --> Processing Dependency: libicudata.so.50()(64bit) for package: boost169-regex-1.69.0-2.el7.x86_64 ---> Package boost169-system.x86_64 0:1.69.0-2.el7 will be installed ---> Package boost169-thread.x86_64 0:1.69.0-2.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 boost169-atomic.x86_64 0:1.69.0-2.el7 will be installed ---> Package boost169-chrono.x86_64 0:1.69.0-2.el7 will be installed ---> Package boost169-container.x86_64 0:1.69.0-2.el7 will be installed ---> Package boost169-context.x86_64 0:1.69.0-2.el7 will be installed ---> Package boost169-contract.x86_64 0:1.69.0-2.el7 will be installed ---> Package boost169-coroutine.x86_64 0:1.69.0-2.el7 will be installed ---> Package boost169-date-time.x86_64 0:1.69.0-2.el7 will be installed ---> Package boost169-fiber.x86_64 0:1.69.0-2.el7 will be installed ---> Package boost169-graph.x86_64 0:1.69.0-2.el7 will be installed ---> Package boost169-iostreams.x86_64 0:1.69.0-2.el7 will be installed ---> Package boost169-locale.x86_64 0:1.69.0-2.el7 will be installed ---> Package boost169-log.x86_64 0:1.69.0-2.el7 will be installed ---> Package boost169-math.x86_64 0:1.69.0-2.el7 will be installed ---> Package boost169-numpy2.x86_64 0:1.69.0-2.el7 will be installed --> Processing Dependency: python2-numpy for package: boost169-numpy2-1.69.0-2.el7.x86_64 ---> Package boost169-numpy3.x86_64 0:1.69.0-2.el7 will be installed --> Processing Dependency: python36-numpy for package: boost169-numpy3-1.69.0-2.el7.x86_64 ---> Package boost169-python2.x86_64 0:1.69.0-2.el7 will be installed ---> Package boost169-python3.x86_64 0:1.69.0-2.el7 will be installed ---> Package boost169-random.x86_64 0:1.69.0-2.el7 will be installed ---> Package boost169-serialization.x86_64 0:1.69.0-2.el7 will be installed ---> Package boost169-stacktrace.x86_64 0:1.69.0-2.el7 will be installed ---> Package boost169-test.x86_64 0:1.69.0-2.el7 will be installed ---> Package boost169-timer.x86_64 0:1.69.0-2.el7 will be installed ---> Package boost169-type_erasure.x86_64 0:1.69.0-2.el7 will be installed ---> Package boost169-wave.x86_64 0:1.69.0-2.el7 will be installed ---> Package libicu.x86_64 0:50.2-4.el7_7 will be installed ---> Package libicu-devel.x86_64 0:50.2-4.el7_7 will be installed ---> Package libquadmath-devel.x86_64 0:4.8.5-44.el7 will be installed --> Processing Dependency: libquadmath = 4.8.5-44.el7 for package: libquadmath-devel-4.8.5-44.el7.x86_64 --> Running transaction check ---> Package libquadmath.x86_64 0:4.8.5-44.el7 will be installed ---> Package python2-numpy.x86_64 1:1.11.2-2.el7 will be installed --> Processing Dependency: python-nose for package: 1:python2-numpy-1.11.2-2.el7.x86_64 --> Processing Dependency: libtatlas.so.3()(64bit) for package: 1:python2-numpy-1.11.2-2.el7.x86_64 --> Processing Dependency: libgfortran.so.3()(64bit) for package: 1:python2-numpy-1.11.2-2.el7.x86_64 ---> Package python36-numpy.x86_64 0:1.12.1-3.el7 will be installed --> Processing Dependency: libopenblasp.so.0()(64bit) for package: python36-numpy-1.12.1-3.el7.x86_64 --> Processing Dependency: libopenblas.so.0()(64bit) for package: python36-numpy-1.12.1-3.el7.x86_64 --> Running transaction check ---> Package atlas.x86_64 0:3.10.1-12.el7 will be installed ---> Package libgfortran.x86_64 0:4.8.5-44.el7 will be installed ---> Package openblas-serial.x86_64 0:0.3.3-2.el7 will be installed ---> Package openblas-threads.x86_64 0:0.3.3-2.el7 will be installed ---> Package python-nose.noarch 0:1.3.7-7.el7 will be installed --> Processing Dependency: python-setuptools for package: python-nose-1.3.7-7.el7.noarch --> Running transaction check ---> Package python2-setuptools.noarch 0:22.0.5-1.el7 will be installed --> Finished Dependency Resolution Dependencies Resolved ================================================================================ Package Arch Version Repository Size ================================================================================ Installing: contrail-vrouter-agent x86_64 master.1.0.4.0.3-master_1_0_4_0_3.el7 contrail 15 M python-contrail-vrouter-api x86_64 master.1.0.4.0.3-master_1_0_4_0_3.el7 contrail 7.1 k Installing for dependencies: atlas x86_64 3.10.1-12.el7 tf-mirrors.ci_repos_yum7-base 4.5 M boost169 x86_64 1.69.0-2.el7 contrail-tpc 6.0 k boost169-atomic x86_64 1.69.0-2.el7 contrail-tpc 7.7 k boost169-chrono x86_64 1.69.0-2.el7 contrail-tpc 17 k boost169-container x86_64 1.69.0-2.el7 contrail-tpc 34 k boost169-context x86_64 1.69.0-2.el7 contrail-tpc 16 k boost169-contract x86_64 1.69.0-2.el7 contrail-tpc 35 k boost169-coroutine x86_64 1.69.0-2.el7 contrail-tpc 16 k boost169-date-time x86_64 1.69.0-2.el7 contrail-tpc 21 k boost169-devel x86_64 1.69.0-2.el7 contrail-tpc 11 M boost169-fiber x86_64 1.69.0-2.el7 contrail-tpc 4.7 k boost169-filesystem x86_64 1.69.0-2.el7 contrail-tpc 41 k boost169-graph x86_64 1.69.0-2.el7 contrail-tpc 102 k boost169-iostreams x86_64 1.69.0-2.el7 contrail-tpc 31 k boost169-locale x86_64 1.69.0-2.el7 contrail-tpc 219 k boost169-log x86_64 1.69.0-2.el7 contrail-tpc 426 k boost169-math x86_64 1.69.0-2.el7 contrail-tpc 263 k boost169-numpy2 x86_64 1.69.0-2.el7 contrail-tpc 19 k boost169-numpy3 x86_64 1.69.0-2.el7 contrail-tpc 19 k boost169-program-options x86_64 1.69.0-2.el7 contrail-tpc 125 k boost169-python2 x86_64 1.69.0-2.el7 contrail-tpc 89 k boost169-python3 x86_64 1.69.0-2.el7 contrail-tpc 87 k boost169-random x86_64 1.69.0-2.el7 contrail-tpc 15 k boost169-regex x86_64 1.69.0-2.el7 contrail-tpc 261 k boost169-serialization x86_64 1.69.0-2.el7 contrail-tpc 119 k boost169-stacktrace x86_64 1.69.0-2.el7 contrail-tpc 20 k boost169-system x86_64 1.69.0-2.el7 contrail-tpc 7.5 k boost169-test x86_64 1.69.0-2.el7 contrail-tpc 248 k boost169-thread x86_64 1.69.0-2.el7 contrail-tpc 44 k boost169-timer x86_64 1.69.0-2.el7 contrail-tpc 14 k boost169-type_erasure x86_64 1.69.0-2.el7 contrail-tpc 24 k boost169-wave x86_64 1.69.0-2.el7 contrail-tpc 207 k gperftools-libs x86_64 2.6.1-1.el7 tf-mirrors.ci_repos_yum7-base 272 k libgfortran x86_64 4.8.5-44.el7 tf-mirrors.ci_repos_yum7-base 301 k libicu x86_64 50.2-4.el7_7 tf-mirrors.ci_repos_yum7-base 6.9 M libicu-devel x86_64 50.2-4.el7_7 tf-mirrors.ci_repos_yum7-base 703 k libquadmath x86_64 4.8.5-44.el7 tf-mirrors.ci_repos_yum7-base 190 k libquadmath-devel x86_64 4.8.5-44.el7 tf-mirrors.ci_repos_yum7-base 54 k openblas-serial x86_64 0.3.3-2.el7 contrail-tpc 4.3 M openblas-threads x86_64 0.3.3-2.el7 contrail-tpc 4.4 M python-nose noarch 1.3.7-7.el7 tf-mirrors.ci_repos_centos-openstack-queens 276 k python2-numpy x86_64 1:1.11.2-2.el7 tf-mirrors.ci_repos_centos-openstack-queens 3.2 M python2-setuptools noarch 22.0.5-1.el7 tf-mirrors.ci_repos_centos-openstack-queens 485 k python36-numpy x86_64 1.12.1-3.el7 contrail-tpc 3.3 M xmltodict noarch 0.7.0-1.0contrail contrail-tpc 9.4 k Transaction Summary ================================================================================ Install 2 Packages (+45 Dependent packages) Total download size: 57 M Installed size: 349 M Downloading packages: -------------------------------------------------------------------------------- Total 23 MB/s | 57 MB 00:02 Running transaction check Running transaction test Transaction test succeeded Running transaction Installing : boost169-system-1.69.0-2.el7.x86_64 1/47 Installing : boost169-thread-1.69.0-2.el7.x86_64 2/47 Installing : boost169-chrono-1.69.0-2.el7.x86_64 3/47 Installing : boost169-filesystem-1.69.0-2.el7.x86_64 4/47 Installing : libicu-50.2-4.el7_7.x86_64 5/47 Installing : boost169-regex-1.69.0-2.el7.x86_64 6/47 Installing : boost169-date-time-1.69.0-2.el7.x86_64 7/47 Installing : boost169-timer-1.69.0-2.el7.x86_64 8/47 Installing : boost169-context-1.69.0-2.el7.x86_64 9/47 Installing : boost169-atomic-1.69.0-2.el7.x86_64 10/47 Installing : boost169-program-options-1.69.0-2.el7.x86_64 11/47 Installing : libquadmath-4.8.5-44.el7.x86_64 12/47 Installing : libgfortran-4.8.5-44.el7.x86_64 13/47 Installing : boost169-log-1.69.0-2.el7.x86_64 14/47 Installing : boost169-coroutine-1.69.0-2.el7.x86_64 15/47 Installing : boost169-test-1.69.0-2.el7.x86_64 16/47 Installing : boost169-wave-1.69.0-2.el7.x86_64 17/47 Installing : boost169-graph-1.69.0-2.el7.x86_64 18/47 Installing : boost169-locale-1.69.0-2.el7.x86_64 19/47 Installing : boost169-type_erasure-1.69.0-2.el7.x86_64 20/47 Installing : boost169-contract-1.69.0-2.el7.x86_64 21/47 Installing : boost169-random-1.69.0-2.el7.x86_64 22/47 Installing : boost169-python3-1.69.0-2.el7.x86_64 23/47 Installing : boost169-iostreams-1.69.0-2.el7.x86_64 24/47 Installing : boost169-container-1.69.0-2.el7.x86_64 25/47 Installing : boost169-python2-1.69.0-2.el7.x86_64 26/47 Installing : boost169-stacktrace-1.69.0-2.el7.x86_64 27/47 Installing : boost169-math-1.69.0-2.el7.x86_64 28/47 Installing : boost169-serialization-1.69.0-2.el7.x86_64 29/47 Installing : atlas-3.10.1-12.el7.x86_64 30/47 Installing : openblas-serial-0.3.3-2.el7.x86_64 31/47 Installing : openblas-threads-0.3.3-2.el7.x86_64 32/47 Installing : python36-numpy-1.12.1-3.el7.x86_64 33/47 Installing : boost169-numpy3-1.69.0-2.el7.x86_64 34/47 Installing : libquadmath-devel-4.8.5-44.el7.x86_64 35/47 Installing : libicu-devel-50.2-4.el7_7.x86_64 36/47 Installing : xmltodict-0.7.0-1.0contrail.noarch 37/47 Installing : python2-setuptools-22.0.5-1.el7.noarch 38/47 Installing : python-nose-1.3.7-7.el7.noarch 39/47 Installing : 1:python2-numpy-1.11.2-2.el7.x86_64 40/47 Installing : boost169-numpy2-1.69.0-2.el7.x86_64 41/47 Installing : gperftools-libs-2.6.1-1.el7.x86_64 42/47 Installing : boost169-fiber-1.69.0-2.el7.x86_64 43/47 Installing : boost169-1.69.0-2.el7.x86_64 44/47 Installing : boost169-devel-1.69.0-2.el7.x86_64 45/47 Installing : contrail-vrouter-agent-master.1.0.4.0.3-master_1_0_4_0_3 46/47 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/1fe/df06b08535905/paramiko-3.5.0-py3-none-any.whl (227kB) 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: Package libffi was not found in the pkg-config search path. Perhaps you should add the directory containing `libffi.pc' to the PKG_CONFIG_PATH environment variable No package 'libffi' found Package libffi was not found in the pkg-config search path. Perhaps you should add the directory containing `libffi.pc' to the PKG_CONFIG_PATH environment variable No package 'libffi' found Package libffi was not found in the pkg-config search path. Perhaps you should add the directory containing `libffi.pc' to the PKG_CONFIG_PATH environment variable No package 'libffi' found Package libffi was not found in the pkg-config search path. Perhaps you should add the directory containing `libffi.pc' to the PKG_CONFIG_PATH environment variable No package 'libffi' found Package libffi was not found in the pkg-config search path. Perhaps you should add the directory containing `libffi.pc' to the PKG_CONFIG_PATH environment variable No package 'libffi' found src/c/_cffi_backend.c:15:17: fatal error: ffi.h: No such file or directory #include ^ compilation terminated. Traceback (most recent call last): File "/usr/lib64/python3.6/distutils/unixccompiler.py", line 127, in _compile extra_postargs) File "/usr/lib64/python3.6/distutils/ccompiler.py", line 909, in spawn spawn(cmd, dry_run=self.dry_run) File "/usr/lib64/python3.6/distutils/spawn.py", line 36, in spawn _spawn_posix(cmd, search_path, dry_run=dry_run) File "/usr/lib64/python3.6/distutils/spawn.py", line 159, in _spawn_posix % (cmd, exit_status)) distutils.errors.DistutilsExecError: command 'gcc' failed with exit status 1 During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib64/python3.6/distutils/core.py", line 148, in setup dist.run_commands() File "/usr/lib64/python3.6/distutils/dist.py", line 955, in run_commands self.run_command(cmd) File "/usr/lib64/python3.6/distutils/dist.py", line 974, in run_command cmd_obj.run() File "/usr/lib/python3.6/site-packages/setuptools/command/bdist_egg.py", line 172, in run cmd = self.call_command('install_lib', warn_dir=0) File "/usr/lib/python3.6/site-packages/setuptools/command/bdist_egg.py", line 158, in call_command self.run_command(cmdname) File "/usr/lib64/python3.6/distutils/cmd.py", line 313, in run_command self.distribution.run_command(command) File "/usr/lib64/python3.6/distutils/dist.py", line 974, in run_command cmd_obj.run() File "/usr/lib/python3.6/site-packages/setuptools/command/install_lib.py", line 11, in run self.build() File "/usr/lib64/python3.6/distutils/command/install_lib.py", line 107, in build self.run_command('build_ext') File "/usr/lib64/python3.6/distutils/cmd.py", line 313, in run_command self.distribution.run_command(command) File "/usr/lib64/python3.6/distutils/dist.py", line 974, in run_command cmd_obj.run() File "/usr/lib/python3.6/site-packages/setuptools/command/build_ext.py", line 78, in run _build_ext.run(self) File "/usr/lib64/python3.6/distutils/command/build_ext.py", line 339, in run self.build_extensions() File "/usr/lib64/python3.6/distutils/command/build_ext.py", line 448, in build_extensions self._build_extensions_serial() File "/usr/lib64/python3.6/distutils/command/build_ext.py", line 473, in _build_extensions_serial self.build_extension(ext) File "/usr/lib/python3.6/site-packages/setuptools/command/build_ext.py", line 199, in build_extension _build_ext.build_extension(self, ext) File "/usr/lib64/python3.6/distutils/command/build_ext.py", line 533, in build_extension depends=ext.depends) File "/usr/lib64/python3.6/distutils/ccompiler.py", line 574, in compile self._compile(obj, src, ext, cc_args, extra_postargs, pp_opts) File "/usr/lib64/python3.6/distutils/unixccompiler.py", line 129, in _compile raise CompileError(msg) distutils.errors.CompileError: command 'gcc' failed with exit status 1 During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/site-packages/setuptools/sandbox.py", line 154, in save_modules yield saved File "/usr/lib/python3.6/site-packages/setuptools/sandbox.py", line 195, in setup_context yield File "/usr/lib/python3.6/site-packages/setuptools/sandbox.py", line 250, in run_setup _execfile(setup_script, ns) File "/usr/lib/python3.6/site-packages/setuptools/sandbox.py", line 45, in _execfile exec(code, globals, locals) File "/tmp/easy_install-22cv33tr/cffi-1.17.1/setup.py", line 245, in File "/usr/lib/python3.6/site-packages/setuptools/__init__.py", line 129, in setup return distutils.core.setup(**attrs) File "/usr/lib64/python3.6/distutils/core.py", line 163, in setup raise SystemExit("error: " + str(msg)) SystemExit: error: command 'gcc' failed with exit status 1 During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/site-packages/setuptools/command/easy_install.py", line 1143, in run_setup run_setup(setup_script, args) File "/usr/lib/python3.6/site-packages/setuptools/sandbox.py", line 253, in run_setup raise File "/usr/lib64/python3.6/contextlib.py", line 99, in __exit__ self.gen.throw(type, value, traceback) File "/usr/lib/python3.6/site-packages/setuptools/sandbox.py", line 195, in setup_context yield File "/usr/lib64/python3.6/contextlib.py", line 99, in __exit__ self.gen.throw(type, value, traceback) File "/usr/lib/python3.6/site-packages/setuptools/sandbox.py", line 166, in save_modules saved_exc.resume() File "/usr/lib/python3.6/site-packages/setuptools/sandbox.py", line 141, in resume six.reraise(type, exc, self._tb) File "/usr/lib/python3.6/site-packages/setuptools/_vendor/six.py", line 685, in reraise raise value.with_traceback(tb) File "/usr/lib/python3.6/site-packages/setuptools/sandbox.py", line 154, in save_modules yield saved File "/usr/lib/python3.6/site-packages/setuptools/sandbox.py", line 195, in setup_context yield File "/usr/lib/python3.6/site-packages/setuptools/sandbox.py", line 250, in run_setup _execfile(setup_script, ns) File "/usr/lib/python3.6/site-packages/setuptools/sandbox.py", line 45, in _execfile exec(code, globals, locals) File "/tmp/easy_install-22cv33tr/cffi-1.17.1/setup.py", line 245, in File "/usr/lib/python3.6/site-packages/setuptools/__init__.py", line 129, in setup return distutils.core.setup(**attrs) File "/usr/lib64/python3.6/distutils/core.py", line 163, in setup raise SystemExit("error: " + str(msg)) SystemExit: error: command 'gcc' failed with exit status 1 During handling of the above exception, another exception occurred: Traceback (most recent call last): File "", line 1, in File "/tmp/pip-build-ei2t_me_/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 678, in easy_install return self.install_item(spec, dist.location, tmpdir, deps) File "/usr/lib/python3.6/site-packages/setuptools/command/easy_install.py", line 704, in install_item dists = self.install_eggs(spec, download, tmpdir) File "/usr/lib/python3.6/site-packages/setuptools/command/easy_install.py", line 889, in install_eggs return self.build_and_install(setup_script, setup_base) File "/usr/lib/python3.6/site-packages/setuptools/command/easy_install.py", line 1157, in build_and_install self.run_setup(setup_script, setup_base, args) File "/usr/lib/python3.6/site-packages/setuptools/command/easy_install.py", line 1145, in run_setup raise DistutilsError("Setup script exited with %s" % (v.args[0],)) distutils.errors.DistutilsError: Setup script exited with error: command 'gcc' failed with exit status 1 ---------------------------------------- Command "python setup.py egg_info" failed with error code 1 in /tmp/pip-build-ei2t_me_/pynacl/ warning: %post(contrail-vrouter-agent-master.1.0.4.0.3-master_1_0_4_0_3.el7.x86_64) scriptlet failed, exit status 1 Non-fatal POSTIN scriptlet failure in rpm package contrail-vrouter-agent-master.1.0.4.0.3-master_1_0_4_0_3.el7.x86_64  Installing : python-contrail-vrouter-api-master.1.0.4.0.3-master_1_0_ 47/47 Verifying : boost169-log-1.69.0-2.el7.x86_64 1/47 Verifying : boost169-serialization-1.69.0-2.el7.x86_64 2/47 Verifying : boost169-regex-1.69.0-2.el7.x86_64 3/47 Verifying : boost169-system-1.69.0-2.el7.x86_64 4/47 Verifying : libicu-devel-50.2-4.el7_7.x86_64 5/47 Verifying : boost169-math-1.69.0-2.el7.x86_64 6/47 Verifying : boost169-fiber-1.69.0-2.el7.x86_64 7/47 Verifying : python-contrail-vrouter-api-master.1.0.4.0.3-master_1_0_ 8/47 Verifying : gperftools-libs-2.6.1-1.el7.x86_64 9/47 Verifying : atlas-3.10.1-12.el7.x86_64 10/47 Verifying : boost169-1.69.0-2.el7.x86_64 11/47 Verifying : boost169-stacktrace-1.69.0-2.el7.x86_64 12/47 Verifying : boost169-date-time-1.69.0-2.el7.x86_64 13/47 Verifying : openblas-serial-0.3.3-2.el7.x86_64 14/47 Verifying : libquadmath-4.8.5-44.el7.x86_64 15/47 Verifying : boost169-filesystem-1.69.0-2.el7.x86_64 16/47 Verifying : boost169-graph-1.69.0-2.el7.x86_64 17/47 Verifying : boost169-contract-1.69.0-2.el7.x86_64 18/47 Verifying : boost169-python2-1.69.0-2.el7.x86_64 19/47 Verifying : python-nose-1.3.7-7.el7.noarch 20/47 Verifying : boost169-type_erasure-1.69.0-2.el7.x86_64 21/47 Verifying : boost169-container-1.69.0-2.el7.x86_64 22/47 Verifying : libicu-50.2-4.el7_7.x86_64 23/47 Verifying : boost169-wave-1.69.0-2.el7.x86_64 24/47 Verifying : boost169-thread-1.69.0-2.el7.x86_64 25/47 Verifying : openblas-threads-0.3.3-2.el7.x86_64 26/47 Verifying : python2-setuptools-22.0.5-1.el7.noarch 27/47 Verifying : boost169-timer-1.69.0-2.el7.x86_64 28/47 Verifying : libgfortran-4.8.5-44.el7.x86_64 29/47 Verifying : boost169-chrono-1.69.0-2.el7.x86_64 30/47 Verifying : boost169-numpy2-1.69.0-2.el7.x86_64 31/47 Verifying : boost169-devel-1.69.0-2.el7.x86_64 32/47 Verifying : 1:python2-numpy-1.11.2-2.el7.x86_64 33/47 Verifying : boost169-program-options-1.69.0-2.el7.x86_64 34/47 Verifying : python36-numpy-1.12.1-3.el7.x86_64 35/47 Verifying : boost169-atomic-1.69.0-2.el7.x86_64 36/47 Verifying : boost169-context-1.69.0-2.el7.x86_64 37/47 Verifying : boost169-iostreams-1.69.0-2.el7.x86_64 38/47 Verifying : boost169-random-1.69.0-2.el7.x86_64 39/47 Verifying : contrail-vrouter-agent-master.1.0.4.0.3-master_1_0_4_0_3 40/47 Verifying : boost169-python3-1.69.0-2.el7.x86_64 41/47 Verifying : libquadmath-devel-4.8.5-44.el7.x86_64 42/47 Verifying : boost169-test-1.69.0-2.el7.x86_64 43/47 Verifying : boost169-numpy3-1.69.0-2.el7.x86_64 44/47 Verifying : boost169-coroutine-1.69.0-2.el7.x86_64 45/47 Verifying : boost169-locale-1.69.0-2.el7.x86_64 46/47 Verifying : xmltodict-0.7.0-1.0contrail.noarch 47/47 Installed: contrail-vrouter-agent.x86_64 0:master.1.0.4.0.3-master_1_0_4_0_3.el7 python-contrail-vrouter-api.x86_64 0:master.1.0.4.0.3-master_1_0_4_0_3.el7 Dependency Installed: atlas.x86_64 0:3.10.1-12.el7 boost169.x86_64 0:1.69.0-2.el7 boost169-atomic.x86_64 0:1.69.0-2.el7 boost169-chrono.x86_64 0:1.69.0-2.el7 boost169-container.x86_64 0:1.69.0-2.el7 boost169-context.x86_64 0:1.69.0-2.el7 boost169-contract.x86_64 0:1.69.0-2.el7 boost169-coroutine.x86_64 0:1.69.0-2.el7 boost169-date-time.x86_64 0:1.69.0-2.el7 boost169-devel.x86_64 0:1.69.0-2.el7 boost169-fiber.x86_64 0:1.69.0-2.el7 boost169-filesystem.x86_64 0:1.69.0-2.el7 boost169-graph.x86_64 0:1.69.0-2.el7 boost169-iostreams.x86_64 0:1.69.0-2.el7 boost169-locale.x86_64 0:1.69.0-2.el7 boost169-log.x86_64 0:1.69.0-2.el7 boost169-math.x86_64 0:1.69.0-2.el7 boost169-numpy2.x86_64 0:1.69.0-2.el7 boost169-numpy3.x86_64 0:1.69.0-2.el7 boost169-program-options.x86_64 0:1.69.0-2.el7 boost169-python2.x86_64 0:1.69.0-2.el7 boost169-python3.x86_64 0:1.69.0-2.el7 boost169-random.x86_64 0:1.69.0-2.el7 boost169-regex.x86_64 0:1.69.0-2.el7 boost169-serialization.x86_64 0:1.69.0-2.el7 boost169-stacktrace.x86_64 0:1.69.0-2.el7 boost169-system.x86_64 0:1.69.0-2.el7 boost169-test.x86_64 0:1.69.0-2.el7 boost169-thread.x86_64 0:1.69.0-2.el7 boost169-timer.x86_64 0:1.69.0-2.el7 boost169-type_erasure.x86_64 0:1.69.0-2.el7 boost169-wave.x86_64 0:1.69.0-2.el7 gperftools-libs.x86_64 0:2.6.1-1.el7 libgfortran.x86_64 0:4.8.5-44.el7 libicu.x86_64 0:50.2-4.el7_7 libicu-devel.x86_64 0:50.2-4.el7_7 libquadmath.x86_64 0:4.8.5-44.el7 libquadmath-devel.x86_64 0:4.8.5-44.el7 openblas-serial.x86_64 0:0.3.3-2.el7 openblas-threads.x86_64 0:0.3.3-2.el7 python-nose.noarch 0:1.3.7-7.el7 python2-numpy.x86_64 1:1.11.2-2.el7 python2-setuptools.noarch 0:22.0.5-1.el7 python36-numpy.x86_64 0:1.12.1-3.el7 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 7beef4f0cf51 ---> 0267f9291b48 Step 6/8 : COPY *.sh / ---> b0253d509893 Step 7/8 : ENTRYPOINT ["/entrypoint.sh"] ---> Running in acbbe1ba0f5c ---> Removed intermediate container acbbe1ba0f5c ---> d7fb88d351a9 Step 8/8 : CMD ["/usr/bin/contrail-tor-agent","--config_file","/etc/contrail/contrail-tor-agent.conf"] ---> Running in 516c44ae5dee ---> Removed intermediate container 516c44ae5dee ---> 12b3661817ec [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 12b3661817ec Successfully tagged nexus.gz1.opensdn.io:5101/contrail-tor-agent:master-1_0_4_0-3 Successfully tagged nexus.gz1.opensdn.io:5101/tf-tor-agent:master-1_0_4_0-3 2024-09-17 23:46:32,901: INFO: Docker build duration: 258 seconds The push refers to repository [nexus.gz1.opensdn.io:5101/contrail-tor-agent] fc39342c87ad: Preparing 1eae0b2fad47: Preparing a4275f887a82: Preparing 7a02d1c8d1ba: Preparing c1725aa6b883: Preparing afa30d319b8b: Preparing 115f4197110b: Preparing 3247c067e186: Preparing 0ba078f7e072: Preparing f51c5d839ba7: Preparing 174f56854903: Preparing a4275f887a82: Waiting 7a02d1c8d1ba: Waiting c1725aa6b883: Waiting afa30d319b8b: Waiting 115f4197110b: Waiting 3247c067e186: Waiting 0ba078f7e072: Waiting f51c5d839ba7: Waiting 174f56854903: Waiting fc39342c87ad: Pushed a4275f887a82: Layer already exists 7a02d1c8d1ba: Layer already exists c1725aa6b883: Layer already exists afa30d319b8b: Layer already exists 115f4197110b: Layer already exists 3247c067e186: Layer already exists 0ba078f7e072: Layer already exists f51c5d839ba7: Layer already exists 174f56854903: Layer already exists 1eae0b2fad47: Pushed master-1_0_4_0-3: digest: sha256:594a092295938d40ba274354a4df15ab82f8b0bf7dbc668ba86b36e2a22485d9 size: 2619 The push refers to repository [nexus.gz1.opensdn.io:5101/tf-tor-agent] fc39342c87ad: Preparing 1eae0b2fad47: Preparing a4275f887a82: Preparing 7a02d1c8d1ba: Preparing c1725aa6b883: Preparing afa30d319b8b: Preparing 115f4197110b: Preparing 3247c067e186: Preparing 0ba078f7e072: Preparing f51c5d839ba7: Preparing 174f56854903: Preparing a4275f887a82: Waiting 7a02d1c8d1ba: Waiting c1725aa6b883: Waiting afa30d319b8b: Waiting 115f4197110b: Waiting 3247c067e186: Waiting 0ba078f7e072: Waiting f51c5d839ba7: Waiting 174f56854903: Waiting 1eae0b2fad47: Layer already exists a4275f887a82: Layer already exists 7a02d1c8d1ba: Layer already exists fc39342c87ad: Layer already exists afa30d319b8b: Layer already exists 115f4197110b: Layer already exists 3247c067e186: Layer already exists 0ba078f7e072: Layer already exists f51c5d839ba7: Layer already exists c1725aa6b883: Layer already exists 174f56854903: Layer already exists master-1_0_4_0-3: digest: sha256:594a092295938d40ba274354a4df15ab82f8b0bf7dbc668ba86b36e2a22485d9 size: 2619 2024-09-17 23:47:51,903: INFO: Building contrail-tor-agent finished successfully, duration: 337 seconds