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-policy.spec'], chrootPath='/var/lib/mock/dist-ocs23-python311-build-56669-2201/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=982gid=135user='mockbuild'nspawn_args=['--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.f3t4k0na:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/mapper/control', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11']unshare_net=TrueprintOutput=False) Using nspawn with args ['--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.f3t4k0na:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/mapper/control', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11'] Executing command: ['/usr/bin/systemd-nspawn', '-q', '-M', '6d3b0dfb51da4baabc150b5fa35978eb', '-D', '/var/lib/mock/dist-ocs23-python311-build-56669-2201/root', '-a', '-u', 'mockbuild', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.f3t4k0na:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/mapper/control', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11', '--console=pipe', '--setenv=TERM=vt100', '--setenv=SHELL=/bin/bash', '--setenv=HOME=/builddir', '--setenv=HOSTNAME=mock', '--setenv=PATH=/usr/bin:/bin:/usr/sbin:/sbin', '--setenv=PROMPT_COMMAND=printf "\\033]0;\\007"', '--setenv=PS1= \\s-\\v\\$ ', '--setenv=LANG=C.UTF-8', '--resolv-conf=off', 'bash', '--login', '-c', '/usr/bin/rpmbuild -bs --noclean --target noarch --nodeps /builddir/build/SPECS/python-oslo-policy.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', 'SYSTEMD_NSPAWN_TMPFS_TMP': '0', 'SYSTEMD_SECCOMP': '0'} and shell False Building target platforms: noarch Building for target noarch Wrote: /builddir/build/SRPMS/python-oslo-policy-3.7.1-2.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-policy.spec'], chrootPath='/var/lib/mock/dist-ocs23-python311-build-56669-2201/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=982gid=135user='mockbuild'nspawn_args=['--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.f3t4k0na:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/mapper/control', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11']unshare_net=TrueprintOutput=False) Using nspawn with args ['--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.f3t4k0na:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/mapper/control', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11'] Executing command: ['/usr/bin/systemd-nspawn', '-q', '-M', '95473990eabf4041af5ca694df2bea6e', '-D', '/var/lib/mock/dist-ocs23-python311-build-56669-2201/root', '-a', '-u', 'mockbuild', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.f3t4k0na:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/mapper/control', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11', '--console=pipe', '--setenv=TERM=vt100', '--setenv=SHELL=/bin/bash', '--setenv=HOME=/builddir', '--setenv=HOSTNAME=mock', '--setenv=PATH=/usr/bin:/bin:/usr/sbin:/sbin', '--setenv=PROMPT_COMMAND=printf "\\033]0;\\007"', '--setenv=PS1= \\s-\\v\\$ ', '--setenv=LANG=C.UTF-8', '--resolv-conf=off', 'bash', '--login', '-c', '/usr/bin/rpmbuild -bb --noclean --target noarch --nodeps /builddir/build/SPECS/python-oslo-policy.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', 'SYSTEMD_NSPAWN_TMPFS_TMP': '0', 'SYSTEMD_SECCOMP': '0'} and shell False Building target platforms: noarch Building for target noarch Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.PEbcOL + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf oslo.policy-3.7.1 + /usr/lib/rpm/rpmuncompress -x /builddir/build/SOURCES/oslo.policy-3.7.1.tar.gz + STATUS=0 + '[' 0 -ne 0 ']' + cd oslo.policy-3.7.1 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + RPM_EC=0 ++ jobs -p + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.U7BUbc + umask 022 + cd /builddir/build/BUILD + PYTHONPATH=:/usr/lib/python3.10/site-packages/:/usr/lib64/python3.10/site-packages/ + export PYTHONPATH + 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 -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-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 -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-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 -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-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 -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-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.policy-3.7.1 + 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 -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-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_policy copying oslo_policy/_i18n.py -> build/lib/oslo_policy copying oslo_policy/shell.py -> build/lib/oslo_policy copying oslo_policy/policy.py -> build/lib/oslo_policy copying oslo_policy/_cache_handler.py -> build/lib/oslo_policy copying oslo_policy/opts.py -> build/lib/oslo_policy copying oslo_policy/version.py -> build/lib/oslo_policy copying oslo_policy/sphinxext.py -> build/lib/oslo_policy copying oslo_policy/__init__.py -> build/lib/oslo_policy copying oslo_policy/generator.py -> build/lib/oslo_policy copying oslo_policy/_checks.py -> build/lib/oslo_policy copying oslo_policy/sphinxpolicygen.py -> build/lib/oslo_policy copying oslo_policy/_parser.py -> build/lib/oslo_policy copying oslo_policy/fixture.py -> build/lib/oslo_policy copying oslo_policy/_external.py -> build/lib/oslo_policy creating build/lib/oslo_policy/tests copying oslo_policy/tests/base.py -> build/lib/oslo_policy/tests copying oslo_policy/tests/test_generator.py -> build/lib/oslo_policy/tests copying oslo_policy/tests/test_parser.py -> build/lib/oslo_policy/tests copying oslo_policy/tests/__init__.py -> build/lib/oslo_policy/tests copying oslo_policy/tests/test_fixtures.py -> build/lib/oslo_policy/tests copying oslo_policy/tests/test_opts.py -> build/lib/oslo_policy/tests copying oslo_policy/tests/token_fixture.py -> build/lib/oslo_policy/tests copying oslo_policy/tests/test_policy.py -> build/lib/oslo_policy/tests copying oslo_policy/tests/test_sphinxext.py -> build/lib/oslo_policy/tests copying oslo_policy/tests/test_sphinxpolicygen.py -> build/lib/oslo_policy/tests copying oslo_policy/tests/test_external.py -> build/lib/oslo_policy/tests copying oslo_policy/tests/test_checks.py -> build/lib/oslo_policy/tests copying oslo_policy/tests/test_shell.py -> build/lib/oslo_policy/tests running egg_info writing oslo.policy.egg-info/PKG-INFO writing dependency_links to oslo.policy.egg-info/dependency_links.txt writing entry points to oslo.policy.egg-info/entry_points.txt writing requirements to oslo.policy.egg-info/requires.txt writing top-level names to oslo.policy.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_policy.locale.en_GB.LC_MESSAGES' as data is deprecated, please list it in `packages`. !! ############################ # Package would be ignored # ############################ Python recognizes 'oslo_policy.locale.en_GB.LC_MESSAGES' as an importable package, but it is not listed in the `packages` configuration of setuptools. 'oslo_policy.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_policy.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) creating build/lib/oslo_policy/locale creating build/lib/oslo_policy/locale/en_GB creating build/lib/oslo_policy/locale/en_GB/LC_MESSAGES copying oslo_policy/locale/en_GB/LC_MESSAGES/oslo_policy.po -> build/lib/oslo_policy/locale/en_GB/LC_MESSAGES + RPM_EC=0 ++ jobs -p + exit 0 Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.YGSIHL + umask 022 + cd /builddir/build/BUILD + PYTHONPATH=:/usr/lib/python3.10/site-packages/:/usr/lib64/python3.10/site-packages/ + export PYTHONPATH + '[' /builddir/build/BUILDROOT/python-oslo-policy-3.7.1-2.ocs23.noarch '!=' / ']' + rm -rf /builddir/build/BUILDROOT/python-oslo-policy-3.7.1-2.ocs23.noarch ++ dirname /builddir/build/BUILDROOT/python-oslo-policy-3.7.1-2.ocs23.noarch + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/python-oslo-policy-3.7.1-2.ocs23.noarch + cd oslo.policy-3.7.1 + 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 -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-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 install -O1 --skip-build --root /builddir/build/BUILDROOT/python-oslo-policy-3.7.1-2.ocs23.noarch /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 install [pbr] Generating AUTHORS [pbr] AUTHORS complete (0.0s) running install_lib creating /builddir/build/BUILDROOT/python-oslo-policy-3.7.1-2.ocs23.noarch/usr creating /builddir/build/BUILDROOT/python-oslo-policy-3.7.1-2.ocs23.noarch/usr/lib creating /builddir/build/BUILDROOT/python-oslo-policy-3.7.1-2.ocs23.noarch/usr/lib/python3.11 creating /builddir/build/BUILDROOT/python-oslo-policy-3.7.1-2.ocs23.noarch/usr/lib/python3.11/site-packages creating /builddir/build/BUILDROOT/python-oslo-policy-3.7.1-2.ocs23.noarch/usr/lib/python3.11/site-packages/oslo_policy copying build/lib/oslo_policy/_i18n.py -> /builddir/build/BUILDROOT/python-oslo-policy-3.7.1-2.ocs23.noarch/usr/lib/python3.11/site-packages/oslo_policy copying build/lib/oslo_policy/shell.py -> /builddir/build/BUILDROOT/python-oslo-policy-3.7.1-2.ocs23.noarch/usr/lib/python3.11/site-packages/oslo_policy copying build/lib/oslo_policy/policy.py -> /builddir/build/BUILDROOT/python-oslo-policy-3.7.1-2.ocs23.noarch/usr/lib/python3.11/site-packages/oslo_policy copying build/lib/oslo_policy/_cache_handler.py -> /builddir/build/BUILDROOT/python-oslo-policy-3.7.1-2.ocs23.noarch/usr/lib/python3.11/site-packages/oslo_policy copying build/lib/oslo_policy/opts.py -> /builddir/build/BUILDROOT/python-oslo-policy-3.7.1-2.ocs23.noarch/usr/lib/python3.11/site-packages/oslo_policy copying build/lib/oslo_policy/version.py -> /builddir/build/BUILDROOT/python-oslo-policy-3.7.1-2.ocs23.noarch/usr/lib/python3.11/site-packages/oslo_policy copying build/lib/oslo_policy/sphinxext.py -> /builddir/build/BUILDROOT/python-oslo-policy-3.7.1-2.ocs23.noarch/usr/lib/python3.11/site-packages/oslo_policy copying build/lib/oslo_policy/__init__.py -> /builddir/build/BUILDROOT/python-oslo-policy-3.7.1-2.ocs23.noarch/usr/lib/python3.11/site-packages/oslo_policy copying build/lib/oslo_policy/generator.py -> /builddir/build/BUILDROOT/python-oslo-policy-3.7.1-2.ocs23.noarch/usr/lib/python3.11/site-packages/oslo_policy creating /builddir/build/BUILDROOT/python-oslo-policy-3.7.1-2.ocs23.noarch/usr/lib/python3.11/site-packages/oslo_policy/tests copying build/lib/oslo_policy/tests/base.py -> /builddir/build/BUILDROOT/python-oslo-policy-3.7.1-2.ocs23.noarch/usr/lib/python3.11/site-packages/oslo_policy/tests copying build/lib/oslo_policy/tests/test_generator.py -> /builddir/build/BUILDROOT/python-oslo-policy-3.7.1-2.ocs23.noarch/usr/lib/python3.11/site-packages/oslo_policy/tests copying build/lib/oslo_policy/tests/test_parser.py -> /builddir/build/BUILDROOT/python-oslo-policy-3.7.1-2.ocs23.noarch/usr/lib/python3.11/site-packages/oslo_policy/tests copying build/lib/oslo_policy/tests/__init__.py -> /builddir/build/BUILDROOT/python-oslo-policy-3.7.1-2.ocs23.noarch/usr/lib/python3.11/site-packages/oslo_policy/tests copying build/lib/oslo_policy/tests/test_fixtures.py -> /builddir/build/BUILDROOT/python-oslo-policy-3.7.1-2.ocs23.noarch/usr/lib/python3.11/site-packages/oslo_policy/tests copying build/lib/oslo_policy/tests/test_opts.py -> /builddir/build/BUILDROOT/python-oslo-policy-3.7.1-2.ocs23.noarch/usr/lib/python3.11/site-packages/oslo_policy/tests copying build/lib/oslo_policy/tests/token_fixture.py -> /builddir/build/BUILDROOT/python-oslo-policy-3.7.1-2.ocs23.noarch/usr/lib/python3.11/site-packages/oslo_policy/tests copying build/lib/oslo_policy/tests/test_policy.py -> /builddir/build/BUILDROOT/python-oslo-policy-3.7.1-2.ocs23.noarch/usr/lib/python3.11/site-packages/oslo_policy/tests copying build/lib/oslo_policy/tests/test_sphinxext.py -> /builddir/build/BUILDROOT/python-oslo-policy-3.7.1-2.ocs23.noarch/usr/lib/python3.11/site-packages/oslo_policy/tests copying build/lib/oslo_policy/tests/test_sphinxpolicygen.py -> /builddir/build/BUILDROOT/python-oslo-policy-3.7.1-2.ocs23.noarch/usr/lib/python3.11/site-packages/oslo_policy/tests copying build/lib/oslo_policy/tests/test_external.py -> /builddir/build/BUILDROOT/python-oslo-policy-3.7.1-2.ocs23.noarch/usr/lib/python3.11/site-packages/oslo_policy/tests copying build/lib/oslo_policy/tests/test_checks.py -> /builddir/build/BUILDROOT/python-oslo-policy-3.7.1-2.ocs23.noarch/usr/lib/python3.11/site-packages/oslo_policy/tests copying build/lib/oslo_policy/tests/test_shell.py -> /builddir/build/BUILDROOT/python-oslo-policy-3.7.1-2.ocs23.noarch/usr/lib/python3.11/site-packages/oslo_policy/tests copying build/lib/oslo_policy/_checks.py -> /builddir/build/BUILDROOT/python-oslo-policy-3.7.1-2.ocs23.noarch/usr/lib/python3.11/site-packages/oslo_policy copying build/lib/oslo_policy/sphinxpolicygen.py -> /builddir/build/BUILDROOT/python-oslo-policy-3.7.1-2.ocs23.noarch/usr/lib/python3.11/site-packages/oslo_policy copying build/lib/oslo_policy/_parser.py -> /builddir/build/BUILDROOT/python-oslo-policy-3.7.1-2.ocs23.noarch/usr/lib/python3.11/site-packages/oslo_policy copying build/lib/oslo_policy/fixture.py -> /builddir/build/BUILDROOT/python-oslo-policy-3.7.1-2.ocs23.noarch/usr/lib/python3.11/site-packages/oslo_policy creating /builddir/build/BUILDROOT/python-oslo-policy-3.7.1-2.ocs23.noarch/usr/lib/python3.11/site-packages/oslo_policy/locale creating /builddir/build/BUILDROOT/python-oslo-policy-3.7.1-2.ocs23.noarch/usr/lib/python3.11/site-packages/oslo_policy/locale/en_GB creating /builddir/build/BUILDROOT/python-oslo-policy-3.7.1-2.ocs23.noarch/usr/lib/python3.11/site-packages/oslo_policy/locale/en_GB/LC_MESSAGES copying build/lib/oslo_policy/locale/en_GB/LC_MESSAGES/oslo_policy.po -> /builddir/build/BUILDROOT/python-oslo-policy-3.7.1-2.ocs23.noarch/usr/lib/python3.11/site-packages/oslo_policy/locale/en_GB/LC_MESSAGES copying build/lib/oslo_policy/_external.py -> /builddir/build/BUILDROOT/python-oslo-policy-3.7.1-2.ocs23.noarch/usr/lib/python3.11/site-packages/oslo_policy byte-compiling /builddir/build/BUILDROOT/python-oslo-policy-3.7.1-2.ocs23.noarch/usr/lib/python3.11/site-packages/oslo_policy/_i18n.py to _i18n.cpython-311.pyc byte-compiling /builddir/build/BUILDROOT/python-oslo-policy-3.7.1-2.ocs23.noarch/usr/lib/python3.11/site-packages/oslo_policy/shell.py to shell.cpython-311.pyc byte-compiling /builddir/build/BUILDROOT/python-oslo-policy-3.7.1-2.ocs23.noarch/usr/lib/python3.11/site-packages/oslo_policy/policy.py to policy.cpython-311.pyc byte-compiling /builddir/build/BUILDROOT/python-oslo-policy-3.7.1-2.ocs23.noarch/usr/lib/python3.11/site-packages/oslo_policy/_cache_handler.py to _cache_handler.cpython-311.pyc byte-compiling /builddir/build/BUILDROOT/python-oslo-policy-3.7.1-2.ocs23.noarch/usr/lib/python3.11/site-packages/oslo_policy/opts.py to opts.cpython-311.pyc byte-compiling /builddir/build/BUILDROOT/python-oslo-policy-3.7.1-2.ocs23.noarch/usr/lib/python3.11/site-packages/oslo_policy/version.py to version.cpython-311.pyc byte-compiling /builddir/build/BUILDROOT/python-oslo-policy-3.7.1-2.ocs23.noarch/usr/lib/python3.11/site-packages/oslo_policy/sphinxext.py to sphinxext.cpython-311.pyc byte-compiling /builddir/build/BUILDROOT/python-oslo-policy-3.7.1-2.ocs23.noarch/usr/lib/python3.11/site-packages/oslo_policy/__init__.py to __init__.cpython-311.pyc byte-compiling /builddir/build/BUILDROOT/python-oslo-policy-3.7.1-2.ocs23.noarch/usr/lib/python3.11/site-packages/oslo_policy/generator.py to generator.cpython-311.pyc byte-compiling /builddir/build/BUILDROOT/python-oslo-policy-3.7.1-2.ocs23.noarch/usr/lib/python3.11/site-packages/oslo_policy/tests/base.py to base.cpython-311.pyc byte-compiling /builddir/build/BUILDROOT/python-oslo-policy-3.7.1-2.ocs23.noarch/usr/lib/python3.11/site-packages/oslo_policy/tests/test_generator.py to test_generator.cpython-311.pyc byte-compiling /builddir/build/BUILDROOT/python-oslo-policy-3.7.1-2.ocs23.noarch/usr/lib/python3.11/site-packages/oslo_policy/tests/test_parser.py to test_parser.cpython-311.pyc byte-compiling /builddir/build/BUILDROOT/python-oslo-policy-3.7.1-2.ocs23.noarch/usr/lib/python3.11/site-packages/oslo_policy/tests/__init__.py to __init__.cpython-311.pyc byte-compiling /builddir/build/BUILDROOT/python-oslo-policy-3.7.1-2.ocs23.noarch/usr/lib/python3.11/site-packages/oslo_policy/tests/test_fixtures.py to test_fixtures.cpython-311.pyc byte-compiling /builddir/build/BUILDROOT/python-oslo-policy-3.7.1-2.ocs23.noarch/usr/lib/python3.11/site-packages/oslo_policy/tests/test_opts.py to test_opts.cpython-311.pyc byte-compiling /builddir/build/BUILDROOT/python-oslo-policy-3.7.1-2.ocs23.noarch/usr/lib/python3.11/site-packages/oslo_policy/tests/token_fixture.py to token_fixture.cpython-311.pyc byte-compiling /builddir/build/BUILDROOT/python-oslo-policy-3.7.1-2.ocs23.noarch/usr/lib/python3.11/site-packages/oslo_policy/tests/test_policy.py to test_policy.cpython-311.pyc byte-compiling /builddir/build/BUILDROOT/python-oslo-policy-3.7.1-2.ocs23.noarch/usr/lib/python3.11/site-packages/oslo_policy/tests/test_sphinxext.py to test_sphinxext.cpython-311.pyc byte-compiling /builddir/build/BUILDROOT/python-oslo-policy-3.7.1-2.ocs23.noarch/usr/lib/python3.11/site-packages/oslo_policy/tests/test_sphinxpolicygen.py to test_sphinxpolicygen.cpython-311.pyc byte-compiling /builddir/build/BUILDROOT/python-oslo-policy-3.7.1-2.ocs23.noarch/usr/lib/python3.11/site-packages/oslo_policy/tests/test_external.py to test_external.cpython-311.pyc byte-compiling /builddir/build/BUILDROOT/python-oslo-policy-3.7.1-2.ocs23.noarch/usr/lib/python3.11/site-packages/oslo_policy/tests/test_checks.py to test_checks.cpython-311.pyc byte-compiling /builddir/build/BUILDROOT/python-oslo-policy-3.7.1-2.ocs23.noarch/usr/lib/python3.11/site-packages/oslo_policy/tests/test_shell.py to test_shell.cpython-311.pyc byte-compiling /builddir/build/BUILDROOT/python-oslo-policy-3.7.1-2.ocs23.noarch/usr/lib/python3.11/site-packages/oslo_policy/_checks.py to _checks.cpython-311.pyc byte-compiling /builddir/build/BUILDROOT/python-oslo-policy-3.7.1-2.ocs23.noarch/usr/lib/python3.11/site-packages/oslo_policy/sphinxpolicygen.py to sphinxpolicygen.cpython-311.pyc byte-compiling /builddir/build/BUILDROOT/python-oslo-policy-3.7.1-2.ocs23.noarch/usr/lib/python3.11/site-packages/oslo_policy/_parser.py to _parser.cpython-311.pyc byte-compiling /builddir/build/BUILDROOT/python-oslo-policy-3.7.1-2.ocs23.noarch/usr/lib/python3.11/site-packages/oslo_policy/fixture.py to fixture.cpython-311.pyc byte-compiling /builddir/build/BUILDROOT/python-oslo-policy-3.7.1-2.ocs23.noarch/usr/lib/python3.11/site-packages/oslo_policy/_external.py to _external.cpython-311.pyc writing byte-compilation script '/tmp/tmpgl084rz3.py' /usr/bin/python3 /tmp/tmpgl084rz3.py removing /tmp/tmpgl084rz3.py running install_egg_info running egg_info writing oslo.policy.egg-info/PKG-INFO writing dependency_links to oslo.policy.egg-info/dependency_links.txt writing entry points to oslo.policy.egg-info/entry_points.txt writing requirements to oslo.policy.egg-info/requires.txt writing top-level names to oslo.policy.egg-info/top_level.txt [pbr] Reusing existing SOURCES.txt Copying oslo.policy.egg-info to /builddir/build/BUILDROOT/python-oslo-policy-3.7.1-2.ocs23.noarch/usr/lib/python3.11/site-packages/oslo.policy-3.7.1-py3.11.egg-info running install_scripts Installing oslopolicy-checker script to /builddir/build/BUILDROOT/python-oslo-policy-3.7.1-2.ocs23.noarch/usr/bin Installing oslopolicy-convert-json-to-yaml script to /builddir/build/BUILDROOT/python-oslo-policy-3.7.1-2.ocs23.noarch/usr/bin Installing oslopolicy-list-redundant script to /builddir/build/BUILDROOT/python-oslo-policy-3.7.1-2.ocs23.noarch/usr/bin Installing oslopolicy-policy-generator script to /builddir/build/BUILDROOT/python-oslo-policy-3.7.1-2.ocs23.noarch/usr/bin Installing oslopolicy-policy-upgrade script to /builddir/build/BUILDROOT/python-oslo-policy-3.7.1-2.ocs23.noarch/usr/bin Installing oslopolicy-sample-generator script to /builddir/build/BUILDROOT/python-oslo-policy-3.7.1-2.ocs23.noarch/usr/bin Installing oslopolicy-validator script to /builddir/build/BUILDROOT/python-oslo-policy-3.7.1-2.ocs23.noarch/usr/bin + rm -rfv /builddir/build/BUILDROOT/python-oslo-policy-3.7.1-2.ocs23.noarch/usr/bin/__pycache__ + install -d -m755 /builddir/build/BUILDROOT/python-oslo-policy-3.7.1-2.ocs23.noarch//usr/share/doc/python-oslo-policy + cp -arf doc /builddir/build/BUILDROOT/python-oslo-policy-3.7.1-2.ocs23.noarch/usr/share/doc/python-oslo-policy + /usr/bin/find-debuginfo -j32 --strict-build-id -m -i --build-id-seed 3.7.1-2.ocs23 --unique-debug-suffix -3.7.1-2.ocs23.noarch --unique-debug-src-base python-oslo-policy-3.7.1-2.ocs23.noarch -S debugsourcefiles.list /builddir/build/BUILD/oslo.policy-3.7.1 find: 'debug': No such file or directory + /usr/lib/rpm/check-buildroot + /usr/lib/rpm/OpenCloudOS/brp-ldconfig + /usr/lib/rpm/brp-compress + /usr/lib/rpm/OpenCloudOS/brp-strip-lto /usr/bin/strip + /usr/lib/rpm/brp-strip-static-archive /usr/bin/strip + /usr/lib/rpm/check-rpaths + /usr/lib/rpm/OpenCloudOS/brp-mangle-shebangs + /usr/lib/rpm/OpenCloudOS/brp-python-bytecompile '' 1 0 Bytecompiling .py files below /builddir/build/BUILDROOT/python-oslo-policy-3.7.1-2.ocs23.noarch/usr/lib/python3.11 using python3.11 + /usr/lib/rpm/OpenCloudOS/brp-python-hardlink Executing(%check): /bin/sh -e /var/tmp/rpm-tmp.lZO07r + umask 022 + cd /builddir/build/BUILD + PYTHONPATH=:/usr/lib/python3.10/site-packages/:/usr/lib64/python3.10/site-packages/ + export PYTHONPATH + 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 -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-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 -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-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 -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-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 -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-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.policy-3.7.1 + /usr/bin/python3 setup.py test /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 test WARNING: Testing via this command is deprecated and will be removed in a future version. Users looking for a generic test entry point independent of test runner are encouraged to use tox. running egg_info writing oslo.policy.egg-info/PKG-INFO writing dependency_links to oslo.policy.egg-info/dependency_links.txt writing entry points to oslo.policy.egg-info/entry_points.txt writing requirements to oslo.policy.egg-info/requires.txt writing top-level names to oslo.policy.egg-info/top_level.txt [pbr] Reusing existing SOURCES.txt running build_ext shell (unittest.loader._FailedTest.shell) ... ERROR policy (unittest.loader._FailedTest.policy) ... ERROR opts (unittest.loader._FailedTest.opts) ... ERROR sphinxext (unittest.loader._FailedTest.sphinxext) ... ERROR generator (unittest.loader._FailedTest.generator) ... ERROR base (unittest.loader._FailedTest.base) ... ERROR test_generator (unittest.loader._FailedTest.test_generator) ... ERROR test_parser (unittest.loader._FailedTest.test_parser) ... ERROR test_fixtures (unittest.loader._FailedTest.test_fixtures) ... ERROR test_opts (unittest.loader._FailedTest.test_opts) ... ERROR test_policy (unittest.loader._FailedTest.test_policy) ... ERROR test_sphinxext (unittest.loader._FailedTest.test_sphinxext) ... ERROR test_sphinxpolicygen (unittest.loader._FailedTest.test_sphinxpolicygen) ... ERROR test_external (unittest.loader._FailedTest.test_external) ... ERROR test_checks (unittest.loader._FailedTest.test_checks) ... ERROR test_shell (unittest.loader._FailedTest.test_shell) ... ERROR sphinxpolicygen (unittest.loader._FailedTest.sphinxpolicygen) ... ERROR oslo_policy.tests.test_checks (unittest.loader._FailedTest.oslo_policy.tests.test_checks) ... ERROR oslo_policy.tests.test_external (unittest.loader._FailedTest.oslo_policy.tests.test_external) ... ERROR oslo_policy.tests.test_fixtures (unittest.loader._FailedTest.oslo_policy.tests.test_fixtures) ... ERROR oslo_policy.tests.test_generator (unittest.loader._FailedTest.oslo_policy.tests.test_generator) ... ERROR oslo_policy.tests.test_opts (unittest.loader._FailedTest.oslo_policy.tests.test_opts) ... ERROR oslo_policy.tests.test_parser (unittest.loader._FailedTest.oslo_policy.tests.test_parser) ... ERROR oslo_policy.tests.test_policy (unittest.loader._FailedTest.oslo_policy.tests.test_policy) ... ERROR oslo_policy.tests.test_shell (unittest.loader._FailedTest.oslo_policy.tests.test_shell) ... ERROR oslo_policy.tests.test_sphinxext (unittest.loader._FailedTest.oslo_policy.tests.test_sphinxext) ... ERROR oslo_policy.tests.test_sphinxpolicygen (unittest.loader._FailedTest.oslo_policy.tests.test_sphinxpolicygen) ... ERROR ====================================================================== ERROR: shell (unittest.loader._FailedTest.shell) ---------------------------------------------------------------------- ImportError: Failed to import test module: shell Traceback (most recent call last): File "/usr/lib64/python3.11/unittest/loader.py", line 154, in loadTestsFromName module = __import__(module_name) ^^^^^^^^^^^^^^^^^^^^^^^ File "/builddir/build/BUILD/oslo.policy-3.7.1/oslo_policy/shell.py", line 21, in from oslo_config import cfg File "/usr/lib/python3.11/site-packages/oslo_config/cfg.py", line 45, in from oslo_config import types File "/usr/lib/python3.11/site-packages/oslo_config/types.py", line 28, in from debtcollector import removals File "/usr/lib/python3.11/site-packages/debtcollector/removals.py", line 18, in import wrapt File "/usr/lib64/python3.11/site-packages/wrapt/__init__.py", line 10, in from .decorators import (adapter_factory, AdapterFactory, decorator, File "/usr/lib64/python3.11/site-packages/wrapt/decorators.py", line 34, in from inspect import ismethod, isclass, formatargspec ImportError: cannot import name 'formatargspec' from 'inspect' (/usr/lib64/python3.11/inspect.py) ====================================================================== ERROR: policy (unittest.loader._FailedTest.policy) ---------------------------------------------------------------------- ImportError: Failed to import test module: policy Traceback (most recent call last): File "/usr/lib64/python3.11/unittest/loader.py", line 154, in loadTestsFromName module = __import__(module_name) ^^^^^^^^^^^^^^^^^^^^^^^ File "/builddir/build/BUILD/oslo.policy-3.7.1/oslo_policy/policy.py", line 231, in from oslo_config import cfg File "/usr/lib/python3.11/site-packages/oslo_config/cfg.py", line 45, in from oslo_config import types File "/usr/lib/python3.11/site-packages/oslo_config/types.py", line 28, in from debtcollector import removals File "/usr/lib/python3.11/site-packages/debtcollector/removals.py", line 18, in import wrapt File "/usr/lib64/python3.11/site-packages/wrapt/__init__.py", line 10, in from .decorators import (adapter_factory, AdapterFactory, decorator, File "/usr/lib64/python3.11/site-packages/wrapt/decorators.py", line 34, in from inspect import ismethod, isclass, formatargspec ImportError: cannot import name 'formatargspec' from 'inspect' (/usr/lib64/python3.11/inspect.py) ====================================================================== ERROR: opts (unittest.loader._FailedTest.opts) ---------------------------------------------------------------------- ImportError: Failed to import test module: opts Traceback (most recent call last): File "/usr/lib64/python3.11/unittest/loader.py", line 154, in loadTestsFromName module = __import__(module_name) ^^^^^^^^^^^^^^^^^^^^^^^ File "/builddir/build/BUILD/oslo.policy-3.7.1/oslo_policy/opts.py", line 15, in from oslo_config import cfg File "/usr/lib/python3.11/site-packages/oslo_config/cfg.py", line 45, in from oslo_config import types File "/usr/lib/python3.11/site-packages/oslo_config/types.py", line 28, in from debtcollector import removals File "/usr/lib/python3.11/site-packages/debtcollector/removals.py", line 18, in import wrapt File "/usr/lib64/python3.11/site-packages/wrapt/__init__.py", line 10, in from .decorators import (adapter_factory, AdapterFactory, decorator, File "/usr/lib64/python3.11/site-packages/wrapt/decorators.py", line 34, in from inspect import ismethod, isclass, formatargspec ImportError: cannot import name 'formatargspec' from 'inspect' (/usr/lib64/python3.11/inspect.py) ====================================================================== ERROR: sphinxext (unittest.loader._FailedTest.sphinxext) ---------------------------------------------------------------------- ImportError: Failed to import test module: sphinxext Traceback (most recent call last): File "/usr/lib64/python3.11/unittest/loader.py", line 154, in loadTestsFromName module = __import__(module_name) ^^^^^^^^^^^^^^^^^^^^^^^ File "/builddir/build/BUILD/oslo.policy-3.7.1/oslo_policy/sphinxext.py", line 23, in from oslo_config import cfg File "/usr/lib/python3.11/site-packages/oslo_config/cfg.py", line 45, in from oslo_config import types File "/usr/lib/python3.11/site-packages/oslo_config/types.py", line 28, in from debtcollector import removals File "/usr/lib/python3.11/site-packages/debtcollector/removals.py", line 18, in import wrapt File "/usr/lib64/python3.11/site-packages/wrapt/__init__.py", line 10, in from .decorators import (adapter_factory, AdapterFactory, decorator, File "/usr/lib64/python3.11/site-packages/wrapt/decorators.py", line 34, in from inspect import ismethod, isclass, formatargspec ImportError: cannot import name 'formatargspec' from 'inspect' (/usr/lib64/python3.11/inspect.py) ====================================================================== ERROR: generator (unittest.loader._FailedTest.generator) ---------------------------------------------------------------------- ImportError: Failed to import test module: generator Traceback (most recent call last): File "/usr/lib64/python3.11/unittest/loader.py", line 154, in loadTestsFromName module = __import__(module_name) ^^^^^^^^^^^^^^^^^^^^^^^ File "/builddir/build/BUILD/oslo.policy-3.7.1/oslo_policy/generator.py", line 19, in from oslo_config import cfg File "/usr/lib/python3.11/site-packages/oslo_config/cfg.py", line 45, in from oslo_config import types File "/usr/lib/python3.11/site-packages/oslo_config/types.py", line 28, in from debtcollector import removals File "/usr/lib/python3.11/site-packages/debtcollector/removals.py", line 18, in import wrapt File "/usr/lib64/python3.11/site-packages/wrapt/__init__.py", line 10, in from .decorators import (adapter_factory, AdapterFactory, decorator, File "/usr/lib64/python3.11/site-packages/wrapt/decorators.py", line 34, in from inspect import ismethod, isclass, formatargspec ImportError: cannot import name 'formatargspec' from 'inspect' (/usr/lib64/python3.11/inspect.py) ====================================================================== ERROR: base (unittest.loader._FailedTest.base) ---------------------------------------------------------------------- ImportError: Failed to import test module: base Traceback (most recent call last): File "/usr/lib64/python3.11/unittest/loader.py", line 154, in loadTestsFromName module = __import__(module_name) ^^^^^^^^^^^^^^^^^^^^^^^ File "/builddir/build/BUILD/oslo.policy-3.7.1/oslo_policy/tests/base.py", line 23, in from oslo_config import fixture as config File "/usr/lib/python3.11/site-packages/oslo_config/fixture.py", line 20, in from oslo_config import cfg File "/usr/lib/python3.11/site-packages/oslo_config/cfg.py", line 45, in from oslo_config import types File "/usr/lib/python3.11/site-packages/oslo_config/types.py", line 28, in from debtcollector import removals File "/usr/lib/python3.11/site-packages/debtcollector/removals.py", line 18, in import wrapt File "/usr/lib64/python3.11/site-packages/wrapt/__init__.py", line 10, in from .decorators import (adapter_factory, AdapterFactory, decorator, File "/usr/lib64/python3.11/site-packages/wrapt/decorators.py", line 34, in from inspect import ismethod, isclass, formatargspec ImportError: cannot import name 'formatargspec' from 'inspect' (/usr/lib64/python3.11/inspect.py) ====================================================================== ERROR: test_generator (unittest.loader._FailedTest.test_generator) ---------------------------------------------------------------------- ImportError: Failed to import test module: test_generator Traceback (most recent call last): File "/usr/lib64/python3.11/unittest/loader.py", line 154, in loadTestsFromName module = __import__(module_name) ^^^^^^^^^^^^^^^^^^^^^^^ File "/builddir/build/BUILD/oslo.policy-3.7.1/oslo_policy/tests/test_generator.py", line 16, in from oslo_config import cfg File "/usr/lib/python3.11/site-packages/oslo_config/cfg.py", line 45, in from oslo_config import types File "/usr/lib/python3.11/site-packages/oslo_config/types.py", line 28, in from debtcollector import removals File "/usr/lib/python3.11/site-packages/debtcollector/removals.py", line 18, in import wrapt File "/usr/lib64/python3.11/site-packages/wrapt/__init__.py", line 10, in from .decorators import (adapter_factory, AdapterFactory, decorator, File "/usr/lib64/python3.11/site-packages/wrapt/decorators.py", line 34, in from inspect import ismethod, isclass, formatargspec ImportError: cannot import name 'formatargspec' from 'inspect' (/usr/lib64/python3.11/inspect.py) ====================================================================== ERROR: test_parser (unittest.loader._FailedTest.test_parser) ---------------------------------------------------------------------- ImportError: Failed to import test module: test_parser Traceback (most recent call last): File "/usr/lib64/python3.11/unittest/loader.py", line 154, in loadTestsFromName module = __import__(module_name) ^^^^^^^^^^^^^^^^^^^^^^^ File "/builddir/build/BUILD/oslo.policy-3.7.1/oslo_policy/tests/test_parser.py", line 22, in from oslo_policy.tests import base File "/builddir/build/BUILD/oslo.policy-3.7.1/oslo_policy/tests/base.py", line 23, in from oslo_config import fixture as config File "/usr/lib/python3.11/site-packages/oslo_config/fixture.py", line 20, in from oslo_config import cfg File "/usr/lib/python3.11/site-packages/oslo_config/cfg.py", line 45, in from oslo_config import types File "/usr/lib/python3.11/site-packages/oslo_config/types.py", line 28, in from debtcollector import removals File "/usr/lib/python3.11/site-packages/debtcollector/removals.py", line 18, in import wrapt File "/usr/lib64/python3.11/site-packages/wrapt/__init__.py", line 10, in from .decorators import (adapter_factory, AdapterFactory, decorator, File "/usr/lib64/python3.11/site-packages/wrapt/decorators.py", line 34, in from inspect import ismethod, isclass, formatargspec ImportError: cannot import name 'formatargspec' from 'inspect' (/usr/lib64/python3.11/inspect.py) ====================================================================== ERROR: test_fixtures (unittest.loader._FailedTest.test_fixtures) ---------------------------------------------------------------------- ImportError: Failed to import test module: test_fixtures Traceback (most recent call last): File "/usr/lib64/python3.11/unittest/loader.py", line 154, in loadTestsFromName module = __import__(module_name) ^^^^^^^^^^^^^^^^^^^^^^^ File "/builddir/build/BUILD/oslo.policy-3.7.1/oslo_policy/tests/test_fixtures.py", line 16, in from oslo_policy import policy as oslo_policy File "/builddir/build/BUILD/oslo.policy-3.7.1/oslo_policy/policy.py", line 231, in from oslo_config import cfg File "/usr/lib/python3.11/site-packages/oslo_config/cfg.py", line 45, in from oslo_config import types File "/usr/lib/python3.11/site-packages/oslo_config/types.py", line 28, in from debtcollector import removals File "/usr/lib/python3.11/site-packages/debtcollector/removals.py", line 18, in import wrapt File "/usr/lib64/python3.11/site-packages/wrapt/__init__.py", line 10, in from .decorators import (adapter_factory, AdapterFactory, decorator, File "/usr/lib64/python3.11/site-packages/wrapt/decorators.py", line 34, in from inspect import ismethod, isclass, formatargspec ImportError: cannot import name 'formatargspec' from 'inspect' (/usr/lib64/python3.11/inspect.py) ====================================================================== ERROR: test_opts (unittest.loader._FailedTest.test_opts) ---------------------------------------------------------------------- ImportError: Failed to import test module: test_opts Traceback (most recent call last): File "/usr/lib64/python3.11/unittest/loader.py", line 154, in loadTestsFromName module = __import__(module_name) ^^^^^^^^^^^^^^^^^^^^^^^ File "/builddir/build/BUILD/oslo.policy-3.7.1/oslo_policy/tests/test_opts.py", line 15, in from oslo_config import cfg File "/usr/lib/python3.11/site-packages/oslo_config/cfg.py", line 45, in from oslo_config import types File "/usr/lib/python3.11/site-packages/oslo_config/types.py", line 28, in from debtcollector import removals File "/usr/lib/python3.11/site-packages/debtcollector/removals.py", line 18, in import wrapt File "/usr/lib64/python3.11/site-packages/wrapt/__init__.py", line 10, in from .decorators import (adapter_factory, AdapterFactory, decorator, File "/usr/lib64/python3.11/site-packages/wrapt/decorators.py", line 34, in from inspect import ismethod, isclass, formatargspec ImportError: cannot import name 'formatargspec' from 'inspect' (/usr/lib64/python3.11/inspect.py) ====================================================================== ERROR: test_policy (unittest.loader._FailedTest.test_policy) ---------------------------------------------------------------------- ImportError: Failed to import test module: test_policy Traceback (most recent call last): File "/usr/lib64/python3.11/unittest/loader.py", line 154, in loadTestsFromName module = __import__(module_name) ^^^^^^^^^^^^^^^^^^^^^^^ File "/builddir/build/BUILD/oslo.policy-3.7.1/oslo_policy/tests/test_policy.py", line 23, in from oslo_config import cfg File "/usr/lib/python3.11/site-packages/oslo_config/cfg.py", line 45, in from oslo_config import types File "/usr/lib/python3.11/site-packages/oslo_config/types.py", line 28, in from debtcollector import removals File "/usr/lib/python3.11/site-packages/debtcollector/removals.py", line 18, in import wrapt File "/usr/lib64/python3.11/site-packages/wrapt/__init__.py", line 10, in from .decorators import (adapter_factory, AdapterFactory, decorator, File "/usr/lib64/python3.11/site-packages/wrapt/decorators.py", line 34, in from inspect import ismethod, isclass, formatargspec ImportError: cannot import name 'formatargspec' from 'inspect' (/usr/lib64/python3.11/inspect.py) ====================================================================== ERROR: test_sphinxext (unittest.loader._FailedTest.test_sphinxext) ---------------------------------------------------------------------- ImportError: Failed to import test module: test_sphinxext Traceback (most recent call last): File "/usr/lib64/python3.11/unittest/loader.py", line 154, in loadTestsFromName module = __import__(module_name) ^^^^^^^^^^^^^^^^^^^^^^^ File "/builddir/build/BUILD/oslo.policy-3.7.1/oslo_policy/tests/test_sphinxext.py", line 19, in from oslo_policy import policy File "/builddir/build/BUILD/oslo.policy-3.7.1/oslo_policy/policy.py", line 231, in from oslo_config import cfg File "/usr/lib/python3.11/site-packages/oslo_config/cfg.py", line 45, in from oslo_config import types File "/usr/lib/python3.11/site-packages/oslo_config/types.py", line 28, in from debtcollector import removals File "/usr/lib/python3.11/site-packages/debtcollector/removals.py", line 18, in import wrapt File "/usr/lib64/python3.11/site-packages/wrapt/__init__.py", line 10, in from .decorators import (adapter_factory, AdapterFactory, decorator, File "/usr/lib64/python3.11/site-packages/wrapt/decorators.py", line 34, in from inspect import ismethod, isclass, formatargspec ImportError: cannot import name 'formatargspec' from 'inspect' (/usr/lib64/python3.11/inspect.py) ====================================================================== ERROR: test_sphinxpolicygen (unittest.loader._FailedTest.test_sphinxpolicygen) ---------------------------------------------------------------------- ImportError: Failed to import test module: test_sphinxpolicygen Traceback (most recent call last): File "/usr/lib64/python3.11/unittest/loader.py", line 154, in loadTestsFromName module = __import__(module_name) ^^^^^^^^^^^^^^^^^^^^^^^ File "/builddir/build/BUILD/oslo.policy-3.7.1/oslo_policy/tests/test_sphinxpolicygen.py", line 17, in from oslo_policy import sphinxpolicygen File "/builddir/build/BUILD/oslo.policy-3.7.1/oslo_policy/sphinxpolicygen.py", line 20, in from oslo_config import cfg File "/usr/lib/python3.11/site-packages/oslo_config/cfg.py", line 45, in from oslo_config import types File "/usr/lib/python3.11/site-packages/oslo_config/types.py", line 28, in from debtcollector import removals File "/usr/lib/python3.11/site-packages/debtcollector/removals.py", line 18, in import wrapt File "/usr/lib64/python3.11/site-packages/wrapt/__init__.py", line 10, in from .decorators import (adapter_factory, AdapterFactory, decorator, File "/usr/lib64/python3.11/site-packages/wrapt/decorators.py", line 34, in from inspect import ismethod, isclass, formatargspec ImportError: cannot import name 'formatargspec' from 'inspect' (/usr/lib64/python3.11/inspect.py) ====================================================================== ERROR: test_external (unittest.loader._FailedTest.test_external) ---------------------------------------------------------------------- ImportError: Failed to import test module: test_external Traceback (most recent call last): File "/usr/lib64/python3.11/unittest/loader.py", line 154, in loadTestsFromName module = __import__(module_name) ^^^^^^^^^^^^^^^^^^^^^^^ File "/builddir/build/BUILD/oslo.policy-3.7.1/oslo_policy/tests/test_external.py", line 25, in from oslo_policy import opts File "/builddir/build/BUILD/oslo.policy-3.7.1/oslo_policy/opts.py", line 15, in from oslo_config import cfg File "/usr/lib/python3.11/site-packages/oslo_config/cfg.py", line 45, in from oslo_config import types File "/usr/lib/python3.11/site-packages/oslo_config/types.py", line 28, in from debtcollector import removals File "/usr/lib/python3.11/site-packages/debtcollector/removals.py", line 18, in import wrapt File "/usr/lib64/python3.11/site-packages/wrapt/__init__.py", line 10, in from .decorators import (adapter_factory, AdapterFactory, decorator, File "/usr/lib64/python3.11/site-packages/wrapt/decorators.py", line 34, in from inspect import ismethod, isclass, formatargspec ImportError: cannot import name 'formatargspec' from 'inspect' (/usr/lib64/python3.11/inspect.py) ====================================================================== ERROR: test_checks (unittest.loader._FailedTest.test_checks) ---------------------------------------------------------------------- ImportError: Failed to import test module: test_checks Traceback (most recent call last): File "/usr/lib64/python3.11/unittest/loader.py", line 154, in loadTestsFromName module = __import__(module_name) ^^^^^^^^^^^^^^^^^^^^^^^ File "/builddir/build/BUILD/oslo.policy-3.7.1/oslo_policy/tests/test_checks.py", line 21, in from oslo_policy.tests import base File "/builddir/build/BUILD/oslo.policy-3.7.1/oslo_policy/tests/base.py", line 23, in from oslo_config import fixture as config File "/usr/lib/python3.11/site-packages/oslo_config/fixture.py", line 20, in from oslo_config import cfg File "/usr/lib/python3.11/site-packages/oslo_config/cfg.py", line 45, in from oslo_config import types File "/usr/lib/python3.11/site-packages/oslo_config/types.py", line 28, in from debtcollector import removals File "/usr/lib/python3.11/site-packages/debtcollector/removals.py", line 18, in import wrapt File "/usr/lib64/python3.11/site-packages/wrapt/__init__.py", line 10, in from .decorators import (adapter_factory, AdapterFactory, decorator, File "/usr/lib64/python3.11/site-packages/wrapt/decorators.py", line 34, in from inspect import ismethod, isclass, formatargspec ImportError: cannot import name 'formatargspec' from 'inspect' (/usr/lib64/python3.11/inspect.py) ====================================================================== ERROR: test_shell (unittest.loader._FailedTest.test_shell) ---------------------------------------------------------------------- ImportError: Failed to import test module: test_shell Traceback (most recent call last): File "/usr/lib64/python3.11/unittest/loader.py", line 154, in loadTestsFromName module = __import__(module_name) ^^^^^^^^^^^^^^^^^^^^^^^ File "/builddir/build/BUILD/oslo.policy-3.7.1/oslo_policy/tests/test_shell.py", line 21, in from oslo_policy import shell File "/builddir/build/BUILD/oslo.policy-3.7.1/oslo_policy/shell.py", line 21, in from oslo_config import cfg File "/usr/lib/python3.11/site-packages/oslo_config/cfg.py", line 45, in from oslo_config import types File "/usr/lib/python3.11/site-packages/oslo_config/types.py", line 28, in from debtcollector import removals File "/usr/lib/python3.11/site-packages/debtcollector/removals.py", line 18, in import wrapt File "/usr/lib64/python3.11/site-packages/wrapt/__init__.py", line 10, in from .decorators import (adapter_factory, AdapterFactory, decorator, File "/usr/lib64/python3.11/site-packages/wrapt/decorators.py", line 34, in from inspect import ismethod, isclass, formatargspec ImportError: cannot import name 'formatargspec' from 'inspect' (/usr/lib64/python3.11/inspect.py) ====================================================================== ERROR: sphinxpolicygen (unittest.loader._FailedTest.sphinxpolicygen) ---------------------------------------------------------------------- ImportError: Failed to import test module: sphinxpolicygen Traceback (most recent call last): File "/usr/lib64/python3.11/unittest/loader.py", line 154, in loadTestsFromName module = __import__(module_name) ^^^^^^^^^^^^^^^^^^^^^^^ File "/builddir/build/BUILD/oslo.policy-3.7.1/oslo_policy/sphinxpolicygen.py", line 20, in from oslo_config import cfg File "/usr/lib/python3.11/site-packages/oslo_config/cfg.py", line 45, in from oslo_config import types File "/usr/lib/python3.11/site-packages/oslo_config/types.py", line 28, in from debtcollector import removals File "/usr/lib/python3.11/site-packages/debtcollector/removals.py", line 18, in import wrapt File "/usr/lib64/python3.11/site-packages/wrapt/__init__.py", line 10, in from .decorators import (adapter_factory, AdapterFactory, decorator, File "/usr/lib64/python3.11/site-packages/wrapt/decorators.py", line 34, in from inspect import ismethod, isclass, formatargspec ImportError: cannot import name 'formatargspec' from 'inspect' (/usr/lib64/python3.11/inspect.py) ====================================================================== ERROR: oslo_policy.tests.test_checks (unittest.loader._FailedTest.oslo_policy.tests.test_checks) ---------------------------------------------------------------------- ImportError: Failed to import test module: oslo_policy.tests.test_checks Traceback (most recent call last): File "/usr/lib64/python3.11/unittest/loader.py", line 407, in _find_test_path module = self._get_module_from_name(name) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/lib64/python3.11/unittest/loader.py", line 350, in _get_module_from_name __import__(name) File "/builddir/build/BUILD/oslo.policy-3.7.1/oslo_policy/tests/test_checks.py", line 21, in from oslo_policy.tests import base File "/builddir/build/BUILD/oslo.policy-3.7.1/oslo_policy/tests/base.py", line 23, in from oslo_config import fixture as config File "/usr/lib/python3.11/site-packages/oslo_config/fixture.py", line 20, in from oslo_config import cfg File "/usr/lib/python3.11/site-packages/oslo_config/cfg.py", line 45, in from oslo_config import types File "/usr/lib/python3.11/site-packages/oslo_config/types.py", line 28, in from debtcollector import removals File "/usr/lib/python3.11/site-packages/debtcollector/removals.py", line 18, in import wrapt File "/usr/lib64/python3.11/site-packages/wrapt/__init__.py", line 10, in from .decorators import (adapter_factory, AdapterFactory, decorator, File "/usr/lib64/python3.11/site-packages/wrapt/decorators.py", line 34, in from inspect import ismethod, isclass, formatargspec ImportError: cannot import name 'formatargspec' from 'inspect' (/usr/lib64/python3.11/inspect.py) ====================================================================== ERROR: oslo_policy.tests.test_external (unittest.loader._FailedTest.oslo_policy.tests.test_external) ---------------------------------------------------------------------- ImportError: Failed to import test module: oslo_policy.tests.test_external Traceback (most recent call last): File "/usr/lib64/python3.11/unittest/loader.py", line 407, in _find_test_path module = self._get_module_from_name(name) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/lib64/python3.11/unittest/loader.py", line 350, in _get_module_from_name __import__(name) File "/builddir/build/BUILD/oslo.policy-3.7.1/oslo_policy/tests/test_external.py", line 25, in from oslo_policy import opts File "/builddir/build/BUILD/oslo.policy-3.7.1/oslo_policy/opts.py", line 15, in from oslo_config import cfg File "/usr/lib/python3.11/site-packages/oslo_config/cfg.py", line 45, in from oslo_config import types File "/usr/lib/python3.11/site-packages/oslo_config/types.py", line 28, in from debtcollector import removals File "/usr/lib/python3.11/site-packages/debtcollector/removals.py", line 18, in import wrapt File "/usr/lib64/python3.11/site-packages/wrapt/__init__.py", line 10, in from .decorators import (adapter_factory, AdapterFactory, decorator, File "/usr/lib64/python3.11/site-packages/wrapt/decorators.py", line 34, in from inspect import ismethod, isclass, formatargspec ImportError: cannot import name 'formatargspec' from 'inspect' (/usr/lib64/python3.11/inspect.py) ====================================================================== ERROR: oslo_policy.tests.test_fixtures (unittest.loader._FailedTest.oslo_policy.tests.test_fixtures) ---------------------------------------------------------------------- ImportError: Failed to import test module: oslo_policy.tests.test_fixtures Traceback (most recent call last): File "/usr/lib64/python3.11/unittest/loader.py", line 407, in _find_test_path module = self._get_module_from_name(name) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/lib64/python3.11/unittest/loader.py", line 350, in _get_module_from_name __import__(name) File "/builddir/build/BUILD/oslo.policy-3.7.1/oslo_policy/tests/test_fixtures.py", line 16, in from oslo_policy import policy as oslo_policy File "/builddir/build/BUILD/oslo.policy-3.7.1/oslo_policy/policy.py", line 231, in from oslo_config import cfg File "/usr/lib/python3.11/site-packages/oslo_config/cfg.py", line 45, in from oslo_config import types File "/usr/lib/python3.11/site-packages/oslo_config/types.py", line 28, in from debtcollector import removals File "/usr/lib/python3.11/site-packages/debtcollector/removals.py", line 18, in import wrapt File "/usr/lib64/python3.11/site-packages/wrapt/__init__.py", line 10, in from .decorators import (adapter_factory, AdapterFactory, decorator, File "/usr/lib64/python3.11/site-packages/wrapt/decorators.py", line 34, in from inspect import ismethod, isclass, formatargspec ImportError: cannot import name 'formatargspec' from 'inspect' (/usr/lib64/python3.11/inspect.py) ====================================================================== ERROR: oslo_policy.tests.test_generator (unittest.loader._FailedTest.oslo_policy.tests.test_generator) ---------------------------------------------------------------------- ImportError: Failed to import test module: oslo_policy.tests.test_generator Traceback (most recent call last): File "/usr/lib64/python3.11/unittest/loader.py", line 407, in _find_test_path module = self._get_module_from_name(name) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/lib64/python3.11/unittest/loader.py", line 350, in _get_module_from_name __import__(name) File "/builddir/build/BUILD/oslo.policy-3.7.1/oslo_policy/tests/test_generator.py", line 16, in from oslo_config import cfg File "/usr/lib/python3.11/site-packages/oslo_config/cfg.py", line 45, in from oslo_config import types File "/usr/lib/python3.11/site-packages/oslo_config/types.py", line 28, in from debtcollector import removals File "/usr/lib/python3.11/site-packages/debtcollector/removals.py", line 18, in import wrapt File "/usr/lib64/python3.11/site-packages/wrapt/__init__.py", line 10, in from .decorators import (adapter_factory, AdapterFactory, decorator, File "/usr/lib64/python3.11/site-packages/wrapt/decorators.py", line 34, in from inspect import ismethod, isclass, formatargspec ImportError: cannot import name 'formatargspec' from 'inspect' (/usr/lib64/python3.11/inspect.py) ====================================================================== ERROR: oslo_policy.tests.test_opts (unittest.loader._FailedTest.oslo_policy.tests.test_opts) ---------------------------------------------------------------------- ImportError: Failed to import test module: oslo_policy.tests.test_opts Traceback (most recent call last): File "/usr/lib64/python3.11/unittest/loader.py", line 407, in _find_test_path module = self._get_module_from_name(name) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/lib64/python3.11/unittest/loader.py", line 350, in _get_module_from_name __import__(name) File "/builddir/build/BUILD/oslo.policy-3.7.1/oslo_policy/tests/test_opts.py", line 15, in from oslo_config import cfg File "/usr/lib/python3.11/site-packages/oslo_config/cfg.py", line 45, in from oslo_config import types File "/usr/lib/python3.11/site-packages/oslo_config/types.py", line 28, in from debtcollector import removals File "/usr/lib/python3.11/site-packages/debtcollector/removals.py", line 18, in import wrapt File "/usr/lib64/python3.11/site-packages/wrapt/__init__.py", line 10, in from .decorators import (adapter_factory, AdapterFactory, decorator, File "/usr/lib64/python3.11/site-packages/wrapt/decorators.py", line 34, in from inspect import ismethod, isclass, formatargspec ImportError: cannot import name 'formatargspec' from 'inspect' (/usr/lib64/python3.11/inspect.py) ====================================================================== ERROR: oslo_policy.tests.test_parser (unittest.loader._FailedTest.oslo_policy.tests.test_parser) ---------------------------------------------------------------------- ImportError: Failed to import test module: oslo_policy.tests.test_parser Traceback (most recent call last): File "/usr/lib64/python3.11/unittest/loader.py", line 407, in _find_test_path module = self._get_module_from_name(name) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/lib64/python3.11/unittest/loader.py", line 350, in _get_module_from_name __import__(name) File "/builddir/build/BUILD/oslo.policy-3.7.1/oslo_policy/tests/test_parser.py", line 22, in from oslo_policy.tests import base File "/builddir/build/BUILD/oslo.policy-3.7.1/oslo_policy/tests/base.py", line 23, in from oslo_config import fixture as config File "/usr/lib/python3.11/site-packages/oslo_config/fixture.py", line 20, in from oslo_config import cfg File "/usr/lib/python3.11/site-packages/oslo_config/cfg.py", line 45, in from oslo_config import types File "/usr/lib/python3.11/site-packages/oslo_config/types.py", line 28, in from debtcollector import removals File "/usr/lib/python3.11/site-packages/debtcollector/removals.py", line 18, in import wrapt File "/usr/lib64/python3.11/site-packages/wrapt/__init__.py", line 10, in from .decorators import (adapter_factory, AdapterFactory, decorator, File "/usr/lib64/python3.11/site-packages/wrapt/decorators.py", line 34, in from inspect import ismethod, isclass, formatargspec ImportError: cannot import name 'formatargspec' from 'inspect' (/usr/lib64/python3.11/inspect.py) ====================================================================== ERROR: oslo_policy.tests.test_policy (unittest.loader._FailedTest.oslo_policy.tests.test_policy) ---------------------------------------------------------------------- ImportError: Failed to import test module: oslo_policy.tests.test_policy Traceback (most recent call last): File "/usr/lib64/python3.11/unittest/loader.py", line 407, in _find_test_path module = self._get_module_from_name(name) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/lib64/python3.11/unittest/loader.py", line 350, in _get_module_from_name __import__(name) File "/builddir/build/BUILD/oslo.policy-3.7.1/oslo_policy/tests/test_policy.py", line 23, in from oslo_config import cfg File "/usr/lib/python3.11/site-packages/oslo_config/cfg.py", line 45, in from oslo_config import types File "/usr/lib/python3.11/site-packages/oslo_config/types.py", line 28, in from debtcollector import removals File "/usr/lib/python3.11/site-packages/debtcollector/removals.py", line 18, in import wrapt File "/usr/lib64/python3.11/site-packages/wrapt/__init__.py", line 10, in from .decorators import (adapter_factory, AdapterFactory, decorator, File "/usr/lib64/python3.11/site-packages/wrapt/decorators.py", line 34, in from inspect import ismethod, isclass, formatargspec ImportError: cannot import name 'formatargspec' from 'inspect' (/usr/lib64/python3.11/inspect.py) ====================================================================== ERROR: oslo_policy.tests.test_shell (unittest.loader._FailedTest.oslo_policy.tests.test_shell) ---------------------------------------------------------------------- ImportError: Failed to import test module: oslo_policy.tests.test_shell Traceback (most recent call last): File "/usr/lib64/python3.11/unittest/loader.py", line 407, in _find_test_path module = self._get_module_from_name(name) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/lib64/python3.11/unittest/loader.py", line 350, in _get_module_from_name __import__(name) File "/builddir/build/BUILD/oslo.policy-3.7.1/oslo_policy/tests/test_shell.py", line 21, in from oslo_policy import shell File "/builddir/build/BUILD/oslo.policy-3.7.1/oslo_policy/shell.py", line 21, in from oslo_config import cfg File "/usr/lib/python3.11/site-packages/oslo_config/cfg.py", line 45, in from oslo_config import types File "/usr/lib/python3.11/site-packages/oslo_config/types.py", line 28, in from debtcollector import removals File "/usr/lib/python3.11/site-packages/debtcollector/removals.py", line 18, in import wrapt File "/usr/lib64/python3.11/site-packages/wrapt/__init__.py", line 10, in from .decorators import (adapter_factory, AdapterFactory, decorator, File "/usr/lib64/python3.11/site-packages/wrapt/decorators.py", line 34, in from inspect import ismethod, isclass, formatargspec ImportError: cannot import name 'formatargspec' from 'inspect' (/usr/lib64/python3.11/inspect.py) ====================================================================== ERROR: oslo_policy.tests.test_sphinxext (unittest.loader._FailedTest.oslo_policy.tests.test_sphinxext) ---------------------------------------------------------------------- ImportError: Failed to import test module: oslo_policy.tests.test_sphinxext Traceback (most recent call last): File "/usr/lib64/python3.11/unittest/loader.py", line 407, in _find_test_path module = self._get_module_from_name(name) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/lib64/python3.11/unittest/loader.py", line 350, in _get_module_from_name __import__(name) File "/builddir/build/BUILD/oslo.policy-3.7.1/oslo_policy/tests/test_sphinxext.py", line 19, in from oslo_policy import policy File "/builddir/build/BUILD/oslo.policy-3.7.1/oslo_policy/policy.py", line 231, in from oslo_config import cfg File "/usr/lib/python3.11/site-packages/oslo_config/cfg.py", line 45, in from oslo_config import types File "/usr/lib/python3.11/site-packages/oslo_config/types.py", line 28, in from debtcollector import removals File "/usr/lib/python3.11/site-packages/debtcollector/removals.py", line 18, in import wrapt File "/usr/lib64/python3.11/site-packages/wrapt/__init__.py", line 10, in from .decorators import (adapter_factory, AdapterFactory, decorator, File "/usr/lib64/python3.11/site-packages/wrapt/decorators.py", line 34, in from inspect import ismethod, isclass, formatargspec ImportError: cannot import name 'formatargspec' from 'inspect' (/usr/lib64/python3.11/inspect.py) ====================================================================== ERROR: oslo_policy.tests.test_sphinxpolicygen (unittest.loader._FailedTest.oslo_policy.tests.test_sphinxpolicygen) ---------------------------------------------------------------------- ImportError: Failed to import test module: oslo_policy.tests.test_sphinxpolicygen Traceback (most recent call last): File "/usr/lib64/python3.11/unittest/loader.py", line 407, in _find_test_path module = self._get_module_from_name(name) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/lib64/python3.11/unittest/loader.py", line 350, in _get_module_from_name __import__(name) File "/builddir/build/BUILD/oslo.policy-3.7.1/oslo_policy/tests/test_sphinxpolicygen.py", line 17, in from oslo_policy import sphinxpolicygen File "/builddir/build/BUILD/oslo.policy-3.7.1/oslo_policy/sphinxpolicygen.py", line 20, in from oslo_config import cfg File "/usr/lib/python3.11/site-packages/oslo_config/cfg.py", line 45, in from oslo_config import types File "/usr/lib/python3.11/site-packages/oslo_config/types.py", line 28, in from debtcollector import removals File "/usr/lib/python3.11/site-packages/debtcollector/removals.py", line 18, in import wrapt File "/usr/lib64/python3.11/site-packages/wrapt/__init__.py", line 10, in from .decorators import (adapter_factory, AdapterFactory, decorator, File "/usr/lib64/python3.11/site-packages/wrapt/decorators.py", line 34, in from inspect import ismethod, isclass, formatargspec ImportError: cannot import name 'formatargspec' from 'inspect' (/usr/lib64/python3.11/inspect.py) ---------------------------------------------------------------------- Ran 27 tests in 0.002s FAILED (errors=27) Test failed: error: Test failed: RPM build errors: error: Bad exit status from /var/tmp/rpm-tmp.lZO07r (%check) Bad exit status from /var/tmp/rpm-tmp.lZO07r (%check) Child return code was: 1 EXCEPTION: [Error('Command failed: \n # /usr/bin/systemd-nspawn -q -M 95473990eabf4041af5ca694df2bea6e -D /var/lib/mock/dist-ocs23-python311-build-56669-2201/root -a -u mockbuild --capability=cap_ipc_lock --bind=/tmp/mock-resolv.f3t4k0na:/etc/resolv.conf --bind=/dev/btrfs-control --bind=/dev/mapper/control --bind=/dev/loop-control --bind=/dev/loop0 --bind=/dev/loop1 --bind=/dev/loop2 --bind=/dev/loop3 --bind=/dev/loop4 --bind=/dev/loop5 --bind=/dev/loop6 --bind=/dev/loop7 --bind=/dev/loop8 --bind=/dev/loop9 --bind=/dev/loop10 --bind=/dev/loop11 --console=pipe --setenv=TERM=vt100 --setenv=SHELL=/bin/bash --setenv=HOME=/builddir --setenv=HOSTNAME=mock --setenv=PATH=/usr/bin:/bin:/usr/sbin:/sbin --setenv=PROMPT_COMMAND=printf "\\033]0;\\007" --setenv=PS1= \\s-\\v\\$ --setenv=LANG=C.UTF-8 --resolv-conf=off bash --login -c /usr/bin/rpmbuild -bb --noclean --target noarch --nodeps /builddir/build/SPECS/python-oslo-policy.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: # /usr/bin/systemd-nspawn -q -M 95473990eabf4041af5ca694df2bea6e -D /var/lib/mock/dist-ocs23-python311-build-56669-2201/root -a -u mockbuild --capability=cap_ipc_lock --bind=/tmp/mock-resolv.f3t4k0na:/etc/resolv.conf --bind=/dev/btrfs-control --bind=/dev/mapper/control --bind=/dev/loop-control --bind=/dev/loop0 --bind=/dev/loop1 --bind=/dev/loop2 --bind=/dev/loop3 --bind=/dev/loop4 --bind=/dev/loop5 --bind=/dev/loop6 --bind=/dev/loop7 --bind=/dev/loop8 --bind=/dev/loop9 --bind=/dev/loop10 --bind=/dev/loop11 --console=pipe --setenv=TERM=vt100 --setenv=SHELL=/bin/bash --setenv=HOME=/builddir --setenv=HOSTNAME=mock --setenv=PATH=/usr/bin:/bin:/usr/sbin:/sbin --setenv=PROMPT_COMMAND=printf "\033]0;\007" --setenv=PS1= \s-\v\$ --setenv=LANG=C.UTF-8 --resolv-conf=off bash --login -c /usr/bin/rpmbuild -bb --noclean --target noarch --nodeps /builddir/build/SPECS/python-oslo-policy.spec