Mock Version: 3.1 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target x86_64 --nodeps /builddir/build/SPECS/python-httpretty.spec'], chrootPath='/var/lib/mock/fedora-rawhide-x86_64-1662045282.376421/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=0uid=1000gid=135user='mockbuild'nspawn_args=['--capability=cap_ipc_lock', '--rlimit=RLIMIT_NOFILE=10240', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.ypxvcxdq:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--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=FalseprintOutput=True) Using nspawn with args ['--capability=cap_ipc_lock', '--rlimit=RLIMIT_NOFILE=10240', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.ypxvcxdq:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--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', 'a76125736a10468ca28880234871a60d', '-D', '/var/lib/mock/fedora-rawhide-x86_64-1662045282.376421/root', '-a', '-u', 'mockbuild', '--capability=cap_ipc_lock', '--rlimit=RLIMIT_NOFILE=10240', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.ypxvcxdq:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--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 --target x86_64 --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: x86_64 Building for target x86_64 setting SOURCE_DATE_EPOCH=1659484800 Wrote: /builddir/build/SRPMS/python-httpretty-1.1.4-12.fc38.src.rpm Child return code was: 0 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target x86_64 --nodeps /builddir/build/SPECS/python-httpretty.spec'], chrootPath='/var/lib/mock/fedora-rawhide-x86_64-1662045282.376421/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=0uid=1000gid=135user='mockbuild'nspawn_args=['--capability=cap_ipc_lock', '--rlimit=RLIMIT_NOFILE=10240', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.ypxvcxdq:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--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=FalseprintOutput=True) Using nspawn with args ['--capability=cap_ipc_lock', '--rlimit=RLIMIT_NOFILE=10240', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.ypxvcxdq:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--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', 'b20f5e0a92bd49ec9dbd624351843688', '-D', '/var/lib/mock/fedora-rawhide-x86_64-1662045282.376421/root', '-a', '-u', 'mockbuild', '--capability=cap_ipc_lock', '--rlimit=RLIMIT_NOFILE=10240', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.ypxvcxdq:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--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 --target x86_64 --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: x86_64 Building for target x86_64 setting SOURCE_DATE_EPOCH=1659484800 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.FG9dJi + 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 + /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 + 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.YmY0d8 + umask 022 + cd /builddir/build/BUILD + CFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection' + export CFLAGS + CXXFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection' + export CXXFLAGS + FFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -I/usr/lib64/gfortran/modules' + export FFLAGS + FCFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -I/usr/lib64/gfortran/modules' + export FCFLAGS + LDFLAGS='-Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes' + export LDFLAGS + LT_SYS_LIBRARY_PATH=/usr/lib64: + 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,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection' + LDFLAGS='-Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes' + /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/utils.py -> build/lib/httpretty copying httpretty/http.py -> build/lib/httpretty copying httpretty/errors.py -> build/lib/httpretty copying httpretty/core.py -> build/lib/httpretty copying httpretty/compat.py -> build/lib/httpretty copying httpretty/__init__.py -> build/lib/httpretty + RPM_EC=0 ++ jobs -p + exit 0 Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.04hlnQ + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/python-httpretty-1.1.4-12.fc38.x86_64 '!=' / ']' + rm -rf /builddir/build/BUILDROOT/python-httpretty-1.1.4-12.fc38.x86_64 ++ dirname /builddir/build/BUILDROOT/python-httpretty-1.1.4-12.fc38.x86_64 + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/python-httpretty-1.1.4-12.fc38.x86_64 + CFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection' + export CFLAGS + CXXFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection' + export CXXFLAGS + FFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -I/usr/lib64/gfortran/modules' + export FFLAGS + FCFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -I/usr/lib64/gfortran/modules' + export FCFLAGS + LDFLAGS='-Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes' + export LDFLAGS + LT_SYS_LIBRARY_PATH=/usr/lib64: + 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,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection' + LDFLAGS='-Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes' + /usr/bin/python3 setup.py install -O1 --skip-build --root /builddir/build/BUILDROOT/python-httpretty-1.1.4-12.fc38.x86_64 --prefix /usr running install /usr/lib/python3.11/site-packages/setuptools/command/install.py:34: SetuptoolsDeprecationWarning: setup.py install is deprecated. Use build and pip and other standards-based tools. warnings.warn( running install_lib creating /builddir/build/BUILDROOT/python-httpretty-1.1.4-12.fc38.x86_64/usr creating /builddir/build/BUILDROOT/python-httpretty-1.1.4-12.fc38.x86_64/usr/lib creating /builddir/build/BUILDROOT/python-httpretty-1.1.4-12.fc38.x86_64/usr/lib/python3.11 creating /builddir/build/BUILDROOT/python-httpretty-1.1.4-12.fc38.x86_64/usr/lib/python3.11/site-packages creating /builddir/build/BUILDROOT/python-httpretty-1.1.4-12.fc38.x86_64/usr/lib/python3.11/site-packages/httpretty copying build/lib/httpretty/__init__.py -> /builddir/build/BUILDROOT/python-httpretty-1.1.4-12.fc38.x86_64/usr/lib/python3.11/site-packages/httpretty copying build/lib/httpretty/compat.py -> /builddir/build/BUILDROOT/python-httpretty-1.1.4-12.fc38.x86_64/usr/lib/python3.11/site-packages/httpretty copying build/lib/httpretty/core.py -> /builddir/build/BUILDROOT/python-httpretty-1.1.4-12.fc38.x86_64/usr/lib/python3.11/site-packages/httpretty copying build/lib/httpretty/errors.py -> /builddir/build/BUILDROOT/python-httpretty-1.1.4-12.fc38.x86_64/usr/lib/python3.11/site-packages/httpretty copying build/lib/httpretty/http.py -> /builddir/build/BUILDROOT/python-httpretty-1.1.4-12.fc38.x86_64/usr/lib/python3.11/site-packages/httpretty copying build/lib/httpretty/utils.py -> /builddir/build/BUILDROOT/python-httpretty-1.1.4-12.fc38.x86_64/usr/lib/python3.11/site-packages/httpretty copying build/lib/httpretty/version.py -> /builddir/build/BUILDROOT/python-httpretty-1.1.4-12.fc38.x86_64/usr/lib/python3.11/site-packages/httpretty byte-compiling /builddir/build/BUILDROOT/python-httpretty-1.1.4-12.fc38.x86_64/usr/lib/python3.11/site-packages/httpretty/__init__.py to __init__.cpython-311.pyc byte-compiling /builddir/build/BUILDROOT/python-httpretty-1.1.4-12.fc38.x86_64/usr/lib/python3.11/site-packages/httpretty/compat.py to compat.cpython-311.pyc byte-compiling /builddir/build/BUILDROOT/python-httpretty-1.1.4-12.fc38.x86_64/usr/lib/python3.11/site-packages/httpretty/core.py to core.cpython-311.pyc byte-compiling /builddir/build/BUILDROOT/python-httpretty-1.1.4-12.fc38.x86_64/usr/lib/python3.11/site-packages/httpretty/errors.py to errors.cpython-311.pyc byte-compiling /builddir/build/BUILDROOT/python-httpretty-1.1.4-12.fc38.x86_64/usr/lib/python3.11/site-packages/httpretty/http.py to http.cpython-311.pyc byte-compiling /builddir/build/BUILDROOT/python-httpretty-1.1.4-12.fc38.x86_64/usr/lib/python3.11/site-packages/httpretty/utils.py to utils.cpython-311.pyc byte-compiling /builddir/build/BUILDROOT/python-httpretty-1.1.4-12.fc38.x86_64/usr/lib/python3.11/site-packages/httpretty/version.py to version.cpython-311.pyc writing byte-compilation script '/tmp/tmp7wdgqyyg.py' /usr/bin/python3 /tmp/tmp7wdgqyyg.py removing /tmp/tmp7wdgqyyg.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-12.fc38.x86_64/usr/lib/python3.11/site-packages/httpretty-1.1.4-py3.11.egg-info running install_scripts + rm -rfv /builddir/build/BUILDROOT/python-httpretty-1.1.4-12.fc38.x86_64/usr/bin/__pycache__ + /usr/bin/find-debuginfo -j2 --strict-build-id -m -i --build-id-seed 1.1.4-12.fc38 --unique-debug-suffix -1.1.4-12.fc38.x86_64 --unique-debug-src-base python-httpretty-1.1.4-12.fc38.x86_64 --run-dwz --dwz-low-mem-die-limit 10000000 --dwz-max-die-limit 110000000 -S debugsourcefiles.list /builddir/build/BUILD/httpretty-1.1.4 find: 'debug': No such file or directory + /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 + /usr/lib/rpm/redhat/brp-python-bytecompile '' 1 0 Bytecompiling .py files below /builddir/build/BUILDROOT/python-httpretty-1.1.4-12.fc38.x86_64/usr/lib/python3.11 using python3.11 + /usr/lib/rpm/redhat/brp-python-hardlink Executing(%check): /bin/sh -e /var/tmp/rpm-tmp.qJu1Vm + umask 022 + cd /builddir/build/BUILD + CFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection' + export CFLAGS + CXXFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection' + export CXXFLAGS + FFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -I/usr/lib64/gfortran/modules' + export FFLAGS + FCFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -I/usr/lib64/gfortran/modules' + export FCFLAGS + LDFLAGS='-Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes' + export LDFLAGS + LT_SYS_LIBRARY_PATH=/usr/lib64: + 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.94ms real call to socket.connect() for ('localhost', 46961) 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 1662045397.7747917 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.71ms httpretty.core.socket("localhost:35903").real_sendall(130 bytes) to http://localhost:35903/come-again/ via GET at 1662045398.8903809 real call to socket.connect() for ok #5 httpretty should bypass all requests by disabling it ... 404 GET / (::1) 0.93ms 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 6.486s OK (SKIP=7) 11.28 2000 228.52 2000 8.83 2000 8.6 2000 8.4 2000 46.73 2000 44.27 2000 22.17 2000 47.87 2000 19.44 2000 25.43 2000 16.2 2000 16.2 2000 15.96 2000 16.48 2000 16.05 2000 71.44 2000 110.09 5000 10.17 2000 231.52 2000 7.89 2000 8.34 2000 10.1 2000 + RPM_EC=0 ++ jobs -p + exit 0 Processing files: python3-httpretty-1.1.4-12.fc38.noarch Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.EBNc7k + umask 022 + cd /builddir/build/BUILD + cd httpretty-1.1.4 + DOCDIR=/builddir/build/BUILDROOT/python-httpretty-1.1.4-12.fc38.x86_64/usr/share/doc/python3-httpretty + export LC_ALL=C + LC_ALL=C + export DOCDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/python-httpretty-1.1.4-12.fc38.x86_64/usr/share/doc/python3-httpretty + cp -pr README.rst /builddir/build/BUILDROOT/python-httpretty-1.1.4-12.fc38.x86_64/usr/share/doc/python3-httpretty + RPM_EC=0 ++ jobs -p + exit 0 Executing(%license): /bin/sh -e /var/tmp/rpm-tmp.1e1joD + umask 022 + cd /builddir/build/BUILD + cd httpretty-1.1.4 + LICENSEDIR=/builddir/build/BUILDROOT/python-httpretty-1.1.4-12.fc38.x86_64/usr/share/licenses/python3-httpretty + export LC_ALL=C + LC_ALL=C + export LICENSEDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/python-httpretty-1.1.4-12.fc38.x86_64/usr/share/licenses/python3-httpretty + cp -pr COPYING /builddir/build/BUILDROOT/python-httpretty-1.1.4-12.fc38.x86_64/usr/share/licenses/python3-httpretty + RPM_EC=0 ++ jobs -p + exit 0 Provides: python-httpretty = 1.1.4-12.fc38 python3-httpretty = 1.1.4-12.fc38 python3.11-httpretty = 1.1.4-12.fc38 python3.11dist(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.11 Checking for unpackaged file(s): /usr/lib/rpm/check-files /builddir/build/BUILDROOT/python-httpretty-1.1.4-12.fc38.x86_64 Wrote: /builddir/build/RPMS/python3-httpretty-1.1.4-12.fc38.noarch.rpm Executing(%clean): /bin/sh -e /var/tmp/rpm-tmp.vApwZ5 + umask 022 + cd /builddir/build/BUILD + cd httpretty-1.1.4 + /usr/bin/rm -rf /builddir/build/BUILDROOT/python-httpretty-1.1.4-12.fc38.x86_64 + RPM_EC=0 ++ jobs -p + exit 0 Executing(rmbuild): /bin/sh -e /var/tmp/rpm-tmp.dU7Wnt + umask 022 + cd /builddir/build/BUILD + rm -rf httpretty-1.1.4 httpretty-1.1.4.gemspec + RPM_EC=0 ++ jobs -p + exit 0 Child return code was: 0