2025-05-15 01:23:04,688: INFO: Building contrail-openstack-compute-init
2025-05-15 01:23:04,768: INFO: Building args: --network host --build-arg CONTRAIL_REGISTRY=nexus.gz1.opensdn.io:5102 --build-arg CONTRAIL_CONTAINER_TAG=nightly-r24.1-centos --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-openstack-compute-init --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 7.168 kB

Step 1/7 : FROM nexus.gz1.opensdn.io:5102/contrail-general-base:nightly-r24.1-centos
---> a930fd050a25
Step 2/7 : ARG CONTAINER_NAME
---> Using cache
---> 67ab55d755e2
Step 3/7 : ENV CONTAINER_NAME=$CONTAINER_NAME
---> Running in dcc68aaeb35f
---> Removed intermediate container dcc68aaeb35f
---> a947a821be19
Step 4/7 : LABEL name=$CONTAINER_NAME       summary="Init container for OpenStack Compute"       description="Sidecar container with libraries for nova-compute."       $VENDOR_DOMAIN".container.name"=$CONTAINER_NAME
---> Running in 820ae621cd1b
---> Removed intermediate container 820ae621cd1b
---> 02729de14362
Step 5/7 : COPY vrouter-port-control *.sh /
---> 9120b0155c52
Step 6/7 : RUN rpm -Uvh --nodeps $(repoquery -q --location contrail-vrouter-agent) &&     rpm -Uvh --nodeps $(repoquery -q --location contrail-nova-vif) &&     mkdir -p /opt/contrail/bin /opt/contrail/site-packages &&     mv /vrouter-port-control /opt/contrail/bin/vrouter-port-control &&     chmod a+x /opt/contrail/bin/vrouter-port-control &&     cp /usr/bin/vrouter-port-control /opt/contrail/bin/vrouter-port-control.py &&     cp -rf /usr/lib/python2.7/site-packages/vif_plug_vrouter* /opt/contrail/site-packages &&     cp -rf /usr/lib/python2.7/site-packages/vif_plug_contrail_vrouter* /opt/contrail/site-packages &&     cp -rf /usr/lib/python2.7/site-packages/nova_contrail_vif* /opt/contrail/site-packages &&     yum autoremove -y contrail-vrouter-agent contrail-nova-vif &&     yum clean all -y &&     rm -rf /var/cache/yum
---> Running in 3615c148b5c3
Retrieving http://localhost:6667/x86_64/contrail-vrouter-agent-nightly.r24.1.centos-nightly_r24.1_centos.el7.x86_64.rpm
Preparing...                          ########################################
Updating / installing...
contrail-vrouter-agent-nightly.r24.1.c########################################
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/43b/9a0501fc2b5e7/paramiko-3.5.1-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/20c/c7d723ed72927/xmltodict-0.14.2-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

No working compiler found, or bogus compiler options passed to
the compiler from Python's standard "distutils" module.  See
the error messages above.  Likely, the problem is not related
to CFFI but generic to the setup.py of any Python package that
tries to compile C code.  (Hints: on OS/X 10.8, for errors about
-mno-fused-madd see http://stackoverflow.com/questions/22313407/
Otherwise, see https://wiki.python.org/moin/CompLangPython or
the IRC channel #python on irc.libera.chat.)

Trying to continue anyway.  If you are trying to install CFFI from
a build done in a different context, you can ignore this warning.

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-pnpnffx1/cffi-1.17.1/setup.py", line 245, in <module>
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-pnpnffx1/cffi-1.17.1/setup.py", line 245, in <module>
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 "<string>", line 1, in <module>
File "/tmp/pip-build-mw92wi9u/pynacl/setup.py", line 232, in <module>
"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-mw92wi9u/pynacl/
warning: %post(contrail-vrouter-agent-nightly.r24.1.centos-nightly_r24.1_centos.el7.x86_64) scriptlet failed, exit status 1
Retrieving http://localhost:6667/x86_64/contrail-nova-vif-nightly.r24.1.centos-nightly_r24.1_centos.el7.x86_64.rpm
Preparing...                          ########################################
Updating / installing...
contrail-nova-vif-nightly.r24.1.centos########################################
Loaded plugins: fastestmirror, ovl
Resolving Dependencies
--> Running transaction check
---> Package contrail-nova-vif.x86_64 0:nightly.r24.1.centos-nightly_r24.1_centos.el7 will be erased
---> Package contrail-vrouter-agent.x86_64 0:nightly.r24.1.centos-nightly_r24.1_centos.el7 will be erased
--> Finished Dependency Resolution
--> Finding unneeded leftover dependencies
Found and removing 0 unneeded dependencies

Dependencies Resolved

================================================================================
Package   Arch   Version                                       Repository
Size
================================================================================
Removing:
contrail-nova-vif
x86_64 nightly.r24.1.centos-nightly_r24.1_centos.el7 installed  99 k
contrail-vrouter-agent
x86_64 nightly.r24.1.centos-nightly_r24.1_centos.el7 installed  51 M

Transaction Summary
================================================================================
Remove  2 Packages

Installed size: 51 M
Downloading packages:
Running transaction check
Running transaction test
Transaction test succeeded
Running transaction
Warning: RPMDB altered outside of yum.
  Erasing    : contrail-nova-vif-nightly.r24.1.centos-nightly_r24.1_cento   1/2
Erasing    : contrail-vrouter-agent-nightly.r24.1.centos-nightly_r24.1_   2/2
Verifying  : contrail-vrouter-agent-nightly.r24.1.centos-nightly_r24.1_   1/2
Verifying  : contrail-nova-vif-nightly.r24.1.centos-nightly_r24.1_cento   2/2

Removed:
contrail-nova-vif.x86_64 0:nightly.r24.1.centos-nightly_r24.1_centos.el7
contrail-vrouter-agent.x86_64 0:nightly.r24.1.centos-nightly_r24.1_centos.el7

Complete!
Loaded plugins: fastestmirror, ovl
Cleaning repos: contrail 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
: tpc
---> Removed intermediate container 3615c148b5c3
---> 66aeb66d0dc9
Step 7/7 : ENTRYPOINT ["/entrypoint.sh"]
---> Running in a5b05280a251
---> Removed intermediate container a5b05280a251
---> 8783be47a61c
[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 8783be47a61c
Successfully tagged nexus.gz1.opensdn.io:5102/contrail-openstack-compute-init:nightly-r24.1-centos
Successfully tagged nexus.gz1.opensdn.io:5102/tf-openstack-compute-init:nightly-r24.1-centos
2025-05-15 01:24:40,792: INFO: Docker build duration: 96 seconds
The push refers to repository [nexus.gz1.opensdn.io:5102/contrail-openstack-compute-init]
e570285e719c: Preparing
62c382b95c72: Preparing
b2bd7390ad1b: Preparing
6e940b0bd0db: Preparing
0de7046343eb: Preparing
6c21e1d51c41: Preparing
b5d4e359e5e8: Preparing
ba935a75a964: Preparing
174f56854903: Preparing
6c21e1d51c41: Waiting
b5d4e359e5e8: Waiting
ba935a75a964: Waiting
174f56854903: Waiting
62c382b95c72: Pushed
b2bd7390ad1b: Layer already exists
0de7046343eb: Layer already exists
6e940b0bd0db: Layer already exists
6c21e1d51c41: Layer already exists
b5d4e359e5e8: Layer already exists
ba935a75a964: Layer already exists
174f56854903: Layer already exists
e570285e719c: Pushed
nightly-r24.1-centos: digest: sha256:4af230633c012bd5236960ca4e66e72ddf9813d064d33b97145866b8f191e229 size: 2197
The push refers to repository [nexus.gz1.opensdn.io:5102/tf-openstack-compute-init]
e570285e719c: Preparing
62c382b95c72: Preparing
b2bd7390ad1b: Preparing
6e940b0bd0db: Preparing
0de7046343eb: Preparing
6c21e1d51c41: Preparing
b5d4e359e5e8: Preparing
ba935a75a964: Preparing
174f56854903: Preparing
6c21e1d51c41: Waiting
b5d4e359e5e8: Waiting
ba935a75a964: Waiting
174f56854903: Waiting
6e940b0bd0db: Layer already exists
b2bd7390ad1b: Layer already exists
62c382b95c72: Layer already exists
0de7046343eb: Layer already exists
e570285e719c: Layer already exists
6c21e1d51c41: Layer already exists
b5d4e359e5e8: Layer already exists
ba935a75a964: Layer already exists
174f56854903: Layer already exists
nightly-r24.1-centos: digest: sha256:4af230633c012bd5236960ca4e66e72ddf9813d064d33b97145866b8f191e229 size: 2197
2025-05-15 01:24:49,440: INFO: Building contrail-openstack-compute-init finished successfully, duration: 105 seconds