Mock Version: 4.1 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target x86_64 --nodeps /builddir/build/SPECS/python-pytest-httpx.spec'], chrootPath='/var/lib/mock/rhel+epel-9-x86_64-1686655639.581737/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.dlg5c760:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/mapper/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=TrueprintOutput=True) Using nspawn with args ['--capability=cap_ipc_lock', '--rlimit=RLIMIT_NOFILE=10240', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.dlg5c760:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/mapper/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', 'ba5eb8cbcb894e18bf74fc5b4b4243c8', '-D', '/var/lib/mock/rhel+epel-9-x86_64-1686655639.581737/root', '-a', '-u', 'mockbuild', '--capability=cap_ipc_lock', '--rlimit=RLIMIT_NOFILE=10240', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.dlg5c760:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/mapper/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-pytest-httpx.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=1686614400 Wrote: /builddir/build/SRPMS/python-pytest-httpx-0.22.0-1.el9.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-pytest-httpx.spec'], chrootPath='/var/lib/mock/rhel+epel-9-x86_64-1686655639.581737/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.dlg5c760:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/mapper/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=TrueprintOutput=True) Using nspawn with args ['--capability=cap_ipc_lock', '--rlimit=RLIMIT_NOFILE=10240', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.dlg5c760:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/mapper/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', 'b603fa4a9a0744f5bf21b781f0bcac24', '-D', '/var/lib/mock/rhel+epel-9-x86_64-1686655639.581737/root', '-a', '-u', 'mockbuild', '--capability=cap_ipc_lock', '--rlimit=RLIMIT_NOFILE=10240', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.dlg5c760:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/mapper/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-pytest-httpx.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=1686614400 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.lXi54k + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf pytest_httpx-0.22.0 + /usr/bin/gzip -dc /builddir/build/SOURCES/pytest-httpx-0.22.0.tar.gz + /usr/bin/tar -xof - + STATUS=0 + '[' 0 -ne 0 ']' + cd pytest_httpx-0.22.0 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + rm -rf pytest-httpx.egg-info + RPM_EC=0 ++ jobs -p + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.8Ljzlw + umask 022 + cd /builddir/build/BUILD + cd pytest_httpx-0.22.0 + 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 -march=x86-64-v2 -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 ' + /usr/bin/python3 setup.py build '--executable=/usr/bin/python3 -s' running build running build_py creating build creating build/lib creating build/lib/pytest_httpx copying pytest_httpx/version.py -> build/lib/pytest_httpx copying pytest_httpx/_httpx_mock.py -> build/lib/pytest_httpx copying pytest_httpx/_httpx_internals.py -> build/lib/pytest_httpx copying pytest_httpx/__init__.py -> build/lib/pytest_httpx copying pytest_httpx/py.typed -> build/lib/pytest_httpx + RPM_EC=0 ++ jobs -p + exit 0 Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.htKvtg + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/python-pytest-httpx-0.22.0-1.el9.x86_64 '!=' / ']' + rm -rf /builddir/build/BUILDROOT/python-pytest-httpx-0.22.0-1.el9.x86_64 ++ dirname /builddir/build/BUILDROOT/python-pytest-httpx-0.22.0-1.el9.x86_64 + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/python-pytest-httpx-0.22.0-1.el9.x86_64 + cd pytest_httpx-0.22.0 + 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 -march=x86-64-v2 -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 ' + /usr/bin/python3 setup.py install -O1 --skip-build --root /builddir/build/BUILDROOT/python-pytest-httpx-0.22.0-1.el9.x86_64 running install running install_lib creating /builddir/build/BUILDROOT/python-pytest-httpx-0.22.0-1.el9.x86_64/usr creating /builddir/build/BUILDROOT/python-pytest-httpx-0.22.0-1.el9.x86_64/usr/lib creating /builddir/build/BUILDROOT/python-pytest-httpx-0.22.0-1.el9.x86_64/usr/lib/python3.9 creating /builddir/build/BUILDROOT/python-pytest-httpx-0.22.0-1.el9.x86_64/usr/lib/python3.9/site-packages creating /builddir/build/BUILDROOT/python-pytest-httpx-0.22.0-1.el9.x86_64/usr/lib/python3.9/site-packages/pytest_httpx copying build/lib/pytest_httpx/py.typed -> /builddir/build/BUILDROOT/python-pytest-httpx-0.22.0-1.el9.x86_64/usr/lib/python3.9/site-packages/pytest_httpx copying build/lib/pytest_httpx/__init__.py -> /builddir/build/BUILDROOT/python-pytest-httpx-0.22.0-1.el9.x86_64/usr/lib/python3.9/site-packages/pytest_httpx copying build/lib/pytest_httpx/_httpx_internals.py -> /builddir/build/BUILDROOT/python-pytest-httpx-0.22.0-1.el9.x86_64/usr/lib/python3.9/site-packages/pytest_httpx copying build/lib/pytest_httpx/_httpx_mock.py -> /builddir/build/BUILDROOT/python-pytest-httpx-0.22.0-1.el9.x86_64/usr/lib/python3.9/site-packages/pytest_httpx copying build/lib/pytest_httpx/version.py -> /builddir/build/BUILDROOT/python-pytest-httpx-0.22.0-1.el9.x86_64/usr/lib/python3.9/site-packages/pytest_httpx byte-compiling /builddir/build/BUILDROOT/python-pytest-httpx-0.22.0-1.el9.x86_64/usr/lib/python3.9/site-packages/pytest_httpx/__init__.py to __init__.cpython-39.pyc byte-compiling /builddir/build/BUILDROOT/python-pytest-httpx-0.22.0-1.el9.x86_64/usr/lib/python3.9/site-packages/pytest_httpx/_httpx_internals.py to _httpx_internals.cpython-39.pyc byte-compiling /builddir/build/BUILDROOT/python-pytest-httpx-0.22.0-1.el9.x86_64/usr/lib/python3.9/site-packages/pytest_httpx/_httpx_mock.py to _httpx_mock.cpython-39.pyc byte-compiling /builddir/build/BUILDROOT/python-pytest-httpx-0.22.0-1.el9.x86_64/usr/lib/python3.9/site-packages/pytest_httpx/version.py to version.cpython-39.pyc writing byte-compilation script '/tmp/tmprccnf0_x.py' /usr/bin/python3 /tmp/tmprccnf0_x.py removing /tmp/tmprccnf0_x.py running install_egg_info running egg_info creating pytest_httpx.egg-info writing pytest_httpx.egg-info/PKG-INFO writing dependency_links to pytest_httpx.egg-info/dependency_links.txt writing entry points to pytest_httpx.egg-info/entry_points.txt writing requirements to pytest_httpx.egg-info/requires.txt writing top-level names to pytest_httpx.egg-info/top_level.txt writing manifest file 'pytest_httpx.egg-info/SOURCES.txt' reading manifest file 'pytest_httpx.egg-info/SOURCES.txt' adding license file 'LICENSE' writing manifest file 'pytest_httpx.egg-info/SOURCES.txt' Copying pytest_httpx.egg-info to /builddir/build/BUILDROOT/python-pytest-httpx-0.22.0-1.el9.x86_64/usr/lib/python3.9/site-packages/pytest_httpx-0.22.0-py3.9.egg-info running install_scripts + rm -rfv /builddir/build/BUILDROOT/python-pytest-httpx-0.22.0-1.el9.x86_64/usr/bin/__pycache__ + /usr/lib/rpm/find-debuginfo.sh -j2 --strict-build-id -m -i --build-id-seed 0.22.0-1.el9 --unique-debug-suffix -0.22.0-1.el9.x86_64 --unique-debug-src-base python-pytest-httpx-0.22.0-1.el9.x86_64 --run-dwz --dwz-low-mem-die-limit 10000000 --dwz-max-die-limit 110000000 --remove-section .gnu.build.attributes -S debugsourcefiles.list /builddir/build/BUILD/pytest_httpx-0.22.0 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/redhat/brp-python-bytecompile '' 1 0 Bytecompiling .py files below /builddir/build/BUILDROOT/python-pytest-httpx-0.22.0-1.el9.x86_64/usr/lib/python3.9 using python3.9 + /usr/lib/rpm/brp-python-hardlink + /usr/lib/rpm/redhat/brp-mangle-shebangs Executing(%check): /bin/sh -e /var/tmp/rpm-tmp.O26jN7 + umask 022 + cd /builddir/build/BUILD + cd pytest_httpx-0.22.0 + 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 -march=x86-64-v2 -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 ' + PATH=/builddir/build/BUILDROOT/python-pytest-httpx-0.22.0-1.el9.x86_64/usr/bin:/builddir/.local/bin:/builddir/bin:/usr/bin:/bin:/usr/sbin:/sbin:/usr/local/sbin + PYTHONPATH=/builddir/build/BUILDROOT/python-pytest-httpx-0.22.0-1.el9.x86_64/usr/lib64/python3.9/site-packages:/builddir/build/BUILDROOT/python-pytest-httpx-0.22.0-1.el9.x86_64/usr/lib/python3.9/site-packages + PYTHONDONTWRITEBYTECODE=1 + /usr/bin/pytest -v tests ============================= test session starts ============================== platform linux -- Python 3.9.16, pytest-6.2.2, py-1.10.0, pluggy-0.13.1 -- /usr/bin/python3 cachedir: .pytest_cache rootdir: /builddir/build/BUILD/pytest_httpx-0.22.0 plugins: httpx-0.22.0, asyncio-0.18.3, anyio-3.5.0 asyncio: mode=legacy collecting ... collected 168 items tests/test_httpx_async.py::test_without_response PASSED [ 0%] tests/test_httpx_async.py::test_default_response PASSED [ 1%] tests/test_httpx_async.py::test_url_matching PASSED [ 1%] tests/test_httpx_async.py::test_url_query_string_matching PASSED [ 2%] tests/test_httpx_async.py::test_url_not_matching PASSED [ 2%] tests/test_httpx_async.py::test_url_query_string_not_matching PASSED [ 3%] tests/test_httpx_async.py::test_method_matching PASSED [ 4%] tests/test_httpx_async.py::test_method_not_matching PASSED [ 4%] tests/test_httpx_async.py::test_with_one_response PASSED [ 5%] tests/test_httpx_async.py::test_response_with_string_body PASSED [ 5%] tests/test_httpx_async.py::test_response_with_html_string_body PASSED [ 6%] tests/test_httpx_async.py::test_stream_response_streaming PASSED [ 7%] tests/test_httpx_async.py::test_content_response_streaming PASSED [ 7%] tests/test_httpx_async.py::test_text_response_streaming PASSED [ 8%] tests/test_httpx_async.py::test_default_response_streaming PASSED [ 8%] tests/test_httpx_async.py::test_with_many_responses PASSED [ 9%] tests/test_httpx_async.py::test_with_many_responses_methods PASSED [ 10%] tests/test_httpx_async.py::test_with_many_responses_status_codes PASSED [ 10%] tests/test_httpx_async.py::test_with_many_responses_urls_str PASSED [ 11%] tests/test_httpx_async.py::test_response_with_pattern_in_url PASSED [ 11%] tests/test_httpx_async.py::test_request_with_pattern_in_url PASSED [ 12%] tests/test_httpx_async.py::test_requests_with_pattern_in_url PASSED [ 13%] tests/test_httpx_async.py::test_callback_with_pattern_in_url PASSED [ 13%] tests/test_httpx_async.py::test_async_callback_with_await_statement PASSED [ 14%] tests/test_httpx_async.py::test_async_callback_with_pattern_in_url PASSED [ 14%] tests/test_httpx_async.py::test_with_many_responses_urls_instances PASSED [ 15%] tests/test_httpx_async.py::test_with_http_version_2 PASSED [ 16%] tests/test_httpx_async.py::test_with_headers PASSED [ 16%] tests/test_httpx_async.py::test_requests_retrieval PASSED [ 17%] tests/test_httpx_async.py::test_requests_retrieval_on_same_url PASSED [ 17%] tests/test_httpx_async.py::test_request_retrieval_on_same_url PASSED [ 18%] tests/test_httpx_async.py::test_requests_retrieval_on_same_method PASSED [ 19%] tests/test_httpx_async.py::test_request_retrieval_on_same_method PASSED [ 19%] tests/test_httpx_async.py::test_requests_retrieval_on_same_url_and_method PASSED [ 20%] tests/test_httpx_async.py::test_default_requests_retrieval PASSED [ 20%] tests/test_httpx_async.py::test_default_request_retrieval PASSED [ 21%] tests/test_httpx_async.py::test_requests_json_body PASSED [ 22%] tests/test_httpx_async.py::test_callback_raising_exception PASSED [ 22%] tests/test_httpx_async.py::test_async_callback_raising_exception PASSED [ 23%] tests/test_httpx_async.py::test_request_exception_raising PASSED [ 23%] tests/test_httpx_async.py::test_non_request_exception_raising PASSED [ 24%] tests/test_httpx_async.py::test_callback_returning_response PASSED [ 25%] tests/test_httpx_async.py::test_async_callback_returning_response PASSED [ 25%] tests/test_httpx_async.py::test_callback_executed_twice PASSED [ 26%] tests/test_httpx_async.py::test_async_callback_executed_twice PASSED [ 26%] tests/test_httpx_async.py::test_callback_registered_after_response PASSED [ 27%] tests/test_httpx_async.py::test_async_callback_registered_after_response PASSED [ 27%] tests/test_httpx_async.py::test_response_registered_after_callback PASSED [ 28%] tests/test_httpx_async.py::test_response_registered_after_async_callback PASSED [ 29%] tests/test_httpx_async.py::test_callback_matching_method PASSED [ 29%] tests/test_httpx_async.py::test_async_callback_matching_method PASSED [ 30%] tests/test_httpx_async.py::test_request_retrieval_with_more_than_one PASSED [ 30%] tests/test_httpx_async.py::test_headers_matching PASSED [ 31%] tests/test_httpx_async.py::test_headers_not_matching PASSED [ 32%] tests/test_httpx_async.py::test_content_matching PASSED [ 32%] tests/test_httpx_async.py::test_content_not_matching PASSED [ 33%] tests/test_httpx_async.py::test_headers_and_content_matching PASSED [ 33%] tests/test_httpx_async.py::test_headers_not_matching_and_content_matching PASSED [ 34%] tests/test_httpx_async.py::test_headers_matching_and_content_not_matching PASSED [ 35%] tests/test_httpx_async.py::test_headers_and_content_not_matching PASSED [ 35%] tests/test_httpx_async.py::test_url_and_headers_and_content_matching PASSED [ 36%] tests/test_httpx_async.py::test_headers_not_matching_and_url_and_content_matching PASSED [ 36%] tests/test_httpx_async.py::test_url_and_headers_not_matching_and_content_matching PASSED [ 37%] tests/test_httpx_async.py::test_url_and_headers_matching_and_content_not_matching PASSED [ 38%] tests/test_httpx_async.py::test_headers_matching_and_url_and_content_not_matching PASSED [ 38%] tests/test_httpx_async.py::test_url_matching_and_headers_and_content_not_matching PASSED [ 39%] tests/test_httpx_async.py::test_url_and_headers_and_content_not_matching PASSED [ 39%] tests/test_httpx_async.py::test_method_and_url_and_headers_and_content_matching PASSED [ 40%] tests/test_httpx_async.py::test_headers_not_matching_and_method_and_url_and_content_matching PASSED [ 41%] tests/test_httpx_async.py::test_url_and_headers_not_matching_and_method_and_content_matching PASSED [ 41%] tests/test_httpx_async.py::test_method_and_url_and_headers_matching_and_content_not_matching PASSED [ 42%] tests/test_httpx_async.py::test_method_and_headers_matching_and_url_and_content_not_matching PASSED [ 42%] tests/test_httpx_async.py::test_method_and_url_matching_and_headers_and_content_not_matching PASSED [ 43%] tests/test_httpx_async.py::test_method_matching_and_url_and_headers_and_content_not_matching PASSED [ 44%] tests/test_httpx_async.py::test_method_and_url_and_headers_and_content_not_matching PASSED [ 44%] tests/test_httpx_async.py::test_header_as_str_tuple_list PASSED [ 45%] tests/test_httpx_async.py::test_header_as_bytes_tuple_list PASSED [ 45%] tests/test_httpx_async.py::test_header_as_bytes_dict PASSED [ 46%] tests/test_httpx_async.py::test_header_as_httpx_headers PASSED [ 47%] tests/test_httpx_async.py::test_elapsed_when_add_response PASSED [ 47%] tests/test_httpx_async.py::test_elapsed_when_add_callback PASSED [ 48%] tests/test_httpx_async.py::test_elapsed_when_add_async_callback PASSED [ 48%] tests/test_httpx_async.py::test_non_ascii_url_response PASSED [ 49%] tests/test_httpx_async.py::test_url_encoded_matching_response PASSED [ 50%] tests/test_httpx_async.py::test_reset_is_removing_requests PASSED [ 50%] tests/test_httpx_sync.py::test_without_response PASSED [ 51%] tests/test_httpx_sync.py::test_default_response PASSED [ 51%] tests/test_httpx_sync.py::test_url_matching PASSED [ 52%] tests/test_httpx_sync.py::test_url_query_string_matching PASSED [ 52%] tests/test_httpx_sync.py::test_url_not_matching PASSED [ 53%] tests/test_httpx_sync.py::test_url_query_string_not_matching PASSED [ 54%] tests/test_httpx_sync.py::test_method_matching PASSED [ 54%] tests/test_httpx_sync.py::test_method_not_matching PASSED [ 55%] tests/test_httpx_sync.py::test_with_one_response PASSED [ 55%] tests/test_httpx_sync.py::test_response_with_string_body PASSED [ 56%] tests/test_httpx_sync.py::test_response_with_html_string_body PASSED [ 57%] tests/test_httpx_sync.py::test_stream_response_streaming PASSED [ 57%] tests/test_httpx_sync.py::test_content_response_streaming PASSED [ 58%] tests/test_httpx_sync.py::test_text_response_streaming PASSED [ 58%] tests/test_httpx_sync.py::test_default_response_streaming PASSED [ 59%] tests/test_httpx_sync.py::test_with_many_responses PASSED [ 60%] tests/test_httpx_sync.py::test_with_many_responses_methods PASSED [ 60%] tests/test_httpx_sync.py::test_with_many_responses_status_codes PASSED [ 61%] tests/test_httpx_sync.py::test_with_many_responses_urls_str PASSED [ 61%] tests/test_httpx_sync.py::test_response_with_pattern_in_url PASSED [ 62%] tests/test_httpx_sync.py::test_request_with_pattern_in_url PASSED [ 63%] tests/test_httpx_sync.py::test_requests_with_pattern_in_url PASSED [ 63%] tests/test_httpx_sync.py::test_callback_with_pattern_in_url PASSED [ 64%] tests/test_httpx_sync.py::test_with_many_responses_urls_instances PASSED [ 64%] tests/test_httpx_sync.py::test_with_http_version_2 PASSED [ 65%] tests/test_httpx_sync.py::test_with_headers PASSED [ 66%] tests/test_httpx_sync.py::test_requests_retrieval PASSED [ 66%] tests/test_httpx_sync.py::test_requests_retrieval_on_same_url PASSED [ 67%] tests/test_httpx_sync.py::test_request_retrieval_on_same_url PASSED [ 67%] tests/test_httpx_sync.py::test_requests_retrieval_on_same_method PASSED [ 68%] tests/test_httpx_sync.py::test_request_retrieval_on_same_method PASSED [ 69%] tests/test_httpx_sync.py::test_requests_retrieval_on_same_url_and_method PASSED [ 69%] tests/test_httpx_sync.py::test_default_requests_retrieval PASSED [ 70%] tests/test_httpx_sync.py::test_default_request_retrieval PASSED [ 70%] tests/test_httpx_sync.py::test_requests_json_body PASSED [ 71%] tests/test_httpx_sync.py::test_callback_raising_exception PASSED [ 72%] tests/test_httpx_sync.py::test_request_exception_raising PASSED [ 72%] tests/test_httpx_sync.py::test_non_request_exception_raising PASSED [ 73%] tests/test_httpx_sync.py::test_callback_returning_response PASSED [ 73%] tests/test_httpx_sync.py::test_callback_executed_twice PASSED [ 74%] tests/test_httpx_sync.py::test_callback_registered_after_response PASSED [ 75%] tests/test_httpx_sync.py::test_response_registered_after_callback PASSED [ 75%] tests/test_httpx_sync.py::test_callback_matching_method PASSED [ 76%] tests/test_httpx_sync.py::test_request_retrieval_with_more_than_one PASSED [ 76%] tests/test_httpx_sync.py::test_headers_matching PASSED [ 77%] tests/test_httpx_sync.py::test_headers_not_matching PASSED [ 77%] tests/test_httpx_sync.py::test_content_matching PASSED [ 78%] tests/test_httpx_sync.py::test_content_not_matching PASSED [ 79%] tests/test_httpx_sync.py::test_headers_and_content_matching PASSED [ 79%] tests/test_httpx_sync.py::test_headers_not_matching_and_content_matching PASSED [ 80%] tests/test_httpx_sync.py::test_headers_matching_and_content_not_matching PASSED [ 80%] tests/test_httpx_sync.py::test_headers_and_content_not_matching PASSED [ 81%] tests/test_httpx_sync.py::test_url_and_headers_and_content_matching PASSED [ 82%] tests/test_httpx_sync.py::test_headers_not_matching_and_url_and_content_matching PASSED [ 82%] tests/test_httpx_sync.py::test_url_and_headers_not_matching_and_content_matching PASSED [ 83%] tests/test_httpx_sync.py::test_url_and_headers_matching_and_content_not_matching PASSED [ 83%] tests/test_httpx_sync.py::test_headers_matching_and_url_and_content_not_matching PASSED [ 84%] tests/test_httpx_sync.py::test_url_matching_and_headers_and_content_not_matching PASSED [ 85%] tests/test_httpx_sync.py::test_url_and_headers_and_content_not_matching PASSED [ 85%] tests/test_httpx_sync.py::test_method_and_url_and_headers_and_content_matching PASSED [ 86%] tests/test_httpx_sync.py::test_headers_not_matching_and_method_and_url_and_content_matching PASSED [ 86%] tests/test_httpx_sync.py::test_url_and_headers_not_matching_and_method_and_content_matching PASSED [ 87%] tests/test_httpx_sync.py::test_method_and_url_and_headers_matching_and_content_not_matching PASSED [ 88%] tests/test_httpx_sync.py::test_method_and_headers_matching_and_url_and_content_not_matching PASSED [ 88%] tests/test_httpx_sync.py::test_method_and_url_matching_and_headers_and_content_not_matching PASSED [ 89%] tests/test_httpx_sync.py::test_method_matching_and_url_and_headers_and_content_not_matching PASSED [ 89%] tests/test_httpx_sync.py::test_method_and_url_and_headers_and_content_not_matching PASSED [ 90%] tests/test_httpx_sync.py::test_header_as_str_tuple_list PASSED [ 91%] tests/test_httpx_sync.py::test_header_as_bytes_tuple_list PASSED [ 91%] tests/test_httpx_sync.py::test_header_as_bytes_dict PASSED [ 92%] tests/test_httpx_sync.py::test_header_as_httpx_headers PASSED [ 92%] tests/test_httpx_sync.py::test_elapsed_when_add_response PASSED [ 93%] tests/test_httpx_sync.py::test_elapsed_when_add_callback PASSED [ 94%] tests/test_httpx_sync.py::test_non_ascii_url_response PASSED [ 94%] tests/test_httpx_sync.py::test_url_encoded_matching_response PASSED [ 95%] tests/test_httpx_sync.py::test_reset_is_removing_requests PASSED [ 95%] tests/test_plugin.py::test_fixture_is_available PASSED [ 96%] tests/test_plugin.py::test_httpx_mock_unused_response PASSED [ 97%] tests/test_plugin.py::test_httpx_mock_unused_response_without_assertion PASSED [ 97%] tests/test_plugin.py::test_httpx_mock_unused_callback PASSED [ 98%] tests/test_plugin.py::test_httpx_mock_unused_callback_without_assertion PASSED [ 98%] tests/test_plugin.py::test_httpx_mock_non_mocked_hosts_sync PASSED [ 99%] tests/test_plugin.py::test_httpx_mock_non_mocked_hosts_async PASSED [100%] =============================== warnings summary =============================== ../../../../usr/lib/python3.9/site-packages/pytest_asyncio/plugin.py:191 /usr/lib/python3.9/site-packages/pytest_asyncio/plugin.py:191: DeprecationWarning: The 'asyncio_mode' default value will change to 'strict' in future, please explicitly use 'asyncio_mode=strict' or 'asyncio_mode=auto' in pytest configuration file. config.issue_config_time_warning(LEGACY_MODE, stacklevel=2) -- Docs: https://docs.pytest.org/en/stable/warnings.html ======================== 168 passed, 1 warning in 6.08s ======================== + RPM_EC=0 ++ jobs -p + exit 0 Processing files: python3-pytest-httpx-0.22.0-1.el9.noarch Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.hOkjRR + umask 022 + cd /builddir/build/BUILD + cd pytest_httpx-0.22.0 + DOCDIR=/builddir/build/BUILDROOT/python-pytest-httpx-0.22.0-1.el9.x86_64/usr/share/doc/python3-pytest-httpx + export LC_ALL=C + LC_ALL=C + export DOCDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/python-pytest-httpx-0.22.0-1.el9.x86_64/usr/share/doc/python3-pytest-httpx + cp -pr README.md /builddir/build/BUILDROOT/python-pytest-httpx-0.22.0-1.el9.x86_64/usr/share/doc/python3-pytest-httpx + RPM_EC=0 ++ jobs -p + exit 0 Executing(%license): /bin/sh -e /var/tmp/rpm-tmp.sVZSVi + umask 022 + cd /builddir/build/BUILD + cd pytest_httpx-0.22.0 + LICENSEDIR=/builddir/build/BUILDROOT/python-pytest-httpx-0.22.0-1.el9.x86_64/usr/share/licenses/python3-pytest-httpx + export LC_ALL=C + LC_ALL=C + export LICENSEDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/python-pytest-httpx-0.22.0-1.el9.x86_64/usr/share/licenses/python3-pytest-httpx + cp -pr LICENSE /builddir/build/BUILDROOT/python-pytest-httpx-0.22.0-1.el9.x86_64/usr/share/licenses/python3-pytest-httpx + RPM_EC=0 ++ jobs -p + exit 0 Provides: python-pytest-httpx = 0.22.0-1.el9 python3-pytest-httpx = 0.22.0-1.el9 python3.9-pytest-httpx = 0.22.0-1.el9 python3.9dist(pytest-httpx) = 0.22 python3dist(pytest-httpx) = 0.22 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: (python3.9dist(httpx) >= 0.24 with python3.9dist(httpx) < 0.25) (python3.9dist(pytest) < 8 with python3.9dist(pytest) >= 6) python(abi) = 3.9 Obsoletes: python-pytest-httpx < 0.22.0-1.el9 python39-pytest-httpx < 0.22.0-1.el9 Checking for unpackaged file(s): /usr/lib/rpm/check-files /builddir/build/BUILDROOT/python-pytest-httpx-0.22.0-1.el9.x86_64 Wrote: /builddir/build/RPMS/python3-pytest-httpx-0.22.0-1.el9.noarch.rpm Executing(%clean): /bin/sh -e /var/tmp/rpm-tmp.xZIVca + umask 022 + cd /builddir/build/BUILD + cd pytest_httpx-0.22.0 + /usr/bin/rm -rf /builddir/build/BUILDROOT/python-pytest-httpx-0.22.0-1.el9.x86_64 + RPM_EC=0 ++ jobs -p + exit 0 Child return code was: 0