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/f41-build-50390141-6030502/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=201600uid=1000gid=425user='mockbuild'nspawn_args=['--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.fcm6b54r:/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.fcm6b54r:/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', '2e7f751fa3224c4fb992bc99e03abd4e', '-D', '/var/lib/mock/f41-build-50390141-6030502/root', '-a', '-u', 'mockbuild', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.fcm6b54r:/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.fc41.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/f41-build-50390141-6030502/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=201600uid=1000gid=425user='mockbuild'nspawn_args=['--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.fcm6b54r:/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.fcm6b54r:/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', '42e3f9d5d6774ce28c7c5c911af09ce9', '-D', '/var/lib/mock/f41-build-50390141-6030502/root', '-a', '-u', 'mockbuild', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.fcm6b54r:/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.juir12 + 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/lib/rpm/rpmuncompress /builddir/build/SOURCES/test_response-no-within.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch -f + /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.mskwfv + umask 022 + cd /builddir/build/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 -m64 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection ' + 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 -m64 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection ' + 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 -m64 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection -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 -m64 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection -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 -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 -m64 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection ' + 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/__init__.py -> build/lib/httpretty copying httpretty/compat.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/utils.py -> build/lib/httpretty copying httpretty/version.py -> build/lib/httpretty + RPM_EC=0 ++ jobs -p + exit 0 Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.Up3jLH + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/python-httpretty-1.1.4-20.fc41.noarch '!=' / ']' + rm -rf /builddir/build/BUILDROOT/python-httpretty-1.1.4-20.fc41.noarch ++ dirname /builddir/build/BUILDROOT/python-httpretty-1.1.4-20.fc41.noarch + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/python-httpretty-1.1.4-20.fc41.noarch + 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 -m64 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection ' + 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 -m64 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection ' + 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 -m64 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection -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 -m64 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection -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 -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 -m64 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection ' + 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.fc41.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.fc41.noarch/usr creating /builddir/build/BUILDROOT/python-httpretty-1.1.4-20.fc41.noarch/usr/lib creating /builddir/build/BUILDROOT/python-httpretty-1.1.4-20.fc41.noarch/usr/lib/python3.12 creating /builddir/build/BUILDROOT/python-httpretty-1.1.4-20.fc41.noarch/usr/lib/python3.12/site-packages creating /builddir/build/BUILDROOT/python-httpretty-1.1.4-20.fc41.noarch/usr/lib/python3.12/site-packages/httpretty copying build/lib/httpretty/__init__.py -> /builddir/build/BUILDROOT/python-httpretty-1.1.4-20.fc41.noarch/usr/lib/python3.12/site-packages/httpretty copying build/lib/httpretty/compat.py -> /builddir/build/BUILDROOT/python-httpretty-1.1.4-20.fc41.noarch/usr/lib/python3.12/site-packages/httpretty copying build/lib/httpretty/core.py -> /builddir/build/BUILDROOT/python-httpretty-1.1.4-20.fc41.noarch/usr/lib/python3.12/site-packages/httpretty copying build/lib/httpretty/errors.py -> /builddir/build/BUILDROOT/python-httpretty-1.1.4-20.fc41.noarch/usr/lib/python3.12/site-packages/httpretty copying build/lib/httpretty/http.py -> /builddir/build/BUILDROOT/python-httpretty-1.1.4-20.fc41.noarch/usr/lib/python3.12/site-packages/httpretty copying build/lib/httpretty/utils.py -> /builddir/build/BUILDROOT/python-httpretty-1.1.4-20.fc41.noarch/usr/lib/python3.12/site-packages/httpretty copying build/lib/httpretty/version.py -> /builddir/build/BUILDROOT/python-httpretty-1.1.4-20.fc41.noarch/usr/lib/python3.12/site-packages/httpretty byte-compiling /builddir/build/BUILDROOT/python-httpretty-1.1.4-20.fc41.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.fc41.noarch/usr/lib/python3.12/site-packages/httpretty/compat.py to compat.cpython-312.pyc byte-compiling /builddir/build/BUILDROOT/python-httpretty-1.1.4-20.fc41.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.fc41.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.fc41.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.fc41.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.fc41.noarch/usr/lib/python3.12/site-packages/httpretty/version.py to version.cpython-312.pyc writing byte-compilation script '/tmp/tmplrcz82oy.py' /usr/bin/python3 /tmp/tmplrcz82oy.py removing /tmp/tmplrcz82oy.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.fc41.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.fc41.noarch/usr/bin/__pycache__ + /usr/bin/find-debuginfo -j8 --strict-build-id -m -i --build-id-seed 1.1.4-20.fc41 --unique-debug-suffix -1.1.4-20.fc41.noarch --unique-debug-src-base python-httpretty-1.1.4-20.fc41.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 -j8 Bytecompiling .py files below /builddir/build/BUILDROOT/python-httpretty-1.1.4-20.fc41.noarch/usr/lib/python3.12 using python3.12 + /usr/lib/rpm/redhat/brp-python-hardlink Executing(%check): /bin/sh -e /var/tmp/rpm-tmp.MH5vBi + umask 022 + cd /builddir/build/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 -m64 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection ' + 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 -m64 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection ' + 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 -m64 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection -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 -m64 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection -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) 0.69ms real call to socket.connect() for ('localhost', 32795) 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 1713477211.6942904 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) 0.80ms httpretty.core.socket("localhost:35919").real_sendall(130 bytes) to http://localhost:35919/come-again/ via GET at 1713477212.8129582 real call to socket.connect() for ok #5 httpretty should bypass all requests by disabling it ... 404 GET / (::1) 0.76ms 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 ... ok #67 Querystrings should accept unicode characters ... ok #68 HTTPretty should call a callback function to be set as the body with urllib2 ... ok #69 HTTPretty.last_request is a mimetools.Message request from last match ... ok #70 HTTPretty.last_request is recorded even when mocking 'https' (SSL) ... ok #71 HTTPretty should mock a simple GET with urllib2.read() ... ok #72 HTTPretty should provide an easy access to the querystring ... ok #73 HTTPretty should allow adding and overwritting headers by keyword args with urllib2 ... ok #74 HTTPretty should allow adding and overwritting headers with urllib2 ... ok #75 HTTPretty should allow forcing headers with urllib2 ... ok #76 HTTPretty should allow registering regexes with urllib2 ... ok #77 HTTPretty should mock a simple GET with urllib2.read() ... ok #78 HTTPretty should mock basic headers with urllib2 ... ok #79 HTTPretty should support adding a list of successive responses with urllib2 ... ok #80 HTTPretty should remove PyOpenSSLs urllib3 mock if it is installed ... ok #81 HTTPrettyRequest is a BaseHTTPRequestHandler that replaces real socket file descriptors with in-memory ones ... ok #82 HTTPrettyRequest#parse_querystring should parse unicode data ... ok #83 HTTPrettyRequest#parse_request_body recognizes the content-type `application/json` and parses it ... ok #84 HTTPrettyRequest#parse_request_body recognizes the content-type `text/json` and parses it ... ok #85 HTTPrettyRequest#parse_request_body recognizes the content-type `application/x-www-form-urlencoded` and parses it ... ok #86 HTTPrettyRequest#parse_request_body returns the value as is if the Content-Type is not recognized ... ok #87 HTTPrettyRequest should have a forward_and_trace-friendly string representation ... ok #88 FakeSSLSocket is a simpel wrapper around its own socket, which was designed to be a HTTPretty fake socket ... ok #89 fakesock.socket#ssl should take a socket instance and return itself ... ok #90 fakesock.socket#sendall handles paths starting with // well ... ok #91 URIMatcher response querystring ... ok #92 URIMatcher equality check should check querystring ... ok #93 fakesock.socket#getpeercert should return a hardcoded fake certificate ... ok #94 fakesock.socket#close should close the actual socket in case it's not http and __truesock_is_connected__ is True ... ok #95 fakesock.socket#connect should open a real connection if the given port is not a potential http port ... real call to socket.connect() for ('somewhere.com', 42) ok #96 fakesock.socket#makefile should set the mode, bufsize and return its mocked file descriptor ... ok #97 fakesock.socket#real_sendall calls truesock#connect and bails out when not http ... ok #98 fakesock.socket#real_sendall should continue if the socket error was EAGAIN ... real call to socket.connect() for ('1.2.3.4', 42) ok #99 fakesock.socket#real_sendall should continue if the socket error was EAGAIN ... real call to socket.connect() for ('1.2.3.4', 42) ok #100 fakesock.socket#real_sendall sends data and buffers the response in the file descriptor ... real call to socket.connect() for ('1.2.3.4', 42) ok #101 fakesock.socket#real_sendall should connect before sending data ... real call to socket.connect() for ('foobar.com', 4000) ok #102 fakesock.socket#sendall should call real_sendall when not parsing headers and there is no entry ... real call to socket.connect() for ('foo.com', 80) ok #103 fakesock.socket#sendall should call real_sendall when not ... real call to socket.connect() for ('foo.com', 80) ok #104 fakesock.socket#sendall should call real_sendall when there is no entry ... real call to socket.connect() for ('foo.com', 80) ok #105 fakesock.socket#sendall should create an entry if it's given a valid request line ... real call to socket.connect() for ('foo.com', 80) ok #106 fakesock.socket#sendall should create an entry if it's given a valid request line ... real call to socket.connect() for ('foo.com', 80) ok #107 parse_requestline should parse the CONNECT method appropriately ... ok #108 HTTPretty should raise proper exception on inconsistent Content-Length / registered response body ... ok #109 HTTPretty.last_request is a dummy object by default ... ok #110 HTTPretty supports N status codes ... ok #111 tests.unit.test_httpretty.test_uri_info_full_url ... ok #112 Test that URIInfo.__eq__ method ignores case for ... ok #113 tests.unit.test_httpretty.test_global_boolean_enabled ... ok #114 tests.unit.test_httpretty.test_py3kobject_implements_valid__repr__based_on__str__ ... ok #115 tests.unit.test_httpretty.test_Entry_class_normalizes_headers ... ok #116 tests.unit.test_httpretty.test_Entry_class_counts_multibyte_characters_in_bytes ... ok #117 tests.unit.test_httpretty.test_Entry_class_counts_dynamic ... ok #118 tests.unit.test_httpretty.test_fake_socket_passes_through_setblocking ... ok #119 tests.unit.test_httpretty.test_fake_socket_passes_through_fileno ... ok #120 tests.unit.test_httpretty.test_fake_socket_passes_through_getsockopt ... ok #121 tests.unit.test_httpretty.test_fake_socket_passes_through_bind ... ok #122 tests.unit.test_httpretty.test_fake_socket_passes_through_connect_ex ... ok #123 tests.unit.test_httpretty.test_fake_socket_passes_through_listen ... ok #124 tests.unit.test_httpretty.test_fake_socket_passes_through_getpeername ... ok #125 tests.unit.test_httpretty.test_fake_socket_passes_through_getsockname ... ok #126 tests.unit.test_httpretty.test_fake_socket_passes_through_gettimeout ... ok #127 tests.unit.test_httpretty.test_fake_socket_passes_through_shutdown ... ok #128 tests.unit.test_httpretty.test_unix_socket ... real call to socket.connect() for ./not-exist-socket ok #129 A content-type of application/json should parse a valid json body ... ok #130 A content-type of application/json with an invalid json body should return the content unaltered ... ok #131 A content-type of x-www-form-urlencoded with a valid queryparam body should return parsed content ... ok #132 A non-handled content type request's post body should return the content unaltered ... ok #133 Some versions of python accidentally internally shadowed the SockType ... ok #134 tests.unit.test_httpretty.test_socktype_good_python_version ... ok #135 HTTPretty should allow registering regexes with requests ... ok #136 HTTPretty should allow registering regexes with requests (ssl version) ... ok #137 httpretty.has_request() correctly detects whether or not a request has been made ... ok #138 httpretty.last_request() should return httpretty.core.last_request ... ok #139 httpretty.latest_requests() should return httpretty.core.latest_requests ... ok ---------------------------------------------------------------------- Ran 139 tests in 7.711s OK (SKIP=7) 17.05 2000 205.53 2000 15.14 2000 11.66 2000 11.95 2000 66.98 2000 68.16 2000 37.12 2000 76.47 2000 26.27 2000 38.39 2000 20.38 2000 21.03 2000 21.76 2000 18.64 2000 19.42 2000 92.81 2000 186.28 5000 16.54 2000 15.63 2000 11.67 2000 10.7 2000 10.88 2000 + RPM_EC=0 ++ jobs -p + exit 0 Processing files: python3-httpretty-1.1.4-20.fc41.noarch Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.cKRwpQ + umask 022 + cd /builddir/build/BUILD + cd httpretty-1.1.4 + DOCDIR=/builddir/build/BUILDROOT/python-httpretty-1.1.4-20.fc41.noarch/usr/share/doc/python3-httpretty + export LC_ALL= + LC_ALL= + export DOCDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/python-httpretty-1.1.4-20.fc41.noarch/usr/share/doc/python3-httpretty + cp -pr /builddir/build/BUILD/httpretty-1.1.4/README.rst /builddir/build/BUILDROOT/python-httpretty-1.1.4-20.fc41.noarch/usr/share/doc/python3-httpretty + RPM_EC=0 ++ jobs -p + exit 0 Executing(%license): /bin/sh -e /var/tmp/rpm-tmp.FVYtAm + umask 022 + cd /builddir/build/BUILD + cd httpretty-1.1.4 + LICENSEDIR=/builddir/build/BUILDROOT/python-httpretty-1.1.4-20.fc41.noarch/usr/share/licenses/python3-httpretty + export LC_ALL= + LC_ALL= + export LICENSEDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/python-httpretty-1.1.4-20.fc41.noarch/usr/share/licenses/python3-httpretty + cp -pr /builddir/build/BUILD/httpretty-1.1.4/COPYING /builddir/build/BUILDROOT/python-httpretty-1.1.4-20.fc41.noarch/usr/share/licenses/python3-httpretty + RPM_EC=0 ++ jobs -p + exit 0 Provides: python-httpretty = 1.1.4-20.fc41 python3-httpretty = 1.1.4-20.fc41 python3.12-httpretty = 1.1.4-20.fc41 python3.12dist(httpretty) = 1.1.4 python3dist(httpretty) = 1.1.4 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.12 Checking for unpackaged file(s): /usr/lib/rpm/check-files /builddir/build/BUILDROOT/python-httpretty-1.1.4-20.fc41.noarch Wrote: /builddir/build/RPMS/python3-httpretty-1.1.4-20.fc41.noarch.rpm Child return code was: 0