2024-09-19 01:41:15,567: INFO: Building contrail-openstack-heat-init 2024-09-19 01:41:15,681: INFO: Building args: --network host --build-arg CONTRAIL_REGISTRY=nexus.gz1.opensdn.io:5102 --build-arg CONTRAIL_CONTAINER_TAG=nightly --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-heat-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 6.144 kB Step 1/7 : FROM nexus.gz1.opensdn.io:5102/contrail-general-base:nightly ---> 9c1cf4655156 Step 2/7 : ARG CONTAINER_NAME ---> Using cache ---> df9d019e1f70 Step 3/7 : ENV CONTAINER_NAME=$CONTAINER_NAME ---> Running in b20bdedb338d ---> Removed intermediate container b20bdedb338d ---> b90b724d68e6 Step 4/7 : LABEL name=$CONTAINER_NAME summary="Init container for OpenStack Heat" description="Sidecar container with libraries for heat services." $VENDOR_DOMAIN".container.name"=$CONTAINER_NAME ---> Running in 8366e1f20a08 ---> Removed intermediate container 8366e1f20a08 ---> 56a7ae01416a Step 5/7 : COPY *.sh / ---> 67cd6b7ae837 Step 6/7 : RUN mkdir -p /opt/contrail/site-packages && python3 -m pip install --no-compile --target=/opt/contrail/site-packages "future==0.18.2" "six==1.13.0" && rpm -Uvh --nodeps $(repoquery -q --location python3-contrail) && rpm -Uvh --nodeps $(repoquery -q --location contrail-heat) && cp -rf /usr/lib/python3.6/site-packages/contrail_heat* /opt/contrail/site-packages && cp -rf /usr/lib/python3.6/site-packages/vnc_api* /opt/contrail/site-packages && cp -rf /usr/lib/python3.6/site-packages/cfgm_common* /opt/contrail/site-packages && yum autoremove -y python3-contrail contrail-heat && yum clean all -y && rm -rf /var/cache/yum ---> Running in 5632ab174fd3 WARNING: Running pip install with root privileges is generally not a good idea. Try `__main__.py install --user` instead. Collecting future==0.18.2 Downloading http://tf-mirrors.gz1.opensdn.io/root/pypi/+f/b1b/ead90b70cf6ec/future-0.18.2.tar.gz (829kB) Collecting six==1.13.0 Downloading http://tf-mirrors.gz1.opensdn.io/root/pypi/+f/1f1/b7d42e254082a/six-1.13.0-py2.py3-none-any.whl Installing collected packages: future, six Running setup.py install for future: started Running setup.py install for future: finished with status 'done' Successfully installed future-0.18.2 six-1.13.0 Retrieving http://localhost:6667/x86_64/python3-contrail-nightly-nightly.el7.x86_64.rpm Preparing... ######################################## Updating / installing... python3-contrail-nightly-nightly.el7 ######################################## WARNING: Running pip install with root privileges is generally not a good idea. Try `__main__.py install --user` instead. Collecting requests (from -r /opt/opensdn/pip/api-lib/requirements.txt (line 1)) Downloading http://tf-mirrors.gz1.opensdn.io/root/pypi/+f/f22/fa1e554c9ddfd/requests-2.27.1-py2.py3-none-any.whl (63kB) Collecting future (from -r /opt/opensdn/pip/api-lib/requirements.txt (line 2)) Downloading http://tf-mirrors.gz1.opensdn.io/root/pypi/+f/929/292d34f5872e7/future-1.0.0-py3-none-any.whl (491kB) Collecting certifi>=2017.4.17 (from requests->-r /opt/opensdn/pip/api-lib/requirements.txt (line 1)) Downloading http://tf-mirrors.gz1.opensdn.io/root/pypi/+f/922/820b53db7a725/certifi-2024.8.30-py3-none-any.whl (167kB) Collecting urllib3<1.27,>=1.21.1 (from requests->-r /opt/opensdn/pip/api-lib/requirements.txt (line 1)) Downloading http://tf-mirrors.gz1.opensdn.io/root/pypi/+f/0ed/14ccfbf1c30a9/urllib3-1.26.20-py2.py3-none-any.whl (144kB) Collecting charset-normalizer~=2.0.0; python_version >= "3" (from requests->-r /opt/opensdn/pip/api-lib/requirements.txt (line 1)) Downloading http://tf-mirrors.gz1.opensdn.io/root/pypi/+f/688/1edbebdb17b39/charset_normalizer-2.0.12-py3-none-any.whl Collecting idna<4,>=2.5; python_version >= "3" (from requests->-r /opt/opensdn/pip/api-lib/requirements.txt (line 1)) Downloading http://tf-mirrors.gz1.opensdn.io/root/pypi/+f/050/b4e5baadcd44d/idna-3.8-py3-none-any.whl (66kB) Installing collected packages: certifi, urllib3, charset-normalizer, idna, requests, future Successfully installed certifi-2024.8.30 charset-normalizer-2.0.12 future-1.0.0 idna-3.8 requests-2.27.1 urllib3-1.26.20 WARNING: Running pip install with root privileges is generally not a good idea. Try `__main__.py install --user` instead. Collecting gevent (from -r /opt/opensdn/pip/libpartition/requirements.txt (line 1)) Downloading http://tf-mirrors.gz1.opensdn.io/root/pypi/+f/1ca/01da176ee37b3/gevent-22.10.2.tar.gz (6.6MB) Collecting kazoo (from -r /opt/opensdn/pip/libpartition/requirements.txt (line 2)) Downloading http://tf-mirrors.gz1.opensdn.io/root/pypi/+f/de2/d69168de432ff/kazoo-2.10.0-py2.py3-none-any.whl (148kB) Collecting zope.event (from gevent->-r /opt/opensdn/pip/libpartition/requirements.txt (line 1)) Downloading http://tf-mirrors.gz1.opensdn.io/root/pypi/+f/73d/9e3ef750cca14/zope.event-4.6-py2.py3-none-any.whl Collecting zope.interface (from gevent->-r /opt/opensdn/pip/libpartition/requirements.txt (line 1)) Downloading http://tf-mirrors.gz1.opensdn.io/root/pypi/+f/d16/9ccd0756c15bb/zope.interface-5.5.2-cp36-cp36m-manylinux_2_5_x86_64.manylinux1_x86_64.manylinux_2_12_x86_64.manylinux2010_x86_64.whl (253kB) Requirement already satisfied: setuptools in /usr/lib/python3.6/site-packages (from gevent->-r /opt/opensdn/pip/libpartition/requirements.txt (line 1)) Collecting greenlet>=2.0.0 (from gevent->-r /opt/opensdn/pip/libpartition/requirements.txt (line 1)) Downloading http://tf-mirrors.gz1.opensdn.io/root/pypi/+f/e7c/8dc13af7db097/greenlet-2.0.2.tar.gz (164kB) Installing collected packages: zope.event, zope.interface, greenlet, gevent, kazoo Running setup.py install for greenlet: started Running setup.py install for greenlet: finished with status 'error' Complete output from command /usr/bin/python3 -u -c "import setuptools, tokenize;__file__='/tmp/pip-build-8y3zy4i9/greenlet/setup.py';f=getattr(tokenize, 'open', open)(__file__);code=f.read().replace('rn', 'n');f.close();exec(compile(code, __file__, 'exec'))" install --record /tmp/pip-iwe6h15l-record/install-record.txt --single-version-externally-managed --no-compile: running install running build running build_py creating build creating build/lib.linux-x86_64-3.6 creating build/lib.linux-x86_64-3.6/greenlet copying src/greenlet/__init__.py -> build/lib.linux-x86_64-3.6/greenlet creating build/lib.linux-x86_64-3.6/greenlet/platform copying src/greenlet/platform/__init__.py -> build/lib.linux-x86_64-3.6/greenlet/platform creating build/lib.linux-x86_64-3.6/greenlet/tests copying src/greenlet/tests/__init__.py -> build/lib.linux-x86_64-3.6/greenlet/tests copying src/greenlet/tests/leakcheck.py -> build/lib.linux-x86_64-3.6/greenlet/tests copying src/greenlet/tests/test_contextvars.py -> build/lib.linux-x86_64-3.6/greenlet/tests copying src/greenlet/tests/test_cpp.py -> build/lib.linux-x86_64-3.6/greenlet/tests copying src/greenlet/tests/test_extension_interface.py -> build/lib.linux-x86_64-3.6/greenlet/tests copying src/greenlet/tests/test_gc.py -> build/lib.linux-x86_64-3.6/greenlet/tests copying src/greenlet/tests/test_generator.py -> build/lib.linux-x86_64-3.6/greenlet/tests copying src/greenlet/tests/test_generator_nested.py -> build/lib.linux-x86_64-3.6/greenlet/tests copying src/greenlet/tests/test_greenlet.py -> build/lib.linux-x86_64-3.6/greenlet/tests copying src/greenlet/tests/test_greenlet_trash.py -> build/lib.linux-x86_64-3.6/greenlet/tests copying src/greenlet/tests/test_leaks.py -> build/lib.linux-x86_64-3.6/greenlet/tests copying src/greenlet/tests/test_stack_saved.py -> build/lib.linux-x86_64-3.6/greenlet/tests copying src/greenlet/tests/test_throw.py -> build/lib.linux-x86_64-3.6/greenlet/tests copying src/greenlet/tests/test_tracing.py -> build/lib.linux-x86_64-3.6/greenlet/tests copying src/greenlet/tests/test_version.py -> build/lib.linux-x86_64-3.6/greenlet/tests copying src/greenlet/tests/test_weakref.py -> build/lib.linux-x86_64-3.6/greenlet/tests running egg_info writing src/greenlet.egg-info/PKG-INFO writing dependency_links to src/greenlet.egg-info/dependency_links.txt writing requirements to src/greenlet.egg-info/requires.txt writing top-level names to src/greenlet.egg-info/top_level.txt reading manifest file 'src/greenlet.egg-info/SOURCES.txt' reading manifest template 'MANIFEST.in' warning: no previously-included files found matching 'benchmarks/*.json' no previously-included directories found matching 'docs/_build' warning: no files found matching '*.py' under directory 'appveyor' warning: no previously-included files matching '*.pyc' found anywhere in distribution warning: no previously-included files matching '*.pyd' found anywhere in distribution warning: no previously-included files matching '*.so' found anywhere in distribution warning: no previously-included files matching '.coverage' found anywhere in distribution writing manifest file 'src/greenlet.egg-info/SOURCES.txt' copying src/greenlet/greenlet.cpp -> build/lib.linux-x86_64-3.6/greenlet copying src/greenlet/greenlet.h -> build/lib.linux-x86_64-3.6/greenlet copying src/greenlet/greenlet_allocator.hpp -> build/lib.linux-x86_64-3.6/greenlet copying src/greenlet/greenlet_compiler_compat.hpp -> build/lib.linux-x86_64-3.6/greenlet copying src/greenlet/greenlet_cpython_compat.hpp -> build/lib.linux-x86_64-3.6/greenlet copying src/greenlet/greenlet_exceptions.hpp -> build/lib.linux-x86_64-3.6/greenlet copying src/greenlet/greenlet_greenlet.hpp -> build/lib.linux-x86_64-3.6/greenlet copying src/greenlet/greenlet_internal.hpp -> build/lib.linux-x86_64-3.6/greenlet copying src/greenlet/greenlet_refs.hpp -> build/lib.linux-x86_64-3.6/greenlet copying src/greenlet/greenlet_slp_switch.hpp -> build/lib.linux-x86_64-3.6/greenlet copying src/greenlet/greenlet_thread_state.hpp -> build/lib.linux-x86_64-3.6/greenlet copying src/greenlet/greenlet_thread_state_dict_cleanup.hpp -> build/lib.linux-x86_64-3.6/greenlet copying src/greenlet/greenlet_thread_support.hpp -> build/lib.linux-x86_64-3.6/greenlet copying src/greenlet/slp_platformselect.h -> build/lib.linux-x86_64-3.6/greenlet copying src/greenlet/platform/setup_switch_x64_masm.cmd -> build/lib.linux-x86_64-3.6/greenlet/platform copying src/greenlet/platform/switch_aarch64_gcc.h -> build/lib.linux-x86_64-3.6/greenlet/platform copying src/greenlet/platform/switch_alpha_unix.h -> build/lib.linux-x86_64-3.6/greenlet/platform copying src/greenlet/platform/switch_amd64_unix.h -> build/lib.linux-x86_64-3.6/greenlet/platform copying src/greenlet/platform/switch_arm32_gcc.h -> build/lib.linux-x86_64-3.6/greenlet/platform copying src/greenlet/platform/switch_arm32_ios.h -> build/lib.linux-x86_64-3.6/greenlet/platform copying src/greenlet/platform/switch_arm64_masm.asm -> build/lib.linux-x86_64-3.6/greenlet/platform copying src/greenlet/platform/switch_arm64_masm.obj -> build/lib.linux-x86_64-3.6/greenlet/platform copying src/greenlet/platform/switch_arm64_msvc.h -> build/lib.linux-x86_64-3.6/greenlet/platform copying src/greenlet/platform/switch_csky_gcc.h -> build/lib.linux-x86_64-3.6/greenlet/platform copying src/greenlet/platform/switch_m68k_gcc.h -> build/lib.linux-x86_64-3.6/greenlet/platform copying src/greenlet/platform/switch_mips_unix.h -> build/lib.linux-x86_64-3.6/greenlet/platform copying src/greenlet/platform/switch_ppc64_aix.h -> build/lib.linux-x86_64-3.6/greenlet/platform copying src/greenlet/platform/switch_ppc64_linux.h -> build/lib.linux-x86_64-3.6/greenlet/platform copying src/greenlet/platform/switch_ppc_aix.h -> build/lib.linux-x86_64-3.6/greenlet/platform copying src/greenlet/platform/switch_ppc_linux.h -> build/lib.linux-x86_64-3.6/greenlet/platform copying src/greenlet/platform/switch_ppc_macosx.h -> build/lib.linux-x86_64-3.6/greenlet/platform copying src/greenlet/platform/switch_ppc_unix.h -> build/lib.linux-x86_64-3.6/greenlet/platform copying src/greenlet/platform/switch_riscv_unix.h -> build/lib.linux-x86_64-3.6/greenlet/platform copying src/greenlet/platform/switch_s390_unix.h -> build/lib.linux-x86_64-3.6/greenlet/platform copying src/greenlet/platform/switch_sparc_sun_gcc.h -> build/lib.linux-x86_64-3.6/greenlet/platform copying src/greenlet/platform/switch_x32_unix.h -> build/lib.linux-x86_64-3.6/greenlet/platform copying src/greenlet/platform/switch_x64_masm.asm -> build/lib.linux-x86_64-3.6/greenlet/platform copying src/greenlet/platform/switch_x64_masm.obj -> build/lib.linux-x86_64-3.6/greenlet/platform copying src/greenlet/platform/switch_x64_msvc.h -> build/lib.linux-x86_64-3.6/greenlet/platform copying src/greenlet/platform/switch_x86_msvc.h -> build/lib.linux-x86_64-3.6/greenlet/platform copying src/greenlet/platform/switch_x86_unix.h -> build/lib.linux-x86_64-3.6/greenlet/platform copying src/greenlet/tests/_test_extension.c -> build/lib.linux-x86_64-3.6/greenlet/tests copying src/greenlet/tests/_test_extension_cpp.cpp -> build/lib.linux-x86_64-3.6/greenlet/tests running build_ext building 'greenlet._greenlet' extension creating build/temp.linux-x86_64-3.6 creating build/temp.linux-x86_64-3.6/src creating build/temp.linux-x86_64-3.6/src/greenlet gcc -pthread -Wno-unused-result -Wsign-compare -DNDEBUG -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -D_GNU_SOURCE -fPIC -fwrapv -fPIC -I/usr/include/python3.6m -c src/greenlet/greenlet.cpp -o build/temp.linux-x86_64-3.6/src/greenlet/greenlet.o unable to execute 'gcc': No such file or directory error: command 'gcc' failed with exit status 1 ---------------------------------------- Command "/usr/bin/python3 -u -c "import setuptools, tokenize;__file__='/tmp/pip-build-8y3zy4i9/greenlet/setup.py';f=getattr(tokenize, 'open', open)(__file__);code=f.read().replace('rn', 'n');f.close();exec(compile(code, __file__, 'exec'))" install --record /tmp/pip-iwe6h15l-record/install-record.txt --single-version-externally-managed --no-compile" failed with error code 1 in /tmp/pip-build-8y3zy4i9/greenlet/ warning: %post(python3-contrail-nightly-nightly.el7.x86_64) scriptlet failed, exit status 1 Retrieving http://localhost:6667/noarch/contrail-heat-nightly-nightly.el7.noarch.rpm Preparing... ######################################## Updating / installing... contrail-heat-nightly-nightly.el7 ######################################## Loaded plugins: fastestmirror, ovl Resolving Dependencies --> Running transaction check ---> Package contrail-heat.noarch 0:nightly-nightly.el7 will be erased ---> Package python3-contrail.x86_64 0:nightly-nightly.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-heat noarch nightly-nightly.el7 installed 511 k python3-contrail x86_64 nightly-nightly.el7 installed 27 M Transaction Summary ================================================================================ Remove 2 Packages Installed size: 28 M Downloading packages: Running transaction check Running transaction test Transaction test succeeded Running transaction Warning: RPMDB altered outside of yum.  Erasing : python3-contrail-nightly-nightly.el7.x86_64 1/2 Erasing : contrail-heat-nightly-nightly.el7.noarch 2/2 Verifying : contrail-heat-nightly-nightly.el7.noarch 1/2 Verifying : python3-contrail-nightly-nightly.el7.x86_64 2/2 Removed: contrail-heat.noarch 0:nightly-nightly.el7 python3-contrail.x86_64 0:nightly-nightly.el7 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 ---> Removed intermediate container 5632ab174fd3 ---> 1a746ecb96ae Step 7/7 : ENTRYPOINT ["/entrypoint.sh"] ---> Running in 9fa8993a67a9 ---> Removed intermediate container 9fa8993a67a9 ---> 65fbdddf678a [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 65fbdddf678a Successfully tagged nexus.gz1.opensdn.io:5102/contrail-openstack-heat-init:nightly Successfully tagged nexus.gz1.opensdn.io:5102/tf-openstack-heat-init:nightly 2024-09-19 01:43:51,964: INFO: Docker build duration: 156 seconds The push refers to repository [nexus.gz1.opensdn.io:5102/contrail-openstack-heat-init] 34dec8a38cb9: Preparing 3f12cadf2535: Preparing f6148eaf0d2d: Preparing 4b41004ea250: Preparing 3881e9b030ea: Preparing 8af39c522e71: Preparing 7f0340bc2683: Preparing fd00709b2e93: Preparing 174f56854903: Preparing 34dec8a38cb9: Waiting 3f12cadf2535: Waiting f6148eaf0d2d: Waiting 4b41004ea250: Waiting 3881e9b030ea: Waiting 8af39c522e71: Waiting 7f0340bc2683: Waiting fd00709b2e93: Waiting 174f56854903: Waiting 3f12cadf2535: Pushed f6148eaf0d2d: Layer already exists 4b41004ea250: Layer already exists 3881e9b030ea: Layer already exists 8af39c522e71: Layer already exists 7f0340bc2683: Layer already exists fd00709b2e93: Layer already exists 174f56854903: Layer already exists 34dec8a38cb9: Pushed nightly: digest: sha256:c0fa4b3a43b367828329e9103d549f857a96b206f247adaf88b9e85476efbc8b size: 2198 The push refers to repository [nexus.gz1.opensdn.io:5102/tf-openstack-heat-init] 34dec8a38cb9: Preparing 3f12cadf2535: Preparing f6148eaf0d2d: Preparing 4b41004ea250: Preparing 3881e9b030ea: Preparing 8af39c522e71: Preparing 7f0340bc2683: Preparing fd00709b2e93: Preparing 174f56854903: Preparing 34dec8a38cb9: Waiting 3f12cadf2535: Waiting f6148eaf0d2d: Waiting 4b41004ea250: Waiting 3881e9b030ea: Waiting 8af39c522e71: Waiting 7f0340bc2683: Waiting fd00709b2e93: Waiting 174f56854903: Waiting 34dec8a38cb9: Layer already exists 3f12cadf2535: Layer already exists f6148eaf0d2d: Layer already exists 4b41004ea250: Layer already exists 3881e9b030ea: Layer already exists 8af39c522e71: Layer already exists 7f0340bc2683: Layer already exists 174f56854903: Layer already exists fd00709b2e93: Layer already exists nightly: digest: sha256:c0fa4b3a43b367828329e9103d549f857a96b206f247adaf88b9e85476efbc8b size: 2198 2024-09-19 01:44:08,346: INFO: Building contrail-openstack-heat-init finished successfully, duration: 173 seconds