2024-09-19 06:43:03,065: INFO: Building contrail-openstack-heat-init 2024-09-19 06:43:03,145: INFO: Building args: --network host --build-arg CONTRAIL_REGISTRY=nexus.gz1.opensdn.io:5101 --build-arg CONTRAIL_CONTAINER_TAG=master-1_0_4_9-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-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:5101/contrail-general-base:master-1_0_4_9-1 ---> 6dc1e06e66dd Step 2/7 : ARG CONTAINER_NAME ---> Using cache ---> 6436ee02ef72 Step 3/7 : ENV CONTAINER_NAME=$CONTAINER_NAME ---> Running in a900b658134e ---> Removed intermediate container a900b658134e ---> 51b5e2759ae6 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 40ace928cdf4 ---> Removed intermediate container 40ace928cdf4 ---> b1cc27d359be Step 5/7 : COPY *.sh / ---> 10c60c42333a 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 cc164ebd7767 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-master.1.0.4.9.1-master_1_0_4_9_1.el7.x86_64.rpm Preparing... ######################################## Updating / installing... python3-contrail-master.1.0.4.9.1-mast######################################## 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 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) 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 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 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) Installing collected packages: idna, certifi, charset-normalizer, urllib3, 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-n39npiva/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-ji0dyzno-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-n39npiva/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-ji0dyzno-record/install-record.txt --single-version-externally-managed --no-compile" failed with error code 1 in /tmp/pip-build-n39npiva/greenlet/ warning: %post(python3-contrail-master.1.0.4.9.1-master_1_0_4_9_1.el7.x86_64) scriptlet failed, exit status 1 Retrieving http://localhost:6667/noarch/contrail-heat-master.1.0.4.9.1-master_1_0_4_9_1.el7.noarch.rpm Preparing... ######################################## Updating / installing... contrail-heat-master.1.0.4.9.1-master_######################################## Loaded plugins: fastestmirror, ovl Resolving Dependencies --> Running transaction check ---> Package contrail-heat.noarch 0:master.1.0.4.9.1-master_1_0_4_9_1.el7 will be erased ---> Package python3-contrail.x86_64 0:master.1.0.4.9.1-master_1_0_4_9_1.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 master.1.0.4.9.1-master_1_0_4_9_1.el7 installed 511 k python3-contrail x86_64 master.1.0.4.9.1-master_1_0_4_9_1.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 : contrail-heat-master.1.0.4.9.1-master_1_0_4_9_1.el7.noarch 1/2 Erasing : python3-contrail-master.1.0.4.9.1-master_1_0_4_9_1.el7.x86 2/2 Verifying : python3-contrail-master.1.0.4.9.1-master_1_0_4_9_1.el7.x86 1/2 Verifying : contrail-heat-master.1.0.4.9.1-master_1_0_4_9_1.el7.noarch 2/2 Removed: contrail-heat.noarch 0:master.1.0.4.9.1-master_1_0_4_9_1.el7 python3-contrail.x86_64 0:master.1.0.4.9.1-master_1_0_4_9_1.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 cc164ebd7767 ---> f50c60f89560 Step 7/7 : ENTRYPOINT ["/entrypoint.sh"] ---> Running in 82da67a8af00 ---> Removed intermediate container 82da67a8af00 ---> bc48fffd422b [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 bc48fffd422b Successfully tagged nexus.gz1.opensdn.io:5101/contrail-openstack-heat-init:master-1_0_4_9-1 Successfully tagged nexus.gz1.opensdn.io:5101/tf-openstack-heat-init:master-1_0_4_9-1 2024-09-19 06:45:23,327: INFO: Docker build duration: 140 seconds The push refers to repository [nexus.gz1.opensdn.io:5101/contrail-openstack-heat-init] 7af37f884848: Preparing 7c5a16a58c8a: Preparing c53feb4bbb41: Preparing ffe1d3e139c4: Preparing 59aaff69c3b0: Preparing 980cb883dbb9: Preparing 3197769ccbb9: Preparing 313bccc2dc2e: Preparing 174f56854903: Preparing 7af37f884848: Waiting 7c5a16a58c8a: Waiting c53feb4bbb41: Waiting ffe1d3e139c4: Waiting 59aaff69c3b0: Waiting 980cb883dbb9: Waiting 3197769ccbb9: Waiting 313bccc2dc2e: Waiting 174f56854903: Waiting c53feb4bbb41: Layer already exists 7c5a16a58c8a: Pushed ffe1d3e139c4: Layer already exists 59aaff69c3b0: Layer already exists 980cb883dbb9: Layer already exists 3197769ccbb9: Layer already exists 313bccc2dc2e: Layer already exists 174f56854903: Layer already exists 7af37f884848: Pushed master-1_0_4_9-1: digest: sha256:50d39fea016a34a3a677d1debdc510fb29fcb4225267dd60794647c849c4722c size: 2198 The push refers to repository [nexus.gz1.opensdn.io:5101/tf-openstack-heat-init] 7af37f884848: Preparing 7c5a16a58c8a: Preparing c53feb4bbb41: Preparing ffe1d3e139c4: Preparing 59aaff69c3b0: Preparing 980cb883dbb9: Preparing 3197769ccbb9: Preparing 313bccc2dc2e: Preparing 174f56854903: Preparing 980cb883dbb9: Waiting 3197769ccbb9: Waiting 313bccc2dc2e: Waiting 174f56854903: Waiting ffe1d3e139c4: Waiting 59aaff69c3b0: Waiting c53feb4bbb41: Layer already exists 7c5a16a58c8a: Layer already exists 7af37f884848: Layer already exists ffe1d3e139c4: Layer already exists 980cb883dbb9: Layer already exists 59aaff69c3b0: Layer already exists 313bccc2dc2e: Layer already exists 3197769ccbb9: Layer already exists 174f56854903: Layer already exists master-1_0_4_9-1: digest: sha256:50d39fea016a34a3a677d1debdc510fb29fcb4225267dd60794647c849c4722c size: 2198 2024-09-19 06:45:37,213: INFO: Building contrail-openstack-heat-init finished successfully, duration: 154 seconds