Mock Version: 5.5 Mock Version: 5.5 Mock Version: 5.5 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --noclean --target noarch --nodeps /builddir/build/SPECS/python-cornice.spec'], chrootPath='/var/lib/mock/f41-build-50737089-6067708/root'env={'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8'}shell=Falselogger=timeout=201600uid=1000gid=425user='mockbuild'nspawn_args=['--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.gxpmqyoo:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/mapper/control', '--bind=/dev/fuse', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11']unshare_net=TrueprintOutput=False) Using nspawn with args ['--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.gxpmqyoo:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/mapper/control', '--bind=/dev/fuse', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11'] Executing command: ['/usr/bin/systemd-nspawn', '-q', '-M', '06baca7334bc4082824e4c6b74844543', '-D', '/var/lib/mock/f41-build-50737089-6067708/root', '-a', '-u', 'mockbuild', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.gxpmqyoo:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/mapper/control', '--bind=/dev/fuse', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11', '--console=pipe', '--setenv=TERM=vt100', '--setenv=SHELL=/bin/bash', '--setenv=HOME=/builddir', '--setenv=HOSTNAME=mock', '--setenv=PATH=/usr/bin:/bin:/usr/sbin:/sbin', '--setenv=PROMPT_COMMAND=printf "\\033]0;\\007"', '--setenv=PS1= \\s-\\v\\$ ', '--setenv=LANG=C.UTF-8', '--resolv-conf=off', 'bash', '--login', '-c', '/usr/bin/rpmbuild -bs --noclean --target noarch --nodeps /builddir/build/SPECS/python-cornice.spec'] with env {'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8', 'SYSTEMD_NSPAWN_TMPFS_TMP': '0', 'SYSTEMD_SECCOMP': '0'} and shell False Building target platforms: noarch Building for target noarch setting SOURCE_DATE_EPOCH=1706227200 Wrote: /builddir/build/SRPMS/python-cornice-6.0.1-9.fc41.src.rpm Child return code was: 0 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --noclean --target noarch --nodeps /builddir/build/SPECS/python-cornice.spec'], chrootPath='/var/lib/mock/f41-build-50737089-6067708/root'env={'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8'}shell=Falselogger=timeout=201600uid=1000gid=425user='mockbuild'nspawn_args=['--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.gxpmqyoo:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/mapper/control', '--bind=/dev/fuse', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11']unshare_net=TrueprintOutput=False) Using nspawn with args ['--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.gxpmqyoo:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/mapper/control', '--bind=/dev/fuse', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11'] Executing command: ['/usr/bin/systemd-nspawn', '-q', '-M', 'fa14d323295b4cccb517b8054ed7154c', '-D', '/var/lib/mock/f41-build-50737089-6067708/root', '-a', '-u', 'mockbuild', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.gxpmqyoo:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/mapper/control', '--bind=/dev/fuse', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11', '--console=pipe', '--setenv=TERM=vt100', '--setenv=SHELL=/bin/bash', '--setenv=HOME=/builddir', '--setenv=HOSTNAME=mock', '--setenv=PATH=/usr/bin:/bin:/usr/sbin:/sbin', '--setenv=PROMPT_COMMAND=printf "\\033]0;\\007"', '--setenv=PS1= \\s-\\v\\$ ', '--setenv=LANG=C.UTF-8', '--resolv-conf=off', 'bash', '--login', '-c', '/usr/bin/rpmbuild -bb --noclean --target noarch --nodeps /builddir/build/SPECS/python-cornice.spec'] with env {'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8', 'SYSTEMD_NSPAWN_TMPFS_TMP': '0', 'SYSTEMD_SECCOMP': '0'} and shell False Building target platforms: noarch Building for target noarch setting SOURCE_DATE_EPOCH=1706227200 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.c5qyV8 + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf cornice-6.0.1 + /usr/lib/rpm/rpmuncompress -x /builddir/build/SOURCES/cornice-6.0.1.tar.gz + STATUS=0 + '[' 0 -ne 0 ']' + cd cornice-6.0.1 + rm -rf /builddir/build/BUILD/cornice-6.0.1-SPECPARTS + /usr/bin/mkdir -p /builddir/build/BUILD/cornice-6.0.1-SPECPARTS + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + /usr/lib/rpm/rpmuncompress /builddir/build/SOURCES/575.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch -f + RPM_EC=0 ++ jobs -p + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.igzlNy + 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 -march=z13 -mtune=z14 -fasynchronous-unwind-tables -fstack-clash-protection ' + export CFLAGS + CXXFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=z13 -mtune=z14 -fasynchronous-unwind-tables -fstack-clash-protection ' + export CXXFLAGS + FFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=z13 -mtune=z14 -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/lib/gfortran/modules ' + export FFLAGS + FCFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=z13 -mtune=z14 -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/lib/gfortran/modules ' + export FCFLAGS + VALAFLAGS=-g + export VALAFLAGS + RUSTFLAGS='-Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none -Cforce-frame-pointers=yes --cap-lints=warn' + export RUSTFLAGS + LDFLAGS='-Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld-errors -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 ' + export LDFLAGS + LT_SYS_LIBRARY_PATH=/usr/lib: + export LT_SYS_LIBRARY_PATH + CC=gcc + export CC + CXX=g++ + export CXX + cd cornice-6.0.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 -march=z13 -mtune=z14 -fasynchronous-unwind-tables -fstack-clash-protection ' + LDFLAGS='-Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld-errors -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 ' + /usr/bin/python3 setup.py build '--executable=/usr/bin/python3 -sP' running build running build_py creating build creating build/lib creating build/lib/cornice copying cornice/__init__.py -> build/lib/cornice copying cornice/cors.py -> build/lib/cornice copying cornice/errors.py -> build/lib/cornice copying cornice/pyramidhook.py -> build/lib/cornice copying cornice/renderer.py -> build/lib/cornice copying cornice/resource.py -> build/lib/cornice copying cornice/service.py -> build/lib/cornice copying cornice/util.py -> build/lib/cornice creating build/lib/cornice/validators copying cornice/validators/__init__.py -> build/lib/cornice/validators copying cornice/validators/_colander.py -> build/lib/cornice/validators copying cornice/validators/_marshmallow.py -> build/lib/cornice/validators running egg_info creating cornice.egg-info writing cornice.egg-info/PKG-INFO writing dependency_links to cornice.egg-info/dependency_links.txt writing requirements to cornice.egg-info/requires.txt writing top-level names to cornice.egg-info/top_level.txt writing manifest file 'cornice.egg-info/SOURCES.txt' reading manifest file 'cornice.egg-info/SOURCES.txt' reading manifest template 'MANIFEST.in' adding license file 'LICENSE' writing manifest file 'cornice.egg-info/SOURCES.txt' + RPM_EC=0 ++ jobs -p + exit 0 Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.6ccyca + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/python-cornice-6.0.1-9.fc41.noarch '!=' / ']' + rm -rf /builddir/build/BUILDROOT/python-cornice-6.0.1-9.fc41.noarch ++ dirname /builddir/build/BUILDROOT/python-cornice-6.0.1-9.fc41.noarch + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/python-cornice-6.0.1-9.fc41.noarch + CFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=z13 -mtune=z14 -fasynchronous-unwind-tables -fstack-clash-protection ' + export CFLAGS + CXXFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=z13 -mtune=z14 -fasynchronous-unwind-tables -fstack-clash-protection ' + export CXXFLAGS + FFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=z13 -mtune=z14 -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/lib/gfortran/modules ' + export FFLAGS + FCFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=z13 -mtune=z14 -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/lib/gfortran/modules ' + export FCFLAGS + VALAFLAGS=-g + export VALAFLAGS + RUSTFLAGS='-Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none -Cforce-frame-pointers=yes --cap-lints=warn' + export RUSTFLAGS + LDFLAGS='-Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld-errors -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 ' + export LDFLAGS + LT_SYS_LIBRARY_PATH=/usr/lib: + export LT_SYS_LIBRARY_PATH + CC=gcc + export CC + CXX=g++ + export CXX + cd cornice-6.0.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 -march=z13 -mtune=z14 -fasynchronous-unwind-tables -fstack-clash-protection ' + LDFLAGS='-Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld-errors -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 ' + /usr/bin/python3 setup.py install -O1 --skip-build --root /builddir/build/BUILDROOT/python-cornice-6.0.1-9.fc41.noarch --prefix /usr running install /usr/lib/python3.12/site-packages/setuptools/_distutils/cmd.py:66: SetuptoolsDeprecationWarning: setup.py install is deprecated. !! ******************************************************************************** Please avoid running ``setup.py`` directly. Instead, use pypa/build, pypa/installer or other standards-based tools. Follow the current Python packaging guidelines when building Python RPM packages. See https://blog.ganssle.io/articles/2021/10/setup-py-deprecated.html and https://docs.fedoraproject.org/en-US/packaging-guidelines/Python/ for details. ******************************************************************************** !! self.initialize_options() running install_lib creating /builddir/build/BUILDROOT/python-cornice-6.0.1-9.fc41.noarch/usr creating /builddir/build/BUILDROOT/python-cornice-6.0.1-9.fc41.noarch/usr/lib creating /builddir/build/BUILDROOT/python-cornice-6.0.1-9.fc41.noarch/usr/lib/python3.12 creating /builddir/build/BUILDROOT/python-cornice-6.0.1-9.fc41.noarch/usr/lib/python3.12/site-packages creating /builddir/build/BUILDROOT/python-cornice-6.0.1-9.fc41.noarch/usr/lib/python3.12/site-packages/cornice copying build/lib/cornice/__init__.py -> /builddir/build/BUILDROOT/python-cornice-6.0.1-9.fc41.noarch/usr/lib/python3.12/site-packages/cornice copying build/lib/cornice/cors.py -> /builddir/build/BUILDROOT/python-cornice-6.0.1-9.fc41.noarch/usr/lib/python3.12/site-packages/cornice copying build/lib/cornice/errors.py -> /builddir/build/BUILDROOT/python-cornice-6.0.1-9.fc41.noarch/usr/lib/python3.12/site-packages/cornice copying build/lib/cornice/pyramidhook.py -> /builddir/build/BUILDROOT/python-cornice-6.0.1-9.fc41.noarch/usr/lib/python3.12/site-packages/cornice copying build/lib/cornice/renderer.py -> /builddir/build/BUILDROOT/python-cornice-6.0.1-9.fc41.noarch/usr/lib/python3.12/site-packages/cornice copying build/lib/cornice/resource.py -> /builddir/build/BUILDROOT/python-cornice-6.0.1-9.fc41.noarch/usr/lib/python3.12/site-packages/cornice copying build/lib/cornice/service.py -> /builddir/build/BUILDROOT/python-cornice-6.0.1-9.fc41.noarch/usr/lib/python3.12/site-packages/cornice copying build/lib/cornice/util.py -> /builddir/build/BUILDROOT/python-cornice-6.0.1-9.fc41.noarch/usr/lib/python3.12/site-packages/cornice creating /builddir/build/BUILDROOT/python-cornice-6.0.1-9.fc41.noarch/usr/lib/python3.12/site-packages/cornice/validators copying build/lib/cornice/validators/__init__.py -> /builddir/build/BUILDROOT/python-cornice-6.0.1-9.fc41.noarch/usr/lib/python3.12/site-packages/cornice/validators copying build/lib/cornice/validators/_colander.py -> /builddir/build/BUILDROOT/python-cornice-6.0.1-9.fc41.noarch/usr/lib/python3.12/site-packages/cornice/validators copying build/lib/cornice/validators/_marshmallow.py -> /builddir/build/BUILDROOT/python-cornice-6.0.1-9.fc41.noarch/usr/lib/python3.12/site-packages/cornice/validators byte-compiling /builddir/build/BUILDROOT/python-cornice-6.0.1-9.fc41.noarch/usr/lib/python3.12/site-packages/cornice/__init__.py to __init__.cpython-312.pyc byte-compiling /builddir/build/BUILDROOT/python-cornice-6.0.1-9.fc41.noarch/usr/lib/python3.12/site-packages/cornice/cors.py to cors.cpython-312.pyc byte-compiling /builddir/build/BUILDROOT/python-cornice-6.0.1-9.fc41.noarch/usr/lib/python3.12/site-packages/cornice/errors.py to errors.cpython-312.pyc byte-compiling /builddir/build/BUILDROOT/python-cornice-6.0.1-9.fc41.noarch/usr/lib/python3.12/site-packages/cornice/pyramidhook.py to pyramidhook.cpython-312.pyc byte-compiling /builddir/build/BUILDROOT/python-cornice-6.0.1-9.fc41.noarch/usr/lib/python3.12/site-packages/cornice/renderer.py to renderer.cpython-312.pyc byte-compiling /builddir/build/BUILDROOT/python-cornice-6.0.1-9.fc41.noarch/usr/lib/python3.12/site-packages/cornice/resource.py to resource.cpython-312.pyc byte-compiling /builddir/build/BUILDROOT/python-cornice-6.0.1-9.fc41.noarch/usr/lib/python3.12/site-packages/cornice/service.py to service.cpython-312.pyc byte-compiling /builddir/build/BUILDROOT/python-cornice-6.0.1-9.fc41.noarch/usr/lib/python3.12/site-packages/cornice/util.py to util.cpython-312.pyc byte-compiling /builddir/build/BUILDROOT/python-cornice-6.0.1-9.fc41.noarch/usr/lib/python3.12/site-packages/cornice/validators/__init__.py to __init__.cpython-312.pyc byte-compiling /builddir/build/BUILDROOT/python-cornice-6.0.1-9.fc41.noarch/usr/lib/python3.12/site-packages/cornice/validators/_colander.py to _colander.cpython-312.pyc byte-compiling /builddir/build/BUILDROOT/python-cornice-6.0.1-9.fc41.noarch/usr/lib/python3.12/site-packages/cornice/validators/_marshmallow.py to _marshmallow.cpython-312.pyc writing byte-compilation script '/tmp/tmpaz2bpo3x.py' /usr/bin/python3 /tmp/tmpaz2bpo3x.py removing /tmp/tmpaz2bpo3x.py running install_egg_info running egg_info writing cornice.egg-info/PKG-INFO writing dependency_links to cornice.egg-info/dependency_links.txt writing requirements to cornice.egg-info/requires.txt writing top-level names to cornice.egg-info/top_level.txt reading manifest file 'cornice.egg-info/SOURCES.txt' reading manifest template 'MANIFEST.in' adding license file 'LICENSE' writing manifest file 'cornice.egg-info/SOURCES.txt' Copying cornice.egg-info to /builddir/build/BUILDROOT/python-cornice-6.0.1-9.fc41.noarch/usr/lib/python3.12/site-packages/cornice-6.0.1-py3.12.egg-info running install_scripts + rm -rfv /builddir/build/BUILDROOT/python-cornice-6.0.1-9.fc41.noarch/usr/bin/__pycache__ + /usr/bin/find-debuginfo -j3 --strict-build-id -m -i --build-id-seed 6.0.1-9.fc41 --unique-debug-suffix -6.0.1-9.fc41.noarch --unique-debug-src-base python-cornice-6.0.1-9.fc41.noarch --run-dwz --dwz-low-mem-die-limit 10000000 --dwz-max-die-limit 50000000 -S debugsourcefiles.list /builddir/build/BUILD/cornice-6.0.1 find-debuginfo: starting Extracting debug info from 0 files Creating .debug symlinks for symlinks to ELF files find: ‘debug’: No such file or directory find-debuginfo: done + /usr/lib/rpm/check-buildroot + /usr/lib/rpm/redhat/brp-ldconfig + /usr/lib/rpm/brp-compress + /usr/lib/rpm/redhat/brp-strip-lto /usr/bin/strip + /usr/lib/rpm/brp-strip-static-archive /usr/bin/strip + /usr/lib/rpm/check-rpaths + /usr/lib/rpm/redhat/brp-mangle-shebangs + /usr/lib/rpm/brp-remove-la-files + env /usr/lib/rpm/redhat/brp-python-bytecompile '' 1 0 -j3 Bytecompiling .py files below /builddir/build/BUILDROOT/python-cornice-6.0.1-9.fc41.noarch/usr/lib/python3.12 using python3.12 + /usr/lib/rpm/redhat/brp-python-hardlink Executing(%check): /bin/sh -e /var/tmp/rpm-tmp.CaoESy + 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 -march=z13 -mtune=z14 -fasynchronous-unwind-tables -fstack-clash-protection ' + export CFLAGS + CXXFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=z13 -mtune=z14 -fasynchronous-unwind-tables -fstack-clash-protection ' + export CXXFLAGS + FFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=z13 -mtune=z14 -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/lib/gfortran/modules ' + export FFLAGS + FCFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=z13 -mtune=z14 -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/lib/gfortran/modules ' + export FCFLAGS + VALAFLAGS=-g + export VALAFLAGS + RUSTFLAGS='-Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none -Cforce-frame-pointers=yes --cap-lints=warn' + export RUSTFLAGS + LDFLAGS='-Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld-errors -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 ' + export LDFLAGS + LT_SYS_LIBRARY_PATH=/usr/lib: + export LT_SYS_LIBRARY_PATH + CC=gcc + export CC + CXX=g++ + export CXX + cd cornice-6.0.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 -march=z13 -mtune=z14 -fasynchronous-unwind-tables -fstack-clash-protection ' + LDFLAGS='-Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld-errors -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 ' + PATH=/builddir/build/BUILDROOT/python-cornice-6.0.1-9.fc41.noarch/usr/bin:/usr/bin:/bin:/usr/sbin:/sbin:/usr/local/sbin + PYTHONPATH=/builddir/build/BUILDROOT/python-cornice-6.0.1-9.fc41.noarch/usr/lib64/python3.12/site-packages:/builddir/build/BUILDROOT/python-cornice-6.0.1-9.fc41.noarch/usr/lib/python3.12/site-packages + PYTHONDONTWRITEBYTECODE=1 + PYTEST_XDIST_AUTO_NUM_WORKERS=3 + /usr/bin/pytest -v ============================= test session starts ============================== platform linux -- Python 3.12.3, pytest-7.4.3, pluggy-1.3.0 -- /usr/bin/python3 cachedir: .pytest_cache rootdir: /builddir/build/BUILD/cornice-6.0.1 collecting ... collected 237 items tests/test_cors.py::TestCORS::test_400_returns_CORS_headers PASSED [ 0%] tests/test_cors.py::TestCORS::test_404_returns_CORS_headers PASSED [ 0%] tests/test_cors.py::TestCORS::test_credentials_are_included PASSED [ 1%] tests/test_cors.py::TestCORS::test_existing_non_service_route PASSED [ 1%] tests/test_cors.py::TestCORS::test_headers_are_exposed PASSED [ 2%] tests/test_cors.py::TestCORS::test_origin_is_not_wildcard_if_allow_credentials PASSED [ 2%] tests/test_cors.py::TestCORS::test_preflight_contains_max_age PASSED [ 2%] tests/test_cors.py::TestCORS::test_preflight_correct_origin PASSED [ 3%] tests/test_cors.py::TestCORS::test_preflight_cors_klass_post PASSED [ 3%] tests/test_cors.py::TestCORS::test_preflight_cors_klass_put PASSED [ 4%] tests/test_cors.py::TestCORS::test_preflight_credentials_are_supported PASSED [ 4%] tests/test_cors.py::TestCORS::test_preflight_credentials_header_not_included_when_not_needed PASSED [ 5%] tests/test_cors.py::TestCORS::test_preflight_deactivated_method PASSED [ 5%] tests/test_cors.py::TestCORS::test_preflight_does_not_expose_headers PASSED [ 5%] tests/test_cors.py::TestCORS::test_preflight_headers_arent_case_sensitive PASSED [ 6%] tests/test_cors.py::TestCORS::test_preflight_incorrect_origin PASSED [ 6%] tests/test_cors.py::TestCORS::test_preflight_missing_headers PASSED [ 7%] tests/test_cors.py::TestCORS::test_preflight_missing_origin PASSED [ 7%] tests/test_cors.py::TestCORS::test_preflight_missing_request_method PASSED [ 8%] tests/test_cors.py::TestCORS::test_preflight_origin_not_allowed_for_method PASSED [ 8%] tests/test_cors.py::TestCORS::test_preflight_request_headers_are_included PASSED [ 8%] tests/test_cors.py::TestCORS::test_preflight_request_headers_isnt_too_permissive PASSED [ 9%] tests/test_cors.py::TestCORS::test_raise_returns_CORS_headers PASSED [ 9%] tests/test_cors.py::TestCORS::test_resp_dont_include_allow_origin PASSED [ 10%] tests/test_cors.py::TestCORS::test_response_returns_CORS_headers PASSED [ 10%] tests/test_cors.py::TestCORS::test_responses_include_an_allow_origin_header PASSED [ 10%] tests/test_cors.py::TestAuthenticatedCORS::test_post_on_spam_should_be_forbidden PASSED [ 11%] tests/test_cors.py::TestAuthenticatedCORS::test_preflight_does_not_need_authentication PASSED [ 11%] tests/test_cors.py::TestAlwaysCORS::test_checks_origin_when_not_star PASSED [ 12%] tests/test_cors.py::TestAlwaysCORS::test_preflight_checks_origin_when_not_star PASSED [ 12%] tests/test_cors.py::TestAlwaysCORS::test_response_does_not_return_CORS_headers_if_no_origin PASSED [ 13%] tests/test_cors.py::TestAlwaysCORS::test_response_returns_CORS_headers_without_origin PASSED [ 13%] tests/test_errors.py::TestErrorsHelper::test_add_to_supported_location PASSED [ 13%] tests/test_errors.py::TestErrorsHelper::test_raises_an_exception_when_location_is_unsupported PASSED [ 14%] tests/test_errors.py::TestErrorsTranslation::test_error_description_translation_called_when_translationstring PASSED [ 14%] tests/test_errors.py::TestErrorsTranslation::test_error_description_translation_not_called_when_string PASSED [ 15%] tests/test_imperative_resource.py::TestResourceWarning::test_path_clash PASSED [ 15%] tests/test_imperative_resource.py::TestResource::test_accept_headers PASSED [ 16%] tests/test_imperative_resource.py::TestResource::test_acl_support_authenticated_allowed_thing_get PASSED [ 16%] tests/test_imperative_resource.py::TestResource::test_acl_support_unauthenticated_forbidden_thing_get PASSED [ 16%] tests/test_imperative_resource.py::TestResource::test_acl_support_unauthenticated_thing_get PASSED [ 17%] tests/test_imperative_resource.py::TestResource::test_basic_resource PASSED [ 17%] tests/test_imperative_resource.py::TestResource::test_context_factory PASSED [ 18%] tests/test_imperative_resource.py::TestResource::test_explicit_collection_service_name PASSED [ 18%] tests/test_imperative_resource.py::TestResource::test_explicit_service_name PASSED [ 18%] tests/test_imperative_resource.py::TestResource::test_head_and_patch PASSED [ 19%] tests/test_imperative_resource.py::NonAutocommittingConfigurationTestResource::test_get SKIPPED [ 19%] tests/test_init.py::TestCorniceSetup::test_exception_handling_can_be_disabled PASSED [ 20%] tests/test_init.py::TestCorniceSetup::test_exception_handling_is_included_by_default PASSED [ 20%] tests/test_init.py::TestCorniceSetup::test_exception_handling_raises_uncaught_errors PASSED [ 21%] tests/test_pyramidhook.py::TestService::test_204 PASSED [ 21%] tests/test_pyramidhook.py::TestService::test_404 PASSED [ 21%] tests/test_pyramidhook.py::TestService::test_405 PASSED [ 22%] tests/test_pyramidhook.py::TestService::test_acl_support_authenticated_allowed_service_patch PASSED [ 22%] tests/test_pyramidhook.py::TestService::test_acl_support_authenticated_allowed_service_put PASSED [ 23%] tests/test_pyramidhook.py::TestService::test_acl_support_authenticated_invalid_user_service_patch PASSED [ 23%] tests/test_pyramidhook.py::TestService::test_acl_support_authenticated_invalid_user_service_put PASSED [ 24%] tests/test_pyramidhook.py::TestService::test_acl_support_authenticated_valid_user_permission_denied_service_patch PASSED [ 24%] tests/test_pyramidhook.py::TestService::test_acl_support_authenticated_valid_user_permission_denied_service_put PASSED [ 24%] tests/test_pyramidhook.py::TestService::test_acl_support_authenticated_valid_user_wrong_permission_service_patch PASSED [ 25%] tests/test_pyramidhook.py::TestService::test_acl_support_authenticated_valid_user_wrong_permission_service_put PASSED [ 25%] tests/test_pyramidhook.py::TestService::test_acl_support_unauthenticated_service_patch PASSED [ 26%] tests/test_pyramidhook.py::TestService::test_class_support PASSED [ 26%] tests/test_pyramidhook.py::TestServiceWithWrapper::test_func_name_class_method PASSED [ 27%] tests/test_pyramidhook.py::TestServiceWithWrapper::test_func_name_decorated_function PASSED [ 27%] tests/test_pyramidhook.py::TestServiceWithWrapper::test_func_name_string PASSED [ 27%] tests/test_pyramidhook.py::TestServiceWithWrapper::test_func_name_undecorated_function PASSED [ 28%] tests/test_pyramidhook.py::TestServiceWithWrapper::test_wrapped PASSED [ 28%] tests/test_pyramidhook.py::TestNosniffHeader::test_no_sniff_is_added_to_responses PASSED [ 29%] tests/test_pyramidhook.py::TestCurrentService::test_current_service_on_request PASSED [ 29%] tests/test_pyramidhook.py::TestRouteWithTraverse::test_route_construction PASSED [ 29%] tests/test_pyramidhook.py::TestRouteWithTraverse::test_route_with_prefix PASSED [ 30%] tests/test_pyramidhook.py::TestRouteFromPyramid::test_no_route_or_path PASSED [ 30%] tests/test_pyramidhook.py::TestRouteFromPyramid::test_service_routing PASSED [ 31%] tests/test_pyramidhook.py::TestPrefixRouteFromPyramid::test_current_service PASSED [ 31%] tests/test_pyramidhook.py::TestPrefixRouteFromPyramid::test_no_route_or_path PASSED [ 32%] tests/test_pyramidhook.py::TestPrefixRouteFromPyramid::test_service_routing PASSED [ 32%] tests/test_pyramidhook.py::TestServiceWithNonpickleableSchema::test PASSED [ 32%] tests/test_pyramidhook.py::TestFallbackRegistration::test_fallback_no_predicate PASSED [ 33%] tests/test_pyramidhook.py::TestFallbackRegistration::test_fallback_no_required_csrf PASSED [ 33%] tests/test_pyramidhook.py::TestFallbackRegistration::test_fallback_permission PASSED [ 34%] tests/test_renderer.py::TestBytesAdapter::test_with_bytes_object PASSED [ 34%] tests/test_renderer.py::TestBytesAdapter::test_with_incompatible_object PASSED [ 35%] tests/test_renderer.py::TestBytesAdapter::test_with_string_object PASSED [ 35%] tests/test_renderer.py::TestRenderer::test_renderer_calls_render_method PASSED [ 35%] tests/test_renderer.py::TestRenderer::test_renderer_has_bytes_adapter_by_default PASSED [ 36%] tests/test_renderer.py::TestRenderer::test_renderer_is_pyramid_renderer_subclass PASSED [ 36%] tests/test_renderer.py::TestRenderer::test_renderer_render_errors PASSED [ 37%] tests/test_resource.py::TestResourceWarning::test_path_clash PASSED [ 37%] tests/test_resource.py::TestResourceWarning::test_routes_clash PASSED [ 37%] tests/test_resource.py::TestResourceWarning::test_routes_with_paths PASSED [ 38%] tests/test_resource.py::TestResourceWarning::test_routes_with_paths_reversed PASSED [ 38%] tests/test_resource.py::TestResource::test_accept_headers PASSED [ 39%] tests/test_resource.py::TestResource::test_acl_is_deprecated PASSED [ 39%] tests/test_resource.py::TestResource::test_acl_support_authenticated_allowed_thing_get PASSED [ 40%] tests/test_resource.py::TestResource::test_acl_support_unauthenticated_forbidden_thing_get PASSED [ 40%] tests/test_resource.py::TestResource::test_acl_support_unauthenticated_thing_get PASSED [ 40%] tests/test_resource.py::TestResource::test_basic_resource PASSED [ 41%] tests/test_resource.py::TestResource::test_context_factory PASSED [ 41%] tests/test_resource.py::TestResource::test_explicit_collection_service_name PASSED [ 42%] tests/test_resource.py::TestResource::test_explicit_service_name PASSED [ 42%] tests/test_resource.py::TestResource::test_factory_is_autowired PASSED [ 43%] tests/test_resource.py::TestResource::test_head_and_patch PASSED [ 43%] tests/test_resource.py::TestResource::test_service_wrapped_resource PASSED [ 43%] tests/test_resource.py::TestResource::test_without_collection_path_has_one_service PASSED [ 44%] tests/test_resource.py::NonAutocommittingConfigurationTestResource::test_get PASSED [ 44%] tests/test_resource_callable.py::TestResource::test_406 PASSED [ 45%] tests/test_resource_callable.py::TestResource::test_415 PASSED [ 45%] tests/test_resource_callable.py::TestResource::test_accept_headers_get PASSED [ 45%] tests/test_resource_callable.py::TestResource::test_accept_headers_post PASSED [ 46%] tests/test_resource_custom_predicates.py::TestCustomPredicates::test_get_resource_predicates PASSED [ 46%] tests/test_resource_custom_predicates.py::TestCustomPredicates::test_patch_resource_predicates PASSED [ 47%] tests/test_resource_custom_predicates.py::TestCustomPredicates::test_post_resource_predicates PASSED [ 47%] tests/test_resource_custom_predicates.py::TestCustomPredicates::test_put_resource_predicates PASSED [ 48%] tests/test_resource_traverse.py::TestResourceTraverse::test_collection_traverse PASSED [ 48%] tests/test_resource_traverse.py::TestResourceTraverse::test_traverse PASSED [ 48%] tests/test_service.py::TestService::test_can_specify_a_view_decorator PASSED [ 49%] tests/test_service.py::TestService::test_cannot_specify_both_factory_and_acl PASSED [ 49%] tests/test_service.py::TestService::test_class_parameters PASSED [ 50%] tests/test_service.py::TestService::test_cors_headers_extension PASSED [ 50%] tests/test_service.py::TestService::test_cors_headers_for_method PASSED [ 51%] tests/test_service.py::TestService::test_cors_headers_for_method_are_deduplicated PASSED [ 51%] tests/test_service.py::TestService::test_cors_headers_for_service_instanciation PASSED [ 51%] tests/test_service.py::TestService::test_cors_headers_for_view_definition PASSED [ 52%] tests/test_service.py::TestService::test_cors_policy PASSED [ 52%] tests/test_service.py::TestService::test_cors_policy_can_be_overwritten PASSED [ 53%] tests/test_service.py::TestService::test_cors_support PASSED [ 53%] tests/test_service.py::TestService::test_cors_supported_methods PASSED [ 54%] tests/test_service.py::TestService::test_cors_supported_origins PASSED [ 54%] tests/test_service.py::TestService::test_credential_support_can_be_enabled PASSED [ 54%] tests/test_service.py::TestService::test_credential_support_is_disabled_by_default PASSED [ 55%] tests/test_service.py::TestService::test_decorate_resource_view PASSED [ 55%] tests/test_service.py::TestService::test_decorate_view PASSED [ 56%] tests/test_service.py::TestService::test_decorate_view_acl PASSED [ 56%] tests/test_service.py::TestService::test_decorate_view_factory PASSED [ 56%] tests/test_service.py::TestService::test_decorators PASSED [ 57%] tests/test_service.py::TestService::test_default_error_handler PASSED [ 57%] tests/test_service.py::TestService::test_default_error_handler_calls_default_renderer PASSED [ 58%] tests/test_service.py::TestService::test_default_validators PASSED [ 58%] tests/test_service.py::TestService::test_disabling_cors_for_one_method PASSED [ 59%] tests/test_service.py::TestService::test_error_handler PASSED [ 59%] tests/test_service.py::TestService::test_get_acceptable PASSED [ 59%] tests/test_service.py::TestService::test_get_arguments PASSED [ 60%] tests/test_service.py::TestService::test_get_contenttypes PASSED [ 60%] tests/test_service.py::TestService::test_get_services PASSED [ 61%] tests/test_service.py::TestService::test_get_validators PASSED [ 61%] tests/test_service.py::TestService::test_max_age_can_be_defined PASSED [ 62%] tests/test_service.py::TestService::test_max_age_can_be_different_dependeing_methods PASSED [ 62%] tests/test_service.py::TestService::test_max_age_is_none_if_undefined PASSED [ 62%] tests/test_service.py::TestService::test_method_takes_precendence_for_credential_support PASSED [ 63%] tests/test_service.py::TestService::test_per_method_credential_support PASSED [ 63%] tests/test_service.py::TestService::test_per_method_supported_origins PASSED [ 64%] tests/test_service.py::TestService::test_representation PASSED [ 64%] tests/test_service.py::TestService::test_representation_path PASSED [ 64%] tests/test_service.py::TestService::test_service_instanciation PASSED [ 65%] tests/test_service.py::TestService::test_view_registration PASSED [ 65%] tests/test_service_definition.py::TestServiceDefinition::test_basic_service_operation PASSED [ 66%] tests/test_service_definition.py::TestServiceDefinition::test_loading_into_multiple_configurators PASSED [ 66%] tests/test_service_definition.py::TestServiceDefinition::test_stacking_api_decorators PASSED [ 67%] tests/test_util.py::TestDeprecatedUtils::test_extract_form_urlencoded_data_is_deprecated PASSED [ 67%] tests/test_util.py::TestDeprecatedUtils::test_extract_json_data_is_deprecated PASSED [ 67%] tests/test_util.py::CurrentServiceTest::test_current_service_returns_none_for_unexisting_patterns PASSED [ 68%] tests/test_util.py::CurrentServiceTest::test_current_service_returns_the_service_for_existing_patterns PASSED [ 68%] tests/test_validation.py::TestServiceDefinition::test_accept PASSED [ 69%] tests/test_validation.py::TestServiceDefinition::test_accept_and_content_type PASSED [ 69%] tests/test_validation.py::TestServiceDefinition::test_accept_issue_113_audio_or_text PASSED [ 70%] tests/test_validation.py::TestServiceDefinition::test_accept_issue_113_text_application_json PASSED [ 70%] tests/test_validation.py::TestServiceDefinition::test_accept_issue_113_text_application_star PASSED [ 70%] tests/test_validation.py::TestServiceDefinition::test_accept_issue_113_text_html_not_acceptable PASSED [ 71%] tests/test_validation.py::TestServiceDefinition::test_accept_issue_113_text_star PASSED [ 71%] tests/test_validation.py::TestServiceDefinition::test_content_type_correct PASSED [ 72%] tests/test_validation.py::TestServiceDefinition::test_content_type_missing PASSED [ 72%] tests/test_validation.py::TestServiceDefinition::test_content_type_missing_with_no_body_should_pass PASSED [ 72%] tests/test_validation.py::TestServiceDefinition::test_content_type_on_get PASSED [ 73%] tests/test_validation.py::TestServiceDefinition::test_content_type_with_callable PASSED [ 73%] tests/test_validation.py::TestServiceDefinition::test_content_type_with_callable_returning_scalar PASSED [ 74%] tests/test_validation.py::TestServiceDefinition::test_content_type_with_no_body_should_pass PASSED [ 74%] tests/test_validation.py::TestServiceDefinition::test_content_type_wrong_multiple PASSED [ 75%] tests/test_validation.py::TestServiceDefinition::test_content_type_wrong_single PASSED [ 75%] tests/test_validation.py::TestServiceDefinition::test_filters PASSED [ 75%] tests/test_validation.py::TestServiceDefinition::test_multiple_querystrings PASSED [ 76%] tests/test_validation.py::TestServiceDefinition::test_override_default_accept_issue_252 PASSED [ 76%] tests/test_validation.py::TestServiceDefinition::test_validated_body_content_from_schema PASSED [ 77%] tests/test_validation.py::TestServiceDefinition::test_validated_path_content_from_schema PASSED [ 77%] tests/test_validation.py::TestServiceDefinition::test_validated_querystring_and_schema_from_same_schema PASSED [ 78%] tests/test_validation.py::TestServiceDefinition::test_validated_querystring_content_from_schema PASSED [ 78%] tests/test_validation.py::TestServiceDefinition::test_validation PASSED [ 78%] tests/test_validation.py::TestServiceDefinition::test_validation_hooked_error_response PASSED [ 79%] tests/test_validation.py::TestRequestDataExtractors::test_invalid_json PASSED [ 79%] tests/test_validation.py::TestRequestDataExtractors::test_json_array_with_colander_body_validator PASSED [ 80%] tests/test_validation.py::TestRequestDataExtractors::test_json_array_with_colander_validator PASSED [ 80%] tests/test_validation.py::TestRequestDataExtractors::test_json_body_attribute_is_not_lost PASSED [ 81%] tests/test_validation.py::TestRequestDataExtractors::test_json_text PASSED [ 81%] tests/test_validation.py::TestRequestDataExtractors::test_multipart_form_data_multiple_fields PASSED [ 81%] tests/test_validation.py::TestRequestDataExtractors::test_multipart_form_data_one_field PASSED [ 82%] tests/test_validation.py::TestRequestDataExtractors::test_valid_json PASSED [ 82%] tests/test_validation.py::TestRequestDataExtractors::test_valid_nonstandard_json PASSED [ 83%] tests/test_validation.py::TestRequestDataExtractors::test_www_form_urlencoded PASSED [ 83%] tests/test_validation.py::TestBoundSchemas::test_bound_schema_existing_value PASSED [ 83%] tests/test_validation.py::TestBoundSchemas::test_bound_schema_multiple_calls PASSED [ 84%] tests/test_validation.py::TestBoundSchemas::test_bound_schema_non_existing_value PASSED [ 84%] tests/test_validation.py::TestBoundSchemas::test_bound_schema_use_bound PASSED [ 85%] tests/test_validation.py::TestErrorMessageTranslationColander::test_accept_language_header PASSED [ 85%] tests/test_validation.py::TestErrorMessageTranslationColander::test_default_language PASSED [ 86%] tests/test_validation.py::TestErrorMessageTranslationColander::test_default_language_fallback PASSED [ 86%] tests/test_validation.py::TestErrorMessageTranslationColander::test_no_language_settings PASSED [ 86%] tests/test_validation.py::TestValidatorEdgeCases::test_no_body_schema PASSED [ 87%] tests/test_validation.py::TestValidatorEdgeCases::test_no_schema PASSED [ 87%] tests/test_validation.py::TestValidatorEdgeCases::test_schema_class_deprecated PASSED [ 88%] tests/test_validation.py::TestExtractedJSONValueTypes::test_extracted_json_values PASSED [ 88%] tests/test_validation.py::TestServiceDefinitionMarshmallow::test_content_type_missing_with_no_body_should_pass SKIPPED [ 89%] tests/test_validation.py::TestServiceDefinitionMarshmallow::test_content_type_with_callable SKIPPED [ 89%] tests/test_validation.py::TestServiceDefinitionMarshmallow::test_content_type_with_callable_returning_scalar SKIPPED [ 89%] tests/test_validation.py::TestServiceDefinitionMarshmallow::test_content_type_with_no_body_should_pass SKIPPED [ 90%] tests/test_validation.py::TestServiceDefinitionMarshmallow::test_multiple_querystrings SKIPPED [ 90%] tests/test_validation.py::TestServiceDefinitionMarshmallow::test_post SKIPPED [ 91%] tests/test_validation.py::TestServiceDefinitionMarshmallow::test_validated_body_content_from_schema SKIPPED [ 91%] tests/test_validation.py::TestServiceDefinitionMarshmallow::test_validated_path_content_from_schema SKIPPED [ 91%] tests/test_validation.py::TestServiceDefinitionMarshmallow::test_validated_querystring_and_schema_from_same_schema SKIPPED [ 92%] tests/test_validation.py::TestServiceDefinitionMarshmallow::test_validated_querystring_content_from_schema SKIPPED [ 92%] tests/test_validation.py::TestRequestDataExtractorsMarshmallow::test_invalid_json SKIPPED [ 93%] tests/test_validation.py::TestRequestDataExtractorsMarshmallow::test_json_text SKIPPED [ 93%] tests/test_validation.py::TestRequestDataExtractorsMarshmallow::test_multipart_form_data_multiple_fields SKIPPED [ 94%] tests/test_validation.py::TestRequestDataExtractorsMarshmallow::test_multipart_form_data_one_field SKIPPED [ 94%] tests/test_validation.py::TestRequestDataExtractorsMarshmallow::test_valid_json SKIPPED [ 94%] tests/test_validation.py::TestRequestDataExtractorsMarshmallow::test_valid_json_array SKIPPED [ 95%] tests/test_validation.py::TestRequestDataExtractorsMarshmallow::test_valid_nonstandard_json SKIPPED [ 95%] tests/test_validation.py::TestRequestDataExtractorsMarshmallow::test_www_form_urlencoded SKIPPED [ 96%] tests/test_validation.py::TestValidatorEdgeCasesMarshmallow::test_instantiated_schema SKIPPED [ 96%] tests/test_validation.py::TestValidatorEdgeCasesMarshmallow::test_message_normalizer_field_names SKIPPED [ 97%] tests/test_validation.py::TestValidatorEdgeCasesMarshmallow::test_message_normalizer_no_field_names SKIPPED [ 97%] tests/test_validation.py::TestValidatorEdgeCasesMarshmallow::test_no_body_schema SKIPPED [ 97%] tests/test_validation.py::TestValidatorEdgeCasesMarshmallow::test_no_schema SKIPPED [ 98%] tests/test_validation.py::TestContextSchemas::test_schema_existing_value SKIPPED [ 98%] tests/test_validation.py::TestContextSchemas::test_schema_multiple_calls SKIPPED [ 99%] tests/test_validation.py::TestContextSchemas::test_schema_non_existing_value SKIPPED [ 99%] tests/test_validation.py::TestContextSchemas::test_schema_wrong_token SKIPPED [100%] =============================== warnings summary =============================== ../../../../usr/lib/python3.12/site-packages/webob/compat.py:5 /usr/lib/python3.12/site-packages/webob/compat.py:5: DeprecationWarning: 'cgi' is deprecated and slated for removal in Python 3.13 from cgi import parse_header ../../../../usr/lib/python3.12/site-packages/pyramid/asset.py:2 /usr/lib/python3.12/site-packages/pyramid/asset.py:2: DeprecationWarning: pkg_resources is deprecated as an API. See https://setuptools.pypa.io/en/latest/pkg_resources.html import pkg_resources ../../../../usr/lib/python3.12/site-packages/pkg_resources/__init__.py:2832 ../../../../usr/lib/python3.12/site-packages/pkg_resources/__init__.py:2832 /usr/lib/python3.12/site-packages/pkg_resources/__init__.py:2832: DeprecationWarning: Deprecated call to `pkg_resources.declare_namespace('zope')`. Implementing implicit namespace packages (as specified in PEP 420) is preferred to `pkg_resources.declare_namespace`. See https://setuptools.pypa.io/en/latest/references/keywords.html#keyword-namespace-packages declare_namespace(pkg) ../../../../usr/lib/python3.12/site-packages/pkg_resources/__init__.py:2832 /usr/lib/python3.12/site-packages/pkg_resources/__init__.py:2832: DeprecationWarning: Deprecated call to `pkg_resources.declare_namespace('paste')`. Implementing implicit namespace packages (as specified in PEP 420) is preferred to `pkg_resources.declare_namespace`. See https://setuptools.pypa.io/en/latest/references/keywords.html#keyword-namespace-packages declare_namespace(pkg) tests/test_imperative_resource.py:11 /builddir/build/BUILD/cornice-6.0.1/tests/test_imperative_resource.py:11: DeprecationWarning: Allow: "pyramid.security.Allow" is deprecated in Pyramid 2.0. Adjust your import to "pyramid.authorization.Allow" from pyramid.security import Allow tests/test_pyramidhook.py:18 /builddir/build/BUILD/cornice-6.0.1/tests/test_pyramidhook.py:18: DeprecationWarning: Allow: "pyramid.security.Allow" is deprecated in Pyramid 2.0. Adjust your import to "pyramid.authorization.Allow" from pyramid.security import Allow, Deny, NO_PERMISSION_REQUIRED tests/test_pyramidhook.py:18 /builddir/build/BUILD/cornice-6.0.1/tests/test_pyramidhook.py:18: DeprecationWarning: Deny: "pyramid.security.Deny" is deprecated in Pyramid 2.0. Adjust your import to "pyramid.authorization.Deny" from pyramid.security import Allow, Deny, NO_PERMISSION_REQUIRED tests/test_resource.py:11 /builddir/build/BUILD/cornice-6.0.1/tests/test_resource.py:11: DeprecationWarning: Allow: "pyramid.security.Allow" is deprecated in Pyramid 2.0. Adjust your import to "pyramid.authorization.Allow" from pyramid.security import Allow tests/test_cors.py::TestAuthenticatedCORS::test_post_on_spam_should_be_forbidden tests/test_cors.py::TestAuthenticatedCORS::test_preflight_does_not_need_authentication /builddir/build/BUILD/cornice-6.0.1/tests/test_cors.py:353: DeprecationWarning: Authentication and authorization policies have been deprecated in favor of security policies. See "Upgrading Authentication/Authorization" in "What's New in Pyramid 2.0" of the documentation for more information. self.config.set_authorization_policy(AuthorizationPolicy()) tests/test_cors.py::TestAuthenticatedCORS::test_post_on_spam_should_be_forbidden tests/test_cors.py::TestAuthenticatedCORS::test_preflight_does_not_need_authentication /builddir/build/BUILD/cornice-6.0.1/tests/test_cors.py:354: DeprecationWarning: Authentication and authorization policies have been deprecated in favor of security policies. See "Upgrading Authentication/Authorization" in "What's New in Pyramid 2.0" of the documentation for more information. self.config.set_authentication_policy(BasicAuthAuthenticationPolicy( tests/test_imperative_resource.py::TestResource::test_accept_headers tests/test_imperative_resource.py::TestResource::test_acl_support_authenticated_allowed_thing_get tests/test_imperative_resource.py::TestResource::test_acl_support_unauthenticated_forbidden_thing_get tests/test_imperative_resource.py::TestResource::test_acl_support_unauthenticated_thing_get tests/test_imperative_resource.py::TestResource::test_basic_resource tests/test_imperative_resource.py::TestResource::test_context_factory tests/test_imperative_resource.py::TestResource::test_explicit_collection_service_name tests/test_imperative_resource.py::TestResource::test_explicit_service_name tests/test_imperative_resource.py::TestResource::test_head_and_patch /builddir/build/BUILD/cornice-6.0.1/tests/test_imperative_resource.py:90: DeprecationWarning: Authentication and authorization policies have been deprecated in favor of security policies. See "Upgrading Authentication/Authorization" in "What's New in Pyramid 2.0" of the documentation for more information. self.config.set_authorization_policy(self.authz_policy) tests/test_imperative_resource.py::TestResource::test_accept_headers tests/test_imperative_resource.py::TestResource::test_acl_support_authenticated_allowed_thing_get tests/test_imperative_resource.py::TestResource::test_acl_support_unauthenticated_forbidden_thing_get tests/test_imperative_resource.py::TestResource::test_acl_support_unauthenticated_thing_get tests/test_imperative_resource.py::TestResource::test_basic_resource tests/test_imperative_resource.py::TestResource::test_context_factory tests/test_imperative_resource.py::TestResource::test_explicit_collection_service_name tests/test_imperative_resource.py::TestResource::test_explicit_service_name tests/test_imperative_resource.py::TestResource::test_head_and_patch /builddir/build/BUILD/cornice-6.0.1/tests/test_imperative_resource.py:93: DeprecationWarning: Authentication and authorization policies have been deprecated in favor of security policies. See "Upgrading Authentication/Authorization" in "What's New in Pyramid 2.0" of the documentation for more information. self.config.set_authentication_policy(self.authn_policy) tests/test_pyramidhook.py: 13 warnings /builddir/build/BUILD/cornice-6.0.1/tests/test_pyramidhook.py:105: DeprecationWarning: Authentication and authorization policies have been deprecated in favor of security policies. See "Upgrading Authentication/Authorization" in "What's New in Pyramid 2.0" of the documentation for more information. self.config.set_authorization_policy(self.authz_policy) tests/test_pyramidhook.py: 13 warnings /builddir/build/BUILD/cornice-6.0.1/tests/test_pyramidhook.py:108: DeprecationWarning: Authentication and authorization policies have been deprecated in favor of security policies. See "Upgrading Authentication/Authorization" in "What's New in Pyramid 2.0" of the documentation for more information. self.config.set_authentication_policy(self.authn_policy) tests/test_pyramidhook.py::TestFallbackRegistration::test_fallback_no_predicate /builddir/build/BUILD/cornice-6.0.1/cornice/pyramidhook.py:209: DeprecationWarning: The new security policy has deprecated effective_principals. See "Upgrading Authentication/Authorization" in "What's New in Pyramid 2.0" of the documentation for more information. config.add_route(route_name, service.path, **route_args) tests/test_pyramidhook.py::TestFallbackRegistration::test_fallback_no_predicate tests/test_pyramidhook.py::TestFallbackRegistration::test_fallback_no_predicate /builddir/build/BUILD/cornice-6.0.1/cornice/pyramidhook.py:261: DeprecationWarning: The new security policy has deprecated effective_principals. See "Upgrading Authentication/Authorization" in "What's New in Pyramid 2.0" of the documentation for more information. config.add_view(view=decorated_view, route_name=route_name, tests/test_pyramidhook.py::TestFallbackRegistration::test_fallback_no_predicate /usr/lib/python3.12/site-packages/pyramid/predicates.py:305: DeprecationWarning: The new security policy has deprecated effective_principals. See "Upgrading Authentication/Authorization" in "What's New in Pyramid 2.0" of the documentation for more information. req_principals = request.effective_principals tests/test_resource.py: 13 warnings /builddir/build/BUILD/cornice-6.0.1/tests/test_resource.py:129: DeprecationWarning: Authentication and authorization policies have been deprecated in favor of security policies. See "Upgrading Authentication/Authorization" in "What's New in Pyramid 2.0" of the documentation for more information. self.config.set_authorization_policy(self.authz_policy) tests/test_resource.py: 13 warnings /builddir/build/BUILD/cornice-6.0.1/tests/test_resource.py:132: DeprecationWarning: Authentication and authorization policies have been deprecated in favor of security policies. See "Upgrading Authentication/Authorization" in "What's New in Pyramid 2.0" of the documentation for more information. self.config.set_authentication_policy(self.authn_policy) tests/test_resource_callable.py: 40 warnings tests/test_validation.py: 430 warnings /builddir/build/BUILD/cornice-6.0.1/cornice/pyramidhook.py:255: DeprecationWarning: The "custom_predicates" argument to Configurator.add_view is deprecated as of Pyramid 1.5. Use "config.add_view_predicate" and use the registered view predicate as a predicate argument to add_view instead. See "Adding A Custom View, Route, or Subscriber Predicate" in the "Hooks" chapter of the documentation for more information. config.add_view(view=decorated_view, route_name=route_name, tests/test_resource_custom_predicates.py::TestCustomPredicates::test_get_resource_predicates tests/test_resource_custom_predicates.py::TestCustomPredicates::test_patch_resource_predicates tests/test_resource_custom_predicates.py::TestCustomPredicates::test_post_resource_predicates tests/test_resource_custom_predicates.py::TestCustomPredicates::test_put_resource_predicates /builddir/build/BUILD/cornice-6.0.1/tests/test_resource_custom_predicates.py:96: DeprecationWarning: Authentication and authorization policies have been deprecated in favor of security policies. See "Upgrading Authentication/Authorization" in "What's New in Pyramid 2.0" of the documentation for more information. self.config.set_authorization_policy(self.authz_policy) tests/test_resource_custom_predicates.py::TestCustomPredicates::test_get_resource_predicates tests/test_resource_custom_predicates.py::TestCustomPredicates::test_patch_resource_predicates tests/test_resource_custom_predicates.py::TestCustomPredicates::test_post_resource_predicates tests/test_resource_custom_predicates.py::TestCustomPredicates::test_put_resource_predicates /builddir/build/BUILD/cornice-6.0.1/tests/test_resource_custom_predicates.py:99: DeprecationWarning: Authentication and authorization policies have been deprecated in favor of security policies. See "Upgrading Authentication/Authorization" in "What's New in Pyramid 2.0" of the documentation for more information. self.config.set_authentication_policy(self.authn_policy) -- Docs: https://docs.pytest.org/en/stable/how-to/capture-warnings.html ================ 209 passed, 28 skipped, 565 warnings in 3.04s ================= + RPM_EC=0 ++ jobs -p + exit 0 Processing files: python3-cornice-6.0.1-9.fc41.noarch Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.uKIrIN + umask 022 + cd /builddir/build/BUILD + cd cornice-6.0.1 + DOCDIR=/builddir/build/BUILDROOT/python-cornice-6.0.1-9.fc41.noarch/usr/share/doc/python3-cornice + export LC_ALL= + LC_ALL= + export DOCDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/python-cornice-6.0.1-9.fc41.noarch/usr/share/doc/python3-cornice + cp -pr /builddir/build/BUILD/cornice-6.0.1/CHANGES.txt /builddir/build/BUILDROOT/python-cornice-6.0.1-9.fc41.noarch/usr/share/doc/python3-cornice + cp -pr /builddir/build/BUILD/cornice-6.0.1/CONTRIBUTORS.txt /builddir/build/BUILDROOT/python-cornice-6.0.1-9.fc41.noarch/usr/share/doc/python3-cornice + cp -pr /builddir/build/BUILD/cornice-6.0.1/README.rst /builddir/build/BUILDROOT/python-cornice-6.0.1-9.fc41.noarch/usr/share/doc/python3-cornice + RPM_EC=0 ++ jobs -p + exit 0 Executing(%license): /bin/sh -e /var/tmp/rpm-tmp.X3jnT8 + umask 022 + cd /builddir/build/BUILD + cd cornice-6.0.1 + LICENSEDIR=/builddir/build/BUILDROOT/python-cornice-6.0.1-9.fc41.noarch/usr/share/licenses/python3-cornice + export LC_ALL= + LC_ALL= + export LICENSEDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/python-cornice-6.0.1-9.fc41.noarch/usr/share/licenses/python3-cornice + cp -pr /builddir/build/BUILD/cornice-6.0.1/LICENSE /builddir/build/BUILDROOT/python-cornice-6.0.1-9.fc41.noarch/usr/share/licenses/python3-cornice + RPM_EC=0 ++ jobs -p + exit 0 Provides: python-cornice = 6.0.1-9.fc41 python3-cornice = 6.0.1-9.fc41 python3.12-cornice = 6.0.1-9.fc41 python3.12dist(cornice) = 6.0.1 python3dist(cornice) = 6.0.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: (python3.12dist(pyramid) < 3~~ with python3.12dist(pyramid) >= 1.7) python(abi) = 3.12 python3.12dist(venusian) Obsoletes: python-cornice < 6.0.1-9.fc41 Recommends: python3dist(colander) Checking for unpackaged file(s): /usr/lib/rpm/check-files /builddir/build/BUILDROOT/python-cornice-6.0.1-9.fc41.noarch Wrote: /builddir/build/RPMS/python3-cornice-6.0.1-9.fc41.noarch.rpm Child return code was: 0