Mock Version: 6.5 Mock Version: 6.5 Mock Version: 6.5 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --noclean --target noarch --nodeps /builddir/build/SPECS/python-pytest-cache.spec'], chrootPath='/var/lib/mock/f45-build-32484-660/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=995gid=135user='mockbuild'unshare_net=TrueprintOutput=Falsenspawn_args=['--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.0lns6ofo:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/mapper/control', '--bind=/dev/fuse', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11']) Using nspawn with args ['--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.0lns6ofo:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/mapper/control', '--bind=/dev/fuse', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11'] Executing command: ['/usr/bin/systemd-nspawn', '-q', '-M', '6ebc65edcb374525ac26c311ff67bd88', '-D', '/var/lib/mock/f45-build-32484-660/root', '-a', '-u', 'mockbuild', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.0lns6ofo:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/mapper/control', '--bind=/dev/fuse', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11', '--console=pipe', '--setenv=TERM=vt100', '--setenv=SHELL=/bin/bash', '--setenv=HOME=/builddir', '--setenv=HOSTNAME=mock', '--setenv=PATH=/usr/bin:/bin:/usr/sbin:/sbin', '--setenv=PROMPT_COMMAND=printf "\\033]0;\\007"', '--setenv=PS1= \\s-\\v\\$ ', '--setenv=LANG=C.UTF-8', '--resolv-conf=off', 'bash', '--login', '-c', '/usr/bin/rpmbuild -bs --noclean --target noarch --nodeps /builddir/build/SPECS/python-pytest-cache.spec'] with env {'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8', 'SYSTEMD_NSPAWN_TMPFS_TMP': '0', 'SYSTEMD_SECCOMP': '0'} and shell False Building target platforms: noarch Building for target noarch setting SOURCE_DATE_EPOCH=1784160000 Wrote: /builddir/build/SRPMS/python-pytest-cache-1.0-44.fc45.src.rpm Child return code was: 0 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --noclean --target noarch --nodeps /builddir/build/SPECS/python-pytest-cache.spec'], chrootPath='/var/lib/mock/f45-build-32484-660/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=995gid=135user='mockbuild'unshare_net=TrueprintOutput=Falsenspawn_args=['--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.0lns6ofo:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/mapper/control', '--bind=/dev/fuse', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11']) Using nspawn with args ['--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.0lns6ofo:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/mapper/control', '--bind=/dev/fuse', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11'] Executing command: ['/usr/bin/systemd-nspawn', '-q', '-M', 'ef2616dbceea4a4ab9ed221ebf32f60a', '-D', '/var/lib/mock/f45-build-32484-660/root', '-a', '-u', 'mockbuild', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.0lns6ofo:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/mapper/control', '--bind=/dev/fuse', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11', '--console=pipe', '--setenv=TERM=vt100', '--setenv=SHELL=/bin/bash', '--setenv=HOME=/builddir', '--setenv=HOSTNAME=mock', '--setenv=PATH=/usr/bin:/bin:/usr/sbin:/sbin', '--setenv=PROMPT_COMMAND=printf "\\033]0;\\007"', '--setenv=PS1= \\s-\\v\\$ ', '--setenv=LANG=C.UTF-8', '--resolv-conf=off', 'bash', '--login', '-c', '/usr/bin/rpmbuild -bb --noclean --target noarch --nodeps /builddir/build/SPECS/python-pytest-cache.spec'] with env {'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8', 'SYSTEMD_NSPAWN_TMPFS_TMP': '0', 'SYSTEMD_SECCOMP': '0'} and shell False Building target platforms: noarch Building for target noarch warning: The %py3_build macro is deprecated and will likely stop working in Fedora 45. See the current Python packaging guidelines: https://docs.fedoraproject.org/en-US/packaging-guidelines/Python/ warning: The %py3_install macro is deprecated and will likely stop working in Fedora 45. See the current Python packaging guidelines: https://docs.fedoraproject.org/en-US/packaging-guidelines/Python/ setting SOURCE_DATE_EPOCH=1784160000 Executing(mkbuilddir): /bin/sh -e /var/tmp/rpm-tmp.KVusHb Creating(rpmbuild.env): /builddir/build/BUILD/python-pytest-cache-1.0-build/rpmbuild.env RPM_SOURCE_DIR="/builddir/build/SOURCES" RPM_BUILD_DIR="/builddir/build/BUILD/python-pytest-cache-1.0-build" RPM_OPT_FLAGS="-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -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 -march=rva23u64 -mabi=lp64d -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer" RPM_LD_FLAGS="-Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-hardened-ld-errors -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 " RPM_ARCH="noarch" RPM_OS="linux" RPM_BUILD_NCPUS="8" RPM_SPECPARTS_DIR="/builddir/build/BUILD/python-pytest-cache-1.0-build/SPECPARTS" export RPM_SOURCE_DIR RPM_BUILD_DIR RPM_OPT_FLAGS RPM_ARCH RPM_OS RPM_BUILD_NCPUS RPM_SPECPARTS_DIR RPM_LD_FLAGS RPM_DOC_DIR="/usr/share/doc" export RPM_DOC_DIR RPM_PACKAGE_NAME="python-pytest-cache" RPM_PACKAGE_VERSION="1.0" RPM_PACKAGE_RELEASE="44.fc45" export RPM_PACKAGE_NAME RPM_PACKAGE_VERSION RPM_PACKAGE_RELEASE LANG=C.UTF-8 export LANG unset CDPATH DISPLAY ||: unset DEBUGINFOD_URLS ||: unset RPM_CONFIG_DIR ||: RPM_BUILD_ROOT="/builddir/build/BUILD/python-pytest-cache-1.0-build/BUILDROOT" export RPM_BUILD_ROOT PKG_CONFIG_PATH="${PKG_CONFIG_PATH}:/usr/lib/pkgconfig:/usr/share/pkgconfig" export PKG_CONFIG_PATH CONFIG_SITE=${CONFIG_SITE:-NONE} export CONFIG_SITE Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.nzJ5lg + umask 022 + cd /builddir/build/BUILD/python-pytest-cache-1.0-build + cd /builddir/build/BUILD/python-pytest-cache-1.0-build + rm -rf pytest-cache-1.0 + /usr/bin/rpmuncompress -x /builddir/build/SOURCES/pytest-cache-1.0.tar.gz + STATUS=0 + '[' 0 -ne 0 ']' + cd pytest-cache-1.0 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + rm -rf pytest_cache.egg-info + RPM_EC=0 ++ jobs -p + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.k7IaTu + umask 022 + cd /builddir/build/BUILD/python-pytest-cache-1.0-build + CFLAGS='-O2 -flto=auto -ffat-lto-objects -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 -march=rva23u64 -mabi=lp64d -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer ' + export CFLAGS + CXXFLAGS='-O2 -flto=auto -ffat-lto-objects -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 -march=rva23u64 -mabi=lp64d -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer ' + export CXXFLAGS + FFLAGS='-O2 -flto=auto -ffat-lto-objects -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 -march=rva23u64 -mabi=lp64d -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -I/usr/lib/gfortran/modules ' + export FFLAGS + FCFLAGS='-O2 -flto=auto -ffat-lto-objects -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 -march=rva23u64 -mabi=lp64d -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-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 --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-hardened-ld-errors -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 pytest-cache-1.0 + CFLAGS='-O2 -flto=auto -ffat-lto-objects -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 -march=rva23u64 -mabi=lp64d -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-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-hardened-ld-errors -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 ' + /usr/bin/python3 setup.py build '--executable=/usr/bin/python3 -sP' /usr/lib/python3.15/site-packages/setuptools/dist.py:765: SetuptoolsDeprecationWarning: License classifiers are deprecated. !! ******************************************************************************** Please consider removing the following classifiers in favor of a SPDX license expression: License :: OSI Approved :: GNU General Public License (GPL) See https://packaging.python.org/en/latest/guides/writing-pyproject-toml/#license for details. ******************************************************************************** !! self._finalize_license_expression() running build running build_py creating build/lib copying pytest_cache.py -> build/lib + RPM_EC=0 ++ jobs -p + exit 0 Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.OKK5hO + umask 022 + cd /builddir/build/BUILD/python-pytest-cache-1.0-build + '[' /builddir/build/BUILD/python-pytest-cache-1.0-build/BUILDROOT '!=' / ']' + rm -rf /builddir/build/BUILD/python-pytest-cache-1.0-build/BUILDROOT ++ dirname /builddir/build/BUILD/python-pytest-cache-1.0-build/BUILDROOT + mkdir -p /builddir/build/BUILD/python-pytest-cache-1.0-build + mkdir /builddir/build/BUILD/python-pytest-cache-1.0-build/BUILDROOT + CFLAGS='-O2 -flto=auto -ffat-lto-objects -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 -march=rva23u64 -mabi=lp64d -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer ' + export CFLAGS + CXXFLAGS='-O2 -flto=auto -ffat-lto-objects -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 -march=rva23u64 -mabi=lp64d -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer ' + export CXXFLAGS + FFLAGS='-O2 -flto=auto -ffat-lto-objects -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 -march=rva23u64 -mabi=lp64d -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -I/usr/lib/gfortran/modules ' + export FFLAGS + FCFLAGS='-O2 -flto=auto -ffat-lto-objects -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 -march=rva23u64 -mabi=lp64d -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-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 --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-hardened-ld-errors -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 pytest-cache-1.0 + CFLAGS='-O2 -flto=auto -ffat-lto-objects -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 -march=rva23u64 -mabi=lp64d -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-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-hardened-ld-errors -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 ' + /usr/bin/python3 setup.py install -O1 --skip-build --root /builddir/build/BUILD/python-pytest-cache-1.0-build/BUILDROOT --prefix /usr /usr/lib/python3.15/site-packages/setuptools/dist.py:765: SetuptoolsDeprecationWarning: License classifiers are deprecated. !! ******************************************************************************** Please consider removing the following classifiers in favor of a SPDX license expression: License :: OSI Approved :: GNU General Public License (GPL) See https://packaging.python.org/en/latest/guides/writing-pyproject-toml/#license for details. ******************************************************************************** !! self._finalize_license_expression() running install /usr/lib/python3.15/site-packages/setuptools/_distutils/cmd.py:90: SetuptoolsDeprecationWarning: setup.py install is deprecated. !! ******************************************************************************** Please avoid running ``setup.py`` directly. Instead, use pypa/build, pypa/installer or other standards-based tools. Follow the current Python packaging guidelines when building Python RPM packages. This deprecation is overdue, please update your project and remove deprecated calls to avoid build errors in the future. See https://blog.ganssle.io/articles/2021/10/setup-py-deprecated.html and https://docs.fedoraproject.org/en-US/packaging-guidelines/Python/ for details. ******************************************************************************** !! self.initialize_options() running install_lib creating /builddir/build/BUILD/python-pytest-cache-1.0-build/BUILDROOT/usr/lib/python3.15/site-packages copying build/lib/pytest_cache.py -> /builddir/build/BUILD/python-pytest-cache-1.0-build/BUILDROOT/usr/lib/python3.15/site-packages byte-compiling /builddir/build/BUILD/python-pytest-cache-1.0-build/BUILDROOT/usr/lib/python3.15/site-packages/pytest_cache.py to pytest_cache.cpython-315.pyc writing byte-compilation script '/tmp/tmpwwdt6m4g.py' /usr/bin/python3 /tmp/tmpwwdt6m4g.py removing /tmp/tmpwwdt6m4g.py running install_egg_info running egg_info creating pytest_cache.egg-info writing pytest_cache.egg-info/PKG-INFO writing dependency_links to pytest_cache.egg-info/dependency_links.txt writing entry points to pytest_cache.egg-info/entry_points.txt writing requirements to pytest_cache.egg-info/requires.txt writing top-level names to pytest_cache.egg-info/top_level.txt writing manifest file 'pytest_cache.egg-info/SOURCES.txt' reading manifest file 'pytest_cache.egg-info/SOURCES.txt' reading manifest template 'MANIFEST.in' adding license file 'LICENSE' writing manifest file 'pytest_cache.egg-info/SOURCES.txt' Copying pytest_cache.egg-info to /builddir/build/BUILD/python-pytest-cache-1.0-build/BUILDROOT/usr/lib/python3.15/site-packages/pytest_cache-1.0-py3.15.egg-info running install_scripts + rm -rfv /builddir/build/BUILD/python-pytest-cache-1.0-build/BUILDROOT/usr/bin/__pycache__ + /usr/lib/rpm/check-buildroot + /usr/lib/rpm/redhat/brp-ldconfig + COMPRESS='gzip -9 -n' + COMPRESS_EXT=.gz + /usr/lib/rpm/brp-compress + /usr/lib/rpm/brp-strip /usr/bin/strip + /usr/lib/rpm/brp-strip-comment-note /usr/bin/strip /usr/bin/objdump + /usr/lib/rpm/redhat/brp-strip-lto /usr/bin/strip + /usr/lib/rpm/check-rpaths + /usr/lib/rpm/redhat/brp-mangle-shebangs + /usr/lib/rpm/brp-remove-la-files + /usr/lib/rpm/redhat/brp-python-rpm-in-distinfo + env /usr/lib/rpm/redhat/brp-python-bytecompile '' 1 0 -j8 Bytecompiling .py files below /builddir/build/BUILD/python-pytest-cache-1.0-build/BUILDROOT/usr/lib/python3.15 using python3.15 + /usr/lib/rpm/redhat/brp-python-hardlink + /usr/bin/add-det --brp -j8 /builddir/build/BUILD/python-pytest-cache-1.0-build/BUILDROOT /builddir/build/BUILD/python-pytest-cache-1.0-build/BUILDROOT/usr/lib/python3.15/site-packages/__pycache__/pytest_cache.cpython-315.pyc: rewriting with normalized contents Scanned 7 directories and 9 files, processed 1 inodes, 1 modified (0 replaced + 1 rewritten), 0 unsupported format, 0 errors + /usr/bin/linkdupes --brp /builddir/build/BUILD/python-pytest-cache-1.0-build/BUILDROOT/usr Scanned 6 directories and 9 files, considered 9 files, read 0 files, linked 0 files, 0 errors sum of sizes of linked files: 0 bytes Executing(%check): /bin/sh -e /var/tmp/rpm-tmp.bjXSWl + umask 022 + cd /builddir/build/BUILD/python-pytest-cache-1.0-build + CFLAGS='-O2 -flto=auto -ffat-lto-objects -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 -march=rva23u64 -mabi=lp64d -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer ' + export CFLAGS + CXXFLAGS='-O2 -flto=auto -ffat-lto-objects -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 -march=rva23u64 -mabi=lp64d -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer ' + export CXXFLAGS + FFLAGS='-O2 -flto=auto -ffat-lto-objects -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 -march=rva23u64 -mabi=lp64d -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -I/usr/lib/gfortran/modules ' + export FFLAGS + FCFLAGS='-O2 -flto=auto -ffat-lto-objects -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 -march=rva23u64 -mabi=lp64d -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-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 --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-hardened-ld-errors -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 pytest-cache-1.0 + PYTHONPATH=/builddir/build/BUILD/python-pytest-cache-1.0-build/BUILDROOT/usr/lib/python3.15/site-packages + py.test-3.15 -v ============================= test session starts ============================== platform linux -- Python 3.15.0rc2, pytest-9.1.1, pluggy-1.6.0 -- /usr/bin/python3 cachedir: .pytest_cache rootdir: /builddir/build/BUILD/python-pytest-cache-1.0-build/pytest-cache-1.0 configfile: tox.ini collecting ... collected 11 items test_cache.py::test_version PASSED [ 9%] test_cache.py::test_cache_reportheader FAILED [ 18%] test_cache.py::test_cache_show FAILED [ 27%] test_cache.py::TestNewAPI::test_config_cache_makedir PASSED [ 36%] test_cache.py::TestNewAPI::test_config_cache_dataerror FAILED [ 45%] test_cache.py::TestNewAPI::test_config_cache PASSED [ 54%] test_cache.py::TestLastFailed::test_lastfailed_usecase FAILED [ 63%] test_cache.py::TestLastFailed::test_failedfirst_order FAILED [ 72%] test_cache.py::TestLastFailed::test_lastfailed_difference_invocations FAILED [ 81%] test_cache.py::TestLastFailed::test_lastfailed_usecase_splice FAILED [ 90%] test_cache.py::TestLastFailed::test_lastfailed_xpass FAILED [100%] =================================== FAILURES =================================== ___________________________ test_cache_reportheader ____________________________ testdir = def test_cache_reportheader(testdir): p = testdir.makepyfile(""" def test_hello(): pass """) cachedir = p.dirpath(".cache") result = testdir.runpytest("-v") > result.stdout.fnmatch_lines([ "cachedir: %s" % cachedir, ]) E Failed: nomatch: 'cachedir: /tmp/pytest-of-mockbuild/pytest-0/test_cache_reportheader0/.cache' E and: '============================= test session starts ==============================' E and: 'platform linux -- Python 3.15.0rc2, pytest-9.1.1, pluggy-1.6.0 -- /usr/bin/python3' E and: 'cachedir: .pytest_cache' E and: 'rootdir: /tmp/pytest-of-mockbuild/pytest-0/test_cache_reportheader0' E and: 'collecting ... collected 1 item' E and: '' E and: 'test_cache_reportheader.py::test_hello PASSED [100%]' E and: '' E and: '============================== 1 passed in 0.01s ===============================' E remains unmatched: 'cachedir: /tmp/pytest-of-mockbuild/pytest-0/test_cache_reportheader0/.cache' /builddir/build/BUILD/python-pytest-cache-1.0-build/pytest-cache-1.0/test_cache.py:19: Failed ----------------------------- Captured stdout call ----------------------------- ============================= test session starts ============================== platform linux -- Python 3.15.0rc2, pytest-9.1.1, pluggy-1.6.0 -- /usr/bin/python3 cachedir: .pytest_cache rootdir: /tmp/pytest-of-mockbuild/pytest-0/test_cache_reportheader0 collecting ... collected 1 item test_cache_reportheader.py::test_hello PASSED [100%] ============================== 1 passed in 0.01s =============================== _______________________________ test_cache_show ________________________________ testdir = def test_cache_show(testdir): result = testdir.runpytest("--cache") > assert result.ret == 0 E assert == 0 E + where = .ret /builddir/build/BUILD/python-pytest-cache-1.0-build/pytest-cache-1.0/test_cache.py:25: AssertionError ----------------------------- Captured stderr call ----------------------------- ERROR: usage: pytest.main() [options] [file_or_dir] [file_or_dir] [...] pytest.main(): error: unrecognized arguments: --cache inifile: None rootdir: /tmp/pytest-of-mockbuild/pytest-0/test_cache_show0 ____________________ TestNewAPI.test_config_cache_dataerror ____________________ self = testdir = def test_config_cache_dataerror(self, testdir): testdir.makeini("[pytest]") config = testdir.parseconfigure() cache = config.cache > pytest.raises(ValueError, lambda: cache.set("key/name", cache)) /builddir/build/BUILD/python-pytest-cache-1.0-build/pytest-cache-1.0/test_cache.py:66: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /builddir/build/BUILD/python-pytest-cache-1.0-build/pytest-cache-1.0/test_cache.py:66: in pytest.raises(ValueError, lambda: cache.set("key/name", cache)) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ /usr/lib/python3.15/site-packages/_pytest/cacheprovider.py:225: in set data = json.dumps(value, ensure_ascii=False, indent=2) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ /usr/lib64/python3.15/json/__init__.py:241: in dumps **kw).encode(obj) ^^^^^^^^^^^ /usr/lib64/python3.15/json/encoder.py:202: in encode chunks = self.iterencode(o, _one_shot=True) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ /usr/lib64/python3.15/json/encoder.py:263: in iterencode return _iterencode(o, 0) ^^^^^^^^^^^^^^^^^ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = , o = Cache() def default(self, o): """Implement this method in a subclass such that it returns a serializable object for ``o``, or calls the base implementation (to raise a ``TypeError``). For example, to support arbitrary iterators, you could implement default like this:: def default(self, o): try: iterable = iter(o) except TypeError: pass else: return list(iterable) # Let the base class default method raise the TypeError return super().default(o) """ > raise TypeError(f'Object of type {o.__class__.__name__} ' f'is not JSON serializable') E TypeError: Object of type Cache is not JSON serializable /usr/lib64/python3.15/json/encoder.py:182: TypeError ____________________ TestLastFailed.test_lastfailed_usecase ____________________ self = testdir = monkeypatch = <_pytest.monkeypatch.MonkeyPatch object at 0x3f86dc4200> @pytest.mark.skipif("sys.version_info < (2,6)") def test_lastfailed_usecase(self, testdir, monkeypatch): monkeypatch.setenv("PYTHONDONTWRITEBYTECODE", 1) p = testdir.makepyfile(""" def test_1(): assert 0 def test_2(): assert 0 def test_3(): assert 1 """) result = testdir.runpytest() result.stdout.fnmatch_lines([ "*2 failed*", ]) > p.write(py.code.Source(""" ^^^^^^^ def test_1(): assert 1 def test_2(): assert 1 def test_3(): assert 0 """)) E AttributeError: module 'py' has no attribute 'code' /builddir/build/BUILD/python-pytest-cache-1.0-build/pytest-cache-1.0/test_cache.py:118: AttributeError ----------------------------- Captured stdout call ----------------------------- ============================= test session starts ============================== platform linux -- Python 3.15.0rc2, pytest-9.1.1, pluggy-1.6.0 rootdir: /tmp/pytest-of-mockbuild/pytest-0/test_lastfailed_usecase0 collected 3 items test_lastfailed_usecase.py FF. [100%] =================================== FAILURES =================================== ____________________________________ test_1 ____________________________________ def test_1(): > assert 0 E assert 0 test_lastfailed_usecase.py:2: AssertionError ____________________________________ test_2 ____________________________________ def test_2(): > assert 0 E assert 0 test_lastfailed_usecase.py:4: AssertionError =========================== short test summary info ============================ FAILED test_lastfailed_usecase.py::test_1 - assert 0 FAILED test_lastfailed_usecase.py::test_2 - assert 0 ========================= 2 failed, 1 passed in 0.02s ========================== ____________________ TestLastFailed.test_failedfirst_order _____________________ self = testdir = def test_failedfirst_order(self, testdir): > always_pass = testdir.tmpdir.join('test_a.py').write(py.code.Source(""" ^^^^^^^ def test_always_passes(): assert 1 """)) E AttributeError: module 'py' has no attribute 'code' /builddir/build/BUILD/python-pytest-cache-1.0-build/pytest-cache-1.0/test_cache.py:150: AttributeError ____________ TestLastFailed.test_lastfailed_difference_invocations _____________ self = testdir = monkeypatch = <_pytest.monkeypatch.MonkeyPatch object at 0x3f85361a90> @pytest.mark.skipif("sys.version_info < (2,6)") def test_lastfailed_difference_invocations(self, testdir, monkeypatch): monkeypatch.setenv("PYTHONDONTWRITEBYTECODE", 1) testdir.makepyfile(test_a=""" def test_a1(): assert 0 def test_a2(): assert 1 """, test_b=""" def test_b1(): assert 0 """) p = testdir.tmpdir.join("test_a.py") p2 = testdir.tmpdir.join("test_b.py") result = testdir.runpytest() result.stdout.fnmatch_lines([ "*2 failed*", ]) result = testdir.runpytest("--lf", p2) result.stdout.fnmatch_lines([ "*1 failed*", ]) > p2.write(py.code.Source(""" ^^^^^^^ def test_b1(): assert 1 """)) E AttributeError: module 'py' has no attribute 'code' /builddir/build/BUILD/python-pytest-cache-1.0-build/pytest-cache-1.0/test_cache.py:194: AttributeError ----------------------------- Captured stdout call ----------------------------- ============================= test session starts ============================== platform linux -- Python 3.15.0rc2, pytest-9.1.1, pluggy-1.6.0 rootdir: /tmp/pytest-of-mockbuild/pytest-0/test_lastfailed_difference_invocations0 collected 3 items test_a.py F. [ 66%] test_b.py F [100%] =================================== FAILURES =================================== ___________________________________ test_a1 ____________________________________ def test_a1(): > assert 0 E assert 0 test_a.py:2: AssertionError ___________________________________ test_b1 ____________________________________ def test_b1(): > assert 0 E assert 0 test_b.py:2: AssertionError =========================== short test summary info ============================ FAILED test_a.py::test_a1 - assert 0 FAILED test_b.py::test_b1 - assert 0 ========================= 2 failed, 1 passed in 0.03s ========================== ============================= test session starts ============================== platform linux -- Python 3.15.0rc2, pytest-9.1.1, pluggy-1.6.0 rootdir: /tmp/pytest-of-mockbuild/pytest-0/test_lastfailed_difference_invocations0 collected 1 item run-last-failure: rerun previous 1 failure test_b.py F [100%] =================================== FAILURES =================================== ___________________________________ test_b1 ____________________________________ def test_b1(): > assert 0 E assert 0 test_b.py:2: AssertionError =========================== short test summary info ============================ FAILED test_b.py::test_b1 - assert 0 ============================== 1 failed in 0.01s =============================== ________________ TestLastFailed.test_lastfailed_usecase_splice _________________ self = testdir = monkeypatch = <_pytest.monkeypatch.MonkeyPatch object at 0x3f853611d0> @pytest.mark.skipif("sys.version_info < (2,6)") def test_lastfailed_usecase_splice(self, testdir, monkeypatch): monkeypatch.setenv("PYTHONDONTWRITEBYTECODE", 1) p1 = testdir.makepyfile(""" def test_1(): assert 0 """) p2 = testdir.tmpdir.join("test_something.py") > p2.write(py.code.Source(""" ^^^^^^^ def test_2(): assert 0 """)) E AttributeError: module 'py' has no attribute 'code' /builddir/build/BUILD/python-pytest-cache-1.0-build/pytest-cache-1.0/test_cache.py:215: AttributeError _____________________ TestLastFailed.test_lastfailed_xpass _____________________ self = testdir = def test_lastfailed_xpass(self, testdir): > rep = testdir.inline_runsource1(""" ^^^^^^^^^^^^^^^^^^^^^^^^^ import pytest @pytest.mark.xfail def test_hello(): assert 1 """) E AttributeError: 'Testdir' object has no attribute 'inline_runsource1'. Did you mean '.inline_runsource' instead of '.inline_runsource1'? /builddir/build/BUILD/python-pytest-cache-1.0-build/pytest-cache-1.0/test_cache.py:233: AttributeError =============================== warnings summary =============================== ../../../../../usr/lib/python3.15/site-packages/_pytest/config/__init__.py:1464 /usr/lib/python3.15/site-packages/_pytest/config/__init__.py:1464: PytestConfigWarning: Unknown config option: pep8ignore self._warn_or_fail_if_strict(f"Unknown config option: {key}\n") test_cache.py::TestLastFailed::test_lastfailed_usecase /builddir/build/BUILD/python-pytest-cache-1.0-build/pytest-cache-1.0/test_cache.py:105: PytestWarning: Value of environment variable PYTHONDONTWRITEBYTECODE type should be str, but got 1 (type: int); converted to str implicitly monkeypatch.setenv("PYTHONDONTWRITEBYTECODE", 1) test_cache.py::TestLastFailed::test_lastfailed_difference_invocations /builddir/build/BUILD/python-pytest-cache-1.0-build/pytest-cache-1.0/test_cache.py:173: PytestWarning: Value of environment variable PYTHONDONTWRITEBYTECODE type should be str, but got 1 (type: int); converted to str implicitly monkeypatch.setenv("PYTHONDONTWRITEBYTECODE", 1) test_cache.py::TestLastFailed::test_lastfailed_usecase_splice /builddir/build/BUILD/python-pytest-cache-1.0-build/pytest-cache-1.0/test_cache.py:209: PytestWarning: Value of environment variable PYTHONDONTWRITEBYTECODE type should be str, but got 1 (type: int); converted to str implicitly monkeypatch.setenv("PYTHONDONTWRITEBYTECODE", 1) -- Docs: https://docs.pytest.org/en/stable/how-to/capture-warnings.html =========================== short test summary info ============================ FAILED test_cache.py::test_cache_reportheader - Failed: nomatch: 'cachedir: /... FAILED test_cache.py::test_cache_show - assert == 0 FAILED test_cache.py::TestNewAPI::test_config_cache_dataerror - TypeError: Ob... FAILED test_cache.py::TestLastFailed::test_lastfailed_usecase - AttributeErro... FAILED test_cache.py::TestLastFailed::test_failedfirst_order - AttributeError... FAILED test_cache.py::TestLastFailed::test_lastfailed_difference_invocations FAILED test_cache.py::TestLastFailed::test_lastfailed_usecase_splice - Attrib... FAILED test_cache.py::TestLastFailed::test_lastfailed_xpass - AttributeError:... =================== 8 failed, 3 passed, 4 warnings in 0.95s ==================== + : + RPM_EC=0 ++ jobs -p + exit 0 Processing files: python3-pytest-cache-1.0-44.fc45.noarch Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.QfVfFI + umask 022 + cd /builddir/build/BUILD/python-pytest-cache-1.0-build + cd pytest-cache-1.0 + DOCDIR=/builddir/build/BUILD/python-pytest-cache-1.0-build/BUILDROOT/usr/share/doc/python3-pytest-cache + export LC_ALL=C.UTF-8 + LC_ALL=C.UTF-8 + export DOCDIR + /usr/bin/mkdir -p /builddir/build/BUILD/python-pytest-cache-1.0-build/BUILDROOT/usr/share/doc/python3-pytest-cache + cp -pr /builddir/build/BUILD/python-pytest-cache-1.0-build/pytest-cache-1.0/CHANGELOG /builddir/build/BUILD/python-pytest-cache-1.0-build/BUILDROOT/usr/share/doc/python3-pytest-cache + cp -pr /builddir/build/BUILD/python-pytest-cache-1.0-build/pytest-cache-1.0/PKG-INFO /builddir/build/BUILD/python-pytest-cache-1.0-build/BUILDROOT/usr/share/doc/python3-pytest-cache + cp -pr /builddir/build/BUILD/python-pytest-cache-1.0-build/pytest-cache-1.0/README.rst /builddir/build/BUILD/python-pytest-cache-1.0-build/BUILDROOT/usr/share/doc/python3-pytest-cache + RPM_EC=0 ++ jobs -p + exit 0 Executing(%license): /bin/sh -e /var/tmp/rpm-tmp.2F0OcL + umask 022 + cd /builddir/build/BUILD/python-pytest-cache-1.0-build + cd pytest-cache-1.0 + LICENSEDIR=/builddir/build/BUILD/python-pytest-cache-1.0-build/BUILDROOT/usr/share/licenses/python3-pytest-cache + export LC_ALL=C.UTF-8 + LC_ALL=C.UTF-8 + export LICENSEDIR + /usr/bin/mkdir -p /builddir/build/BUILD/python-pytest-cache-1.0-build/BUILDROOT/usr/share/licenses/python3-pytest-cache + cp -pr /builddir/build/BUILD/python-pytest-cache-1.0-build/pytest-cache-1.0/LICENSE /builddir/build/BUILD/python-pytest-cache-1.0-build/BUILDROOT/usr/share/licenses/python3-pytest-cache + RPM_EC=0 ++ jobs -p + exit 0 Provides: python-pytest-cache = 1.0-44.fc45 python3-pytest-cache = 1.0-44.fc45 python3.15-pytest-cache = 1.0-44.fc45 python3.15dist(pytest-cache) = 1 python3dist(pytest-cache) = 1 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PartialHardlinkSets) <= 4.0.4-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires: python(abi) = 3.15 python3.15dist(execnet) >= 1.1~~dev1 python3.15dist(pytest) >= 2.2 Obsoletes: python-pytest-cache < 1.0-44.fc45 Checking for unpackaged file(s): /usr/lib/rpm/check-files /builddir/build/BUILD/python-pytest-cache-1.0-build/BUILDROOT Wrote: /builddir/build/RPMS/python3-pytest-cache-1.0-44.fc45.noarch.rpm RPM build warnings: The %py3_build macro is deprecated and will likely stop working in Fedora 45. See the current Python packaging guidelines: https://docs.fedoraproject.org/en-US/packaging-guidelines/Python/ The %py3_install macro is deprecated and will likely stop working in Fedora 45. See the current Python packaging guidelines: https://docs.fedoraproject.org/en-US/packaging-guidelines/Python/ Child return code was: 0