Mock Version: 4.1 Mock Version: 4.1 Mock Version: 4.1 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --noclean --target noarch --nodeps /builddir/build/SPECS/python-oslo-vmware.spec'], chrootPath='/var/lib/mock/dist-ocs23-python311-build-87229-5050/root'env={'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8'}shell=Falselogger=timeout=86400uid=981gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --noclean --target noarch --nodeps /builddir/build/SPECS/python-oslo-vmware.spec'] with env {'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8'} and shell False Building target platforms: noarch Building for target noarch Wrote: /builddir/build/SRPMS/python-oslo-vmware-3.8.0-6.ocs23.src.rpm Child return code was: 0 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --noclean --target noarch --nodeps /builddir/build/SPECS/python-oslo-vmware.spec'], chrootPath='/var/lib/mock/dist-ocs23-python311-build-87229-5050/root'env={'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8'}shell=Falselogger=timeout=86400uid=981gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --noclean --target noarch --nodeps /builddir/build/SPECS/python-oslo-vmware.spec'] with env {'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8'} and shell False Building target platforms: noarch Building for target noarch Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.o9eiFb + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf oslo.vmware-3.8.0 + /usr/lib/rpm/rpmuncompress -x /builddir/build/SOURCES/oslo.vmware-3.8.0.tar.gz + STATUS=0 + '[' 0 -ne 0 ']' + cd oslo.vmware-3.8.0 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + sed -i '/eventlet/s/!=0.20.1,//' requirements.txt + sed -i '/lxml/s/,>=3.4.1//' requirements.txt + sed -i '/suds-jurko>=0.6/d' requirements.txt + RPM_EC=0 ++ jobs -p + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.WFAt77 + umask 022 + cd /builddir/build/BUILD + CFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection' + export CFLAGS + CXXFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection' + export CXXFLAGS + FFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/lib/gfortran/modules' + export FFLAGS + FCFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/lib/gfortran/modules' + export FCFLAGS + LDFLAGS='-Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-ld -Wl,--build-id=sha1' + export LDFLAGS + LT_SYS_LIBRARY_PATH=/usr/lib: + export LT_SYS_LIBRARY_PATH + CC=gcc + export CC + CXX=g++ + export CXX + cd oslo.vmware-3.8.0 + CFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection' + LDFLAGS='-Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-ld -Wl,--build-id=sha1' + /usr/bin/python3 setup.py build '--executable=/usr/bin/python3 -s' /usr/lib/python3.11/site-packages/setuptools/dist.py:771: UserWarning: Usage of dash-separated 'description-file' will not be supported in future versions. Please use the underscore name 'description_file' instead warnings.warn( /usr/lib/python3.11/site-packages/setuptools/dist.py:771: UserWarning: Usage of dash-separated 'author-email' will not be supported in future versions. Please use the underscore name 'author_email' instead warnings.warn( /usr/lib/python3.11/site-packages/setuptools/dist.py:771: UserWarning: Usage of dash-separated 'home-page' will not be supported in future versions. Please use the underscore name 'home_page' instead warnings.warn( /usr/lib/python3.11/site-packages/setuptools/dist.py:771: UserWarning: Usage of dash-separated 'python-requires' will not be supported in future versions. Please use the underscore name 'python_requires' instead warnings.warn( /usr/lib/python3.11/site-packages/setuptools/command/easy_install.py:144: EasyInstallDeprecationWarning: easy_install command is deprecated. Use build and pip and other standards-based tools. warnings.warn( /usr/lib/python3.11/site-packages/setuptools/command/install.py:34: SetuptoolsDeprecationWarning: setup.py install is deprecated. Use build and pip and other standards-based tools. warnings.warn( /usr/lib/python3.11/site-packages/setuptools/dist.py:771: UserWarning: Usage of dash-separated 'description-file' will not be supported in future versions. Please use the underscore name 'description_file' instead warnings.warn( /usr/lib/python3.11/site-packages/setuptools/dist.py:771: UserWarning: Usage of dash-separated 'author-email' will not be supported in future versions. Please use the underscore name 'author_email' instead warnings.warn( /usr/lib/python3.11/site-packages/setuptools/dist.py:771: UserWarning: Usage of dash-separated 'home-page' will not be supported in future versions. Please use the underscore name 'home_page' instead warnings.warn( /usr/lib/python3.11/site-packages/setuptools/dist.py:771: UserWarning: Usage of dash-separated 'python-requires' will not be supported in future versions. Please use the underscore name 'python_requires' instead warnings.warn( running build running build_py creating build creating build/lib creating build/lib/oslo_vmware copying oslo_vmware/constants.py -> build/lib/oslo_vmware copying oslo_vmware/rw_handles.py -> build/lib/oslo_vmware copying oslo_vmware/pbm.py -> build/lib/oslo_vmware copying oslo_vmware/version.py -> build/lib/oslo_vmware copying oslo_vmware/image_transfer.py -> build/lib/oslo_vmware copying oslo_vmware/api.py -> build/lib/oslo_vmware copying oslo_vmware/service.py -> build/lib/oslo_vmware copying oslo_vmware/vim_util.py -> build/lib/oslo_vmware copying oslo_vmware/dvs_util.py -> build/lib/oslo_vmware copying oslo_vmware/exceptions.py -> build/lib/oslo_vmware copying oslo_vmware/image_util.py -> build/lib/oslo_vmware copying oslo_vmware/__init__.py -> build/lib/oslo_vmware copying oslo_vmware/vim.py -> build/lib/oslo_vmware copying oslo_vmware/_i18n.py -> build/lib/oslo_vmware creating build/lib/oslo_vmware/hacking copying oslo_vmware/hacking/checks.py -> build/lib/oslo_vmware/hacking copying oslo_vmware/hacking/__init__.py -> build/lib/oslo_vmware/hacking creating build/lib/oslo_vmware/objects copying oslo_vmware/objects/datacenter.py -> build/lib/oslo_vmware/objects copying oslo_vmware/objects/datastore.py -> build/lib/oslo_vmware/objects copying oslo_vmware/objects/__init__.py -> build/lib/oslo_vmware/objects creating build/lib/oslo_vmware/tests creating build/lib/oslo_vmware/tests/objects copying oslo_vmware/tests/objects/test_datacenter.py -> build/lib/oslo_vmware/tests/objects copying oslo_vmware/tests/objects/test_datastore.py -> build/lib/oslo_vmware/tests/objects copying oslo_vmware/tests/objects/__init__.py -> build/lib/oslo_vmware/tests/objects copying oslo_vmware/tests/test_api.py -> build/lib/oslo_vmware/tests copying oslo_vmware/tests/base.py -> build/lib/oslo_vmware/tests copying oslo_vmware/tests/test_vim_util.py -> build/lib/oslo_vmware/tests copying oslo_vmware/tests/test_image_transfer.py -> build/lib/oslo_vmware/tests copying oslo_vmware/tests/test_service.py -> build/lib/oslo_vmware/tests copying oslo_vmware/tests/test_image_util.py -> build/lib/oslo_vmware/tests copying oslo_vmware/tests/test_dvs_util.py -> build/lib/oslo_vmware/tests copying oslo_vmware/tests/test_vim.py -> build/lib/oslo_vmware/tests copying oslo_vmware/tests/test_pbm.py -> build/lib/oslo_vmware/tests copying oslo_vmware/tests/test_exceptions.py -> build/lib/oslo_vmware/tests copying oslo_vmware/tests/test_hacking.py -> build/lib/oslo_vmware/tests copying oslo_vmware/tests/test_rw_handles.py -> build/lib/oslo_vmware/tests copying oslo_vmware/tests/__init__.py -> build/lib/oslo_vmware/tests creating build/lib/oslo_vmware/common copying oslo_vmware/common/loopingcall.py -> build/lib/oslo_vmware/common copying oslo_vmware/common/__init__.py -> build/lib/oslo_vmware/common running egg_info writing oslo.vmware.egg-info/PKG-INFO writing dependency_links to oslo.vmware.egg-info/dependency_links.txt writing requirements to oslo.vmware.egg-info/requires.txt writing top-level names to oslo.vmware.egg-info/top_level.txt [pbr] Reusing existing SOURCES.txt /usr/lib/python3.11/site-packages/setuptools/command/build_py.py:202: SetuptoolsDeprecationWarning: Installing 'oslo_vmware.locale.en_GB.LC_MESSAGES' as data is deprecated, please list it in `packages`. !! ############################ # Package would be ignored # ############################ Python recognizes 'oslo_vmware.locale.en_GB.LC_MESSAGES' as an importable package, but it is not listed in the `packages` configuration of setuptools. 'oslo_vmware.locale.en_GB.LC_MESSAGES' has been automatically added to the distribution only because it may contain data files, but this behavior is likely to change in future versions of setuptools (and therefore is considered deprecated). Please make sure that 'oslo_vmware.locale.en_GB.LC_MESSAGES' is included as a package by using the `packages` configuration field or the proper discovery methods (for example by using `find_namespace_packages(...)`/`find_namespace:` instead of `find_packages(...)`/`find:`). You can read more about "package discovery" and "data files" on setuptools documentation page. !! check.warn(importable) /usr/lib/python3.11/site-packages/setuptools/command/build_py.py:202: SetuptoolsDeprecationWarning: Installing 'oslo_vmware.locale.fr.LC_MESSAGES' as data is deprecated, please list it in `packages`. !! ############################ # Package would be ignored # ############################ Python recognizes 'oslo_vmware.locale.fr.LC_MESSAGES' as an importable package, but it is not listed in the `packages` configuration of setuptools. 'oslo_vmware.locale.fr.LC_MESSAGES' has been automatically added to the distribution only because it may contain data files, but this behavior is likely to change in future versions of setuptools (and therefore is considered deprecated). Please make sure that 'oslo_vmware.locale.fr.LC_MESSAGES' is included as a package by using the `packages` configuration field or the proper discovery methods (for example by using `find_namespace_packages(...)`/`find_namespace:` instead of `find_packages(...)`/`find:`). You can read more about "package discovery" and "data files" on setuptools documentation page. !! check.warn(importable) /usr/lib/python3.11/site-packages/setuptools/command/build_py.py:202: SetuptoolsDeprecationWarning: Installing 'oslo_vmware.wsdl' as data is deprecated, please list it in `packages`. !! ############################ # Package would be ignored # ############################ Python recognizes 'oslo_vmware.wsdl' as an importable package, but it is not listed in the `packages` configuration of setuptools. 'oslo_vmware.wsdl' has been automatically added to the distribution only because it may contain data files, but this behavior is likely to change in future versions of setuptools (and therefore is considered deprecated). Please make sure that 'oslo_vmware.wsdl' is included as a package by using the `packages` configuration field or the proper discovery methods (for example by using `find_namespace_packages(...)`/`find_namespace:` instead of `find_packages(...)`/`find:`). You can read more about "package discovery" and "data files" on setuptools documentation page. !! check.warn(importable) creating build/lib/oslo_vmware/locale creating build/lib/oslo_vmware/locale/en_GB creating build/lib/oslo_vmware/locale/en_GB/LC_MESSAGES copying oslo_vmware/locale/en_GB/LC_MESSAGES/oslo_vmware.po -> build/lib/oslo_vmware/locale/en_GB/LC_MESSAGES creating build/lib/oslo_vmware/locale/fr creating build/lib/oslo_vmware/locale/fr/LC_MESSAGES copying oslo_vmware/locale/fr/LC_MESSAGES/oslo_vmware.po -> build/lib/oslo_vmware/locale/fr/LC_MESSAGES creating build/lib/oslo_vmware/wsdl creating build/lib/oslo_vmware/wsdl/5.5 copying oslo_vmware/wsdl/5.5/core-types.xsd -> build/lib/oslo_vmware/wsdl/5.5 copying oslo_vmware/wsdl/5.5/pbm-messagetypes.xsd -> build/lib/oslo_vmware/wsdl/5.5 copying oslo_vmware/wsdl/5.5/pbm-types.xsd -> build/lib/oslo_vmware/wsdl/5.5 copying oslo_vmware/wsdl/5.5/pbm.wsdl -> build/lib/oslo_vmware/wsdl/5.5 copying oslo_vmware/wsdl/5.5/pbmService.wsdl -> build/lib/oslo_vmware/wsdl/5.5 creating build/lib/oslo_vmware/wsdl/6.0 copying oslo_vmware/wsdl/6.0/core-types.xsd -> build/lib/oslo_vmware/wsdl/6.0 copying oslo_vmware/wsdl/6.0/pbm-messagetypes.xsd -> build/lib/oslo_vmware/wsdl/6.0 copying oslo_vmware/wsdl/6.0/pbm-types.xsd -> build/lib/oslo_vmware/wsdl/6.0 copying oslo_vmware/wsdl/6.0/pbm.wsdl -> build/lib/oslo_vmware/wsdl/6.0 copying oslo_vmware/wsdl/6.0/pbmService.wsdl -> build/lib/oslo_vmware/wsdl/6.0 creating build/lib/oslo_vmware/wsdl/6.5 copying oslo_vmware/wsdl/6.5/core-types.xsd -> build/lib/oslo_vmware/wsdl/6.5 copying oslo_vmware/wsdl/6.5/pbm-messagetypes.xsd -> build/lib/oslo_vmware/wsdl/6.5 copying oslo_vmware/wsdl/6.5/pbm-types.xsd -> build/lib/oslo_vmware/wsdl/6.5 copying oslo_vmware/wsdl/6.5/pbm.wsdl -> build/lib/oslo_vmware/wsdl/6.5 copying oslo_vmware/wsdl/6.5/pbmService.wsdl -> build/lib/oslo_vmware/wsdl/6.5 copying oslo_vmware/wsdl/6.5/query-types.xsd -> build/lib/oslo_vmware/wsdl/6.5 copying oslo_vmware/wsdl/6.5/reflect-types.xsd -> build/lib/oslo_vmware/wsdl/6.5 copying oslo_vmware/wsdl/6.5/vim-types.xsd -> build/lib/oslo_vmware/wsdl/6.5 creating build/lib/oslo_vmware/wsdl/6.7 copying oslo_vmware/wsdl/6.7/core-types.xsd -> build/lib/oslo_vmware/wsdl/6.7 copying oslo_vmware/wsdl/6.7/pbm-messagetypes.xsd -> build/lib/oslo_vmware/wsdl/6.7 copying oslo_vmware/wsdl/6.7/pbm-types.xsd -> build/lib/oslo_vmware/wsdl/6.7 copying oslo_vmware/wsdl/6.7/pbm.wsdl -> build/lib/oslo_vmware/wsdl/6.7 copying oslo_vmware/wsdl/6.7/pbmService.wsdl -> build/lib/oslo_vmware/wsdl/6.7 copying oslo_vmware/wsdl/6.7/query-types.xsd -> build/lib/oslo_vmware/wsdl/6.7 copying oslo_vmware/wsdl/6.7/reflect-types.xsd -> build/lib/oslo_vmware/wsdl/6.7 copying oslo_vmware/wsdl/6.7/vim-types.xsd -> build/lib/oslo_vmware/wsdl/6.7 creating build/lib/oslo_vmware/wsdl/7.0 copying oslo_vmware/wsdl/7.0/core-types.xsd -> build/lib/oslo_vmware/wsdl/7.0 copying oslo_vmware/wsdl/7.0/pbm-messagetypes.xsd -> build/lib/oslo_vmware/wsdl/7.0 copying oslo_vmware/wsdl/7.0/pbm-types.xsd -> build/lib/oslo_vmware/wsdl/7.0 copying oslo_vmware/wsdl/7.0/pbm.wsdl -> build/lib/oslo_vmware/wsdl/7.0 copying oslo_vmware/wsdl/7.0/pbmService.wsdl -> build/lib/oslo_vmware/wsdl/7.0 copying oslo_vmware/wsdl/7.0/query-types.xsd -> build/lib/oslo_vmware/wsdl/7.0 copying oslo_vmware/wsdl/7.0/reflect-types.xsd -> build/lib/oslo_vmware/wsdl/7.0 copying oslo_vmware/wsdl/7.0/vim-types.xsd -> build/lib/oslo_vmware/wsdl/7.0 copying oslo_vmware/tests/test.ovf -> build/lib/oslo_vmware/tests + sphinx-build-3 -b html doc/source doc/build/html Running Sphinx v4.3.1 Extension error: Could not import extension sphinxcontrib.apidoc (exception: No module named 'sphinxcontrib.apidoc') error: Bad exit status from /var/tmp/rpm-tmp.WFAt77 (%build) RPM build errors: Bad exit status from /var/tmp/rpm-tmp.WFAt77 (%build) Child return code was: 1 EXCEPTION: [Error('Command failed: \n # bash --login -c /usr/bin/rpmbuild -bb --noclean --target noarch --nodeps /builddir/build/SPECS/python-oslo-vmware.spec\n', 1)] Traceback (most recent call last): File "/usr/lib/python3.10/site-packages/mockbuild/trace_decorator.py", line 93, in trace result = func(*args, **kw) File "/usr/lib/python3.10/site-packages/mockbuild/util.py", line 597, in do_with_status raise exception.Error("Command failed: \n # %s\n%s" % (command, output), child.returncode) mockbuild.exception.Error: Command failed: # bash --login -c /usr/bin/rpmbuild -bb --noclean --target noarch --nodeps /builddir/build/SPECS/python-oslo-vmware.spec