Mock Version: 5.0 Mock Version: 5.0 Mock Version: 5.0 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --noclean --target noarch --nodeps /builddir/build/SPECS/python-TestSlide.spec'], chrootPath='/var/lib/mock/f40-build-2487137-61650/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=864000uid=996gid=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-TestSlide.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 setting SOURCE_DATE_EPOCH=1709337600 Wrote: /builddir/build/SRPMS/python-TestSlide-2.7.1-1.fc40.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-TestSlide.spec'], chrootPath='/var/lib/mock/f40-build-2487137-61650/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=864000uid=996gid=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-TestSlide.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 setting SOURCE_DATE_EPOCH=1709337600 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.mJAuzH + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf TestSlide-2.7.1 + /usr/lib/rpm/rpmuncompress -x /builddir/build/SOURCES/TestSlide-2.7.1.tar.gz + STATUS=0 + '[' 0 -ne 0 ']' + cd TestSlide-2.7.1 + rm -rf /builddir/build/BUILD/TestSlide-2.7.1-SPECPARTS + /usr/bin/mkdir -p /builddir/build/BUILD/TestSlide-2.7.1-SPECPARTS + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + /usr/lib/rpm/rpmuncompress /builddir/build/SOURCES/TestSlide-2.7.1-typeguard-4.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch -f + sed -r -i '/^(black|coverage|coveralls|flake8|isort|mypy|twine)/d' requirements-dev.txt + sed -r -i 's/^([[:blank:]]*)("COVERAGE_PROCESS_START")/\1# \2/' tests/cli_unittest.py + sed -i '/^sphinx-autobuild/d' requirements-dev.txt + RPM_EC=0 ++ jobs -p + exit 0 Executing(%generate_buildrequires): /bin/sh -e /var/tmp/rpm-tmp.jCK1lQ + umask 022 + cd /builddir/build/BUILD + cd TestSlide-2.7.1 + CFLAGS='-O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Werror=implicit-function-declaration -Werror=implicit-int -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer ' + export CFLAGS + CXXFLAGS='-O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer ' + export CXXFLAGS + FFLAGS='-O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -I/usr/lib/gfortran/modules ' + export FFLAGS + FCFLAGS='-O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -I/usr/lib/gfortran/modules ' + export FCFLAGS + VALAFLAGS=-g + export VALAFLAGS + RUSTFLAGS='-Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none -Cforce-frame-pointers=yes -Clink-arg=-Wl,-z,relro -Clink-arg=-Wl,-z,now --cap-lints=warn' + export RUSTFLAGS + LDFLAGS='-Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -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 + echo pyproject-rpm-macros + echo python3-devel + echo 'python3dist(pip) >= 19' + echo 'python3dist(packaging)' + '[' -f pyproject.toml ']' + '[' -f setup.py ']' + echo 'python3dist(setuptools) >= 40.8' + echo 'python3dist(wheel)' + rm -rfv '*.dist-info/' + '[' -f /usr/bin/python3 ']' + mkdir -p /builddir/build/BUILD/TestSlide-2.7.1/.pyproject-builddir + echo -n + CFLAGS='-O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Werror=implicit-function-declaration -Werror=implicit-int -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer ' + LDFLAGS='-Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 ' + TMPDIR=/builddir/build/BUILD/TestSlide-2.7.1/.pyproject-builddir + RPM_TOXENV=py312 + HOSTNAME=rpmbuild + /usr/bin/python3 -Bs /usr/lib/rpm/redhat/pyproject_buildrequires.py --generate-extras --python3_pkgversion 3 --wheeldir /builddir/build/BUILD/TestSlide-2.7.1/pyproject-wheeldir --output /builddir/build/BUILD/python-TestSlide-2.7.1-1.fc40.noarch-pyproject-buildrequires -r requirements-dev.txt Handling ipython from requirements file requirements-dev.txt Requirement satisfied: ipython (installed: ipython 8.14.0) Handling sphinx from requirements file requirements-dev.txt Requirement satisfied: sphinx (installed: sphinx 7.2.6) Handling sphinx-kr-theme from requirements file requirements-dev.txt Requirement not satisfied: sphinx-kr-theme Exiting dependency generation pass: all requirements files + cat /builddir/build/BUILD/python-TestSlide-2.7.1-1.fc40.noarch-pyproject-buildrequires + rm -rfv '*.dist-info/' + RPM_EC=0 ++ jobs -p + exit 0 Wrote: /builddir/build/SRPMS/python-TestSlide-2.7.1-1.fc40.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-TestSlide.spec'], chrootPath='/var/lib/mock/f40-build-2487137-61650/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=864000uid=996gid=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-TestSlide.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 setting SOURCE_DATE_EPOCH=1709337600 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.2f6aRT + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf TestSlide-2.7.1 + /usr/lib/rpm/rpmuncompress -x /builddir/build/SOURCES/TestSlide-2.7.1.tar.gz + STATUS=0 + '[' 0 -ne 0 ']' + cd TestSlide-2.7.1 + rm -rf /builddir/build/BUILD/TestSlide-2.7.1-SPECPARTS + /usr/bin/mkdir -p /builddir/build/BUILD/TestSlide-2.7.1-SPECPARTS + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + /usr/lib/rpm/rpmuncompress /builddir/build/SOURCES/TestSlide-2.7.1-typeguard-4.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch -f + sed -r -i '/^(black|coverage|coveralls|flake8|isort|mypy|twine)/d' requirements-dev.txt + sed -r -i 's/^([[:blank:]]*)("COVERAGE_PROCESS_START")/\1# \2/' tests/cli_unittest.py + sed -i '/^sphinx-autobuild/d' requirements-dev.txt + RPM_EC=0 ++ jobs -p + exit 0 Executing(%generate_buildrequires): /bin/sh -e /var/tmp/rpm-tmp.GNSEoE + umask 022 + cd /builddir/build/BUILD + cd TestSlide-2.7.1 + CFLAGS='-O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Werror=implicit-function-declaration -Werror=implicit-int -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer ' + export CFLAGS + CXXFLAGS='-O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer ' + export CXXFLAGS + FFLAGS='-O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -I/usr/lib/gfortran/modules ' + export FFLAGS + FCFLAGS='-O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -I/usr/lib/gfortran/modules ' + export FCFLAGS + VALAFLAGS=-g + export VALAFLAGS + RUSTFLAGS='-Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none -Cforce-frame-pointers=yes -Clink-arg=-Wl,-z,relro -Clink-arg=-Wl,-z,now --cap-lints=warn' + export RUSTFLAGS + LDFLAGS='-Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -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 + echo pyproject-rpm-macros + echo python3-devel + echo 'python3dist(pip) >= 19' + echo 'python3dist(packaging)' + '[' -f pyproject.toml ']' + '[' -f setup.py ']' + echo 'python3dist(setuptools) >= 40.8' + echo 'python3dist(wheel)' + rm -rfv '*.dist-info/' + '[' -f /usr/bin/python3 ']' + mkdir -p /builddir/build/BUILD/TestSlide-2.7.1/.pyproject-builddir + echo -n + CFLAGS='-O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Werror=implicit-function-declaration -Werror=implicit-int -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer ' + LDFLAGS='-Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 ' + TMPDIR=/builddir/build/BUILD/TestSlide-2.7.1/.pyproject-builddir + RPM_TOXENV=py312 + HOSTNAME=rpmbuild + /usr/bin/python3 -Bs /usr/lib/rpm/redhat/pyproject_buildrequires.py --generate-extras --python3_pkgversion 3 --wheeldir /builddir/build/BUILD/TestSlide-2.7.1/pyproject-wheeldir --output /builddir/build/BUILD/python-TestSlide-2.7.1-1.fc40.noarch-pyproject-buildrequires -r requirements-dev.txt Handling ipython from requirements file requirements-dev.txt Requirement satisfied: ipython (installed: ipython 8.14.0) Handling sphinx from requirements file requirements-dev.txt Requirement satisfied: sphinx (installed: sphinx 7.2.6) Handling sphinx-kr-theme from requirements file requirements-dev.txt Requirement satisfied: sphinx-kr-theme (installed: sphinx-kr-theme 0.2.1) Handling setuptools >= 40.8 from default build backend Requirement satisfied: setuptools >= 40.8 (installed: setuptools 68.2.2) Handling wheel from default build backend Requirement satisfied: wheel (installed: wheel 0.41.2) Handling wheel from get_requires_for_build_wheel Requirement satisfied: wheel (installed: wheel 0.41.2) Handling setuptools>=38.6.0 from get_requires_for_build_wheel Requirement satisfied: setuptools>=38.6.0 (installed: setuptools 68.2.2) running dist_info creating TestSlide.egg-info writing TestSlide.egg-info/PKG-INFO writing dependency_links to TestSlide.egg-info/dependency_links.txt writing entry points to TestSlide.egg-info/entry_points.txt writing requirements to TestSlide.egg-info/requires.txt writing top-level names to TestSlide.egg-info/top_level.txt writing manifest file 'TestSlide.egg-info/SOURCES.txt' reading manifest file 'TestSlide.egg-info/SOURCES.txt' reading manifest template 'MANIFEST.in' adding license file 'LICENSE' writing manifest file 'TestSlide.egg-info/SOURCES.txt' creating '/builddir/build/BUILD/TestSlide-2.7.1/TestSlide-2.7.1.dist-info' Handling psutil >=5.6.7 from hook generated metadata: Requires-Dist (TestSlide) Requirement not satisfied: psutil >=5.6.7 Handling Pygments >=2.2.0 from hook generated metadata: Requires-Dist (TestSlide) Requirement satisfied: Pygments >=2.2.0 (installed: Pygments 2.17.2) Handling typeguard <5.0,>=3.0 from hook generated metadata: Requires-Dist (TestSlide) Requirement not satisfied: typeguard <5.0,>=3.0 Handling dataclasses >=0.6 ; python_version < "3.7" from hook generated metadata: Requires-Dist (TestSlide) Ignoring alien requirement: dataclasses >=0.6 ; python_version < "3.7" Handling ipython ; extra == 'build' from hook generated metadata: Requires-Dist (TestSlide) Ignoring alien requirement: ipython ; extra == 'build' Handling sphinx ; extra == 'build' from hook generated metadata: Requires-Dist (TestSlide) Ignoring alien requirement: sphinx ; extra == 'build' Handling sphinx-kr-theme ; extra == 'build' from hook generated metadata: Requires-Dist (TestSlide) Ignoring alien requirement: sphinx-kr-theme ; extra == 'build' + cat /builddir/build/BUILD/python-TestSlide-2.7.1-1.fc40.noarch-pyproject-buildrequires + rm -rfv TestSlide-2.7.1.dist-info/ removed 'TestSlide-2.7.1.dist-info/LICENSE' removed 'TestSlide-2.7.1.dist-info/entry_points.txt' removed 'TestSlide-2.7.1.dist-info/top_level.txt' removed 'TestSlide-2.7.1.dist-info/METADATA' removed directory 'TestSlide-2.7.1.dist-info/' + RPM_EC=0 ++ jobs -p + exit 0 Wrote: /builddir/build/SRPMS/python-TestSlide-2.7.1-1.fc40.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-TestSlide.spec'], chrootPath='/var/lib/mock/f40-build-2487137-61650/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=864000uid=996gid=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-TestSlide.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 setting SOURCE_DATE_EPOCH=1709337600 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.TWT2N4 + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf TestSlide-2.7.1 + /usr/lib/rpm/rpmuncompress -x /builddir/build/SOURCES/TestSlide-2.7.1.tar.gz + STATUS=0 + '[' 0 -ne 0 ']' + cd TestSlide-2.7.1 + rm -rf /builddir/build/BUILD/TestSlide-2.7.1-SPECPARTS + /usr/bin/mkdir -p /builddir/build/BUILD/TestSlide-2.7.1-SPECPARTS + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + /usr/lib/rpm/rpmuncompress /builddir/build/SOURCES/TestSlide-2.7.1-typeguard-4.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch -f + sed -r -i '/^(black|coverage|coveralls|flake8|isort|mypy|twine)/d' requirements-dev.txt + sed -r -i 's/^([[:blank:]]*)("COVERAGE_PROCESS_START")/\1# \2/' tests/cli_unittest.py + sed -i '/^sphinx-autobuild/d' requirements-dev.txt + RPM_EC=0 ++ jobs -p + exit 0 Executing(%generate_buildrequires): /bin/sh -e /var/tmp/rpm-tmp.gBdpY4 + umask 022 + cd /builddir/build/BUILD + cd TestSlide-2.7.1 + CFLAGS='-O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Werror=implicit-function-declaration -Werror=implicit-int -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer ' + export CFLAGS + CXXFLAGS='-O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer ' + export CXXFLAGS + FFLAGS='-O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -I/usr/lib/gfortran/modules ' + export FFLAGS + FCFLAGS='-O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -I/usr/lib/gfortran/modules ' + export FCFLAGS + VALAFLAGS=-g + export VALAFLAGS + RUSTFLAGS='-Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none -Cforce-frame-pointers=yes -Clink-arg=-Wl,-z,relro -Clink-arg=-Wl,-z,now --cap-lints=warn' + export RUSTFLAGS + LDFLAGS='-Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -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 + echo pyproject-rpm-macros + echo python3-devel + echo 'python3dist(pip) >= 19' + echo 'python3dist(packaging)' + '[' -f pyproject.toml ']' + '[' -f setup.py ']' + echo 'python3dist(setuptools) >= 40.8' + echo 'python3dist(wheel)' + rm -rfv '*.dist-info/' + '[' -f /usr/bin/python3 ']' + mkdir -p /builddir/build/BUILD/TestSlide-2.7.1/.pyproject-builddir + echo -n + CFLAGS='-O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Werror=implicit-function-declaration -Werror=implicit-int -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer ' + LDFLAGS='-Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 ' + TMPDIR=/builddir/build/BUILD/TestSlide-2.7.1/.pyproject-builddir + RPM_TOXENV=py312 + HOSTNAME=rpmbuild + /usr/bin/python3 -Bs /usr/lib/rpm/redhat/pyproject_buildrequires.py --generate-extras --python3_pkgversion 3 --wheeldir /builddir/build/BUILD/TestSlide-2.7.1/pyproject-wheeldir --output /builddir/build/BUILD/python-TestSlide-2.7.1-1.fc40.noarch-pyproject-buildrequires -r requirements-dev.txt Handling ipython from requirements file requirements-dev.txt Requirement satisfied: ipython (installed: ipython 8.14.0) Handling sphinx from requirements file requirements-dev.txt Requirement satisfied: sphinx (installed: sphinx 7.2.6) Handling sphinx-kr-theme from requirements file requirements-dev.txt Requirement satisfied: sphinx-kr-theme (installed: sphinx-kr-theme 0.2.1) Handling setuptools >= 40.8 from default build backend Requirement satisfied: setuptools >= 40.8 (installed: setuptools 68.2.2) Handling wheel from default build backend Requirement satisfied: wheel (installed: wheel 0.41.2) Handling wheel from get_requires_for_build_wheel Requirement satisfied: wheel (installed: wheel 0.41.2) Handling setuptools>=38.6.0 from get_requires_for_build_wheel Requirement satisfied: setuptools>=38.6.0 (installed: setuptools 68.2.2) running dist_info creating TestSlide.egg-info writing TestSlide.egg-info/PKG-INFO writing dependency_links to TestSlide.egg-info/dependency_links.txt writing entry points to TestSlide.egg-info/entry_points.txt writing requirements to TestSlide.egg-info/requires.txt writing top-level names to TestSlide.egg-info/top_level.txt writing manifest file 'TestSlide.egg-info/SOURCES.txt' reading manifest file 'TestSlide.egg-info/SOURCES.txt' reading manifest template 'MANIFEST.in' adding license file 'LICENSE' writing manifest file 'TestSlide.egg-info/SOURCES.txt' creating '/builddir/build/BUILD/TestSlide-2.7.1/TestSlide-2.7.1.dist-info' Handling psutil >=5.6.7 from hook generated metadata: Requires-Dist (TestSlide) Requirement satisfied: psutil >=5.6.7 (installed: psutil 5.9.5) Handling Pygments >=2.2.0 from hook generated metadata: Requires-Dist (TestSlide) Requirement satisfied: Pygments >=2.2.0 (installed: Pygments 2.17.2) Handling typeguard <5.0,>=3.0 from hook generated metadata: Requires-Dist (TestSlide) Requirement satisfied: typeguard <5.0,>=3.0 (installed: typeguard 4.1.5) Handling dataclasses >=0.6 ; python_version < "3.7" from hook generated metadata: Requires-Dist (TestSlide) Ignoring alien requirement: dataclasses >=0.6 ; python_version < "3.7" Handling ipython ; extra == 'build' from hook generated metadata: Requires-Dist (TestSlide) Ignoring alien requirement: ipython ; extra == 'build' Handling sphinx ; extra == 'build' from hook generated metadata: Requires-Dist (TestSlide) Ignoring alien requirement: sphinx ; extra == 'build' Handling sphinx-kr-theme ; extra == 'build' from hook generated metadata: Requires-Dist (TestSlide) Ignoring alien requirement: sphinx-kr-theme ; extra == 'build' + cat /builddir/build/BUILD/python-TestSlide-2.7.1-1.fc40.noarch-pyproject-buildrequires + rm -rfv TestSlide-2.7.1.dist-info/ removed 'TestSlide-2.7.1.dist-info/LICENSE' removed 'TestSlide-2.7.1.dist-info/entry_points.txt' removed 'TestSlide-2.7.1.dist-info/top_level.txt' removed 'TestSlide-2.7.1.dist-info/METADATA' removed directory 'TestSlide-2.7.1.dist-info/' + RPM_EC=0 ++ jobs -p + exit 0 Wrote: /builddir/build/SRPMS/python-TestSlide-2.7.1-1.fc40.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-TestSlide.spec'], chrootPath='/var/lib/mock/f40-build-2487137-61650/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=864000uid=996gid=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-TestSlide.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 setting SOURCE_DATE_EPOCH=1709337600 Executing(%generate_buildrequires): /bin/sh -e /var/tmp/rpm-tmp.PbT9Np + umask 022 + cd /builddir/build/BUILD + cd TestSlide-2.7.1 + CFLAGS='-O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Werror=implicit-function-declaration -Werror=implicit-int -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer ' + export CFLAGS + CXXFLAGS='-O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer ' + export CXXFLAGS + FFLAGS='-O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -I/usr/lib/gfortran/modules ' + export FFLAGS + FCFLAGS='-O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -I/usr/lib/gfortran/modules ' + export FCFLAGS + VALAFLAGS=-g + export VALAFLAGS + RUSTFLAGS='-Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none -Cforce-frame-pointers=yes -Clink-arg=-Wl,-z,relro -Clink-arg=-Wl,-z,now --cap-lints=warn' + export RUSTFLAGS + LDFLAGS='-Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -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 + echo pyproject-rpm-macros + echo python3-devel + echo 'python3dist(pip) >= 19' + echo 'python3dist(packaging)' + '[' -f pyproject.toml ']' + '[' -f setup.py ']' + echo 'python3dist(setuptools) >= 40.8' + echo 'python3dist(wheel)' + rm -rfv '*.dist-info/' + '[' -f /usr/bin/python3 ']' + mkdir -p /builddir/build/BUILD/TestSlide-2.7.1/.pyproject-builddir + echo -n + CFLAGS='-O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Werror=implicit-function-declaration -Werror=implicit-int -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer ' + LDFLAGS='-Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 ' + TMPDIR=/builddir/build/BUILD/TestSlide-2.7.1/.pyproject-builddir + RPM_TOXENV=py312 + HOSTNAME=rpmbuild + /usr/bin/python3 -Bs /usr/lib/rpm/redhat/pyproject_buildrequires.py --generate-extras --python3_pkgversion 3 --wheeldir /builddir/build/BUILD/TestSlide-2.7.1/pyproject-wheeldir --output /builddir/build/BUILD/python-TestSlide-2.7.1-1.fc40.noarch-pyproject-buildrequires -r requirements-dev.txt Handling ipython from requirements file requirements-dev.txt Requirement satisfied: ipython (installed: ipython 8.14.0) Handling sphinx from requirements file requirements-dev.txt Requirement satisfied: sphinx (installed: sphinx 7.2.6) Handling sphinx-kr-theme from requirements file requirements-dev.txt Requirement satisfied: sphinx-kr-theme (installed: sphinx-kr-theme 0.2.1) Handling setuptools >= 40.8 from default build backend Requirement satisfied: setuptools >= 40.8 (installed: setuptools 68.2.2) Handling wheel from default build backend Requirement satisfied: wheel (installed: wheel 0.41.2) Handling wheel from get_requires_for_build_wheel Requirement satisfied: wheel (installed: wheel 0.41.2) Handling setuptools>=38.6.0 from get_requires_for_build_wheel Requirement satisfied: setuptools>=38.6.0 (installed: setuptools 68.2.2) running dist_info writing TestSlide.egg-info/PKG-INFO writing dependency_links to TestSlide.egg-info/dependency_links.txt writing entry points to TestSlide.egg-info/entry_points.txt writing requirements to TestSlide.egg-info/requires.txt writing top-level names to TestSlide.egg-info/top_level.txt reading manifest file 'TestSlide.egg-info/SOURCES.txt' reading manifest template 'MANIFEST.in' adding license file 'LICENSE' writing manifest file 'TestSlide.egg-info/SOURCES.txt' creating '/builddir/build/BUILD/TestSlide-2.7.1/TestSlide-2.7.1.dist-info' Handling psutil >=5.6.7 from hook generated metadata: Requires-Dist (TestSlide) Requirement satisfied: psutil >=5.6.7 (installed: psutil 5.9.5) Handling Pygments >=2.2.0 from hook generated metadata: Requires-Dist (TestSlide) Requirement satisfied: Pygments >=2.2.0 (installed: Pygments 2.17.2) Handling typeguard <5.0,>=3.0 from hook generated metadata: Requires-Dist (TestSlide) Requirement satisfied: typeguard <5.0,>=3.0 (installed: typeguard 4.1.5) Handling dataclasses >=0.6 ; python_version < "3.7" from hook generated metadata: Requires-Dist (TestSlide) Ignoring alien requirement: dataclasses >=0.6 ; python_version < "3.7" Handling ipython ; extra == 'build' from hook generated metadata: Requires-Dist (TestSlide) Ignoring alien requirement: ipython ; extra == 'build' Handling sphinx ; extra == 'build' from hook generated metadata: Requires-Dist (TestSlide) Ignoring alien requirement: sphinx ; extra == 'build' Handling sphinx-kr-theme ; extra == 'build' from hook generated metadata: Requires-Dist (TestSlide) Ignoring alien requirement: sphinx-kr-theme ; extra == 'build' + cat /builddir/build/BUILD/python-TestSlide-2.7.1-1.fc40.noarch-pyproject-buildrequires + rm -rfv TestSlide-2.7.1.dist-info/ removed 'TestSlide-2.7.1.dist-info/LICENSE' removed 'TestSlide-2.7.1.dist-info/entry_points.txt' removed 'TestSlide-2.7.1.dist-info/top_level.txt' removed 'TestSlide-2.7.1.dist-info/METADATA' removed directory 'TestSlide-2.7.1.dist-info/' + RPM_EC=0 ++ jobs -p + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.v5zZ4n + umask 022 + cd /builddir/build/BUILD + CFLAGS='-O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Werror=implicit-function-declaration -Werror=implicit-int -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer ' + export CFLAGS + CXXFLAGS='-O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer ' + export CXXFLAGS + FFLAGS='-O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -I/usr/lib/gfortran/modules ' + export FFLAGS + FCFLAGS='-O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -I/usr/lib/gfortran/modules ' + export FCFLAGS + VALAFLAGS=-g + export VALAFLAGS + RUSTFLAGS='-Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none -Cforce-frame-pointers=yes -Clink-arg=-Wl,-z,relro -Clink-arg=-Wl,-z,now --cap-lints=warn' + export RUSTFLAGS + LDFLAGS='-Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -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 TestSlide-2.7.1 + mkdir -p /builddir/build/BUILD/TestSlide-2.7.1/.pyproject-builddir + CFLAGS='-O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Werror=implicit-function-declaration -Werror=implicit-int -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer ' + LDFLAGS='-Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 ' + TMPDIR=/builddir/build/BUILD/TestSlide-2.7.1/.pyproject-builddir + /usr/bin/python3 -Bs /usr/lib/rpm/redhat/pyproject_wheel.py /builddir/build/BUILD/TestSlide-2.7.1/pyproject-wheeldir Processing /builddir/build/BUILD/TestSlide-2.7.1 Preparing metadata (pyproject.toml): started Running command Preparing metadata (pyproject.toml) running dist_info creating /builddir/build/BUILD/TestSlide-2.7.1/.pyproject-builddir/pip-modern-metadata-oyu8ljux/TestSlide.egg-info writing /builddir/build/BUILD/TestSlide-2.7.1/.pyproject-builddir/pip-modern-metadata-oyu8ljux/TestSlide.egg-info/PKG-INFO writing dependency_links to /builddir/build/BUILD/TestSlide-2.7.1/.pyproject-builddir/pip-modern-metadata-oyu8ljux/TestSlide.egg-info/dependency_links.txt writing entry points to /builddir/build/BUILD/TestSlide-2.7.1/.pyproject-builddir/pip-modern-metadata-oyu8ljux/TestSlide.egg-info/entry_points.txt writing requirements to /builddir/build/BUILD/TestSlide-2.7.1/.pyproject-builddir/pip-modern-metadata-oyu8ljux/TestSlide.egg-info/requires.txt writing top-level names to /builddir/build/BUILD/TestSlide-2.7.1/.pyproject-builddir/pip-modern-metadata-oyu8ljux/TestSlide.egg-info/top_level.txt writing manifest file '/builddir/build/BUILD/TestSlide-2.7.1/.pyproject-builddir/pip-modern-metadata-oyu8ljux/TestSlide.egg-info/SOURCES.txt' reading manifest file '/builddir/build/BUILD/TestSlide-2.7.1/.pyproject-builddir/pip-modern-metadata-oyu8ljux/TestSlide.egg-info/SOURCES.txt' reading manifest template 'MANIFEST.in' adding license file 'LICENSE' writing manifest file '/builddir/build/BUILD/TestSlide-2.7.1/.pyproject-builddir/pip-modern-metadata-oyu8ljux/TestSlide.egg-info/SOURCES.txt' creating '/builddir/build/BUILD/TestSlide-2.7.1/.pyproject-builddir/pip-modern-metadata-oyu8ljux/TestSlide-2.7.1.dist-info' Preparing metadata (pyproject.toml): finished with status 'done' Building wheels for collected packages: TestSlide Building wheel for TestSlide (pyproject.toml): started Running command Building wheel for TestSlide (pyproject.toml) running bdist_wheel running build running build_py creating build creating build/lib creating build/lib/testslide copying testslide/patch.py -> build/lib/testslide copying testslide/runner.py -> build/lib/testslide copying testslide/lib.py -> build/lib/testslide copying testslide/strict_mock.py -> build/lib/testslide copying testslide/mock_constructor.py -> build/lib/testslide copying testslide/mock_callable.py -> build/lib/testslide copying testslide/dsl.py -> build/lib/testslide copying testslide/patch_attribute.py -> build/lib/testslide copying testslide/cli.py -> build/lib/testslide copying testslide/matchers.py -> build/lib/testslide copying testslide/import_profiler.py -> build/lib/testslide copying testslide/__init__.py -> build/lib/testslide copying testslide/py.typed -> build/lib/testslide installing to build/bdist.linux-riscv64/wheel running install running install_lib creating build/bdist.linux-riscv64 creating build/bdist.linux-riscv64/wheel creating build/bdist.linux-riscv64/wheel/testslide copying build/lib/testslide/patch.py -> build/bdist.linux-riscv64/wheel/testslide copying build/lib/testslide/runner.py -> build/bdist.linux-riscv64/wheel/testslide copying build/lib/testslide/lib.py -> build/bdist.linux-riscv64/wheel/testslide copying build/lib/testslide/strict_mock.py -> build/bdist.linux-riscv64/wheel/testslide copying build/lib/testslide/mock_constructor.py -> build/bdist.linux-riscv64/wheel/testslide copying build/lib/testslide/mock_callable.py -> build/bdist.linux-riscv64/wheel/testslide copying build/lib/testslide/dsl.py -> build/bdist.linux-riscv64/wheel/testslide copying build/lib/testslide/patch_attribute.py -> build/bdist.linux-riscv64/wheel/testslide copying build/lib/testslide/cli.py -> build/bdist.linux-riscv64/wheel/testslide copying build/lib/testslide/matchers.py -> build/bdist.linux-riscv64/wheel/testslide copying build/lib/testslide/py.typed -> build/bdist.linux-riscv64/wheel/testslide copying build/lib/testslide/import_profiler.py -> build/bdist.linux-riscv64/wheel/testslide copying build/lib/testslide/__init__.py -> build/bdist.linux-riscv64/wheel/testslide running install_egg_info running egg_info writing TestSlide.egg-info/PKG-INFO writing dependency_links to TestSlide.egg-info/dependency_links.txt writing entry points to TestSlide.egg-info/entry_points.txt writing requirements to TestSlide.egg-info/requires.txt writing top-level names to TestSlide.egg-info/top_level.txt reading manifest file 'TestSlide.egg-info/SOURCES.txt' reading manifest template 'MANIFEST.in' adding license file 'LICENSE' writing manifest file 'TestSlide.egg-info/SOURCES.txt' Copying TestSlide.egg-info to build/bdist.linux-riscv64/wheel/TestSlide-2.7.1-py3.12.egg-info running install_scripts creating build/bdist.linux-riscv64/wheel/TestSlide-2.7.1.dist-info/WHEEL creating '/builddir/build/BUILD/TestSlide-2.7.1/.pyproject-builddir/pip-wheel-j_kwj357/.tmp-4bt8o23b/TestSlide-2.7.1-py3-none-any.whl' and adding 'build/bdist.linux-riscv64/wheel' to it adding 'testslide/__init__.py' adding 'testslide/cli.py' adding 'testslide/dsl.py' adding 'testslide/import_profiler.py' adding 'testslide/lib.py' adding 'testslide/matchers.py' adding 'testslide/mock_callable.py' adding 'testslide/mock_constructor.py' adding 'testslide/patch.py' adding 'testslide/patch_attribute.py' adding 'testslide/py.typed' adding 'testslide/runner.py' adding 'testslide/strict_mock.py' adding 'TestSlide-2.7.1.dist-info/LICENSE' adding 'TestSlide-2.7.1.dist-info/METADATA' adding 'TestSlide-2.7.1.dist-info/WHEEL' adding 'TestSlide-2.7.1.dist-info/entry_points.txt' adding 'TestSlide-2.7.1.dist-info/top_level.txt' adding 'TestSlide-2.7.1.dist-info/RECORD' removing build/bdist.linux-riscv64/wheel Building wheel for TestSlide (pyproject.toml): finished with status 'done' Created wheel for TestSlide: filename=TestSlide-2.7.1-py3-none-any.whl size=54442 sha256=e1a67be5c6add8345100a86e9c625964a768c6a21ae8a119fbcdfa328c0d2312 Stored in directory: /builddir/.cache/pip/wheels/08/00/bd/f9e70b918842af9f60fef9c0a1c026f9ced9423397a070e3fc Successfully built TestSlide + make docs V=1 DOCS make -C docs/ html make[1]: Entering directory '/builddir/build/BUILD/TestSlide-2.7.1/docs' Running Sphinx v7.2.6 making output directory... done building [mo]: targets for 0 po files that are out of date writing output... building [html]: targets for 19 source files that are out of date updating environment: [new config] 19 added, 0 changed, 0 removed reading sources... [ 5%] code_snippets/index reading sources... [ 11%] index reading sources... [ 16%] patching/argument_matchers/index reading sources... [ 21%] patching/cheat_sheet/index reading sources... [ 26%] patching/index reading sources... [ 32%] patching/mock_async_callable/index reading sources... [ 37%] patching/mock_callable/index reading sources... [ 42%] patching/mock_constructor/index reading sources... [ 47%] patching/patch_attribute/index reading sources... [ 53%] strict_mock/index reading sources... [ 58%] test_runner/index reading sources... [ 63%] testslide_dsl/async_support/index reading sources... [ 68%] testslide_dsl/context_attributes_and_functions/index reading sources... [ 74%] testslide_dsl/context_hooks/index reading sources... [ 79%] testslide_dsl/contexts_and_examples/index reading sources... [ 84%] testslide_dsl/index reading sources... [ 89%] testslide_dsl/shared_contexts/index reading sources... [ 95%] testslide_dsl/skip_and_focus/index reading sources... [100%] testslide_dsl/unittest_testcase_integration/index looking for now-outdated files... none found pickling environment... done checking consistency... done preparing documents... done copying assets... copying static files... done copying extra files... done done writing output... [ 5%] code_snippets/index writing output... [ 11%] index writing output... [ 16%] patching/argument_matchers/index writing output... [ 21%] patching/cheat_sheet/index writing output... [ 26%] patching/index writing output... [ 32%] patching/mock_async_callable/index writing output... [ 37%] patching/mock_callable/index writing output... [ 42%] patching/mock_constructor/index writing output... [ 47%] patching/patch_attribute/index writing output... [ 53%] strict_mock/index writing output... [ 58%] test_runner/index writing output... [ 63%] testslide_dsl/async_support/index writing output... [ 68%] testslide_dsl/context_attributes_and_functions/index writing output... [ 74%] testslide_dsl/context_hooks/index writing output... [ 79%] testslide_dsl/contexts_and_examples/index writing output... [ 84%] testslide_dsl/index writing output... [ 89%] testslide_dsl/shared_contexts/index writing output... [ 95%] testslide_dsl/skip_and_focus/index writing output... [100%] testslide_dsl/unittest_testcase_integration/index generating indices... genindex done writing additional pages... search done copying images... [ 50%] test_fail.png copying images... [100%] test_pass.png dumping search index in English (code: en)... done dumping object inventory... done build succeeded. The HTML pages are in _build/html. make[1]: Leaving directory '/builddir/build/BUILD/TestSlide-2.7.1/docs' + RPM_EC=0 ++ jobs -p + exit 0 Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.RtrCZp + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/python-TestSlide-2.7.1-1.fc40.noarch '!=' / ']' + rm -rf /builddir/build/BUILDROOT/python-TestSlide-2.7.1-1.fc40.noarch ++ dirname /builddir/build/BUILDROOT/python-TestSlide-2.7.1-1.fc40.noarch + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/python-TestSlide-2.7.1-1.fc40.noarch + CFLAGS='-O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Werror=implicit-function-declaration -Werror=implicit-int -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer ' + export CFLAGS + CXXFLAGS='-O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer ' + export CXXFLAGS + FFLAGS='-O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -I/usr/lib/gfortran/modules ' + export FFLAGS + FCFLAGS='-O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -I/usr/lib/gfortran/modules ' + export FCFLAGS + VALAFLAGS=-g + export VALAFLAGS + RUSTFLAGS='-Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none -Cforce-frame-pointers=yes -Clink-arg=-Wl,-z,relro -Clink-arg=-Wl,-z,now --cap-lints=warn' + export RUSTFLAGS + LDFLAGS='-Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -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 TestSlide-2.7.1 ++ xargs basename --multiple ++ ls /builddir/build/BUILD/TestSlide-2.7.1/pyproject-wheeldir/TestSlide-2.7.1-py3-none-any.whl ++ sed -E 's/([^-]+)-([^-]+)-.+\.whl/\1==\2/' + specifier=TestSlide==2.7.1 + '[' -z TestSlide==2.7.1 ']' + TMPDIR=/builddir/build/BUILD/TestSlide-2.7.1/.pyproject-builddir + /usr/bin/python3 -m pip install --root /builddir/build/BUILDROOT/python-TestSlide-2.7.1-1.fc40.noarch --prefix /usr --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/TestSlide-2.7.1/pyproject-wheeldir TestSlide==2.7.1 Using pip 23.3.2 from /usr/lib/python3.12/site-packages/pip (python 3.12) Looking in links: /builddir/build/BUILD/TestSlide-2.7.1/pyproject-wheeldir Processing ./pyproject-wheeldir/TestSlide-2.7.1-py3-none-any.whl Installing collected packages: TestSlide Creating /builddir/build/BUILDROOT/python-TestSlide-2.7.1-1.fc40.noarch/usr/bin changing mode of /builddir/build/BUILDROOT/python-TestSlide-2.7.1-1.fc40.noarch/usr/bin/testslide to 755 Successfully installed TestSlide-2.7.1 + '[' -d /builddir/build/BUILDROOT/python-TestSlide-2.7.1-1.fc40.noarch/usr/bin ']' + '[' -z sP ']' + shebang_flags=-kasP + /usr/bin/python3 -B /usr/lib/rpm/redhat/pathfix.py -pni /usr/bin/python3 -kasP /builddir/build/BUILDROOT/python-TestSlide-2.7.1-1.fc40.noarch/usr/bin/testslide /builddir/build/BUILDROOT/python-TestSlide-2.7.1-1.fc40.noarch/usr/bin/testslide: updating + rm -rfv /builddir/build/BUILDROOT/python-TestSlide-2.7.1-1.fc40.noarch/usr/bin/__pycache__ + rm -f /builddir/build/BUILD/python-TestSlide-2.7.1-1.fc40.noarch-pyproject-ghost-distinfo + site_dirs=() + '[' -d /builddir/build/BUILDROOT/python-TestSlide-2.7.1-1.fc40.noarch/usr/lib/python3.12/site-packages ']' + site_dirs+=("/usr/lib/python3.12/site-packages") + '[' /builddir/build/BUILDROOT/python-TestSlide-2.7.1-1.fc40.noarch/usr/lib64/python3.12/site-packages '!=' /builddir/build/BUILDROOT/python-TestSlide-2.7.1-1.fc40.noarch/usr/lib/python3.12/site-packages ']' + '[' -d /builddir/build/BUILDROOT/python-TestSlide-2.7.1-1.fc40.noarch/usr/lib64/python3.12/site-packages ']' + for site_dir in ${site_dirs[@]} + for distinfo in /builddir/build/BUILDROOT/python-TestSlide-2.7.1-1.fc40.noarch$site_dir/*.dist-info + echo '%ghost /usr/lib/python3.12/site-packages/TestSlide-2.7.1.dist-info' + sed -i s/pip/rpm/ /builddir/build/BUILDROOT/python-TestSlide-2.7.1-1.fc40.noarch/usr/lib/python3.12/site-packages/TestSlide-2.7.1.dist-info/INSTALLER + PYTHONPATH=/usr/lib/rpm/redhat + /usr/bin/python3 -B /usr/lib/rpm/redhat/pyproject_preprocess_record.py --buildroot /builddir/build/BUILDROOT/python-TestSlide-2.7.1-1.fc40.noarch --record /builddir/build/BUILDROOT/python-TestSlide-2.7.1-1.fc40.noarch/usr/lib/python3.12/site-packages/TestSlide-2.7.1.dist-info/RECORD --output /builddir/build/BUILD/python-TestSlide-2.7.1-1.fc40.noarch-pyproject-record + rm -fv /builddir/build/BUILDROOT/python-TestSlide-2.7.1-1.fc40.noarch/usr/lib/python3.12/site-packages/TestSlide-2.7.1.dist-info/RECORD removed '/builddir/build/BUILDROOT/python-TestSlide-2.7.1-1.fc40.noarch/usr/lib/python3.12/site-packages/TestSlide-2.7.1.dist-info/RECORD' + rm -fv /builddir/build/BUILDROOT/python-TestSlide-2.7.1-1.fc40.noarch/usr/lib/python3.12/site-packages/TestSlide-2.7.1.dist-info/REQUESTED removed '/builddir/build/BUILDROOT/python-TestSlide-2.7.1-1.fc40.noarch/usr/lib/python3.12/site-packages/TestSlide-2.7.1.dist-info/REQUESTED' ++ wc -l /builddir/build/BUILD/python-TestSlide-2.7.1-1.fc40.noarch-pyproject-ghost-distinfo ++ cut -f1 '-d ' + lines=1 + '[' 1 -ne 1 ']' + RPM_PERCENTAGES_COUNT=2 + /usr/bin/python3 /usr/lib/rpm/redhat/pyproject_save_files.py --output-files /builddir/build/BUILD/python-TestSlide-2.7.1-1.fc40.noarch-pyproject-files --output-modules /builddir/build/BUILD/python-TestSlide-2.7.1-1.fc40.noarch-pyproject-modules --buildroot /builddir/build/BUILDROOT/python-TestSlide-2.7.1-1.fc40.noarch --sitelib /usr/lib/python3.12/site-packages --sitearch /usr/lib64/python3.12/site-packages --python-version 3.12 --pyproject-record /builddir/build/BUILD/python-TestSlide-2.7.1-1.fc40.noarch-pyproject-record --prefix /usr testslide + /usr/bin/find-debuginfo -j8 --strict-build-id -m -i --build-id-seed 2.7.1-1.fc40 --unique-debug-suffix -2.7.1-1.fc40.noarch --unique-debug-src-base python-TestSlide-2.7.1-1.fc40.noarch --run-dwz --dwz-low-mem-die-limit 10000000 --dwz-max-die-limit 50000000 -S debugsourcefiles.list /builddir/build/BUILD/TestSlide-2.7.1 find-debuginfo: starting Extracting debug info from 0 files Creating .debug symlinks for symlinks to ELF files find: ‘debug’: No such file or directory find-debuginfo: done + /usr/lib/rpm/check-buildroot + /usr/lib/rpm/redhat/brp-ldconfig + /usr/lib/rpm/brp-compress + /usr/lib/rpm/redhat/brp-strip-lto /usr/bin/strip + /usr/lib/rpm/brp-strip-static-archive /usr/bin/strip + /usr/lib/rpm/check-rpaths + /usr/lib/rpm/redhat/brp-mangle-shebangs + /usr/lib/rpm/brp-remove-la-files + env /usr/lib/rpm/redhat/brp-python-bytecompile '' 1 0 -j8 Bytecompiling .py files below /builddir/build/BUILDROOT/python-TestSlide-2.7.1-1.fc40.noarch/usr/lib/python3.12 using python3.12 + /usr/lib/rpm/redhat/brp-python-hardlink Executing(%check): /bin/sh -e /var/tmp/rpm-tmp.mDf1lP + umask 022 + cd /builddir/build/BUILD + CFLAGS='-O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Werror=implicit-function-declaration -Werror=implicit-int -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer ' + export CFLAGS + CXXFLAGS='-O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer ' + export CXXFLAGS + FFLAGS='-O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -I/usr/lib/gfortran/modules ' + export FFLAGS + FCFLAGS='-O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -I/usr/lib/gfortran/modules ' + export FCFLAGS + VALAFLAGS=-g + export VALAFLAGS + RUSTFLAGS='-Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none -Cforce-frame-pointers=yes -Clink-arg=-Wl,-z,relro -Clink-arg=-Wl,-z,now --cap-lints=warn' + export RUSTFLAGS + LDFLAGS='-Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -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 TestSlide-2.7.1 + CFLAGS='-O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Werror=implicit-function-declaration -Werror=implicit-int -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer ' + LDFLAGS='-Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 ' + PATH=/builddir/build/BUILDROOT/python-TestSlide-2.7.1-1.fc40.noarch/usr/bin:/usr/bin:/bin:/usr/sbin:/sbin:/usr/local/sbin + PYTHONPATH=/builddir/build/BUILDROOT/python-TestSlide-2.7.1-1.fc40.noarch/usr/lib64/python3.12/site-packages:/builddir/build/BUILDROOT/python-TestSlide-2.7.1-1.fc40.noarch/usr/lib/python3.12/site-packages + PYTHONDONTWRITEBYTECODE=1 + PYTEST_ADDOPTS=' --ignore=/builddir/build/BUILD/TestSlide-2.7.1/.pyproject-builddir' + PYTEST_XDIST_AUTO_NUM_WORKERS=8 + /usr/bin/pytest tests/accept_any_arg_unittest.py tests/cli_unittest.py tests/dsl_unittest.py tests/matchers_unittest.py tests/pep487_unittest.py tests/testcase_unittest.py tests/lib_testslide.py tests/mock_async_callable_testslide.py tests/mock_callable_testslide.py tests/mock_constructor_testslide.py tests/patch_attribute_testslide.py tests/strict_mock_testslide.py ============================= test session starts ============================== platform linux -- Python 3.12.0, pytest-7.3.2, pluggy-1.3.0 rootdir: /builddir/build/BUILD/TestSlide-2.7.1 plugins: typeguard-4.1.5 collected 169 items tests/accept_any_arg_unittest.py ...... [ 3%] tests/cli_unittest.py .................................... [ 24%] tests/dsl_unittest.py .................................................. [ 54%] ..............................F... [ 74%] tests/matchers_unittest.py ..................................... [ 96%] tests/pep487_unittest.py . [ 97%] tests/testcase_unittest.py ..... [100%] =================================== FAILURES =================================== ____ TestMockAsyncCallableIntegration.test_mock_async_callable_integration _____ self = AggregatedExceptions() @contextmanager def catch(self) -> Iterator[None]: try: > yield testslide/__init__.py:259: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ @contextlib.contextmanager def _raise_if_asyncio_warnings( self, context_data: _ContextData, slow_callback_is_not_fatal: bool = False ) -> Iterator[None]: original_showwarning = warnings.showwarning caught_failures: List[Union[Exception, str]] = [] def showwarning( message: str, category: Type[Warning], filename: str, lineno: int, file: Optional[TextIO] = None, line: Optional[str] = None, ) -> None: failure_warning_messages: Dict[Any, str] = { RuntimeWarning: "^coroutine '.+' was never awaited" } warning_class = type(message) pattern = failure_warning_messages.get(warning_class, None) if pattern and re.compile(pattern).match(str(message)): caught_failures.append(message) else: original_showwarning(message, category, filename, lineno, file, line) warnings.showwarning = showwarning # type: ignore original_logger_warning = asyncio.log.logger.warning def logger_warning(msg: str, *args: Any, **kwargs: Any) -> None: if re.compile("^Executing .+ took .+ seconds$").match(str(msg)): msg = ( f"{msg}\n" "During the execution of the async test a slow callback " "that blocked the event loop was detected.\n" "Tip: you can customize the detection threshold with:\n" " asyncio.get_running_loop().slow_callback_duration = seconds" ) caught_failures.append(SlowCallback(msg % args)) else: original_logger_warning(msg, *args, **kwargs) if not slow_callback_is_not_fatal: asyncio.log.logger.warning = logger_warning # type: ignore aggregated_exceptions = AggregatedExceptions() try: with aggregated_exceptions.catch(): > yield testslide/__init__.py:443: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ def _async_run_all_hooks_and_example(self, context_data: _ContextData) -> None: coro = self._real_async_run_all_hooks_and_example(context_data) with self._raise_if_asyncio_warnings( context_data, self.slow_callback_is_not_fatal ): > asyncio_run(coro) testslide/__init__.py:457: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ main = def run(main, *, debug=None, loop_factory=None): """Execute the coroutine and return the result. This function runs the passed coroutine, taking care of managing the asyncio event loop, finalizing asynchronous generators and closing the default executor. This function cannot be called when another asyncio event loop is running in the same thread. If debug is True, the event loop will be run in debug mode. This function always creates a new event loop and closes it at the end. It should be used as a main entry point for asyncio programs, and should ideally only be called once. The executor is given a timeout duration of 5 minutes to shutdown. If the executor hasn't finished within that duration, a warning is emitted and the executor is closed. Example: async def main(): await asyncio.sleep(1) print('hello') asyncio.run(main()) """ if events._get_running_loop() is not None: # fail fast with short traceback raise RuntimeError( "asyncio.run() cannot be called from a running event loop") with Runner(debug=debug, loop_factory=loop_factory) as runner: > return runner.run(main) /usr/lib64/python3.12/asyncio/runners.py:194: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = coro = def run(self, coro, *, context=None): """Run a coroutine inside the embedded event loop.""" if not coroutines.iscoroutine(coro): raise ValueError("a coroutine was expected, got {!r}".format(coro)) if events._get_running_loop() is not None: # fail fast with short traceback raise RuntimeError( "Runner.run() cannot be called from a running event loop") self._lazy_init() if context is None: context = self._context task = self._loop.create_task(coro, context=context) if (threading.current_thread() is threading.main_thread() and signal.getsignal(signal.SIGINT) is signal.default_int_handler ): sigint_handler = functools.partial(self._on_sigint, main_task=task) try: signal.signal(signal.SIGINT, sigint_handler) except ValueError: # `signal.signal` may throw if `threading.main_thread` does # not support signals (e.g. embedded interpreter with signals # not registered - see gh-91880) sigint_handler = None else: sigint_handler = None self._interrupt_count = 0 try: > return self._loop.run_until_complete(task) /usr/lib64/python3.12/asyncio/runners.py:118: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = <_UnixSelectorEventLoop running=False closed=True debug=True> future = def run_until_complete(self, future): """Run until the Future is done. If the argument is a coroutine, it is wrapped in a Task. WARNING: It would be disastrous to call run_until_complete() with the same coroutine twice -- it would wrap it in two different Tasks and that can't be good. Return the Future's result, or raise its exception. """ self._check_closed() self._check_running() new_task = not futures.isfuture(future) future = tasks.ensure_future(future, loop=self) if new_task: # An exception is raised if the future didn't complete, so there # is no need to log the "destroy pending task" message future._log_destroy_pending = False future.add_done_callback(_run_until_complete_cb) try: self.run_forever() except: if new_task and future.done() and not future.cancelled(): # The coroutine raised a BaseException. Consume the exception # to not log a warning, the caller doesn't have access to the # local task. future.exception() raise finally: future.remove_done_callback(_run_until_complete_cb) if not future.done(): raise RuntimeError('Event loop stopped before Future completed.') > return future.result() /usr/lib64/python3.12/asyncio/base_events.py:664: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = context_data = around_functions = [] async def _real_async_run_all_hooks_and_example( self, context_data: _ContextData, around_functions: Optional[List[Callable]] = None, ) -> None: """ *********************************************************************** *********************************************************************** WARNING *********************************************************************** *********************************************************************** This function **MUST** be keep the exact same execution flow of _sync_run_all_hooks_and_example()!!! """ if around_functions is None: around_functions = list(reversed(self.example.context.all_around_functions)) if not around_functions: aggregated_exceptions = AggregatedExceptions() with aggregated_exceptions.catch(): for before_code in self.example.context.all_before_functions: if hasattr(before_code, "_memoize_before_code"): self.formatter.dsl_memoize_before( self.example, before_code._memoize_before_code ) else: self.formatter.dsl_before(self.example, before_code) await self._fail_if_not_coroutine_function( before_code, context_data ) self.formatter.dsl_example(self.example, self.example.code) await _async_ensure_no_leaked_tasks( self._fail_if_not_coroutine_function( self.example.code, context_data ) ) after_functions: List[Callable] = [] after_functions.extend(context_data._mock_callable_after_functions) after_functions.extend(self.example.context.all_after_functions) after_functions.extend(context_data._after_functions) for after_code in reversed(after_functions): with aggregated_exceptions.catch(): self.formatter.dsl_after(self.example, after_code) await self._fail_if_not_coroutine_function(after_code, context_data) > aggregated_exceptions.raise_correct_exception() testslide/__init__.py:370: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = AggregatedExceptions() def raise_correct_exception(self) -> None: if not self.exceptions: return ex_types = {type(ex) for ex in self.exceptions} if Skip in ex_types or unittest.SkipTest in ex_types: raise Skip() elif len(self.exceptions) == 1: > raise self.exceptions[0] testslide/__init__.py:275: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = AggregatedExceptions() @contextmanager def catch(self) -> Iterator[None]: try: > yield testslide/__init__.py:259: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = context_data = around_functions = [] async def _real_async_run_all_hooks_and_example( self, context_data: _ContextData, around_functions: Optional[List[Callable]] = None, ) -> None: """ *********************************************************************** *********************************************************************** WARNING *********************************************************************** *********************************************************************** This function **MUST** be keep the exact same execution flow of _sync_run_all_hooks_and_example()!!! """ if around_functions is None: around_functions = list(reversed(self.example.context.all_around_functions)) if not around_functions: aggregated_exceptions = AggregatedExceptions() with aggregated_exceptions.catch(): for before_code in self.example.context.all_before_functions: if hasattr(before_code, "_memoize_before_code"): self.formatter.dsl_memoize_before( self.example, before_code._memoize_before_code ) else: self.formatter.dsl_before(self.example, before_code) await self._fail_if_not_coroutine_function( before_code, context_data ) self.formatter.dsl_example(self.example, self.example.code) await _async_ensure_no_leaked_tasks( self._fail_if_not_coroutine_function( self.example.code, context_data ) ) after_functions: List[Callable] = [] after_functions.extend(context_data._mock_callable_after_functions) after_functions.extend(self.example.context.all_after_functions) after_functions.extend(context_data._after_functions) for after_code in reversed(after_functions): with aggregated_exceptions.catch(): self.formatter.dsl_after(self.example, after_code) > await self._fail_if_not_coroutine_function(after_code, context_data) testslide/__init__.py:369: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ func = .register_assertion..f at 0xffffff9c4d22a0> args = (,), kwargs = {} @staticmethod async def _fail_if_not_coroutine_function( func: Callable, *args: Any, **kwargs: Any ) -> None: if not inspect.iscoroutinefunction(func): raise ValueError(f"Function must be a coroutine function: {repr(func)}") > return await func(*args, **kwargs) testslide/__init__.py:322: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ = async def f(_: _ContextData) -> None: > assertion() testslide/__init__.py:142: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ def assertion() -> None: if times != self.call_count: > raise AssertionError( ( "calls did not match assertion.\n" "{}, {}:\n" " expected: called exactly {} time(s) with {}" " received: {} call(s)" ).format( _format_target(self.target), repr(self.method), times, self._args_message(), self.call_count, ) ) E AssertionError: calls did not match assertion. E .SomeClass'>, 'do_something': E expected: called exactly 1 time(s) with arguments: E received: 0 call(s) testslide/mock_callable.py:308: AssertionError During handling of the above exception, another exception occurred: self = def test_mock_async_callable_integration(self): class SomeClass: @staticmethod async def do_something(): return "for real" @context def fail_top(context): @context.sub_context def fail_sub_context(context): @context.example async def expect_fail(self): self.mock_async_callable( SomeClass, "do_something" ).for_call().to_return_value("mocked").and_assert_called_once() @context def pass_top(context): @context.sub_context def pass_sub_context(context): @context.example async def expect_pass(self): self.mock_async_callable( SomeClass, "do_something" ).for_call().to_return_value("mocked").and_assert_called_once() assert await SomeClass.do_something() == "mocked" examples = _get_name_to_examples() self.run_example(examples["expect pass"]) with self.assertRaisesRegex(AssertionError, "calls did not match assertion"): > self.run_example(examples["expect fail"]) tests/dsl_unittest.py:2030: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ tests/dsl_unittest.py:118: in run_example _ExampleRunner(example, QuietFormatter(import_module_names=[__name__])).run() testslide/__init__.py:532: in run self._async_run_all_hooks_and_example(context_data) testslide/__init__.py:454: in _async_run_all_hooks_and_example with self._raise_if_asyncio_warnings( /usr/lib64/python3.12/contextlib.py:155: in __exit__ self.gen.throw(value) testslide/__init__.py:450: in _raise_if_asyncio_warnings aggregated_exceptions.raise_correct_exception() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ def raise_correct_exception(self) -> None: if not self.exceptions: return ex_types = {type(ex) for ex in self.exceptions} if Skip in ex_types or unittest.SkipTest in ex_types: raise Skip() elif len(self.exceptions) == 1: raise self.exceptions[0] else: > raise self E testslide.AggregatedExceptions: 2 failures. E : calls did not match assertion. E .SomeClass'>, 'do_something': E expected: called exactly 1 time(s) with arguments: E received: 0 call(s) E : Executing result=None created at /usr/lib64/python3.12/asyncio/tasks.py:685> took 0.451 seconds E During the execution of the async test a slow callback that blocked the event loop was detected. E Tip: you can customize the detection threshold with: E asyncio.get_running_loop().slow_callback_duration = seconds testslide/__init__.py:277: AggregatedExceptions =============================== warnings summary =============================== tests/mock_async_callable_testslide.py:172 /builddir/build/BUILD/TestSlide-2.7.1/tests/mock_async_callable_testslide.py:172: SyntaxWarning: invalid escape sequence '\[' "^type of return must be typing.List\[str\]; got .+(asyncio|coroutine)", -- Docs: https://docs.pytest.org/en/stable/how-to/capture-warnings.html =========================== short test summary info ============================ FAILED tests/dsl_unittest.py::TestMockAsyncCallableIntegration::test_mock_async_callable_integration ============ 1 failed, 168 passed, 1 warning in 1119.43s (0:18:39) ============= error: Bad exit status from /var/tmp/rpm-tmp.mDf1lP (%check) RPM build errors: Bad exit status from /var/tmp/rpm-tmp.mDf1lP (%check) 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-TestSlide.spec\n', 1)] Traceback (most recent call last): File "/usr/lib/python3.11/site-packages/mockbuild/trace_decorator.py", line 93, in trace result = func(*args, **kw) ^^^^^^^^^^^^^^^^^ File "/usr/lib/python3.11/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-TestSlide.spec