Mock Version: 4.1 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target x86_64 --nodeps /builddir/build/SPECS/python-respx.spec'], chrootPath='/var/lib/mock/fedora-rawhide-x86_64-1686647620.223972/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=1001gid=135user='mockbuild'nspawn_args=['--capability=cap_ipc_lock', '--rlimit=RLIMIT_NOFILE=10240', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.27tpk0_g:/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.27tpk0_g:/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', '0e5a31e37b78441caaf3d918cd0f2b05', '-D', '/var/lib/mock/fedora-rawhide-x86_64-1686647620.223972/root', '-a', '-u', 'mockbuild', '--capability=cap_ipc_lock', '--rlimit=RLIMIT_NOFILE=10240', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.27tpk0_g:/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-respx.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=1684108800 Wrote: /builddir/build/SRPMS/python-respx-0.20.1-1.fc39.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-respx.spec'], chrootPath='/var/lib/mock/fedora-rawhide-x86_64-1686647620.223972/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=1001gid=135user='mockbuild'nspawn_args=['--capability=cap_ipc_lock', '--rlimit=RLIMIT_NOFILE=10240', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.27tpk0_g:/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.27tpk0_g:/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', '89d64bbccedd4467aea21f0d53062d0a', '-D', '/var/lib/mock/fedora-rawhide-x86_64-1686647620.223972/root', '-a', '-u', 'mockbuild', '--capability=cap_ipc_lock', '--rlimit=RLIMIT_NOFILE=10240', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.27tpk0_g:/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-respx.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=1684108800 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.ZYqpjt + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf respx-0.20.1 + /usr/lib/rpm/rpmuncompress -x /builddir/build/SOURCES/respx-0.20.1.tar.gz + STATUS=0 + '[' 0 -ne 0 ']' + cd respx-0.20.1 + /usr/bin/mkdir -p SPECPARTS + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + /usr/lib/rpm/rpmuncompress /builddir/build/SOURCES/231.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch -f + rm -rf respx.egg-info + sed -i -e '/--cov-fail-under 100/d' setup.cfg + RPM_EC=0 ++ jobs -p + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.0nmvK4 + 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 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer ' + export CFLAGS + CXXFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer ' + export CXXFLAGS + FFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -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 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -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,-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 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -I/usr/lib64/gfortran/modules ' + export FCFLAGS + VALAFLAGS=-g + export VALAFLAGS + RUSTFLAGS='-Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cforce-frame-pointers=yes -Clink-arg=-Wl,-z,relro -Clink-arg=-Wl,-z,now -Clink-arg=-specs=/usr/lib/rpm/redhat/redhat-package-notes --cap-lints=warn' + export RUSTFLAGS + LDFLAGS='-Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-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 respx-0.20.1 + 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 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer ' + LDFLAGS='-Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-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/respx copying respx/types.py -> build/lib/respx copying respx/transports.py -> build/lib/respx copying respx/router.py -> build/lib/respx copying respx/plugin.py -> build/lib/respx copying respx/patterns.py -> build/lib/respx copying respx/models.py -> build/lib/respx copying respx/mocks.py -> build/lib/respx copying respx/handlers.py -> build/lib/respx copying respx/fixtures.py -> build/lib/respx copying respx/api.py -> build/lib/respx copying respx/__version__.py -> build/lib/respx copying respx/__init__.py -> build/lib/respx running egg_info creating respx.egg-info writing respx.egg-info/PKG-INFO writing dependency_links to respx.egg-info/dependency_links.txt writing entry points to respx.egg-info/entry_points.txt writing requirements to respx.egg-info/requires.txt writing top-level names to respx.egg-info/top_level.txt writing manifest file 'respx.egg-info/SOURCES.txt' reading manifest file 'respx.egg-info/SOURCES.txt' reading manifest template 'MANIFEST.in' warning: no previously-included files matching '*' found under directory '.github' warning: no previously-included files matching '*' found under directory 'docs' warning: no previously-included files found matching '*.yaml' warning: no previously-included files found matching '*.xml' warning: no previously-included files found matching 'flake.*' adding license file 'LICENSE.md' warning: no previously-included files found matching 'noxfile.py' writing manifest file 'respx.egg-info/SOURCES.txt' copying respx/py.typed -> build/lib/respx + RPM_EC=0 ++ jobs -p + exit 0 Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.dA2ZIj + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/python-respx-0.20.1-1.fc39.x86_64 '!=' / ']' + rm -rf /builddir/build/BUILDROOT/python-respx-0.20.1-1.fc39.x86_64 ++ dirname /builddir/build/BUILDROOT/python-respx-0.20.1-1.fc39.x86_64 + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/python-respx-0.20.1-1.fc39.x86_64 + 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 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer ' + export CFLAGS + CXXFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer ' + export CXXFLAGS + FFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -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 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -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,-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 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -I/usr/lib64/gfortran/modules ' + export FCFLAGS + VALAFLAGS=-g + export VALAFLAGS + RUSTFLAGS='-Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cforce-frame-pointers=yes -Clink-arg=-Wl,-z,relro -Clink-arg=-Wl,-z,now -Clink-arg=-specs=/usr/lib/rpm/redhat/redhat-package-notes --cap-lints=warn' + export RUSTFLAGS + LDFLAGS='-Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-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 respx-0.20.1 + 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 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer ' + LDFLAGS='-Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-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-respx-0.20.1-1.fc39.x86_64 --prefix /usr running install /usr/lib/python3.11/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, pypa/build 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-respx-0.20.1-1.fc39.x86_64/usr creating /builddir/build/BUILDROOT/python-respx-0.20.1-1.fc39.x86_64/usr/lib creating /builddir/build/BUILDROOT/python-respx-0.20.1-1.fc39.x86_64/usr/lib/python3.11 creating /builddir/build/BUILDROOT/python-respx-0.20.1-1.fc39.x86_64/usr/lib/python3.11/site-packages creating /builddir/build/BUILDROOT/python-respx-0.20.1-1.fc39.x86_64/usr/lib/python3.11/site-packages/respx copying build/lib/respx/py.typed -> /builddir/build/BUILDROOT/python-respx-0.20.1-1.fc39.x86_64/usr/lib/python3.11/site-packages/respx copying build/lib/respx/__init__.py -> /builddir/build/BUILDROOT/python-respx-0.20.1-1.fc39.x86_64/usr/lib/python3.11/site-packages/respx copying build/lib/respx/__version__.py -> /builddir/build/BUILDROOT/python-respx-0.20.1-1.fc39.x86_64/usr/lib/python3.11/site-packages/respx copying build/lib/respx/api.py -> /builddir/build/BUILDROOT/python-respx-0.20.1-1.fc39.x86_64/usr/lib/python3.11/site-packages/respx copying build/lib/respx/fixtures.py -> /builddir/build/BUILDROOT/python-respx-0.20.1-1.fc39.x86_64/usr/lib/python3.11/site-packages/respx copying build/lib/respx/handlers.py -> /builddir/build/BUILDROOT/python-respx-0.20.1-1.fc39.x86_64/usr/lib/python3.11/site-packages/respx copying build/lib/respx/mocks.py -> /builddir/build/BUILDROOT/python-respx-0.20.1-1.fc39.x86_64/usr/lib/python3.11/site-packages/respx copying build/lib/respx/models.py -> /builddir/build/BUILDROOT/python-respx-0.20.1-1.fc39.x86_64/usr/lib/python3.11/site-packages/respx copying build/lib/respx/patterns.py -> /builddir/build/BUILDROOT/python-respx-0.20.1-1.fc39.x86_64/usr/lib/python3.11/site-packages/respx copying build/lib/respx/plugin.py -> /builddir/build/BUILDROOT/python-respx-0.20.1-1.fc39.x86_64/usr/lib/python3.11/site-packages/respx copying build/lib/respx/router.py -> /builddir/build/BUILDROOT/python-respx-0.20.1-1.fc39.x86_64/usr/lib/python3.11/site-packages/respx copying build/lib/respx/transports.py -> /builddir/build/BUILDROOT/python-respx-0.20.1-1.fc39.x86_64/usr/lib/python3.11/site-packages/respx copying build/lib/respx/types.py -> /builddir/build/BUILDROOT/python-respx-0.20.1-1.fc39.x86_64/usr/lib/python3.11/site-packages/respx byte-compiling /builddir/build/BUILDROOT/python-respx-0.20.1-1.fc39.x86_64/usr/lib/python3.11/site-packages/respx/__init__.py to __init__.cpython-311.pyc byte-compiling /builddir/build/BUILDROOT/python-respx-0.20.1-1.fc39.x86_64/usr/lib/python3.11/site-packages/respx/__version__.py to __version__.cpython-311.pyc byte-compiling /builddir/build/BUILDROOT/python-respx-0.20.1-1.fc39.x86_64/usr/lib/python3.11/site-packages/respx/api.py to api.cpython-311.pyc byte-compiling /builddir/build/BUILDROOT/python-respx-0.20.1-1.fc39.x86_64/usr/lib/python3.11/site-packages/respx/fixtures.py to fixtures.cpython-311.pyc byte-compiling /builddir/build/BUILDROOT/python-respx-0.20.1-1.fc39.x86_64/usr/lib/python3.11/site-packages/respx/handlers.py to handlers.cpython-311.pyc byte-compiling /builddir/build/BUILDROOT/python-respx-0.20.1-1.fc39.x86_64/usr/lib/python3.11/site-packages/respx/mocks.py to mocks.cpython-311.pyc byte-compiling /builddir/build/BUILDROOT/python-respx-0.20.1-1.fc39.x86_64/usr/lib/python3.11/site-packages/respx/models.py to models.cpython-311.pyc byte-compiling /builddir/build/BUILDROOT/python-respx-0.20.1-1.fc39.x86_64/usr/lib/python3.11/site-packages/respx/patterns.py to patterns.cpython-311.pyc byte-compiling /builddir/build/BUILDROOT/python-respx-0.20.1-1.fc39.x86_64/usr/lib/python3.11/site-packages/respx/plugin.py to plugin.cpython-311.pyc byte-compiling /builddir/build/BUILDROOT/python-respx-0.20.1-1.fc39.x86_64/usr/lib/python3.11/site-packages/respx/router.py to router.cpython-311.pyc byte-compiling /builddir/build/BUILDROOT/python-respx-0.20.1-1.fc39.x86_64/usr/lib/python3.11/site-packages/respx/transports.py to transports.cpython-311.pyc byte-compiling /builddir/build/BUILDROOT/python-respx-0.20.1-1.fc39.x86_64/usr/lib/python3.11/site-packages/respx/types.py to types.cpython-311.pyc writing byte-compilation script '/tmp/tmppim6ohmx.py' /usr/bin/python3 /tmp/tmppim6ohmx.py removing /tmp/tmppim6ohmx.py running install_egg_info running egg_info writing respx.egg-info/PKG-INFO writing dependency_links to respx.egg-info/dependency_links.txt writing entry points to respx.egg-info/entry_points.txt writing requirements to respx.egg-info/requires.txt writing top-level names to respx.egg-info/top_level.txt reading manifest file 'respx.egg-info/SOURCES.txt' reading manifest template 'MANIFEST.in' warning: no previously-included files matching '*' found under directory '.github' warning: no previously-included files matching '*' found under directory 'docs' warning: no previously-included files found matching '*.yaml' warning: no previously-included files found matching '*.xml' warning: no previously-included files found matching 'flake.*' adding license file 'LICENSE.md' warning: no previously-included files found matching 'noxfile.py' writing manifest file 'respx.egg-info/SOURCES.txt' Copying respx.egg-info to /builddir/build/BUILDROOT/python-respx-0.20.1-1.fc39.x86_64/usr/lib/python3.11/site-packages/respx-0.20.1-py3.11.egg-info running install_scripts + rm -rfv /builddir/build/BUILDROOT/python-respx-0.20.1-1.fc39.x86_64/usr/bin/__pycache__ + /usr/bin/find-debuginfo -j2 --strict-build-id -m -i --build-id-seed 0.20.1-1.fc39 --unique-debug-suffix -0.20.1-1.fc39.x86_64 --unique-debug-src-base python-respx-0.20.1-1.fc39.x86_64 --run-dwz --dwz-low-mem-die-limit 10000000 --dwz-max-die-limit 110000000 -S debugsourcefiles.list /builddir/build/BUILD/respx-0.20.1 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 + env /usr/lib/rpm/redhat/brp-python-bytecompile '' 1 0 -j2 Bytecompiling .py files below /builddir/build/BUILDROOT/python-respx-0.20.1-1.fc39.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.HtkgHO + 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 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer ' + export CFLAGS + CXXFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer ' + export CXXFLAGS + FFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -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 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -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,-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 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -I/usr/lib64/gfortran/modules ' + export FCFLAGS + VALAFLAGS=-g + export VALAFLAGS + RUSTFLAGS='-Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cforce-frame-pointers=yes -Clink-arg=-Wl,-z,relro -Clink-arg=-Wl,-z,now -Clink-arg=-specs=/usr/lib/rpm/redhat/redhat-package-notes --cap-lints=warn' + export RUSTFLAGS + LDFLAGS='-Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-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 respx-0.20.1 + 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 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer ' + LDFLAGS='-Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes ' + PATH=/builddir/build/BUILDROOT/python-respx-0.20.1-1.fc39.x86_64/usr/bin:/builddir/.local/bin:/builddir/bin:/usr/bin:/bin:/usr/sbin:/sbin:/usr/local/sbin + PYTHONPATH=/builddir/build/BUILDROOT/python-respx-0.20.1-1.fc39.x86_64/usr/lib64/python3.11/site-packages:/builddir/build/BUILDROOT/python-respx-0.20.1-1.fc39.x86_64/usr/lib/python3.11/site-packages + PYTHONDONTWRITEBYTECODE=1 + PYTEST_XDIST_AUTO_NUM_WORKERS=2 + /usr/bin/pytest -v tests -k 'not test_pass_through' --asyncio-mode=auto ============================= test session starts ============================== platform linux -- Python 3.11.3, pytest-7.3.2, pluggy-1.0.0 -- /usr/bin/python3 cachedir: .pytest_cache rootdir: /builddir/build/BUILD/respx-0.20.1 configfile: setup.cfg plugins: asyncio-0.21.0, cov-4.0.0, anyio-3.5.0 asyncio: mode=Mode.AUTO collecting ... collected 290 items / 5 deselected / 285 selected tests/test_api.py::test_http_methods PASSED [ 0%] tests/test_api.py::test_url_match[https://foo.bar-https://foo.bar] PASSED [ 0%] tests/test_api.py::test_url_match[https://foo.bar/baz/-None] PASSED [ 1%] tests/test_api.py::test_url_match[https://foo.bar/baz/-] PASSED [ 1%] tests/test_api.py::test_url_match[https://foo.bar/baz/-https://foo.bar/baz/] PASSED [ 1%] tests/test_api.py::test_url_match[https://foo.bar/baz/-^https://foo.bar/\\w+/$] PASSED [ 2%] tests/test_api.py::test_url_match[https://foo.bar/baz/-pattern5] PASSED [ 2%] tests/test_api.py::test_url_match[https://foo.bar:443/baz/-pattern6] PASSED [ 2%] tests/test_api.py::test_invalid_url_pattern PASSED [ 3%] tests/test_api.py::test_repeated_pattern PASSED [ 3%] tests/test_api.py::test_status_code PASSED [ 3%] tests/test_api.py::test_headers[headers0-None-expected0] PASSED [ 4%] tests/test_api.py::test_headers[headers1-None-expected1] PASSED [ 4%] tests/test_api.py::test_headers[headers2-ham/spam-expected2] PASSED [ 4%] tests/test_api.py::test_text_encoding[eldr\xc3\xa4v-eldr\xe4v] PASSED [ 5%] tests/test_api.py::test_text_encoding[\xe4pple-\xe4pple] PASSED [ 5%] tests/test_api.py::test_text_encoding[Gehäusegr\xf6\xdfe-Gehäusegr\xf6\xdfe] PASSED [ 5%] tests/test_api.py::test_content_variants[content-foobar-None0] PASSED [ 6%] tests/test_api.py::test_content_variants[content-foobar-None1] PASSED [ 6%] tests/test_api.py::test_content_variants[json-value2-application/json] PASSED [ 7%] tests/test_api.py::test_content_variants[json-value3-application/json] PASSED [ 7%] tests/test_api.py::test_content_variants[text-foobar-text/plain; charset=utf-8] PASSED [ 7%] tests/test_api.py::test_content_variants[html-foobar-text/html; charset=utf-8] PASSED [ 8%] tests/test_api.py::test_json_content[content0-headers0-expected_headers0] PASSED [ 8%] tests/test_api.py::test_json_content[content1-headers1-expected_headers1] PASSED [ 8%] tests/test_api.py::test_json_post_body PASSED [ 9%] tests/test_api.py::test_raising_content PASSED [ 9%] tests/test_api.py::test_callable_content PASSED [ 9%] tests/test_api.py::test_request_callback PASSED [ 10%] tests/test_api.py::test_parallel_requests PASSED [ 10%] tests/test_api.py::test_method_case[DELETE-delete] PASSED [ 10%] tests/test_api.py::test_method_case[delete-delete] PASSED [ 11%] tests/test_api.py::test_method_case[GET-get] PASSED [ 11%] tests/test_api.py::test_method_case[get-get] PASSED [ 11%] tests/test_api.py::test_method_case[HEAD-head] PASSED [ 12%] tests/test_api.py::test_method_case[head-head] PASSED [ 12%] tests/test_api.py::test_method_case[OPTIONS-options] PASSED [ 12%] tests/test_api.py::test_method_case[options-options] PASSED [ 13%] tests/test_api.py::test_method_case[PATCH-patch] PASSED [ 13%] tests/test_api.py::test_method_case[patch-patch] PASSED [ 14%] tests/test_api.py::test_method_case[POST-post] PASSED [ 14%] tests/test_api.py::test_method_case[post-post] PASSED [ 14%] tests/test_api.py::test_method_case[PUT-put] PASSED [ 15%] tests/test_api.py::test_method_case[put-put] PASSED [ 15%] tests/test_api.py::test_pop PASSED [ 15%] tests/test_api.py::test_params_match[https://foo/-foo=bar-https://foo/-foo=bar0] PASSED [ 16%] tests/test_api.py::test_params_match[https://foo/-foo=bar-https://foo/-foo=bar1] PASSED [ 16%] tests/test_api.py::test_params_match[https://foo/-params2-https://foo/-call_params2] PASSED [ 16%] tests/test_api.py::test_params_match[https://foo/-params3-https://foo/-call_params3] PASSED [ 17%] tests/test_api.py::test_params_match[https://foo/-params4-https://foo/-call_params4] PASSED [ 17%] tests/test_api.py::test_params_match[https://foo?foo=bar-baz=qux-https://foo?foo=bar-baz=qux] PASSED [ 17%] tests/test_api.py::test_params_match[https://foo?foo=bar-baz=qux-https://foo?foo=bar&baz=qux-None] PASSED [ 18%] tests/test_api.py::test_params_match[https://foo/(\\w+)/-foo=bar-https://foo/bar/-foo=bar] PASSED [ 18%] tests/test_api.py::test_params_match[url8-foo=bar-https://foo/-foo=bar] PASSED [ 18%] tests/test_api.py::test_params_match[url9-baz=qux-https://foo?foo=bar&baz=qux-None] PASSED [ 19%] tests/test_api.py::test_build_url_base[None-https://foo.bar/baz/] PASSED [ 19%] tests/test_api.py::test_build_url_base[-https://foo.bar/baz/] PASSED [ 20%] tests/test_api.py::test_build_url_base[https://foo.bar-baz/] PASSED [ 20%] tests/test_api.py::test_build_url_base[https://foo.bar/-baz/] PASSED [ 20%] tests/test_api.py::test_build_url_base[https://foo.bar/-/baz/] PASSED [ 21%] tests/test_api.py::test_build_url_base[https://foo.bar/baz/-None] PASSED [ 21%] tests/test_api.py::test_build_url_base[https://foo.bar/-/(\\w+)/] PASSED [ 21%] tests/test_api.py::test_add PASSED [ 22%] tests/test_api.py::test_respond PASSED [ 22%] tests/test_api.py::test_async_post_content[kwargs0] PASSED [ 22%] tests/test_api.py::test_async_post_content[kwargs1] PASSED [ 23%] tests/test_api.py::test_async_post_content[kwargs2] PASSED [ 23%] tests/test_api.py::test_async_post_content[kwargs3] PASSED [ 23%] tests/test_api.py::test_async_post_content[kwargs4] PASSED [ 24%] tests/test_mock.py::test_decorating_test PASSED [ 24%] tests/test_mock.py::test_mock_request_fixture PASSED [ 24%] tests/test_mock.py::test_mock_single_session_fixture PASSED [ 25%] tests/test_mock.py::test_mock_multiple_session_fixtures PASSED [ 25%] tests/test_mock.py::test_global_sync_decorator PASSED [ 25%] tests/test_mock.py::test_global_async_decorator PASSED [ 26%] tests/test_mock.py::test_local_sync_decorator[httpcore] PASSED [ 26%] tests/test_mock.py::test_local_sync_decorator[httpx] PASSED [ 27%] tests/test_mock.py::test_local_async_decorator[httpcore] PASSED [ 27%] tests/test_mock.py::test_local_async_decorator[httpx] PASSED [ 27%] tests/test_mock.py::test_local_decorator_with_reference PASSED [ 28%] tests/test_mock.py::test_local_decorator_without_reference PASSED [ 28%] tests/test_mock.py::test_global_contextmanager PASSED [ 28%] tests/test_mock.py::test_local_contextmanager PASSED [ 29%] tests/test_mock.py::test_nested_local_contextmanager PASSED [ 29%] tests/test_mock.py::test_nested_global_contextmanager PASSED [ 29%] tests/test_mock.py::test_configured_decorator PASSED [ 30%] tests/test_mock.py::test_configured_decorator_with_fixture PASSED [ 30%] tests/test_mock.py::test_configured_router_reuse PASSED [ 30%] tests/test_mock.py::test_router_return_type_misuse PASSED [ 31%] tests/test_mock.py::test_nested_base_url PASSED [ 31%] tests/test_mock.py::test_leakage PASSED [ 31%] tests/test_mock.py::test_start_stop PASSED [ 32%] tests/test_mock.py::test_assert_all_called[True-False-raises0] PASSED [ 32%] tests/test_mock.py::test_assert_all_called[True-True-raises1] PASSED [ 32%] tests/test_mock.py::test_assert_all_called[False-True-raises2] PASSED [ 33%] tests/test_mock.py::test_assert_all_called[False-False-raises3] PASSED [ 33%] tests/test_mock.py::test_assert_all_mocked[True-raises0] PASSED [ 34%] tests/test_mock.py::test_assert_all_mocked[False-raises1] PASSED [ 34%] tests/test_mock.py::test_add_remove_targets PASSED [ 34%] tests/test_mock.py::test_proxies PASSED [ 35%] tests/test_mock.py::test_uds PASSED [ 35%] tests/test_mock.py::test_mock_using_none PASSED [ 35%] tests/test_mock.py::test_router_using__none PASSED [ 36%] tests/test_mock.py::test_router_using__invalid PASSED [ 36%] tests/test_mock.py::test_mocker_subclass PASSED [ 36%] tests/test_mock.py::test_sync_httpx_mocker PASSED [ 37%] tests/test_mock.py::test_async_httpx_mocker PASSED [ 37%] tests/test_mock.py::test_async_side_effect[httpcore] PASSED [ 37%] tests/test_mock.py::test_async_side_effect[httpx] PASSED [ 38%] tests/test_mock.py::test_async_side_effect__exception[httpcore] PASSED [ 38%] tests/test_mock.py::test_async_side_effect__exception[httpx] PASSED [ 38%] tests/test_mock.py::test_async_app_route[httpcore] PASSED [ 39%] tests/test_mock.py::test_async_app_route[httpx] PASSED [ 39%] tests/test_mock.py::test_sync_app_route[httpcore] PASSED [ 40%] tests/test_mock.py::test_sync_app_route[httpx] PASSED [ 40%] tests/test_mock.py::test_httpcore_request[https://foo.bar/-None] PASSED [ 40%] tests/test_mock.py::test_httpcore_request[https://foo.bar:443/-443] PASSED [ 41%] tests/test_mock.py::test_route_rollback PASSED [ 41%] tests/test_patterns.py::test_bitwise_and PASSED [ 41%] tests/test_patterns.py::test_bitwise_operators[GET-https://foo.bar/-True] PASSED [ 42%] tests/test_patterns.py::test_bitwise_operators[GET-https://foo.bar/baz/-False] PASSED [ 42%] tests/test_patterns.py::test_bitwise_operators[POST-https://foo.bar/-True] PASSED [ 42%] tests/test_patterns.py::test_bitwise_operators[POST-https://ham.spam/-True] PASSED [ 43%] tests/test_patterns.py::test_bitwise_operators[PATCH-https://foo.bar/-True] PASSED [ 43%] tests/test_patterns.py::test_bitwise_operators[PUT-https://foo.bar/-False] PASSED [ 43%] tests/test_patterns.py::test_match_context PASSED [ 44%] tests/test_patterns.py::test_noop_pattern PASSED [ 44%] tests/test_patterns.py::test_m_pattern[kwargs0-https://foo.bar/-True] PASSED [ 44%] tests/test_patterns.py::test_m_pattern[kwargs1-https://foo.bar/?x=y-False] PASSED [ 45%] tests/test_patterns.py::test_m_pattern[kwargs2-https://foo.bar/?x=y-True] PASSED [ 45%] tests/test_patterns.py::test_method_pattern[Lookup.EQUAL-GET-True] PASSED [ 45%] tests/test_patterns.py::test_method_pattern[Lookup.EQUAL-get-True] PASSED [ 46%] tests/test_patterns.py::test_method_pattern[Lookup.EQUAL-POST-False] PASSED [ 46%] tests/test_patterns.py::test_method_pattern[Lookup.IN-value3-True] PASSED [ 47%] tests/test_patterns.py::test_method_pattern[Lookup.IN-value4-False] PASSED [ 47%] tests/test_patterns.py::test_headers_pattern[Lookup.CONTAINS-headers0-request_headers0-True] PASSED [ 47%] tests/test_patterns.py::test_headers_pattern[Lookup.CONTAINS-headers1--False] PASSED [ 48%] tests/test_patterns.py::test_headers_pattern_hash PASSED [ 48%] tests/test_patterns.py::test_cookies_pattern[Lookup.CONTAINS-cookies0-request_cookies0-True] PASSED [ 48%] tests/test_patterns.py::test_cookies_pattern[Lookup.CONTAINS-cookies1-request_cookies1-False] PASSED [ 49%] tests/test_patterns.py::test_cookies_pattern[Lookup.EQUAL-cookies2-request_cookies2-True] PASSED [ 49%] tests/test_patterns.py::test_cookies_pattern[Lookup.EQUAL-cookies3-request_cookies3-True] PASSED [ 49%] tests/test_patterns.py::test_cookies_pattern[Lookup.EQUAL-cookies4-request_cookies4-True] PASSED [ 50%] tests/test_patterns.py::test_cookies_pattern[Lookup.EQUAL-cookies5-None-True] PASSED [ 50%] tests/test_patterns.py::test_cookies_pattern[Lookup.EQUAL-cookies6-request_cookies6-False] PASSED [ 50%] tests/test_patterns.py::test_cookies_pattern__hash PASSED [ 51%] tests/test_patterns.py::test_scheme_pattern[Lookup.EQUAL-https-True] PASSED [ 51%] tests/test_patterns.py::test_scheme_pattern[Lookup.EQUAL-HTTPS-True] PASSED [ 51%] tests/test_patterns.py::test_scheme_pattern[Lookup.EQUAL-http-False] PASSED [ 52%] tests/test_patterns.py::test_scheme_pattern[Lookup.IN-scheme3-True] PASSED [ 52%] tests/test_patterns.py::test_host_pattern[Lookup.EQUAL-foo.bar-True] PASSED [ 52%] tests/test_patterns.py::test_host_pattern[Lookup.EQUAL-ham.spam-False] PASSED [ 53%] tests/test_patterns.py::test_host_pattern[Lookup.REGEX-.+\\.bar-True] PASSED [ 53%] tests/test_patterns.py::test_port_pattern[Lookup.EQUAL-443-https://foo.bar/-True] PASSED [ 54%] tests/test_patterns.py::test_port_pattern[Lookup.EQUAL-80-https://foo.bar/-False] PASSED [ 54%] tests/test_patterns.py::test_port_pattern[Lookup.EQUAL-80-http://foo.bar/-True] PASSED [ 54%] tests/test_patterns.py::test_port_pattern[Lookup.EQUAL-8080-https://foo.bar:8080/baz/-True] PASSED [ 55%] tests/test_patterns.py::test_port_pattern[Lookup.EQUAL-8080-https://foo.bar/baz/-False] PASSED [ 55%] tests/test_patterns.py::test_port_pattern[Lookup.EQUAL-22-//foo.bar:22/baz/-True] PASSED [ 55%] tests/test_patterns.py::test_port_pattern[Lookup.EQUAL-None-//foo.bar/-True] PASSED [ 56%] tests/test_patterns.py::test_port_pattern[Lookup.IN-port7-http://foo.bar/-True] PASSED [ 56%] tests/test_patterns.py::test_port_pattern[Lookup.IN-port8-https://foo.bar/-True] PASSED [ 56%] tests/test_patterns.py::test_port_pattern[Lookup.IN-port9-https://foo.bar:8080/-False] PASSED [ 57%] tests/test_patterns.py::test_path_pattern PASSED [ 57%] tests/test_patterns.py::test_params_pattern[Lookup.CONTAINS--https://foo.bar/-True] PASSED [ 57%] tests/test_patterns.py::test_params_pattern[Lookup.CONTAINS-x=1-https://foo.bar/?x=1-True] PASSED [ 58%] tests/test_patterns.py::test_params_pattern[Lookup.CONTAINS-x=-https://foo.bar/?x=1-False] PASSED [ 58%] tests/test_patterns.py::test_params_pattern[Lookup.CONTAINS-x=-https://foo.bar/?x=-True] PASSED [ 58%] tests/test_patterns.py::test_params_pattern[Lookup.CONTAINS-y=2-https://foo.bar/?x=1-False] PASSED [ 59%] tests/test_patterns.py::test_params_pattern[Lookup.CONTAINS-params5-https://foo.bar/?x=1-True] PASSED [ 59%] tests/test_patterns.py::test_params_pattern[Lookup.CONTAINS-params6-https://foo.bar/?x=1-True] PASSED [ 60%] tests/test_patterns.py::test_params_pattern[Lookup.CONTAINS-params7-https://foo.bar/?x=1-False] PASSED [ 60%] tests/test_patterns.py::test_params_pattern[Lookup.CONTAINS-params8-https://foo.bar/?x=1&y=2-True] PASSED [ 60%] tests/test_patterns.py::test_params_pattern[Lookup.CONTAINS-params9-https://foo.bar/?x=1-False] PASSED [ 61%] tests/test_patterns.py::test_params_pattern[Lookup.CONTAINS-params10-https://foo.bar/?x=1&x=2-True] PASSED [ 61%] tests/test_patterns.py::test_params_pattern[Lookup.CONTAINS-params11-https://foo.bar/?x=2&x=3-False] PASSED [ 61%] tests/test_patterns.py::test_params_pattern[Lookup.CONTAINS-x=1&y=2-https://foo.bar/?x=1-False] PASSED [ 62%] tests/test_patterns.py::test_params_pattern[Lookup.EQUAL--https://foo.bar/-True] PASSED [ 62%] tests/test_patterns.py::test_params_pattern[Lookup.EQUAL-x-https://foo.bar/?x-True] PASSED [ 62%] tests/test_patterns.py::test_params_pattern[Lookup.EQUAL-x=-https://foo.bar/?x=-True] PASSED [ 63%] tests/test_patterns.py::test_params_pattern[Lookup.EQUAL-x=1-https://foo.bar/?x=1-True] PASSED [ 63%] tests/test_patterns.py::test_params_pattern[Lookup.EQUAL-y=2-https://foo.bar/?x=1-False] PASSED [ 63%] tests/test_patterns.py::test_params_pattern[Lookup.EQUAL-params18-https://foo.bar/?x=1-True] PASSED [ 64%] tests/test_patterns.py::test_params_pattern[Lookup.EQUAL-params19-https://foo.bar/?x=1-False] PASSED [ 64%] tests/test_patterns.py::test_params_pattern[Lookup.EQUAL-params20-https://foo.bar/?x=1-False] PASSED [ 64%] tests/test_patterns.py::test_params_pattern[Lookup.EQUAL-params21-https://foo.bar/-True] PASSED [ 65%] tests/test_patterns.py::test_params_pattern[Lookup.EQUAL-x=1&y=2-https://foo.bar/?x=1-False] PASSED [ 65%] tests/test_patterns.py::test_params_pattern[Lookup.EQUAL-y=2&x=1-https://foo.bar/?x=1&y=2-True] PASSED [ 65%] tests/test_patterns.py::test_params_pattern[Lookup.EQUAL-y=3&x=2&x=1-https://foo.bar/?x=1&x=2&y=3-False] PASSED [ 66%] tests/test_patterns.py::test_params_pattern[Lookup.EQUAL-y=3&x=1&x=2-https://foo.bar/?x=1&x=2&y=3-True] PASSED [ 66%] tests/test_patterns.py::test_params_pattern[Lookup.CONTAINS-x=2&x=1-https://foo.bar/?x=1&x=2&y=3-False] PASSED [ 67%] tests/test_patterns.py::test_params_pattern[Lookup.CONTAINS-x=1&x=2-https://foo.bar/?x=1&x=2&x=3-False] PASSED [ 67%] tests/test_patterns.py::test_params_pattern[Lookup.CONTAINS-x=1&x=2-https://foo.bar/?x=1&x=2&y=3-True] PASSED [ 67%] tests/test_patterns.py::test_params_pattern_hash PASSED [ 68%] tests/test_patterns.py::test_url_pattern[Lookup.REGEX-https?://a.b/(?P\\w+)/-context0-http://a.b/c/-True] PASSED [ 68%] tests/test_patterns.py::test_url_pattern[Lookup.REGEX-^https://a.b/.+$-context1-https://a.b/c/-True] PASSED [ 68%] tests/test_patterns.py::test_url_pattern[Lookup.REGEX-https://a.b/c/-context2-https://x.y/c/-False] PASSED [ 69%] tests/test_patterns.py::test_url_pattern[Lookup.EQUAL-https://a.b/c/-context3-https://a.b/c/-True] PASSED [ 69%] tests/test_patterns.py::test_url_pattern[Lookup.EQUAL-https://a.b/x/-context4-https://a.b/c/-False] PASSED [ 69%] tests/test_patterns.py::test_url_pattern[Lookup.EQUAL-https://a.b?x=y-context5-https://a.b/?x=y-True] PASSED [ 70%] tests/test_patterns.py::test_url_pattern[Lookup.EQUAL-https://a.b/?x=y-context6-https://a.b?x=y-True] PASSED [ 70%] tests/test_patterns.py::test_url_pattern[Lookup.STARTS_WITH-https://a.b/b-context7-https://a.b/baz/-True] PASSED [ 70%] tests/test_patterns.py::test_url_pattern[Lookup.STARTS_WITH-http://a.b/baz/-context8-https://a.b/baz/-False] PASSED [ 71%] tests/test_patterns.py::test_url_pattern[Lookup.EQUAL-value9-context9-https://[FE80::1]-True] PASSED [ 71%] tests/test_patterns.py::test_url_pattern_invalid PASSED [ 71%] tests/test_patterns.py::test_url_pattern_hash PASSED [ 72%] tests/test_patterns.py::test_content_pattern[Lookup.EQUAL-foobar-True0] PASSED [ 72%] tests/test_patterns.py::test_content_pattern[Lookup.EQUAL-foobar-True1] PASSED [ 72%] tests/test_patterns.py::test_data_pattern[Lookup.EQUAL-data0-True] PASSED [ 73%] tests/test_patterns.py::test_json_pattern[Lookup.EQUAL-value0-json0-True] PASSED [ 73%] tests/test_patterns.py::test_json_pattern[Lookup.EQUAL-value1-json1-False] PASSED [ 74%] tests/test_patterns.py::test_json_pattern[Lookup.EQUAL-value2-json2-True] PASSED [ 74%] tests/test_patterns.py::test_json_pattern[Lookup.EQUAL-value3-json3-False] PASSED [ 74%] tests/test_patterns.py::test_json_pattern[Lookup.EQUAL-json-string-json-string-True] PASSED [ 75%] tests/test_patterns.py::test_json_pattern_path[json0-foo__bar-baz-True] PASSED [ 75%] tests/test_patterns.py::test_json_pattern_path[json1-x-value1-True] PASSED [ 75%] tests/test_patterns.py::test_json_pattern_path[json2-ham__1__egg-yolk-True] PASSED [ 76%] tests/test_patterns.py::test_json_pattern_path[json3-0__name-jonas-True] PASSED [ 76%] tests/test_patterns.py::test_json_pattern_path[json4-pk-123-True] PASSED [ 76%] tests/test_patterns.py::test_json_pattern_path[json5-foo__ham-spam-False] PASSED [ 77%] tests/test_patterns.py::test_json_pattern_path[json6-1__name-lundberg-False] PASSED [ 77%] tests/test_patterns.py::test_invalid_pattern PASSED [ 77%] tests/test_patterns.py::test_iter_pattern PASSED [ 78%] tests/test_patterns.py::test_parse_url_patterns PASSED [ 78%] tests/test_patterns.py::test_merge_patterns PASSED [ 78%] tests/test_patterns.py::test_unique_pattern_key PASSED [ 79%] tests/test_plugin.py::test_respx_mock_fixture PASSED [ 79%] tests/test_remote.py::test_remote_pass_through[httpcore-httpx-2] SKIPPED [ 80%] tests/test_remote.py::test_remote_pass_through[httpx-httpx-1] SKIPPED [ 80%] tests/test_router.py::test_empty_router PASSED [ 80%] tests/test_router.py::test_empty_router__auto_mocked PASSED [ 81%] tests/test_router.py::test_resolve[args0-kwargs0-True] PASSED [ 81%] tests/test_router.py::test_resolve[args1-kwargs1-True] PASSED [ 81%] tests/test_router.py::test_resolve[args2-kwargs2-True] PASSED [ 82%] tests/test_router.py::test_resolve[args3-kwargs3-False] PASSED [ 82%] tests/test_router.py::test_resolve[args4-kwargs4-False] PASSED [ 82%] tests/test_router.py::test_resolve[args5-kwargs5-False] PASSED [ 83%] tests/test_router.py::test_resolve[args6-kwargs6-True] PASSED [ 83%] tests/test_router.py::test_resolve[args7-kwargs7-False] PASSED [ 83%] tests/test_router.py::test_resolve[args8-kwargs8-False] PASSED [ 84%] tests/test_router.py::test_resolve[args9-kwargs9-True] PASSED [ 84%] tests/test_router.py::test_base_url[https://foo.bar/api/baz/-lookups0-True] PASSED [ 84%] tests/test_router.py::test_base_url[https://foo.bar/api/baz/-lookups1-True] PASSED [ 85%] tests/test_router.py::test_base_url[http://foo.bar/api/baz/-lookups2-False] PASSED [ 85%] tests/test_router.py::test_base_url[https://ham.spam/api/baz/-lookups3-False] PASSED [ 85%] tests/test_router.py::test_base_url[https://foo.bar/baz/-lookups4-False] PASSED [ 86%] tests/test_router.py::test_base_url[https://foo.bar/api/hej:svejs-lookups5-True] PASSED [ 86%] tests/test_router.py::test_url_pattern_lookup[lookups0-https://foo.bar/baz/-True] PASSED [ 87%] tests/test_router.py::test_url_pattern_lookup[lookups1-https://foo.bar/baz/-True] PASSED [ 87%] tests/test_router.py::test_url_pattern_lookup[lookups2-https://foo.bar/baz/-True] PASSED [ 87%] tests/test_router.py::test_url_pattern_lookup[lookups3-https://foo.bar/baz/-True] PASSED [ 88%] tests/test_router.py::test_url_pattern_lookup[lookups4-https://baz.foo.bar/-True] PASSED [ 88%] tests/test_router.py::test_url_pattern_lookup[lookups5-https://foo.bar/baz/-False] PASSED [ 88%] tests/test_router.py::test_url_pattern_lookup[lookups6-https://baz.foo.bar/-True] PASSED [ 89%] tests/test_router.py::test_url_pattern_lookup[lookups7-https://foo.bar/baz/-True] PASSED [ 89%] tests/test_router.py::test_url_pattern_lookup[lookups8-http://foo.bar/baz/-False] PASSED [ 89%] tests/test_router.py::test_url_pattern_lookup[lookups9-https://foo.bar/-True] PASSED [ 90%] tests/test_router.py::test_url_pattern_lookup[lookups10-https://foo.bar-True] PASSED [ 90%] tests/test_router.py::test_url_pattern_lookup[lookups11-https://foo.bar/baz/-True] PASSED [ 90%] tests/test_router.py::test_mod_response PASSED [ 91%] tests/test_router.py::test_async_side_effect PASSED [ 91%] tests/test_router.py::test_side_effect_no_match PASSED [ 91%] tests/test_router.py::test_side_effect_with_route_kwarg PASSED [ 92%] tests/test_router.py::test_side_effect_with_reserved_route_kwarg PASSED [ 92%] tests/test_router.py::test_side_effect_list PASSED [ 92%] tests/test_router.py::test_side_effect_exception PASSED [ 93%] tests/test_router.py::test_side_effect_decorator PASSED [ 93%] tests/test_router.py::test_rollback PASSED [ 94%] tests/test_router.py::test_multiple_pattern_values_type_error PASSED [ 94%] tests/test_router.py::test_routelist__add PASSED [ 94%] tests/test_router.py::test_routelist__pop PASSED [ 95%] tests/test_router.py::test_routelist__replaces_same_name_and_pattern PASSED [ 95%] tests/test_router.py::test_routelist__replaces_same_name_diff_pattern PASSED [ 95%] tests/test_router.py::test_routelist__replaces_same_pattern_no_name PASSED [ 96%] tests/test_router.py::test_routelist__replaces_same_pattern_diff_name PASSED [ 96%] tests/test_router.py::test_routelist__replaces_same_name_other_pattern_no_name PASSED [ 96%] tests/test_router.py::test_routelist__replaces_same_name_other_pattern_other_name PASSED [ 97%] tests/test_router.py::test_routelist__unable_to_slice_assign PASSED [ 97%] tests/test_stats.py::test_named_route PASSED [ 97%] tests/test_stats.py::test_asyncio PASSED [ 98%] tests/test_stats.py::test_trio PASSED [ 98%] tests/test_transports.py::test_sync_transport_handler PASSED [ 98%] tests/test_transports.py::test_async_transport_handler PASSED [ 99%] tests/test_transports.py::test_transport_assertions PASSED [ 99%] tests/test_transports.py::test_required_kwarg PASSED [100%] =============================== warnings summary =============================== tests/test_stats.py::test_trio /usr/lib/python3.11/site-packages/anyio/_backends/_trio.py:126: TrioDeprecationWarning: trio.MultiError is deprecated since Trio 0.22.0; use BaseExceptionGroup (on Python 3.11 and later) or exceptiongroup.BaseExceptionGroup (earlier versions) instead (https://github.com/python-trio/trio/issues/2211) class ExceptionGroup(BaseExceptionGroup, trio.MultiError): -- Docs: https://docs.pytest.org/en/stable/how-to/capture-warnings.html ---------- coverage: platform linux, python 3.11.3-final-0 ----------- Name Stmts Miss Branch BrPart Cover Missing ------------------------------------------------------------------ respx/mocks.py 197 2 86 0 99% 214, 226 respx/models.py 280 0 108 1 99% 397->403 tests/test_api.py 304 16 114 1 93% 363->exit, 373-398 tests/test_router.py 348 13 44 0 96% 73-89 ------------------------------------------------------------------ TOTAL 2763 31 836 2 99% 18 files skipped due to complete coverage. Coverage XML written to file coverage.xml =========================== short test summary info ============================ SKIPPED [2] tests/test_remote.py:12: Remote pass-through disabled =========== 283 passed, 2 skipped, 5 deselected, 1 warning in 5.36s ============ + RPM_EC=0 ++ jobs -p + exit 0 Processing files: python3-respx-0.20.1-1.fc39.noarch Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.GsikIf + umask 022 + cd /builddir/build/BUILD + cd respx-0.20.1 + DOCDIR=/builddir/build/BUILDROOT/python-respx-0.20.1-1.fc39.x86_64/usr/share/doc/python3-respx + export LC_ALL=C + LC_ALL=C + export DOCDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/python-respx-0.20.1-1.fc39.x86_64/usr/share/doc/python3-respx + cp -pr /builddir/build/BUILD/respx-0.20.1/README.md /builddir/build/BUILDROOT/python-respx-0.20.1-1.fc39.x86_64/usr/share/doc/python3-respx + RPM_EC=0 ++ jobs -p + exit 0 Executing(%license): /bin/sh -e /var/tmp/rpm-tmp.VBdSz9 + umask 022 + cd /builddir/build/BUILD + cd respx-0.20.1 + LICENSEDIR=/builddir/build/BUILDROOT/python-respx-0.20.1-1.fc39.x86_64/usr/share/licenses/python3-respx + export LC_ALL=C + LC_ALL=C + export LICENSEDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/python-respx-0.20.1-1.fc39.x86_64/usr/share/licenses/python3-respx + cp -pr /builddir/build/BUILD/respx-0.20.1/LICENSE.md /builddir/build/BUILDROOT/python-respx-0.20.1-1.fc39.x86_64/usr/share/licenses/python3-respx + RPM_EC=0 ++ jobs -p + exit 0 Provides: python-respx = 0.20.1-1.fc39 python3-respx = 0.20.1-1.fc39 python3.11-respx = 0.20.1-1.fc39 python3.11dist(respx) = 0.20.1 python3dist(respx) = 0.20.1 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PartialHardlinkSets) <= 4.0.4-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires: python(abi) = 3.11 python3.11dist(httpx) >= 0.21 Obsoletes: python-respx < 0.20.1-1.fc39 Checking for unpackaged file(s): /usr/lib/rpm/check-files /builddir/build/BUILDROOT/python-respx-0.20.1-1.fc39.x86_64 Wrote: /builddir/build/RPMS/python3-respx-0.20.1-1.fc39.noarch.rpm Executing(%clean): /bin/sh -e /var/tmp/rpm-tmp.EemXjj + umask 022 + cd /builddir/build/BUILD + cd respx-0.20.1 + /usr/bin/rm -rf /builddir/build/BUILDROOT/python-respx-0.20.1-1.fc39.x86_64 + RPM_EC=0 ++ jobs -p + exit 0 Executing(rmbuild): /bin/sh -e /var/tmp/rpm-tmp.KVljfs + umask 022 + cd /builddir/build/BUILD + rm -rf respx-0.20.1 respx-0.20.1.gemspec + RPM_EC=0 ++ jobs -p + exit 0 Child return code was: 0