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-fasteners.spec'], chrootPath='/var/lib/mock/dist-ocs23-build-22117-1041/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=991gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --noclean --target noarch --nodeps /builddir/build/SPECS/python-fasteners.spec'] with env {'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8'} and shell False Building target platforms: noarch Building for target noarch Wrote: /builddir/build/SRPMS/python-fasteners-0.18-3.ocs23.src.rpm Child return code was: 0 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -br --noclean --target noarch --nodeps /builddir/build/SPECS/python-fasteners.spec'], chrootPath='/var/lib/mock/dist-ocs23-build-22117-1041/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=991gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueraiseExc=FalseprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -br --noclean --target noarch --nodeps /builddir/build/SPECS/python-fasteners.spec'] with env {'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8'} and shell False Building target platforms: noarch Building for target noarch Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.biiE83 + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf fasteners-0.18 + /usr/lib/rpm/rpmuncompress -x /builddir/build/SOURCES/fasteners-0.18.tar.gz + STATUS=0 + '[' 0 -ne 0 ']' + cd fasteners-0.18 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + /usr/lib/rpm/rpmuncompress /builddir/build/SOURCES/80a3eaed75276faf21034e7e6c626fd19485ea39.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch -f + sed -r -i '/\b(diskcache)\b/d' requirements-test.txt + RPM_EC=0 ++ jobs -p + exit 0 Executing(%generate_buildrequires): /bin/sh -e /var/tmp/rpm-tmp.sPw92c + umask 022 + cd /builddir/build/BUILD + cd fasteners-0.18 + echo pyproject-rpm-macros + echo python3-devel + echo 'python3dist(pip) >= 19' + echo 'python3dist(packaging)' + '[' -f pyproject.toml ']' + echo 'python3dist(toml)' + rm -rfv '*.dist-info/' + '[' -f /usr/bin/python3 ']' + RPM_TOXENV=py310 + HOSTNAME=rpmbuild + /usr/bin/python3 -s /usr/lib/rpm/OpenCloudOS/pyproject_buildrequires.py --generate-extras --python3_pkgversion 3 requirements-test.txt Handling eventlet from requirements file requirements-test.txt Requirement not satisfied: eventlet Handling more_itertools from requirements file requirements-test.txt Requirement not satisfied: more_itertools Handling pytest from requirements file requirements-test.txt Requirement not satisfied: pytest Exiting dependency generation pass: all requirements files + RPM_EC=0 ++ jobs -p + exit 0 Wrote: /builddir/build/SRPMS/python-fasteners-0.18-3.ocs23.buildreqs.nosrc.rpm Child return code was: 11 Dynamic buildrequires detected Going to install missing buildrequires. See root.log for details. ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -br --noclean --target noarch --nodeps /builddir/build/SPECS/python-fasteners.spec'], chrootPath='/var/lib/mock/dist-ocs23-build-22117-1041/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=991gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueraiseExc=FalseprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -br --noclean --target noarch --nodeps /builddir/build/SPECS/python-fasteners.spec'] with env {'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8'} and shell False Building target platforms: noarch Building for target noarch Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.vnWXxI + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf fasteners-0.18 + /usr/lib/rpm/rpmuncompress -x /builddir/build/SOURCES/fasteners-0.18.tar.gz + STATUS=0 + '[' 0 -ne 0 ']' + cd fasteners-0.18 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + /usr/lib/rpm/rpmuncompress /builddir/build/SOURCES/80a3eaed75276faf21034e7e6c626fd19485ea39.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch -f + sed -r -i '/\b(diskcache)\b/d' requirements-test.txt + RPM_EC=0 ++ jobs -p + exit 0 Executing(%generate_buildrequires): /bin/sh -e /var/tmp/rpm-tmp.dfbJ6q + umask 022 + cd /builddir/build/BUILD + cd fasteners-0.18 + echo pyproject-rpm-macros + echo python3-devel + echo 'python3dist(pip) >= 19' + echo 'python3dist(packaging)' + '[' -f pyproject.toml ']' + echo 'python3dist(toml)' + rm -rfv '*.dist-info/' + '[' -f /usr/bin/python3 ']' + RPM_TOXENV=py310 + HOSTNAME=rpmbuild + /usr/bin/python3 -s /usr/lib/rpm/OpenCloudOS/pyproject_buildrequires.py --generate-extras --python3_pkgversion 3 requirements-test.txt Handling eventlet from requirements file requirements-test.txt Requirement satisfied: eventlet (installed: eventlet 0.33.1) Handling more_itertools from requirements file requirements-test.txt Requirement satisfied: more_itertools (installed: more_itertools 8.12.0) Handling pytest from requirements file requirements-test.txt Requirement satisfied: pytest (installed: pytest 7.1.3) Handling setuptools from build-system.requires Requirement satisfied: setuptools (installed: setuptools 62.3.2.post20230429) Handling wheel from build-system.requires Requirement not satisfied: wheel Exiting dependency generation pass: build backend + RPM_EC=0 ++ jobs -p + exit 0 Wrote: /builddir/build/SRPMS/python-fasteners-0.18-3.ocs23.buildreqs.nosrc.rpm Child return code was: 11 Dynamic buildrequires detected Going to install missing buildrequires. See root.log for details. ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -br --noclean --target noarch --nodeps /builddir/build/SPECS/python-fasteners.spec'], chrootPath='/var/lib/mock/dist-ocs23-build-22117-1041/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=991gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueraiseExc=FalseprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -br --noclean --target noarch --nodeps /builddir/build/SPECS/python-fasteners.spec'] with env {'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8'} and shell False Building target platforms: noarch Building for target noarch Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.SJzoCt + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf fasteners-0.18 + /usr/lib/rpm/rpmuncompress -x /builddir/build/SOURCES/fasteners-0.18.tar.gz + STATUS=0 + '[' 0 -ne 0 ']' + cd fasteners-0.18 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + /usr/lib/rpm/rpmuncompress /builddir/build/SOURCES/80a3eaed75276faf21034e7e6c626fd19485ea39.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch -f + sed -r -i '/\b(diskcache)\b/d' requirements-test.txt + RPM_EC=0 ++ jobs -p + exit 0 Executing(%generate_buildrequires): /bin/sh -e /var/tmp/rpm-tmp.CN8nHD + umask 022 + cd /builddir/build/BUILD + cd fasteners-0.18 + echo pyproject-rpm-macros + echo python3-devel + echo 'python3dist(pip) >= 19' + echo 'python3dist(packaging)' + '[' -f pyproject.toml ']' + echo 'python3dist(toml)' + rm -rfv '*.dist-info/' + '[' -f /usr/bin/python3 ']' + RPM_TOXENV=py310 + HOSTNAME=rpmbuild + /usr/bin/python3 -s /usr/lib/rpm/OpenCloudOS/pyproject_buildrequires.py --generate-extras --python3_pkgversion 3 requirements-test.txt Handling eventlet from requirements file requirements-test.txt Requirement satisfied: eventlet (installed: eventlet 0.33.1) Handling more_itertools from requirements file requirements-test.txt Requirement satisfied: more_itertools (installed: more_itertools 8.12.0) Handling pytest from requirements file requirements-test.txt Requirement satisfied: pytest (installed: pytest 7.1.3) Handling setuptools from build-system.requires Requirement satisfied: setuptools (installed: setuptools 62.3.2.post20230429) Handling wheel from build-system.requires Requirement satisfied: wheel (installed: wheel 0.37.0) HOOK STDOUT: running egg_info HOOK STDOUT: creating fasteners.egg-info HOOK STDOUT: writing fasteners.egg-info/PKG-INFO HOOK STDOUT: writing dependency_links to fasteners.egg-info/dependency_links.txt HOOK STDOUT: writing top-level names to fasteners.egg-info/top_level.txt HOOK STDOUT: writing manifest file 'fasteners.egg-info/SOURCES.txt' HOOK STDOUT: reading manifest file 'fasteners.egg-info/SOURCES.txt' HOOK STDOUT: reading manifest template 'MANIFEST.in' HOOK STDOUT: adding license file 'LICENSE' HOOK STDOUT: writing manifest file 'fasteners.egg-info/SOURCES.txt' Handling wheel from get_requires_for_build_wheel Requirement satisfied: wheel (installed: wheel 0.37.0) HOOK STDOUT: running dist_info HOOK STDOUT: writing fasteners.egg-info/PKG-INFO HOOK STDOUT: writing dependency_links to fasteners.egg-info/dependency_links.txt HOOK STDOUT: writing top-level names to fasteners.egg-info/top_level.txt HOOK STDOUT: reading manifest file 'fasteners.egg-info/SOURCES.txt' HOOK STDOUT: reading manifest template 'MANIFEST.in' HOOK STDOUT: adding license file 'LICENSE' HOOK STDOUT: writing manifest file 'fasteners.egg-info/SOURCES.txt' HOOK STDOUT: creating '/builddir/build/BUILD/fasteners-0.18/fasteners-0.18.dist-info' HOOK STDOUT: adding license file "LICENSE" (matched pattern "LICENSE") + RPM_EC=0 ++ jobs -p + exit 0 Wrote: /builddir/build/SRPMS/python-fasteners-0.18-3.ocs23.buildreqs.nosrc.rpm Child return code was: 11 Dynamic buildrequires detected Going to install missing buildrequires. See root.log for details. ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -ba --noprep --noclean --target noarch --nodeps /builddir/build/SPECS/python-fasteners.spec'], chrootPath='/var/lib/mock/dist-ocs23-build-22117-1041/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=991gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -ba --noprep --noclean --target noarch --nodeps /builddir/build/SPECS/python-fasteners.spec'] with env {'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8'} and shell False Building target platforms: noarch Building for target noarch Executing(%generate_buildrequires): /bin/sh -e /var/tmp/rpm-tmp.SHPk4J + umask 022 + cd /builddir/build/BUILD + cd fasteners-0.18 + echo pyproject-rpm-macros + echo python3-devel + echo 'python3dist(pip) >= 19' + echo 'python3dist(packaging)' + '[' -f pyproject.toml ']' + echo 'python3dist(toml)' + rm -rfv fasteners-0.18.dist-info/ removed 'fasteners-0.18.dist-info/METADATA' removed 'fasteners-0.18.dist-info/top_level.txt' removed 'fasteners-0.18.dist-info/LICENSE' removed directory 'fasteners-0.18.dist-info/' + '[' -f /usr/bin/python3 ']' + RPM_TOXENV=py310 + HOSTNAME=rpmbuild + /usr/bin/python3 -s /usr/lib/rpm/OpenCloudOS/pyproject_buildrequires.py --generate-extras --python3_pkgversion 3 requirements-test.txt Handling eventlet from requirements file requirements-test.txt Requirement satisfied: eventlet (installed: eventlet 0.33.1) Handling more_itertools from requirements file requirements-test.txt Requirement satisfied: more_itertools (installed: more_itertools 8.12.0) Handling pytest from requirements file requirements-test.txt Requirement satisfied: pytest (installed: pytest 7.1.3) Handling setuptools from build-system.requires Requirement satisfied: setuptools (installed: setuptools 62.3.2.post20230429) Handling wheel from build-system.requires Requirement satisfied: wheel (installed: wheel 0.37.0) HOOK STDOUT: running egg_info HOOK STDOUT: creating fasteners.egg-info HOOK STDOUT: writing fasteners.egg-info/PKG-INFO HOOK STDOUT: writing dependency_links to fasteners.egg-info/dependency_links.txt HOOK STDOUT: writing top-level names to fasteners.egg-info/top_level.txt HOOK STDOUT: writing manifest file 'fasteners.egg-info/SOURCES.txt' HOOK STDOUT: reading manifest file 'fasteners.egg-info/SOURCES.txt' HOOK STDOUT: reading manifest template 'MANIFEST.in' HOOK STDOUT: adding license file 'LICENSE' HOOK STDOUT: writing manifest file 'fasteners.egg-info/SOURCES.txt' Handling wheel from get_requires_for_build_wheel Requirement satisfied: wheel (installed: wheel 0.37.0) HOOK STDOUT: running dist_info HOOK STDOUT: writing fasteners.egg-info/PKG-INFO HOOK STDOUT: writing dependency_links to fasteners.egg-info/dependency_links.txt HOOK STDOUT: writing top-level names to fasteners.egg-info/top_level.txt HOOK STDOUT: reading manifest file 'fasteners.egg-info/SOURCES.txt' HOOK STDOUT: reading manifest template 'MANIFEST.in' HOOK STDOUT: adding license file 'LICENSE' HOOK STDOUT: writing manifest file 'fasteners.egg-info/SOURCES.txt' HOOK STDOUT: creating '/builddir/build/BUILD/fasteners-0.18/fasteners-0.18.dist-info' HOOK STDOUT: adding license file "LICENSE" (matched pattern "LICENSE") + RPM_EC=0 ++ jobs -p + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.GimR3C + umask 022 + cd /builddir/build/BUILD + CFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -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 fasteners-0.18 + mkdir -p /builddir/build/BUILD/fasteners-0.18/.pyproject-builddir + 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' + TMPDIR=/builddir/build/BUILD/fasteners-0.18/.pyproject-builddir + /usr/bin/python3 -m pip wheel --wheel-dir /builddir/build/BUILD/fasteners-0.18/pyproject-wheeldir --no-deps --use-pep517 --no-build-isolation --disable-pip-version-check --no-clean --progress-bar off --verbose . Processing /builddir/build/BUILD/fasteners-0.18 Preparing metadata (pyproject.toml): started Running command Preparing metadata (pyproject.toml) running dist_info creating /builddir/build/BUILD/fasteners-0.18/.pyproject-builddir/pip-modern-metadata-ghe2p3eh/fasteners.egg-info writing /builddir/build/BUILD/fasteners-0.18/.pyproject-builddir/pip-modern-metadata-ghe2p3eh/fasteners.egg-info/PKG-INFO writing dependency_links to /builddir/build/BUILD/fasteners-0.18/.pyproject-builddir/pip-modern-metadata-ghe2p3eh/fasteners.egg-info/dependency_links.txt writing top-level names to /builddir/build/BUILD/fasteners-0.18/.pyproject-builddir/pip-modern-metadata-ghe2p3eh/fasteners.egg-info/top_level.txt writing manifest file '/builddir/build/BUILD/fasteners-0.18/.pyproject-builddir/pip-modern-metadata-ghe2p3eh/fasteners.egg-info/SOURCES.txt' reading manifest file '/builddir/build/BUILD/fasteners-0.18/.pyproject-builddir/pip-modern-metadata-ghe2p3eh/fasteners.egg-info/SOURCES.txt' reading manifest template 'MANIFEST.in' adding license file 'LICENSE' writing manifest file '/builddir/build/BUILD/fasteners-0.18/.pyproject-builddir/pip-modern-metadata-ghe2p3eh/fasteners.egg-info/SOURCES.txt' creating '/builddir/build/BUILD/fasteners-0.18/.pyproject-builddir/pip-modern-metadata-ghe2p3eh/fasteners-0.18.dist-info' adding license file "LICENSE" (matched pattern "LICENSE") Preparing metadata (pyproject.toml): finished with status 'done' Building wheels for collected packages: fasteners Building wheel for fasteners (pyproject.toml): started Running command Building wheel for fasteners (pyproject.toml) running bdist_wheel running build running build_py creating build creating build/lib creating build/lib/fasteners copying fasteners/process_lock.py -> build/lib/fasteners copying fasteners/process_mechanism.py -> build/lib/fasteners copying fasteners/lock.py -> build/lib/fasteners copying fasteners/__init__.py -> build/lib/fasteners copying fasteners/version.py -> build/lib/fasteners copying fasteners/_utils.py -> build/lib/fasteners creating build/lib/fasteners/pywin32 copying fasteners/pywin32/win32con.py -> build/lib/fasteners/pywin32 copying fasteners/pywin32/win32file.py -> build/lib/fasteners/pywin32 copying fasteners/pywin32/__init__.py -> build/lib/fasteners/pywin32 copying fasteners/pywin32/pywintypes.py -> build/lib/fasteners/pywin32 installing to build/bdist.linux-x86_64/wheel running install running install_lib creating build/bdist.linux-x86_64 creating build/bdist.linux-x86_64/wheel creating build/bdist.linux-x86_64/wheel/fasteners copying build/lib/fasteners/process_lock.py -> build/bdist.linux-x86_64/wheel/fasteners copying build/lib/fasteners/process_mechanism.py -> build/bdist.linux-x86_64/wheel/fasteners creating build/bdist.linux-x86_64/wheel/fasteners/pywin32 copying build/lib/fasteners/pywin32/win32con.py -> build/bdist.linux-x86_64/wheel/fasteners/pywin32 copying build/lib/fasteners/pywin32/win32file.py -> build/bdist.linux-x86_64/wheel/fasteners/pywin32 copying build/lib/fasteners/pywin32/__init__.py -> build/bdist.linux-x86_64/wheel/fasteners/pywin32 copying build/lib/fasteners/pywin32/pywintypes.py -> build/bdist.linux-x86_64/wheel/fasteners/pywin32 copying build/lib/fasteners/lock.py -> build/bdist.linux-x86_64/wheel/fasteners copying build/lib/fasteners/__init__.py -> build/bdist.linux-x86_64/wheel/fasteners copying build/lib/fasteners/version.py -> build/bdist.linux-x86_64/wheel/fasteners copying build/lib/fasteners/_utils.py -> build/bdist.linux-x86_64/wheel/fasteners running install_egg_info running egg_info creating fasteners.egg-info writing fasteners.egg-info/PKG-INFO writing dependency_links to fasteners.egg-info/dependency_links.txt writing top-level names to fasteners.egg-info/top_level.txt writing manifest file 'fasteners.egg-info/SOURCES.txt' reading manifest file 'fasteners.egg-info/SOURCES.txt' reading manifest template 'MANIFEST.in' adding license file 'LICENSE' writing manifest file 'fasteners.egg-info/SOURCES.txt' Copying fasteners.egg-info to build/bdist.linux-x86_64/wheel/fasteners-0.18-py3.10.egg-info running install_scripts adding license file "LICENSE" (matched pattern "LICENSE") creating build/bdist.linux-x86_64/wheel/fasteners-0.18.dist-info/WHEEL creating '/builddir/build/BUILD/fasteners-0.18/.pyproject-builddir/pip-wheel-wyoa01km/tmpg0f52ix1/fasteners-0.18-py3-none-any.whl' and adding 'build/bdist.linux-x86_64/wheel' to it adding 'fasteners/__init__.py' adding 'fasteners/_utils.py' adding 'fasteners/lock.py' adding 'fasteners/process_lock.py' adding 'fasteners/process_mechanism.py' adding 'fasteners/version.py' adding 'fasteners/pywin32/__init__.py' adding 'fasteners/pywin32/pywintypes.py' adding 'fasteners/pywin32/win32con.py' adding 'fasteners/pywin32/win32file.py' adding 'fasteners-0.18.dist-info/LICENSE' adding 'fasteners-0.18.dist-info/METADATA' adding 'fasteners-0.18.dist-info/WHEEL' adding 'fasteners-0.18.dist-info/top_level.txt' adding 'fasteners-0.18.dist-info/RECORD' removing build/bdist.linux-x86_64/wheel Building wheel for fasteners (pyproject.toml): finished with status 'done' Created wheel for fasteners: filename=fasteners-0.18-py3-none-any.whl size=18481 sha256=fc6d5828537563ee484faaae96c562c72e3995c370c9ff9bc53cfd6248797643 Stored in directory: /builddir/.cache/pip/wheels/26/a6/de/7def15b05e9af7a4992938709d2849a42c7e232fa3dd86ded0 Successfully built fasteners + RPM_EC=0 ++ jobs -p + exit 0 Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.bP2ZTZ + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/python-fasteners-0.18-3.ocs23.noarch '!=' / ']' + rm -rf /builddir/build/BUILDROOT/python-fasteners-0.18-3.ocs23.noarch ++ dirname /builddir/build/BUILDROOT/python-fasteners-0.18-3.ocs23.noarch + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/python-fasteners-0.18-3.ocs23.noarch + cd fasteners-0.18 ++ ls /builddir/build/BUILD/fasteners-0.18/pyproject-wheeldir/fasteners-0.18-py3-none-any.whl ++ xargs basename --multiple ++ sed -E 's/([^-]+)-([^-]+)-.+\.whl/\1==\2/' + specifier=fasteners==0.18 + TMPDIR=/builddir/build/BUILD/fasteners-0.18/.pyproject-builddir + /usr/bin/python3 -m pip install --root /builddir/build/BUILDROOT/python-fasteners-0.18-3.ocs23.noarch --no-deps --disable-pip-version-check --progress-bar off --verbose --ignore-installed --no-warn-script-location --no-index --no-cache-dir --find-links /builddir/build/BUILD/fasteners-0.18/pyproject-wheeldir fasteners==0.18 Using pip 22.1.1 from /usr/lib/python3.10/site-packages/pip (python 3.10) Looking in links: /builddir/build/BUILD/fasteners-0.18/pyproject-wheeldir Processing ./pyproject-wheeldir/fasteners-0.18-py3-none-any.whl Installing collected packages: fasteners Successfully installed fasteners-0.18 + '[' -d /builddir/build/BUILDROOT/python-fasteners-0.18-3.ocs23.noarch/usr/bin ']' + rm -f /builddir/build/BUILD/pyproject-ghost-distinfo + site_dirs=() + '[' -d /builddir/build/BUILDROOT/python-fasteners-0.18-3.ocs23.noarch/usr/lib/python3.10/site-packages ']' + site_dirs+=("/usr/lib/python3.10/site-packages") + '[' /builddir/build/BUILDROOT/python-fasteners-0.18-3.ocs23.noarch/usr/lib64/python3.10/site-packages '!=' /builddir/build/BUILDROOT/python-fasteners-0.18-3.ocs23.noarch/usr/lib/python3.10/site-packages ']' + '[' -d /builddir/build/BUILDROOT/python-fasteners-0.18-3.ocs23.noarch/usr/lib64/python3.10/site-packages ']' + for site_dir in ${site_dirs[@]} + for distinfo in /builddir/build/BUILDROOT/python-fasteners-0.18-3.ocs23.noarch$site_dir/*.dist-info + echo '%ghost /usr/lib/python3.10/site-packages/fasteners-0.18.dist-info' + sed -i s/pip/rpm/ /builddir/build/BUILDROOT/python-fasteners-0.18-3.ocs23.noarch/usr/lib/python3.10/site-packages/fasteners-0.18.dist-info/INSTALLER + PYTHONPATH=/usr/lib/rpm/OpenCloudOS + /usr/bin/python3 -B /usr/lib/rpm/OpenCloudOS/pyproject_preprocess_record.py --buildroot /builddir/build/BUILDROOT/python-fasteners-0.18-3.ocs23.noarch --record /builddir/build/BUILDROOT/python-fasteners-0.18-3.ocs23.noarch/usr/lib/python3.10/site-packages/fasteners-0.18.dist-info/RECORD --output /builddir/build/BUILD/pyproject-record + rm -fv /builddir/build/BUILDROOT/python-fasteners-0.18-3.ocs23.noarch/usr/lib/python3.10/site-packages/fasteners-0.18.dist-info/RECORD removed '/builddir/build/BUILDROOT/python-fasteners-0.18-3.ocs23.noarch/usr/lib/python3.10/site-packages/fasteners-0.18.dist-info/RECORD' + rm -fv /builddir/build/BUILDROOT/python-fasteners-0.18-3.ocs23.noarch/usr/lib/python3.10/site-packages/fasteners-0.18.dist-info/REQUESTED removed '/builddir/build/BUILDROOT/python-fasteners-0.18-3.ocs23.noarch/usr/lib/python3.10/site-packages/fasteners-0.18.dist-info/REQUESTED' ++ wc -l /builddir/build/BUILD/pyproject-ghost-distinfo ++ cut -f1 '-d ' + lines=1 + '[' 1 -ne 1 ']' + /usr/bin/python3 /usr/lib/rpm/OpenCloudOS/pyproject_save_files.py --output-files /builddir/build/BUILD/pyproject-files --output-modules /builddir/build/BUILD/pyproject-modules --buildroot /builddir/build/BUILDROOT/python-fasteners-0.18-3.ocs23.noarch --sitelib /usr/lib/python3.10/site-packages --sitearch /usr/lib64/python3.10/site-packages --python-version 3.10 --pyproject-record /builddir/build/BUILD/pyproject-record --prefix /usr fasteners + /usr/bin/find-debuginfo -j32 --strict-build-id -m -i --build-id-seed 0.18-3.ocs23 --unique-debug-suffix -0.18-3.ocs23.noarch --unique-debug-src-base python-fasteners-0.18-3.ocs23.noarch -S debugsourcefiles.list /builddir/build/BUILD/fasteners-0.18 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-fasteners-0.18-3.ocs23.noarch/usr/lib/python3.10 using python3.10 + /usr/lib/rpm/OpenCloudOS/brp-python-hardlink Executing(%check): /bin/sh -e /var/tmp/rpm-tmp.cNKQeV + umask 022 + cd /builddir/build/BUILD + CFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -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 fasteners-0.18 + 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' + PATH=/builddir/build/BUILDROOT/python-fasteners-0.18-3.ocs23.noarch/usr/bin:/usr/bin:/bin:/usr/sbin:/sbin:/usr/local/sbin + PYTHONPATH=/builddir/build/BUILDROOT/python-fasteners-0.18-3.ocs23.noarch/usr/lib64/python3.10/site-packages:/builddir/build/BUILDROOT/python-fasteners-0.18-3.ocs23.noarch/usr/lib/python3.10/site-packages + PYTHONDONTWRITEBYTECODE=1 + PYTEST_ADDOPTS=' --ignore=/builddir/build/BUILD/fasteners-0.18/.pyproject-builddir' + /usr/bin/pytest --ignore=tests/test_reader_writer_lock.py -v ============================= test session starts ============================== platform linux -- Python 3.10.5, pytest-7.1.3, pluggy-1.0.0 -- /usr/bin/python3 cachedir: .pytest_cache rootdir: /builddir/build/BUILD/fasteners-0.18 collecting ... collected 34 items tests/test_decorators.py::test_locked PASSED [ 2%] tests/test_decorators.py::test_many_locked PASSED [ 5%] tests/test_decorators.py::test_read_write_locked PASSED [ 8%] tests/test_eventlet.py::test_eventlet_spawn_n_bug FAILED [ 11%] tests/test_eventlet.py::test_eventlet_spawn_n_bugfix FAILED [ 14%] tests/test_helpers.py::test_try_lock PASSED [ 17%] tests/test_lock.py::test_no_double_writers PASSED [ 20%] tests/test_lock.py::test_no_concurrent_readers_writers PASSED [ 23%] tests/test_lock.py::test_writer_abort PASSED [ 26%] tests/test_lock.py::test_reader_abort PASSED [ 29%] tests/test_lock.py::test_double_reader_abort PASSED [ 32%] tests/test_lock.py::test_double_reader_writer PASSED [ 35%] tests/test_lock.py::test_reader_chaotic PASSED [ 38%] tests/test_lock.py::test_writer_chaotic PASSED [ 41%] tests/test_lock.py::test_writer_reader_writer PASSED [ 44%] tests/test_lock.py::test_single_reader_writer PASSED [ 47%] tests/test_lock.py::test_reader_to_writer PASSED [ 50%] tests/test_lock.py::test_writer_to_reader PASSED [ 52%] tests/test_lock.py::test_double_writer PASSED [ 55%] tests/test_lock.py::test_double_reader PASSED [ 58%] tests/test_lock.py::test_multi_reader_multi_writer PASSED [ 61%] tests/test_lock.py::test_multi_reader_single_writer PASSED [ 64%] tests/test_lock.py::test_multi_writer PASSED [ 67%] tests/test_lock.py::test_deadlock_reproducer PASSED [ 70%] tests/test_process_lock.py::test_lock_acquire_release_file_lock PASSED [ 73%] tests/test_process_lock.py::test_nested_synchronized_external_works PASSED [ 76%] tests/test_process_lock.py::test_lock_externally PASSED [ 79%] tests/test_process_lock.py::test_lock_externally_lock_dir_not_exist PASSED [ 82%] tests/test_process_lock.py::test_lock_file_exists PASSED [ 85%] tests/test_process_lock.py::test_bad_release PASSED [ 88%] tests/test_process_lock.py::test_interprocess_lock PASSED [ 91%] tests/test_process_lock.py::test_non_destructive PASSED [ 94%] tests/test_process_lock.py::test_bad_acquire PASSED [ 97%] tests/test_process_lock.py::test_lock_twice PASSED [100%] =================================== FAILURES =================================== __________________________ test_eventlet_spawn_n_bug ___________________________ concurrent.futures.process._RemoteTraceback: """ Traceback (most recent call last): File "/usr/lib64/python3.10/concurrent/futures/process.py", line 246, in _process_worker r = call_item.fn(*call_item.args, **call_item.kwargs) File "/builddir/build/BUILD/fasteners-0.18/tests/test_eventlet.py", line 11, in _test_eventlet_spawn_n_bug import eventlet File "/usr/lib/python3.10/site-packages/eventlet/__init__.py", line 17, in from eventlet import convenience File "/usr/lib/python3.10/site-packages/eventlet/convenience.py", line 7, in from eventlet.green import socket File "/usr/lib/python3.10/site-packages/eventlet/green/socket.py", line 21, in from eventlet.support import greendns File "/usr/lib/python3.10/site-packages/eventlet/support/greendns.py", line 66, in setattr(dns, pkg, import_patched('dns.' + pkg)) File "/usr/lib/python3.10/site-packages/eventlet/support/greendns.py", line 61, in import_patched return patcher.import_patched(module_name, **modules) File "/usr/lib/python3.10/site-packages/eventlet/patcher.py", line 132, in import_patched return inject( File "/usr/lib/python3.10/site-packages/eventlet/patcher.py", line 109, in inject module = __import__(module_name, {}, {}, module_name.split('.')[:-1]) File "/usr/lib/python3.10/site-packages/dns/zone.py", line 86, in class Zone(dns.transaction.TransactionManager): File "/usr/lib/python3.10/site-packages/dns/zone.py", line 757, in Zone ) -> dns.rdtypes.ANY.SOA.SOA: AttributeError: module 'dns.rdtypes' has no attribute 'ANY' """ The above exception was the direct cause of the following exception: def test_eventlet_spawn_n_bug(): with concurrent.futures.ProcessPoolExecutor(mp_context=get_context('spawn')) as executor: f = executor.submit(_test_eventlet_spawn_n_bug) > f.result() tests/test_eventlet.py:56: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /usr/lib64/python3.10/concurrent/futures/_base.py:446: in result return self.__get_result() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = None def __get_result(self): if self._exception: try: > raise self._exception E AttributeError: module 'dns.rdtypes' has no attribute 'ANY' /usr/lib64/python3.10/concurrent/futures/_base.py:391: AttributeError _________________________ test_eventlet_spawn_n_bugfix _________________________ concurrent.futures.process._RemoteTraceback: """ Traceback (most recent call last): File "/usr/lib64/python3.10/concurrent/futures/process.py", line 246, in _process_worker r = call_item.fn(*call_item.args, **call_item.kwargs) File "/builddir/build/BUILD/fasteners-0.18/tests/test_eventlet.py", line 32, in _test_eventlet_spawn_n_bugfix import eventlet File "/usr/lib/python3.10/site-packages/eventlet/__init__.py", line 17, in from eventlet import convenience File "/usr/lib/python3.10/site-packages/eventlet/convenience.py", line 7, in from eventlet.green import socket File "/usr/lib/python3.10/site-packages/eventlet/green/socket.py", line 21, in from eventlet.support import greendns File "/usr/lib/python3.10/site-packages/eventlet/support/greendns.py", line 66, in setattr(dns, pkg, import_patched('dns.' + pkg)) File "/usr/lib/python3.10/site-packages/eventlet/support/greendns.py", line 61, in import_patched return patcher.import_patched(module_name, **modules) File "/usr/lib/python3.10/site-packages/eventlet/patcher.py", line 132, in import_patched return inject( File "/usr/lib/python3.10/site-packages/eventlet/patcher.py", line 109, in inject module = __import__(module_name, {}, {}, module_name.split('.')[:-1]) File "/usr/lib/python3.10/site-packages/dns/zone.py", line 86, in class Zone(dns.transaction.TransactionManager): File "/usr/lib/python3.10/site-packages/dns/zone.py", line 757, in Zone ) -> dns.rdtypes.ANY.SOA.SOA: AttributeError: module 'dns.rdtypes' has no attribute 'ANY' """ The above exception was the direct cause of the following exception: def test_eventlet_spawn_n_bugfix(): with concurrent.futures.ProcessPoolExecutor(mp_context=get_context('spawn')) as executor: f = executor.submit(_test_eventlet_spawn_n_bugfix) > f.result() tests/test_eventlet.py:62: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /usr/lib64/python3.10/concurrent/futures/_base.py:446: in result return self.__get_result() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = None def __get_result(self): if self._exception: try: > raise self._exception E AttributeError: module 'dns.rdtypes' has no attribute 'ANY' /usr/lib64/python3.10/concurrent/futures/_base.py:391: AttributeError =========================== short test summary info ============================ FAILED tests/test_eventlet.py::test_eventlet_spawn_n_bug - AttributeError: mo... FAILED tests/test_eventlet.py::test_eventlet_spawn_n_bugfix - AttributeError:... ======================== 2 failed, 32 passed in 13.18s ========================= error: Bad exit status from /var/tmp/rpm-tmp.cNKQeV (%check) Bad exit status from /var/tmp/rpm-tmp.cNKQeV (%check) RPM build errors: Child return code was: 1 EXCEPTION: [Error('Command failed: \n # bash --login -c /usr/bin/rpmbuild -ba --noprep --noclean --target noarch --nodeps /builddir/build/SPECS/python-fasteners.spec\n', 1)] Traceback (most recent call last): File "/usr/lib/python3.6/site-packages/mockbuild/trace_decorator.py", line 93, in trace result = func(*args, **kw) File "/usr/lib/python3.6/site-packages/mockbuild/util.py", line 597, in do_with_status raise exception.Error("Command failed: \n # %s\n%s" % (command, output), child.returncode) mockbuild.exception.Error: Command failed: # bash --login -c /usr/bin/rpmbuild -ba --noprep --noclean --target noarch --nodeps /builddir/build/SPECS/python-fasteners.spec