Mock Version: 3.0 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target x86_64 --nodeps /builddir/build/SPECS/python-aiohttp-cors.spec'], chrootPath='/var/lib/mock/centos-stream-8-x86_64-1655486083.833811/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.tn81_g1u:/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=TrueprintOutput=True) Using nspawn with args ['--capability=cap_ipc_lock', '--rlimit=RLIMIT_NOFILE=10240', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.tn81_g1u:/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', 'd7e079ecbecb47eba286556505fd588b', '-D', '/var/lib/mock/centos-stream-8-x86_64-1655486083.833811/root', '-a', '-u', 'mockbuild', '--capability=cap_ipc_lock', '--rlimit=RLIMIT_NOFILE=10240', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.tn81_g1u:/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-aiohttp-cors.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 sh: /usr/bin/python3.9: No such file or directory sh: /usr/bin/python3.9: No such file or directory Building target platforms: x86_64 Building for target x86_64 Wrote: /builddir/build/SRPMS/python-aiohttp-cors-0.7.0-13.el8.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-aiohttp-cors.spec'], chrootPath='/var/lib/mock/centos-stream-8-x86_64-1655486083.833811/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.tn81_g1u:/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=TrueprintOutput=True) Using nspawn with args ['--capability=cap_ipc_lock', '--rlimit=RLIMIT_NOFILE=10240', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.tn81_g1u:/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', '82f5cab038254604b6ce5a908f6c854e', '-D', '/var/lib/mock/centos-stream-8-x86_64-1655486083.833811/root', '-a', '-u', 'mockbuild', '--capability=cap_ipc_lock', '--rlimit=RLIMIT_NOFILE=10240', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.tn81_g1u:/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-aiohttp-cors.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 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.oeb78s + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf aiohttp-cors-0.7.0 + /usr/bin/gzip -dc /builddir/build/SOURCES/python-aiohttp-cors-0.7.0.tar.gz + /usr/bin/tar -xof - + STATUS=0 + '[' 0 -ne 0 ']' + cd aiohttp-cors-0.7.0 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + /usr/bin/cat /builddir/build/SOURCES/eb4f5a4bb28f8260d4edc32969e838d9abace051.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch + /usr/bin/cat /builddir/build/SOURCES/e64b95848f3253157d831f4934841fceeaf9b2e3.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch + sed -i /pytest-cov/d setup.py + sed -i /pytest-pylint/d setup.py + rm pytest.ini + rm setup.cfg + rm tox.ini + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.gAiQKw + umask 022 + cd /builddir/build/BUILD + cd aiohttp-cors-0.7.0 + CFLAGS='-O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection' + LDFLAGS='-Wl,-z,relro -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld' + /usr/bin/python3.9 setup.py build '--executable=/usr/bin/python3.9 -s' running build running build_py creating build creating build/lib creating build/lib/aiohttp_cors copying aiohttp_cors/urldispatcher_router_adapter.py -> build/lib/aiohttp_cors copying aiohttp_cors/resource_options.py -> build/lib/aiohttp_cors copying aiohttp_cors/preflight_handler.py -> build/lib/aiohttp_cors copying aiohttp_cors/mixin.py -> build/lib/aiohttp_cors copying aiohttp_cors/cors_config.py -> build/lib/aiohttp_cors copying aiohttp_cors/abc.py -> build/lib/aiohttp_cors copying aiohttp_cors/__init__.py -> build/lib/aiohttp_cors copying aiohttp_cors/__about__.py -> build/lib/aiohttp_cors + sleep 1 + exit 0 Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.vZBset + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/python-aiohttp-cors-0.7.0-13.el8.x86_64 '!=' / ']' + rm -rf /builddir/build/BUILDROOT/python-aiohttp-cors-0.7.0-13.el8.x86_64 ++ dirname /builddir/build/BUILDROOT/python-aiohttp-cors-0.7.0-13.el8.x86_64 + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/python-aiohttp-cors-0.7.0-13.el8.x86_64 + cd aiohttp-cors-0.7.0 + CFLAGS='-O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection' + LDFLAGS='-Wl,-z,relro -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld' + /usr/bin/python3.9 setup.py install -O1 --skip-build --root /builddir/build/BUILDROOT/python-aiohttp-cors-0.7.0-13.el8.x86_64 running install running install_lib creating /builddir/build/BUILDROOT/python-aiohttp-cors-0.7.0-13.el8.x86_64/usr creating /builddir/build/BUILDROOT/python-aiohttp-cors-0.7.0-13.el8.x86_64/usr/lib creating /builddir/build/BUILDROOT/python-aiohttp-cors-0.7.0-13.el8.x86_64/usr/lib/python3.9 creating /builddir/build/BUILDROOT/python-aiohttp-cors-0.7.0-13.el8.x86_64/usr/lib/python3.9/site-packages creating /builddir/build/BUILDROOT/python-aiohttp-cors-0.7.0-13.el8.x86_64/usr/lib/python3.9/site-packages/aiohttp_cors copying build/lib/aiohttp_cors/__about__.py -> /builddir/build/BUILDROOT/python-aiohttp-cors-0.7.0-13.el8.x86_64/usr/lib/python3.9/site-packages/aiohttp_cors copying build/lib/aiohttp_cors/__init__.py -> /builddir/build/BUILDROOT/python-aiohttp-cors-0.7.0-13.el8.x86_64/usr/lib/python3.9/site-packages/aiohttp_cors copying build/lib/aiohttp_cors/abc.py -> /builddir/build/BUILDROOT/python-aiohttp-cors-0.7.0-13.el8.x86_64/usr/lib/python3.9/site-packages/aiohttp_cors copying build/lib/aiohttp_cors/cors_config.py -> /builddir/build/BUILDROOT/python-aiohttp-cors-0.7.0-13.el8.x86_64/usr/lib/python3.9/site-packages/aiohttp_cors copying build/lib/aiohttp_cors/mixin.py -> /builddir/build/BUILDROOT/python-aiohttp-cors-0.7.0-13.el8.x86_64/usr/lib/python3.9/site-packages/aiohttp_cors copying build/lib/aiohttp_cors/preflight_handler.py -> /builddir/build/BUILDROOT/python-aiohttp-cors-0.7.0-13.el8.x86_64/usr/lib/python3.9/site-packages/aiohttp_cors copying build/lib/aiohttp_cors/resource_options.py -> /builddir/build/BUILDROOT/python-aiohttp-cors-0.7.0-13.el8.x86_64/usr/lib/python3.9/site-packages/aiohttp_cors copying build/lib/aiohttp_cors/urldispatcher_router_adapter.py -> /builddir/build/BUILDROOT/python-aiohttp-cors-0.7.0-13.el8.x86_64/usr/lib/python3.9/site-packages/aiohttp_cors byte-compiling /builddir/build/BUILDROOT/python-aiohttp-cors-0.7.0-13.el8.x86_64/usr/lib/python3.9/site-packages/aiohttp_cors/__about__.py to __about__.cpython-39.pyc byte-compiling /builddir/build/BUILDROOT/python-aiohttp-cors-0.7.0-13.el8.x86_64/usr/lib/python3.9/site-packages/aiohttp_cors/__init__.py to __init__.cpython-39.pyc byte-compiling /builddir/build/BUILDROOT/python-aiohttp-cors-0.7.0-13.el8.x86_64/usr/lib/python3.9/site-packages/aiohttp_cors/abc.py to abc.cpython-39.pyc byte-compiling /builddir/build/BUILDROOT/python-aiohttp-cors-0.7.0-13.el8.x86_64/usr/lib/python3.9/site-packages/aiohttp_cors/cors_config.py to cors_config.cpython-39.pyc byte-compiling /builddir/build/BUILDROOT/python-aiohttp-cors-0.7.0-13.el8.x86_64/usr/lib/python3.9/site-packages/aiohttp_cors/mixin.py to mixin.cpython-39.pyc byte-compiling /builddir/build/BUILDROOT/python-aiohttp-cors-0.7.0-13.el8.x86_64/usr/lib/python3.9/site-packages/aiohttp_cors/preflight_handler.py to preflight_handler.cpython-39.pyc byte-compiling /builddir/build/BUILDROOT/python-aiohttp-cors-0.7.0-13.el8.x86_64/usr/lib/python3.9/site-packages/aiohttp_cors/resource_options.py to resource_options.cpython-39.pyc byte-compiling /builddir/build/BUILDROOT/python-aiohttp-cors-0.7.0-13.el8.x86_64/usr/lib/python3.9/site-packages/aiohttp_cors/urldispatcher_router_adapter.py to urldispatcher_router_adapter.cpython-39.pyc writing byte-compilation script '/tmp/tmp2vis993r.py' /usr/bin/python3.9 /tmp/tmp2vis993r.py removing /tmp/tmp2vis993r.py running install_egg_info running egg_info creating aiohttp_cors.egg-info writing aiohttp_cors.egg-info/PKG-INFO writing dependency_links to aiohttp_cors.egg-info/dependency_links.txt writing requirements to aiohttp_cors.egg-info/requires.txt writing top-level names to aiohttp_cors.egg-info/top_level.txt writing manifest file 'aiohttp_cors.egg-info/SOURCES.txt' reading manifest file 'aiohttp_cors.egg-info/SOURCES.txt' reading manifest template 'MANIFEST.in' writing manifest file 'aiohttp_cors.egg-info/SOURCES.txt' Copying aiohttp_cors.egg-info to /builddir/build/BUILDROOT/python-aiohttp-cors-0.7.0-13.el8.x86_64/usr/lib/python3.9/site-packages/aiohttp_cors-0.7.0-py3.9.egg-info running install_scripts + /usr/lib/rpm/find-debuginfo.sh -j2 --strict-build-id -m -i --build-id-seed 0.7.0-13.el8 --unique-debug-suffix -0.7.0-13.el8.x86_64 --unique-debug-src-base python-aiohttp-cors-0.7.0-13.el8.x86_64 --run-dwz --dwz-low-mem-die-limit 10000000 --dwz-max-die-limit 110000000 -S debugsourcefiles.list /builddir/build/BUILD/aiohttp-cors-0.7.0 find: 'debug': No such file or directory + /usr/lib/rpm/check-buildroot + /usr/lib/rpm/redhat/brp-ldconfig /sbin/ldconfig: Warning: ignoring configuration file that cannot be opened: /etc/ld.so.conf: No such file or directory + /usr/lib/rpm/brp-compress + /usr/lib/rpm/brp-strip-static-archive /usr/bin/strip + /usr/lib/rpm/brp-python-bytecompile '' 1 Bytecompiling .py files below /builddir/build/BUILDROOT/python-aiohttp-cors-0.7.0-13.el8.x86_64/usr/lib/python3.9 using /usr/bin/python3.9 + /usr/lib/rpm/brp-python-hardlink + PYTHON3=/usr/bin/python3.9 + /usr/lib/rpm/redhat/brp-mangle-shebangs Executing(%check): /bin/sh -e /var/tmp/rpm-tmp.k3J5vu + umask 022 + cd /builddir/build/BUILD + cd aiohttp-cors-0.7.0 + /usr/bin/python3.9 -m pytest -v --ignore tests/integration/test_real_browser.py ============================= test session starts ============================== platform linux -- Python 3.9.7, pytest-6.0.2, py-1.10.0, pluggy-0.13.1 -- /usr/bin/python3.9 cachedir: .pytest_cache rootdir: /builddir/build/BUILD/aiohttp-cors-0.7.0 plugins: aiohttp-0.3.0 collecting ... collected 93 items tests/doc/test_basic_usage.py::test_main PASSED [ 1%] tests/doc/test_basic_usage.py::test_defaults PASSED [ 2%] tests/integration/test_main.py::test_message_roundtrip[pyloop] PASSED [ 3%] tests/integration/test_main.py::test_dummy_setup[pyloop] PASSED [ 4%] tests/integration/test_main.py::test_dummy_setup_roundtrip[pyloop] PASSED [ 5%] tests/integration/test_main.py::test_dummy_setup_roundtrip_resource[pyloop] PASSED [ 6%] tests/integration/test_main.py::test_simple_no_origin[resource-pyloop] PASSED [ 7%] tests/integration/test_main.py::test_simple_no_origin[view-pyloop] PASSED [ 8%] tests/integration/test_main.py::test_simple_no_origin[route-pyloop] PASSED [ 9%] tests/integration/test_main.py::test_simple_allowed_origin[resource-pyloop] PASSED [ 10%] tests/integration/test_main.py::test_simple_allowed_origin[view-pyloop] PASSED [ 11%] tests/integration/test_main.py::test_simple_allowed_origin[route-pyloop] PASSED [ 12%] tests/integration/test_main.py::test_simple_not_allowed_origin[resource-pyloop] PASSED [ 13%] tests/integration/test_main.py::test_simple_not_allowed_origin[view-pyloop] PASSED [ 15%] tests/integration/test_main.py::test_simple_not_allowed_origin[route-pyloop] PASSED [ 16%] tests/integration/test_main.py::test_simple_explicit_port[resource-pyloop] PASSED [ 17%] tests/integration/test_main.py::test_simple_explicit_port[view-pyloop] PASSED [ 18%] tests/integration/test_main.py::test_simple_explicit_port[route-pyloop] PASSED [ 19%] tests/integration/test_main.py::test_simple_different_scheme[resource-pyloop] PASSED [ 20%] tests/integration/test_main.py::test_simple_different_scheme[view-pyloop] PASSED [ 21%] tests/integration/test_main.py::test_simple_different_scheme[route-pyloop] PASSED [ 22%] tests/integration/test_main.py::test_cred_no_origin[app_for_credentials0-resource-pyloop] PASSED [ 23%] tests/integration/test_main.py::test_cred_no_origin[app_for_credentials0-view-pyloop] PASSED [ 24%] tests/integration/test_main.py::test_cred_no_origin[app_for_credentials0-route-pyloop] PASSED [ 25%] tests/integration/test_main.py::test_cred_no_origin[app_for_credentials1-resource-pyloop] PASSED [ 26%] tests/integration/test_main.py::test_cred_no_origin[app_for_credentials1-view-pyloop] PASSED [ 27%] tests/integration/test_main.py::test_cred_no_origin[app_for_credentials1-route-pyloop] PASSED [ 29%] tests/integration/test_main.py::test_cred_allowed_origin[app_for_credentials0-resource-pyloop] PASSED [ 30%] tests/integration/test_main.py::test_cred_allowed_origin[app_for_credentials0-view-pyloop] PASSED [ 31%] tests/integration/test_main.py::test_cred_allowed_origin[app_for_credentials0-route-pyloop] PASSED [ 32%] tests/integration/test_main.py::test_cred_allowed_origin[app_for_credentials1-resource-pyloop] PASSED [ 33%] tests/integration/test_main.py::test_cred_allowed_origin[app_for_credentials1-view-pyloop] PASSED [ 34%] tests/integration/test_main.py::test_cred_allowed_origin[app_for_credentials1-route-pyloop] PASSED [ 35%] tests/integration/test_main.py::test_cred_disallowed_origin[app_for_credentials0-resource-pyloop] PASSED [ 36%] tests/integration/test_main.py::test_cred_disallowed_origin[app_for_credentials0-view-pyloop] PASSED [ 37%] tests/integration/test_main.py::test_cred_disallowed_origin[app_for_credentials0-route-pyloop] PASSED [ 38%] tests/integration/test_main.py::test_cred_disallowed_origin[app_for_credentials1-resource-pyloop] PASSED [ 39%] tests/integration/test_main.py::test_cred_disallowed_origin[app_for_credentials1-view-pyloop] PASSED [ 40%] tests/integration/test_main.py::test_cred_disallowed_origin[app_for_credentials1-route-pyloop] PASSED [ 41%] tests/integration/test_main.py::test_simple_expose_headers_no_origin[resource-pyloop] PASSED [ 43%] tests/integration/test_main.py::test_simple_expose_headers_no_origin[view-pyloop] PASSED [ 44%] tests/integration/test_main.py::test_simple_expose_headers_no_origin[route-pyloop] PASSED [ 45%] tests/integration/test_main.py::test_simple_expose_headers_allowed_origin[resource-pyloop] PASSED [ 46%] tests/integration/test_main.py::test_simple_expose_headers_allowed_origin[view-pyloop] PASSED [ 47%] tests/integration/test_main.py::test_simple_expose_headers_allowed_origin[route-pyloop] PASSED [ 48%] tests/integration/test_main.py::test_simple_expose_headers_not_allowed_origin[resource-pyloop] PASSED [ 49%] tests/integration/test_main.py::test_simple_expose_headers_not_allowed_origin[view-pyloop] PASSED [ 50%] tests/integration/test_main.py::test_simple_expose_headers_not_allowed_origin[route-pyloop] PASSED [ 51%] tests/integration/test_main.py::test_preflight_default_no_origin[resource-pyloop] PASSED [ 52%] tests/integration/test_main.py::test_preflight_default_no_origin[view-pyloop] PASSED [ 53%] tests/integration/test_main.py::test_preflight_default_no_origin[route-pyloop] PASSED [ 54%] tests/integration/test_main.py::test_preflight_default_no_method[resource-pyloop] PASSED [ 55%] tests/integration/test_main.py::test_preflight_default_no_method[view-pyloop] PASSED [ 56%] tests/integration/test_main.py::test_preflight_default_no_method[route-pyloop] PASSED [ 58%] tests/integration/test_main.py::test_preflight_default_origin_and_method[resource-pyloop] PASSED [ 59%] tests/integration/test_main.py::test_preflight_default_origin_and_method[view-pyloop] PASSED [ 60%] tests/integration/test_main.py::test_preflight_default_origin_and_method[route-pyloop] PASSED [ 61%] tests/integration/test_main.py::test_preflight_default_disallowed_origin[resource-pyloop] PASSED [ 62%] tests/integration/test_main.py::test_preflight_default_disallowed_origin[view-pyloop] PASSED [ 63%] tests/integration/test_main.py::test_preflight_default_disallowed_origin[route-pyloop] PASSED [ 64%] tests/integration/test_main.py::test_preflight_default_disallowed_method[resource-pyloop] PASSED [ 65%] tests/integration/test_main.py::test_preflight_default_disallowed_method[view-pyloop] PASSED [ 66%] tests/integration/test_main.py::test_preflight_default_disallowed_method[route-pyloop] PASSED [ 67%] tests/integration/test_main.py::test_preflight_req_multiple_routes_with_one_options[pyloop] PASSED [ 68%] tests/integration/test_main.py::test_preflight_request_mult_routes_with_one_options_resource[pyloop] PASSED [ 69%] tests/integration/test_main.py::test_preflight_request_max_age_resource[pyloop] PASSED [ 70%] tests/integration/test_main.py::test_preflight_request_max_age_webview[pyloop] PASSED [ 72%] tests/integration/test_main.py::test_preflight_request_mult_routes_with_one_options_webview[pyloop] PASSED [ 73%] tests/integration/test_main.py::test_preflight_request_headers_webview[pyloop] PASSED [ 74%] tests/integration/test_main.py::test_preflight_request_headers_resource[pyloop] PASSED [ 75%] tests/integration/test_main.py::test_preflight_request_headers[pyloop] PASSED [ 76%] tests/integration/test_main.py::test_static_route[pyloop] PASSED [ 77%] tests/unit/test___about__.py::test_version PASSED [ 78%] tests/unit/test_cors_config.py::test_add_options_route PASSED [ 79%] tests/unit/test_cors_config.py::test_plain_named_route PASSED [ 80%] tests/unit/test_cors_config.py::test_dynamic_named_route PASSED [ 81%] tests/unit/test_cors_config.py::test_static_named_route PASSED [ 82%] tests/unit/test_cors_config.py::test_static_resource PASSED [ 83%] tests/unit/test_cors_config.py::test_web_view_resource PASSED [ 84%] tests/unit/test_cors_config.py::test_web_view_warning PASSED [ 86%] tests/unit/test_cors_config.py::test_disable_bare_view PASSED [ 87%] tests/unit/test_mixin.py::test_raise_exception_when_cors_not_configure PASSED [ 88%] tests/unit/test_mixin.py::test_raises_forbidden_when_config_not_found PASSED [ 89%] tests/unit/test_mixin.py::test_method_with_custom_cors PASSED [ 90%] tests/unit/test_mixin.py::test_method_with_class_config PASSED [ 91%] tests/unit/test_mixin.py::test_method_with_default_config PASSED [ 92%] tests/unit/test_preflight_handler.py::test_raises_when_handler_not_extend PASSED [ 93%] tests/unit/test_resource_options.py::test_init_no_args PASSED [ 94%] tests/unit/test_resource_options.py::test_comparison PASSED [ 95%] tests/unit/test_resource_options.py::test_allow_methods PASSED [ 96%] tests/unit/test_urldispatcher_router_adapter.py::test_add_get_route PASSED [ 97%] tests/unit/test_urldispatcher_router_adapter.py::test_add_options_route PASSED [ 98%] tests/unit/test_urldispatcher_router_adapter.py::test_get_non_preflight_request_config PASSED [100%] =============================== warnings summary =============================== tests/unit/test_cors_config.py:33 /builddir/build/BUILD/aiohttp-cors-0.7.0/tests/unit/test_cors_config.py:33: DeprecationWarning: "@coroutine" decorator is deprecated since Python 3.8, use "async def" instead def get(self): -- Docs: https://docs.pytest.org/en/stable/warnings.html ======================== 93 passed, 1 warning in 1.14s ========================= + exit 0 Processing files: python39-aiohttp-cors-0.7.0-13.el8.noarch Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.DbFdot + umask 022 + cd /builddir/build/BUILD + cd aiohttp-cors-0.7.0 + DOCDIR=/builddir/build/BUILDROOT/python-aiohttp-cors-0.7.0-13.el8.x86_64/usr/share/doc/python39-aiohttp-cors + export LC_ALL=C + LC_ALL=C + export DOCDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/python-aiohttp-cors-0.7.0-13.el8.x86_64/usr/share/doc/python39-aiohttp-cors + cp -pr README.rst /builddir/build/BUILDROOT/python-aiohttp-cors-0.7.0-13.el8.x86_64/usr/share/doc/python39-aiohttp-cors + cp -pr CHANGES.rst /builddir/build/BUILDROOT/python-aiohttp-cors-0.7.0-13.el8.x86_64/usr/share/doc/python39-aiohttp-cors + exit 0 Executing(%license): /bin/sh -e /var/tmp/rpm-tmp.qk7Gsx + umask 022 + cd /builddir/build/BUILD + cd aiohttp-cors-0.7.0 + LICENSEDIR=/builddir/build/BUILDROOT/python-aiohttp-cors-0.7.0-13.el8.x86_64/usr/share/licenses/python39-aiohttp-cors + export LC_ALL=C + LC_ALL=C + export LICENSEDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/python-aiohttp-cors-0.7.0-13.el8.x86_64/usr/share/licenses/python39-aiohttp-cors + cp -pr LICENSE /builddir/build/BUILDROOT/python-aiohttp-cors-0.7.0-13.el8.x86_64/usr/share/licenses/python39-aiohttp-cors + exit 0 Provides: python3.9dist(aiohttp-cors) = 0.7.0 python39-aiohttp-cors = 0.7.0-13.el8 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.9 Checking for unpackaged file(s): /usr/lib/rpm/check-files /builddir/build/BUILDROOT/python-aiohttp-cors-0.7.0-13.el8.x86_64 Wrote: /builddir/build/RPMS/python39-aiohttp-cors-0.7.0-13.el8.noarch.rpm Executing(%clean): /bin/sh -e /var/tmp/rpm-tmp.T6okPu + umask 022 + cd /builddir/build/BUILD + cd aiohttp-cors-0.7.0 + /usr/bin/rm -rf /builddir/build/BUILDROOT/python-aiohttp-cors-0.7.0-13.el8.x86_64 + exit 0 Child return code was: 0