2024-09-18 19:39:21,093: INFO: Building contrail-openstack-neutron-init 2024-09-18 19:39:21,154: INFO: Building args: --network host --build-arg CONTRAIL_REGISTRY=nexus.gz1.opensdn.io:5101 --build-arg CONTRAIL_CONTAINER_TAG=master-9_5_1-2 --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-neutron-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 8.192 kB Step 1/7 : FROM nexus.gz1.opensdn.io:5101/contrail-general-base:master-9_5_1-2 ---> 9c568197ef45 Step 2/7 : ARG CONTAINER_NAME ---> Using cache ---> 0e55e8211701 Step 3/7 : ENV CONTAINER_NAME=$CONTAINER_NAME ---> Running in c061e057ec7c ---> Removed intermediate container c061e057ec7c ---> 8785c12c9f7f Step 4/7 : LABEL name=$CONTAINER_NAME summary="Init container for OpenStack neutron-server" description="Sidecar container with libraries for neutron-server." $VENDOR_DOMAIN".container.name"=$CONTAINER_NAME ---> Running in d24616e75479 ---> Removed intermediate container d24616e75479 ---> 2753fd412d5e Step 5/7 : COPY *.sh / ---> 538b5d1ee885 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" && rpm -Uvh --nodeps $(repoquery -q --location python3-contrail) && rpm -Uvh --nodeps $(repoquery -q --location neutron-plugin-contrail) && cp -rf /usr/lib/python3.6/site-packages/neutron_plugin_contrail* /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 neutron-plugin-contrail && yum clean all -y && rm -rf /var/cache/yum ---> Running in 602fd1ce08f4 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) Installing collected packages: future Running setup.py install for future: started Running setup.py install for future: finished with status 'done' Successfully installed future-0.18.2 Retrieving http://localhost:6667/x86_64/python3-contrail-master.1.0.4.5.1-master_1_0_4_5_1.el7.x86_64.rpm Preparing... ######################################## Updating / installing... python3-contrail-master.1.0.4.5.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 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) 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 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) Installing collected packages: charset-normalizer, idna, urllib3, certifi, 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-_ny1ihgl/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-506poj7o-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-_ny1ihgl/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-506poj7o-record/install-record.txt --single-version-externally-managed --no-compile" failed with error code 1 in /tmp/pip-build-_ny1ihgl/greenlet/ warning: %post(python3-contrail-master.1.0.4.5.1-master_1_0_4_5_1.el7.x86_64) scriptlet failed, exit status 1 Retrieving http://localhost:6667/noarch/neutron-plugin-contrail-master.1.0.4.5.1-master_1_0_4_5_1.el7.noarch.rpm Preparing... ######################################## Updating / installing... neutron-plugin-contrail-master.1.0.4.5######################################## Loaded plugins: fastestmirror, ovl Resolving Dependencies --> Running transaction check ---> Package neutron-plugin-contrail.noarch 0:master.1.0.4.5.1-master_1_0_4_5_1.el7 will be erased ---> Package python3-contrail.x86_64 0:master.1.0.4.5.1-master_1_0_4_5_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: neutron-plugin-contrail noarch master.1.0.4.5.1-master_1_0_4_5_1.el7 installed 479 k python3-contrail x86_64 master.1.0.4.5.1-master_1_0_4_5_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 : neutron-plugin-contrail-master.1.0.4.5.1-master_1_0_4_5_1. 1/2 Erasing : python3-contrail-master.1.0.4.5.1-master_1_0_4_5_1.el7.x86 2/2 Verifying : python3-contrail-master.1.0.4.5.1-master_1_0_4_5_1.el7.x86 1/2 Verifying : neutron-plugin-contrail-master.1.0.4.5.1-master_1_0_4_5_1. 2/2 Removed: neutron-plugin-contrail.noarch 0:master.1.0.4.5.1-master_1_0_4_5_1.el7 python3-contrail.x86_64 0:master.1.0.4.5.1-master_1_0_4_5_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 602fd1ce08f4 ---> c446477d46cd Step 7/7 : ENTRYPOINT ["/entrypoint.sh"] ---> Running in ef12e6d6443e ---> Removed intermediate container ef12e6d6443e ---> 16b28c33bad6 [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 16b28c33bad6 Successfully tagged nexus.gz1.opensdn.io:5101/contrail-openstack-neutron-init:master-9_5_1-2 Successfully tagged nexus.gz1.opensdn.io:5101/tf-openstack-neutron-init:master-9_5_1-2 2024-09-18 19:41:29,631: INFO: Docker build duration: 128 seconds The push refers to repository [nexus.gz1.opensdn.io:5101/contrail-openstack-neutron-init] 348ec9d99af6: Preparing d95654918f80: Preparing 9dbb38059508: Preparing fdd477ddb516: Preparing dfbaa5d8a999: Preparing f2b8a00cbc4a: Preparing 9269a643eb13: Preparing 65f3b858509f: Preparing 174f56854903: Preparing 348ec9d99af6: Waiting d95654918f80: Waiting 9dbb38059508: Waiting fdd477ddb516: Waiting dfbaa5d8a999: Waiting f2b8a00cbc4a: Waiting 9269a643eb13: Waiting 65f3b858509f: Waiting 174f56854903: Waiting d95654918f80: Pushed 9dbb38059508: Layer already exists fdd477ddb516: Layer already exists dfbaa5d8a999: Layer already exists f2b8a00cbc4a: Layer already exists 9269a643eb13: Layer already exists 65f3b858509f: Layer already exists 174f56854903: Layer already exists 348ec9d99af6: Pushed master-9_5_1-2: digest: sha256:3d6630663a645a2f8a28181a948a4fe1c186ab1dbb5f2cdbca6b582295342cc6 size: 2198 The push refers to repository [nexus.gz1.opensdn.io:5101/tf-openstack-neutron-init] 348ec9d99af6: Preparing d95654918f80: Preparing 9dbb38059508: Preparing fdd477ddb516: Preparing dfbaa5d8a999: Preparing f2b8a00cbc4a: Preparing 9269a643eb13: Preparing 65f3b858509f: Preparing 174f56854903: Preparing 348ec9d99af6: Waiting d95654918f80: Waiting 9dbb38059508: Waiting fdd477ddb516: Waiting dfbaa5d8a999: Waiting f2b8a00cbc4a: Waiting 9269a643eb13: Waiting 65f3b858509f: Waiting 174f56854903: Waiting d95654918f80: Layer already exists 348ec9d99af6: Layer already exists 9dbb38059508: Layer already exists fdd477ddb516: Layer already exists dfbaa5d8a999: Layer already exists f2b8a00cbc4a: Layer already exists 9269a643eb13: Layer already exists 65f3b858509f: Layer already exists 174f56854903: Layer already exists master-9_5_1-2: digest: sha256:3d6630663a645a2f8a28181a948a4fe1c186ab1dbb5f2cdbca6b582295342cc6 size: 2198 2024-09-18 19:41:42,182: INFO: Building contrail-openstack-neutron-init finished successfully, duration: 141 seconds