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-context.spec'], chrootPath='/var/lib/mock/dist-ocs23-python311-build-55252-2196/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=['--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.r1gx7e9q:/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.r1gx7e9q:/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', '885732901cd841a390eb62045d818832', '-D', '/var/lib/mock/dist-ocs23-python311-build-55252-2196/root', '-a', '-u', 'mockbuild', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.r1gx7e9q:/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-context.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-context-3.2.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-context.spec'], chrootPath='/var/lib/mock/dist-ocs23-python311-build-55252-2196/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=['--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.r1gx7e9q:/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.r1gx7e9q:/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', '389286f71c874ab4b110a7913233bf1a', '-D', '/var/lib/mock/dist-ocs23-python311-build-55252-2196/root', '-a', '-u', 'mockbuild', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.r1gx7e9q:/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-context.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.LtT5fS + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf oslo.context-3.2.1 + /usr/lib/rpm/rpmuncompress -x /builddir/build/SOURCES/oslo.context-3.2.1.tar.gz + STATUS=0 + '[' 0 -ne 0 ']' + cd oslo.context-3.2.1 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + rm -rf requirements.txt test-requirements.txt + RPM_EC=0 ++ jobs -p + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.wcRe5n + 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.context-3.2.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_context creating build/lib/oslo_context/tests copying oslo_context/tests/test_context.py -> build/lib/oslo_context/tests copying oslo_context/tests/__init__.py -> build/lib/oslo_context/tests copying oslo_context/tests/test_fixture.py -> build/lib/oslo_context/tests copying oslo_context/version.py -> build/lib/oslo_context copying oslo_context/context.py -> build/lib/oslo_context copying oslo_context/__init__.py -> build/lib/oslo_context copying oslo_context/fixture.py -> build/lib/oslo_context running egg_info writing oslo.context.egg-info/PKG-INFO writing dependency_links to oslo.context.egg-info/dependency_links.txt deleting oslo.context.egg-info/requires.txt writing top-level names to oslo.context.egg-info/top_level.txt [pbr] Reusing existing SOURCES.txt + RPM_EC=0 ++ jobs -p + exit 0 Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.VjazhC + 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-context-3.2.1-2.ocs23.noarch '!=' / ']' + rm -rf /builddir/build/BUILDROOT/python-oslo-context-3.2.1-2.ocs23.noarch ++ dirname /builddir/build/BUILDROOT/python-oslo-context-3.2.1-2.ocs23.noarch + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/python-oslo-context-3.2.1-2.ocs23.noarch + cd oslo.context-3.2.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-context-3.2.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-context-3.2.1-2.ocs23.noarch/usr creating /builddir/build/BUILDROOT/python-oslo-context-3.2.1-2.ocs23.noarch/usr/lib creating /builddir/build/BUILDROOT/python-oslo-context-3.2.1-2.ocs23.noarch/usr/lib/python3.11 creating /builddir/build/BUILDROOT/python-oslo-context-3.2.1-2.ocs23.noarch/usr/lib/python3.11/site-packages creating /builddir/build/BUILDROOT/python-oslo-context-3.2.1-2.ocs23.noarch/usr/lib/python3.11/site-packages/oslo_context copying build/lib/oslo_context/version.py -> /builddir/build/BUILDROOT/python-oslo-context-3.2.1-2.ocs23.noarch/usr/lib/python3.11/site-packages/oslo_context copying build/lib/oslo_context/context.py -> /builddir/build/BUILDROOT/python-oslo-context-3.2.1-2.ocs23.noarch/usr/lib/python3.11/site-packages/oslo_context copying build/lib/oslo_context/__init__.py -> /builddir/build/BUILDROOT/python-oslo-context-3.2.1-2.ocs23.noarch/usr/lib/python3.11/site-packages/oslo_context creating /builddir/build/BUILDROOT/python-oslo-context-3.2.1-2.ocs23.noarch/usr/lib/python3.11/site-packages/oslo_context/tests copying build/lib/oslo_context/tests/test_context.py -> /builddir/build/BUILDROOT/python-oslo-context-3.2.1-2.ocs23.noarch/usr/lib/python3.11/site-packages/oslo_context/tests copying build/lib/oslo_context/tests/__init__.py -> /builddir/build/BUILDROOT/python-oslo-context-3.2.1-2.ocs23.noarch/usr/lib/python3.11/site-packages/oslo_context/tests copying build/lib/oslo_context/tests/test_fixture.py -> /builddir/build/BUILDROOT/python-oslo-context-3.2.1-2.ocs23.noarch/usr/lib/python3.11/site-packages/oslo_context/tests copying build/lib/oslo_context/fixture.py -> /builddir/build/BUILDROOT/python-oslo-context-3.2.1-2.ocs23.noarch/usr/lib/python3.11/site-packages/oslo_context byte-compiling /builddir/build/BUILDROOT/python-oslo-context-3.2.1-2.ocs23.noarch/usr/lib/python3.11/site-packages/oslo_context/version.py to version.cpython-311.pyc byte-compiling /builddir/build/BUILDROOT/python-oslo-context-3.2.1-2.ocs23.noarch/usr/lib/python3.11/site-packages/oslo_context/context.py to context.cpython-311.pyc byte-compiling /builddir/build/BUILDROOT/python-oslo-context-3.2.1-2.ocs23.noarch/usr/lib/python3.11/site-packages/oslo_context/__init__.py to __init__.cpython-311.pyc byte-compiling /builddir/build/BUILDROOT/python-oslo-context-3.2.1-2.ocs23.noarch/usr/lib/python3.11/site-packages/oslo_context/tests/test_context.py to test_context.cpython-311.pyc byte-compiling /builddir/build/BUILDROOT/python-oslo-context-3.2.1-2.ocs23.noarch/usr/lib/python3.11/site-packages/oslo_context/tests/__init__.py to __init__.cpython-311.pyc byte-compiling /builddir/build/BUILDROOT/python-oslo-context-3.2.1-2.ocs23.noarch/usr/lib/python3.11/site-packages/oslo_context/tests/test_fixture.py to test_fixture.cpython-311.pyc byte-compiling /builddir/build/BUILDROOT/python-oslo-context-3.2.1-2.ocs23.noarch/usr/lib/python3.11/site-packages/oslo_context/fixture.py to fixture.cpython-311.pyc writing byte-compilation script '/tmp/tmp96x6ffbs.py' /usr/bin/python3 /tmp/tmp96x6ffbs.py removing /tmp/tmp96x6ffbs.py running install_egg_info running egg_info writing oslo.context.egg-info/PKG-INFO writing dependency_links to oslo.context.egg-info/dependency_links.txt writing top-level names to oslo.context.egg-info/top_level.txt [pbr] Reusing existing SOURCES.txt Copying oslo.context.egg-info to /builddir/build/BUILDROOT/python-oslo-context-3.2.1-2.ocs23.noarch/usr/lib/python3.11/site-packages/oslo.context-3.2.1-py3.11.egg-info running install_scripts + rm -rfv /builddir/build/BUILDROOT/python-oslo-context-3.2.1-2.ocs23.noarch/usr/bin/__pycache__ + /usr/bin/find-debuginfo -j32 --strict-build-id -m -i --build-id-seed 3.2.1-2.ocs23 --unique-debug-suffix -3.2.1-2.ocs23.noarch --unique-debug-src-base python-oslo-context-3.2.1-2.ocs23.noarch -S debugsourcefiles.list /builddir/build/BUILD/oslo.context-3.2.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-context-3.2.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.fW1e8r + 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.context-3.2.1 + 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 running egg_info 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. writing oslo.context.egg-info/PKG-INFO writing dependency_links to oslo.context.egg-info/dependency_links.txt writing top-level names to oslo.context.egg-info/top_level.txt [pbr] Reusing existing SOURCES.txt running build_ext context (unittest.loader._FailedTest.context) ... ERROR test_context (unittest.loader._FailedTest.test_context) ... ERROR test_fixture (unittest.loader._FailedTest.test_fixture) ... ERROR fixture (unittest.loader._FailedTest.fixture) ... ERROR oslo_context.tests.test_context (unittest.loader._FailedTest.oslo_context.tests.test_context) ... ERROR oslo_context.tests.test_fixture (unittest.loader._FailedTest.oslo_context.tests.test_fixture) ... ERROR ====================================================================== ERROR: context (unittest.loader._FailedTest.context) ---------------------------------------------------------------------- ImportError: Failed to import test module: context 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.context-3.2.1/oslo_context/context.py", line 37, in from debtcollector import renames File "/usr/lib/python3.10/site-packages/debtcollector/renames.py", line 15, in import wrapt File "/usr/lib64/python3.10/site-packages/wrapt/__init__.py", line 10, in from .decorators import (adapter_factory, AdapterFactory, decorator, File "/usr/lib64/python3.10/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_context (unittest.loader._FailedTest.test_context) ---------------------------------------------------------------------- ImportError: Failed to import test module: test_context 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.context-3.2.1/oslo_context/tests/test_context.py", line 24, in from oslo_context import context File "/builddir/build/BUILD/oslo.context-3.2.1/oslo_context/context.py", line 37, in from debtcollector import renames File "/usr/lib/python3.10/site-packages/debtcollector/renames.py", line 15, in import wrapt File "/usr/lib64/python3.10/site-packages/wrapt/__init__.py", line 10, in from .decorators import (adapter_factory, AdapterFactory, decorator, File "/usr/lib64/python3.10/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_fixture (unittest.loader._FailedTest.test_fixture) ---------------------------------------------------------------------- ImportError: Failed to import test module: test_fixture 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.context-3.2.1/oslo_context/tests/test_fixture.py", line 15, in from oslo_context import context File "/builddir/build/BUILD/oslo.context-3.2.1/oslo_context/context.py", line 37, in from debtcollector import renames File "/usr/lib/python3.10/site-packages/debtcollector/renames.py", line 15, in import wrapt File "/usr/lib64/python3.10/site-packages/wrapt/__init__.py", line 10, in from .decorators import (adapter_factory, AdapterFactory, decorator, File "/usr/lib64/python3.10/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: fixture (unittest.loader._FailedTest.fixture) ---------------------------------------------------------------------- ImportError: Failed to import test module: fixture 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.context-3.2.1/oslo_context/fixture.py", line 15, in from oslo_context import context File "/builddir/build/BUILD/oslo.context-3.2.1/oslo_context/context.py", line 37, in from debtcollector import renames File "/usr/lib/python3.10/site-packages/debtcollector/renames.py", line 15, in import wrapt File "/usr/lib64/python3.10/site-packages/wrapt/__init__.py", line 10, in from .decorators import (adapter_factory, AdapterFactory, decorator, File "/usr/lib64/python3.10/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_context.tests.test_context (unittest.loader._FailedTest.oslo_context.tests.test_context) ---------------------------------------------------------------------- ImportError: Failed to import test module: oslo_context.tests.test_context 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.context-3.2.1/oslo_context/tests/test_context.py", line 24, in from oslo_context import context File "/builddir/build/BUILD/oslo.context-3.2.1/oslo_context/context.py", line 37, in from debtcollector import renames File "/usr/lib/python3.10/site-packages/debtcollector/renames.py", line 15, in import wrapt File "/usr/lib64/python3.10/site-packages/wrapt/__init__.py", line 10, in from .decorators import (adapter_factory, AdapterFactory, decorator, File "/usr/lib64/python3.10/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_context.tests.test_fixture (unittest.loader._FailedTest.oslo_context.tests.test_fixture) ---------------------------------------------------------------------- ImportError: Failed to import test module: oslo_context.tests.test_fixture 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.context-3.2.1/oslo_context/tests/test_fixture.py", line 15, in from oslo_context import context File "/builddir/build/BUILD/oslo.context-3.2.1/oslo_context/context.py", line 37, in from debtcollector import renames File "/usr/lib/python3.10/site-packages/debtcollector/renames.py", line 15, in import wrapt File "/usr/lib64/python3.10/site-packages/wrapt/__init__.py", line 10, in from .decorators import (adapter_factory, AdapterFactory, decorator, File "/usr/lib64/python3.10/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 6 tests in 0.001s FAILED (errors=6) Test failed: error: Test failed: RPM build errors: error: Bad exit status from /var/tmp/rpm-tmp.fW1e8r (%check) Bad exit status from /var/tmp/rpm-tmp.fW1e8r (%check) Child return code was: 1 EXCEPTION: [Error('Command failed: \n # /usr/bin/systemd-nspawn -q -M 389286f71c874ab4b110a7913233bf1a -D /var/lib/mock/dist-ocs23-python311-build-55252-2196/root -a -u mockbuild --capability=cap_ipc_lock --bind=/tmp/mock-resolv.r1gx7e9q:/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-context.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 389286f71c874ab4b110a7913233bf1a -D /var/lib/mock/dist-ocs23-python311-build-55252-2196/root -a -u mockbuild --capability=cap_ipc_lock --bind=/tmp/mock-resolv.r1gx7e9q:/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-context.spec