Mock Version: 5.5 Mock Version: 5.5 Mock Version: 5.5 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --noclean --target noarch --nodeps /builddir/build/SPECS/python-httpretty.spec'], chrootPath='/var/lib/mock/f40-build-1926916-25108/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=997gid=135user='mockbuild'nspawn_args=['--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.32z1a38a:/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']unshare_net=TrueprintOutput=False) Using nspawn with args ['--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.32z1a38a:/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', '9ab0dfd6ad7748318a05ec775cacf14f', '-D', '/var/lib/mock/f40-build-1926916-25108/root', '-a', '-u', 'mockbuild', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.32z1a38a:/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-httpretty.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=1707350400 Wrote: /builddir/build/SRPMS/python-httpretty-1.1.4-20.fc40.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-httpretty.spec'], chrootPath='/var/lib/mock/f40-build-1926916-25108/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=997gid=135user='mockbuild'nspawn_args=['--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.32z1a38a:/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']unshare_net=TrueprintOutput=False) Using nspawn with args ['--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.32z1a38a:/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', '7d3e74bea731477c8aac9037c1aefa0d', '-D', '/var/lib/mock/f40-build-1926916-25108/root', '-a', '-u', 'mockbuild', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.32z1a38a:/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-httpretty.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=1707350400 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.OBduWP + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf httpretty-1.1.4 + /usr/lib/rpm/rpmuncompress -x /builddir/build/SOURCES/httpretty-1.1.4.tar.gz + STATUS=0 + '[' 0 -ne 0 ']' + cd httpretty-1.1.4 + rm -rf /builddir/build/BUILD/httpretty-1.1.4-SPECPARTS + /usr/bin/mkdir -p /builddir/build/BUILD/httpretty-1.1.4-SPECPARTS + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + /usr/lib/rpm/rpmuncompress /builddir/build/SOURCES/python-httpretty-fakesock_getpeercert_noconnect.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch -f + /usr/lib/rpm/rpmuncompress /builddir/build/SOURCES/skip-test_passthrough.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch -f + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch -f + /usr/lib/rpm/rpmuncompress /builddir/build/SOURCES/test_response-no-within.patch + /usr/lib/rpm/rpmuncompress /builddir/build/SOURCES/test_handle_slashes.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch -f + /usr/lib/rpm/rpmuncompress /builddir/build/SOURCES/chunked_requests_handled_by_urllib3.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch -f + sed -i 's/^with-randomly = 1$//' setup.cfg + sed -i 's/^rednose = 1$//' setup.cfg + RPM_EC=0 ++ jobs -p + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.WoxbGM + umask 022 + cd /builddir/build/BUILD + CFLAGS='-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 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 --cap-lints=warn' + export RUSTFLAGS + LDFLAGS='-Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld-errors -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 httpretty-1.1.4 + CFLAGS='-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 ' + LDFLAGS='-Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld-errors -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 ' + /usr/bin/python3 setup.py build '--executable=/usr/bin/python3 -sP' running build running build_py creating build creating build/lib creating build/lib/httpretty copying httpretty/version.py -> build/lib/httpretty copying httpretty/__init__.py -> build/lib/httpretty copying httpretty/utils.py -> build/lib/httpretty copying httpretty/core.py -> build/lib/httpretty copying httpretty/errors.py -> build/lib/httpretty copying httpretty/http.py -> build/lib/httpretty copying httpretty/compat.py -> build/lib/httpretty + RPM_EC=0 ++ jobs -p + exit 0 Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.iixYsV + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/python-httpretty-1.1.4-20.fc40.noarch '!=' / ']' + rm -rf /builddir/build/BUILDROOT/python-httpretty-1.1.4-20.fc40.noarch ++ dirname /builddir/build/BUILDROOT/python-httpretty-1.1.4-20.fc40.noarch + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/python-httpretty-1.1.4-20.fc40.noarch + CFLAGS='-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 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 --cap-lints=warn' + export RUSTFLAGS + LDFLAGS='-Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld-errors -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 httpretty-1.1.4 + CFLAGS='-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 ' + LDFLAGS='-Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld-errors -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 ' + /usr/bin/python3 setup.py install -O1 --skip-build --root /builddir/build/BUILDROOT/python-httpretty-1.1.4-20.fc40.noarch --prefix /usr running install /usr/lib/python3.12/site-packages/setuptools/_distutils/cmd.py:66: 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. 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/BUILDROOT/python-httpretty-1.1.4-20.fc40.noarch/usr creating /builddir/build/BUILDROOT/python-httpretty-1.1.4-20.fc40.noarch/usr/lib creating /builddir/build/BUILDROOT/python-httpretty-1.1.4-20.fc40.noarch/usr/lib/python3.12 creating /builddir/build/BUILDROOT/python-httpretty-1.1.4-20.fc40.noarch/usr/lib/python3.12/site-packages creating /builddir/build/BUILDROOT/python-httpretty-1.1.4-20.fc40.noarch/usr/lib/python3.12/site-packages/httpretty copying build/lib/httpretty/version.py -> /builddir/build/BUILDROOT/python-httpretty-1.1.4-20.fc40.noarch/usr/lib/python3.12/site-packages/httpretty copying build/lib/httpretty/__init__.py -> /builddir/build/BUILDROOT/python-httpretty-1.1.4-20.fc40.noarch/usr/lib/python3.12/site-packages/httpretty copying build/lib/httpretty/utils.py -> /builddir/build/BUILDROOT/python-httpretty-1.1.4-20.fc40.noarch/usr/lib/python3.12/site-packages/httpretty copying build/lib/httpretty/core.py -> /builddir/build/BUILDROOT/python-httpretty-1.1.4-20.fc40.noarch/usr/lib/python3.12/site-packages/httpretty copying build/lib/httpretty/errors.py -> /builddir/build/BUILDROOT/python-httpretty-1.1.4-20.fc40.noarch/usr/lib/python3.12/site-packages/httpretty copying build/lib/httpretty/http.py -> /builddir/build/BUILDROOT/python-httpretty-1.1.4-20.fc40.noarch/usr/lib/python3.12/site-packages/httpretty copying build/lib/httpretty/compat.py -> /builddir/build/BUILDROOT/python-httpretty-1.1.4-20.fc40.noarch/usr/lib/python3.12/site-packages/httpretty byte-compiling /builddir/build/BUILDROOT/python-httpretty-1.1.4-20.fc40.noarch/usr/lib/python3.12/site-packages/httpretty/version.py to version.cpython-312.pyc byte-compiling /builddir/build/BUILDROOT/python-httpretty-1.1.4-20.fc40.noarch/usr/lib/python3.12/site-packages/httpretty/__init__.py to __init__.cpython-312.pyc byte-compiling /builddir/build/BUILDROOT/python-httpretty-1.1.4-20.fc40.noarch/usr/lib/python3.12/site-packages/httpretty/utils.py to utils.cpython-312.pyc byte-compiling /builddir/build/BUILDROOT/python-httpretty-1.1.4-20.fc40.noarch/usr/lib/python3.12/site-packages/httpretty/core.py to core.cpython-312.pyc byte-compiling /builddir/build/BUILDROOT/python-httpretty-1.1.4-20.fc40.noarch/usr/lib/python3.12/site-packages/httpretty/errors.py to errors.cpython-312.pyc byte-compiling /builddir/build/BUILDROOT/python-httpretty-1.1.4-20.fc40.noarch/usr/lib/python3.12/site-packages/httpretty/http.py to http.cpython-312.pyc byte-compiling /builddir/build/BUILDROOT/python-httpretty-1.1.4-20.fc40.noarch/usr/lib/python3.12/site-packages/httpretty/compat.py to compat.cpython-312.pyc writing byte-compilation script '/tmp/tmp_9dkso4g.py' /usr/bin/python3 /tmp/tmp_9dkso4g.py removing /tmp/tmp_9dkso4g.py running install_egg_info running egg_info writing httpretty.egg-info/PKG-INFO writing dependency_links to httpretty.egg-info/dependency_links.txt writing top-level names to httpretty.egg-info/top_level.txt reading manifest file 'httpretty.egg-info/SOURCES.txt' reading manifest template 'MANIFEST.in' adding license file 'COPYING' writing manifest file 'httpretty.egg-info/SOURCES.txt' Copying httpretty.egg-info to /builddir/build/BUILDROOT/python-httpretty-1.1.4-20.fc40.noarch/usr/lib/python3.12/site-packages/httpretty-1.1.4-py3.12.egg-info running install_scripts + rm -rfv /builddir/build/BUILDROOT/python-httpretty-1.1.4-20.fc40.noarch/usr/bin/__pycache__ + /usr/bin/find-debuginfo -j32 --strict-build-id -m -i --build-id-seed 1.1.4-20.fc40 --unique-debug-suffix -1.1.4-20.fc40.noarch --unique-debug-src-base python-httpretty-1.1.4-20.fc40.noarch --run-dwz --dwz-low-mem-die-limit 10000000 --dwz-max-die-limit 50000000 -S debugsourcefiles.list /builddir/build/BUILD/httpretty-1.1.4 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 -j32 Bytecompiling .py files below /builddir/build/BUILDROOT/python-httpretty-1.1.4-20.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.f6RWrj + umask 022 + cd /builddir/build/BUILD + CFLAGS='-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 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 --cap-lints=warn' + export RUSTFLAGS + LDFLAGS='-Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld-errors -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 httpretty-1.1.4 + /usr/bin/python3 -m nose -v nose.config: INFO: Ignoring files matching ['^\\.', '^_', '^setup\\.py$'] nose.plugins.cover: ERROR: Coverage not available: unable to import coverage module #1 When allow_net_connect = False, a request that otherwise ... 404 GET / (::1) 24.40ms real call to socket.connect() for ('localhost', 46389) ok #2 When allow_net_connect = False, a request that would have ... httpretty.core.socket("example.com:80").real_sendall(123 bytes) to http://example.com/nonsense via GET at 1722900463.3544762 ok #3 When allow_net_connect = False, mocked requests still work correctly. ... ok #4 httpretty should bypass a unregistered request by disabling it ... 404 GET / (::1) 20.31ms httpretty.core.socket("localhost:54159").real_sendall(130 bytes) to http://localhost:54159/come-again/ via GET at 1722900464.8242452 real call to socket.connect() for ok #5 httpretty should bypass all requests by disabling it ... 404 GET / (::1) 21.53ms ok #6 httpretty should work even when testing code that also use other TCP-based protocols ... ok #7 HTTPretty should forward_and_trace socket.recv_into ... SKIP: not currently supported #8 HTTPretty should forward_and_trace socket.recvfrom ... SKIP: not currently supported #9 HTTPretty should forward_and_trace socket.recvfrom_into ... SKIP: not currently supported #10 HTTPretty should forward_and_trace socket.send ... SKIP: not currently supported #11 HTTPretty should forward_and_trace socket.sendto ... SKIP: not currently supported #12 test_decorated (tests.functional.test_decorator.ClassDecorator.test_decorated) ... ok #13 test_decorated2 (tests.functional.test_decorator.ClassDecorator.test_decorated2) ... ok #14 test_decorated (tests.functional.test_decorator.ClassDecoratorWithSetUp.test_decorated) ... ok #15 test_decorated2 (tests.functional.test_decorator.ClassDecoratorWithSetUp.test_decorated2) ... ok #16 test_decorated (tests.functional.test_decorator.NonUnitTestTest.test_decorated) ... ok #17 tests.functional.test_decorator.test_decor ... ok #18 HTTPretty should call a callback function to be set as the body with httplib2 ... ok #19 HTTPretty.last_request is a mimetools.Message request from last match ... ok #20 HTTPretty.last_request is recorded even when mocking 'https' (SSL) ... ok #21 Registering URIs with query string cause them to be ignored ... ok #22 HTTPretty should provide an easy access to the querystring ... ok #23 HTTPretty should allow adding and overwritting headers by keyword args with httplib2 ... ok #24 HTTPretty should allow adding and overwritting headers with httplib2 ... ok #25 HTTPretty should allow forcing headers with httplib2 ... ok #26 HTTPretty should allow registering regexes with httplib2 ... ok #27 HTTPretty should mock a simple GET with httplib2.context.http ... ok #28 HTTPretty should mock basic headers with httplib2 ... ok #29 HTTPretty should support rotating responses with httplib2 ... ok #30 tests.functional.test_passthrough.test_http_passthrough ... SKIP #31 tests.functional.test_passthrough.test_https_passthrough ... SKIP #32 HTTPretty should be able to record calls ... ok #33 HTTPretty should call a callback function more than one requests ... ok #34 HTTPretty should call a callback function and set its return value as the body of the response requests ... ok #35 HTTPretty should call a callback function, use it's return tuple as status code, headers and body requests and respect the content-length header when responding to HEAD ... ok #36 HTTPretty should call a callback function and uses it retur tuple as status code, headers and body requests ... ok #37 HTTPretty.last_request is a mimetools.Message request from last match ... ok #38 HTTPretty.last_request is recorded even when mocking 'https' (SSL) ... ok #39 HTTPretty should match the hostname case insensitive ... ok #40 HTTPretty should provide a way to not match regexes that have a different querystring ... ok #41 HTTPretty should ignore querystrings from the registered uri (requests library) ... ok #42 HTTPretty should provide an easy access to the querystring ... ok #43 HTTPretty should match regexes even if they have a different querystring ... ok #44 HTTPretty should reset protocol/port associations ... ok #45 HTTPretty should allow adding and overwritting headers by keyword args with requests ... ok #46 HTTPretty should allow adding and overwritting headers with requests ... ok #47 HTTPretty should allow forcing headers with requests ... ok #48 HTTPretty should allow registering multiple methods for the same uri ... ok #49 HTTPretty should allow multiple responses when binding multiple methods to the same uri ... ok #50 HTTPretty should allow registering regexes with requests ... ok #51 HTTPretty should allow registering regexes with requests and giva a proper match to the callback ... ok #52 HTTPretty should allow registering regexes with requests and giva a proper match to the callback ... ok #53 HTTPretty should allow registering regexes with streaming responses ... ok #54 HTTPretty should handle URLs with paths starting with // ... ok #55 HTTPretty should mock a simple GET with requests.get ... ok #56 HTTPretty should mock basic headers with requests ... ok #57 HTTPretty should normalize all url patching ... ok #58 tests.functional.test_requests.test_httpretty_should_respect_matcher_priority ... ok #59 HTTPretty should work with a non-standard port number ... ok #60 HTTPretty should automatically append a slash to given urls ... ok #61 tests.functional.test_requests.test_multiline ... ok #62 tests.functional.test_requests.test_multipart ... ok #63 tests.functional.test_requests.test_octet_stream ... ok #64 HTTPretty should call a callback function *once* and set its return value as the body of the response requests ... ok #65 HTTPretty should support rotating responses with requests ... ok #66 Mock a streaming HTTP response, like those returned by the Twitter streaming ... FAIL ====================================================================== FAIL: Mock a streaming HTTP response, like those returned by the Twitter streaming ---------------------------------------------------------------------- Traceback (most recent call last): File "/usr/lib/python3.12/site-packages/nose/case.py", line 201, in runTest self.test(*self.arg) File "/usr/lib/python3.12/site-packages/nose/util.py", line 620, in newfunc return func(*arg, **kw) ^^^^^^^^^^^^^^^^ File "/builddir/build/BUILD/httpretty-1.1.4/httpretty/core.py", line 2075, in wrapper return test(*args, **kw) ^^^^^^^^^^^^^^^^^ File "/usr/lib/python3.12/site-packages/sure/__init__.py", line 222, in wrap raise AssertionError(exc.pop(0)) AssertionError: Traceback (most recent call last): File "/usr/lib/python3.12/site-packages/sure/__init__.py", line 196, in wrap func(start, *args, **kw) File "/builddir/build/BUILD/httpretty-1.1.4/tests/functional/test_requests.py", line 370, in test_streaming_responses twitter_body = b''.join(c for c in response.iter_content(chunk_size=1)) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/builddir/build/BUILD/httpretty-1.1.4/tests/functional/test_requests.py", line 370, in twitter_body = b''.join(c for c in response.iter_content(chunk_size=1)) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/lib/python3.12/site-packages/requests/models.py", line 816, in generate yield from self.raw.stream(chunk_size, decode_content=True) File "/usr/lib/python3.12/site-packages/urllib3/response.py", line 627, in stream while not is_fp_closed(self._fp): ^^^^^^^^^^^^^^^^^^^^^^ File "/usr/lib/python3.12/site-packages/urllib3/util/response.py", line 20, in is_fp_closed return obj.isclosed() ^^^^^^^^^^^^^^ File "/usr/lib64/python3.12/http/client.py", line 453, in isclosed def isclosed(self): File "/builddir/build/BUILD/httpretty-1.1.4/tests/functional/test_requests.py", line 303, in handler raise AssertionError(message) AssertionError: Iterating by char is taking forever! 262.43 2000 1706.31 2000 182.6 2000 175.47 2000 176.87 2000 995.72 2000 764.74 2000 330.08 2000 817.68 2000 334.16 2000 418.08 2000 281.78 2000 275.02 2000 266.53 2000 246.16 2000 240.12 2000 1015.71 2000 1878.99 5000 ---------------------------------------------------------------------- Ran 66 tests in 32.121s FAILED (SKIP=7, failures=1) error: Bad exit status from /var/tmp/rpm-tmp.f6RWrj (%check) RPM build errors: Bad exit status from /var/tmp/rpm-tmp.f6RWrj (%check) Child return code was: 1 EXCEPTION: [Error('Command failed: \n # /usr/bin/systemd-nspawn -q -M 7d3e74bea731477c8aac9037c1aefa0d -D /var/lib/mock/f40-build-1926916-25108/root -a -u mockbuild --capability=cap_ipc_lock --bind=/tmp/mock-resolv.32z1a38a:/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-httpretty.spec\'\n', 1)] Traceback (most recent call last): File "/usr/lib/python3.12/site-packages/mockbuild/trace_decorator.py", line 93, in trace result = func(*args, **kw) ^^^^^^^^^^^^^^^^^ File "/usr/lib/python3.12/site-packages/mockbuild/util.py", line 612, in do_with_status raise exception.Error("Command failed: \n # %s\n%s" % (cmd_pretty(command, env), output), child.returncode) mockbuild.exception.Error: Command failed: # /usr/bin/systemd-nspawn -q -M 7d3e74bea731477c8aac9037c1aefa0d -D /var/lib/mock/f40-build-1926916-25108/root -a -u mockbuild --capability=cap_ipc_lock --bind=/tmp/mock-resolv.32z1a38a:/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-httpretty.spec'