Mock Version: 2.16 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target x86_64 --nodeps /builddir/build/SPECS/python-bottle.spec'], chrootPath='/var/lib/mock/fedora-rawhide-x86_64-1644240811.714015/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.5ftp8mqp:/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.5ftp8mqp:/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', '58a922d213c14e3d901c21eb2995e570', '-D', '/var/lib/mock/fedora-rawhide-x86_64-1644240811.714015/root', '-a', '-u', 'mockbuild', '--capability=cap_ipc_lock', '--rlimit=RLIMIT_NOFILE=10240', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.5ftp8mqp:/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-bottle.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=1644192000 Wrote: /builddir/build/SRPMS/python-bottle-0.12.19-1.fc36.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-bottle.spec'], chrootPath='/var/lib/mock/fedora-rawhide-x86_64-1644240811.714015/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.5ftp8mqp:/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.5ftp8mqp:/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', 'b8ff3e22e8ee4778914be3545deefd0c', '-D', '/var/lib/mock/fedora-rawhide-x86_64-1644240811.714015/root', '-a', '-u', 'mockbuild', '--capability=cap_ipc_lock', '--rlimit=RLIMIT_NOFILE=10240', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.5ftp8mqp:/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-bottle.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=1644192000 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.pCrDZZ + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf bottle-0.12.19 + /usr/bin/gzip -dc /builddir/build/SOURCES/bottle-0.12.19.tar.gz + /usr/bin/tar -xof - + STATUS=0 + '[' 0 -ne 0 ']' + cd bottle-0.12.19 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + sed -i '/^#!/d' bottle.py + RPM_EC=0 ++ jobs -p + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.k1pG2l + umask 022 + cd /builddir/build/BUILD + CFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection' + export CFLAGS + CXXFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection' + export CXXFLAGS + FFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -I/usr/lib64/gfortran/modules' + export FFLAGS + FCFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -I/usr/lib64/gfortran/modules' + export FCFLAGS + LDFLAGS='-Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -Wl,-dT,/builddir/build/BUILD/bottle-0.12.19/.package_note-python-bottle-0.12.19-1.fc36.x86_64.ld' + export LDFLAGS + LT_SYS_LIBRARY_PATH=/usr/lib64: + export LT_SYS_LIBRARY_PATH + CC=gcc + export CC + CXX=g++ + export CXX + '[' -f /usr/lib/rpm/generate-rpm-note.sh ']' + /usr/lib/rpm/generate-rpm-note.sh python-bottle 0.12.19-1.fc36 x86_64 + cd bottle-0.12.19 + CFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection' + LDFLAGS='-Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -Wl,-dT,/builddir/build/BUILD/bottle-0.12.19/.package_note-python-bottle-0.12.19-1.fc36.x86_64.ld' + /usr/bin/python3 setup.py build '--executable=/usr/bin/python3 -s' running build running build_py creating build creating build/lib copying bottle.py -> build/lib running build_scripts creating build/scripts-3.10 copying bottle.py -> build/scripts-3.10 changing mode of build/scripts-3.10/bottle.py from 644 to 755 + RPM_EC=0 ++ jobs -p + exit 0 Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.DSTI11 + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/python-bottle-0.12.19-1.fc36.x86_64 '!=' / ']' + rm -rf /builddir/build/BUILDROOT/python-bottle-0.12.19-1.fc36.x86_64 ++ dirname /builddir/build/BUILDROOT/python-bottle-0.12.19-1.fc36.x86_64 + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/python-bottle-0.12.19-1.fc36.x86_64 + CFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection' + export CFLAGS + CXXFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection' + export CXXFLAGS + FFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -I/usr/lib64/gfortran/modules' + export FFLAGS + FCFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -I/usr/lib64/gfortran/modules' + export FCFLAGS + LDFLAGS='-Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -Wl,-dT,/builddir/build/BUILD/bottle-0.12.19/.package_note-python-bottle-0.12.19-1.fc36.x86_64.ld' + export LDFLAGS + LT_SYS_LIBRARY_PATH=/usr/lib64: + export LT_SYS_LIBRARY_PATH + CC=gcc + export CC + CXX=g++ + export CXX + cd bottle-0.12.19 + CFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection' + LDFLAGS='-Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -Wl,-dT,/builddir/build/BUILD/bottle-0.12.19/.package_note-python-bottle-0.12.19-1.fc36.x86_64.ld' + /usr/bin/python3 setup.py install -O1 --skip-build --root /builddir/build/BUILDROOT/python-bottle-0.12.19-1.fc36.x86_64 running install /usr/lib/python3.10/site-packages/setuptools/command/install.py:34: SetuptoolsDeprecationWarning: setup.py install is deprecated. Use build and pip and other standards-based tools. warnings.warn( running install_lib creating /builddir/build/BUILDROOT/python-bottle-0.12.19-1.fc36.x86_64/usr creating /builddir/build/BUILDROOT/python-bottle-0.12.19-1.fc36.x86_64/usr/lib creating /builddir/build/BUILDROOT/python-bottle-0.12.19-1.fc36.x86_64/usr/lib/python3.10 creating /builddir/build/BUILDROOT/python-bottle-0.12.19-1.fc36.x86_64/usr/lib/python3.10/site-packages copying build/lib/bottle.py -> /builddir/build/BUILDROOT/python-bottle-0.12.19-1.fc36.x86_64/usr/lib/python3.10/site-packages byte-compiling /builddir/build/BUILDROOT/python-bottle-0.12.19-1.fc36.x86_64/usr/lib/python3.10/site-packages/bottle.py to bottle.cpython-310.pyc writing byte-compilation script '/tmp/tmpzz_zvigb.py' /usr/bin/python3 -Wignore:The distutils package is deprecated and slated for removal in Python 3.12. Use setuptools or check PEP 632 for potential alternatives:DeprecationWarning /tmp/tmpzz_zvigb.py removing /tmp/tmpzz_zvigb.py running install_egg_info running egg_info creating bottle.egg-info writing bottle.egg-info/PKG-INFO writing dependency_links to bottle.egg-info/dependency_links.txt writing top-level names to bottle.egg-info/top_level.txt writing manifest file 'bottle.egg-info/SOURCES.txt' reading manifest file 'bottle.egg-info/SOURCES.txt' reading manifest template 'MANIFEST.in' warning: no files found matching 'LICENSE.txt' adding license file 'LICENSE' adding license file 'AUTHORS' writing manifest file 'bottle.egg-info/SOURCES.txt' Copying bottle.egg-info to /builddir/build/BUILDROOT/python-bottle-0.12.19-1.fc36.x86_64/usr/lib/python3.10/site-packages/bottle-0.12.19-py3.10.egg-info running install_scripts creating /builddir/build/BUILDROOT/python-bottle-0.12.19-1.fc36.x86_64/usr/bin copying build/scripts-3.10/bottle.py -> /builddir/build/BUILDROOT/python-bottle-0.12.19-1.fc36.x86_64/usr/bin changing mode of /builddir/build/BUILDROOT/python-bottle-0.12.19-1.fc36.x86_64/usr/bin/bottle.py to 755 + rm -rfv /builddir/build/BUILDROOT/python-bottle-0.12.19-1.fc36.x86_64/usr/bin/__pycache__ + rm /builddir/build/BUILDROOT/python-bottle-0.12.19-1.fc36.x86_64/usr/bin/bottle.py + /usr/bin/find-debuginfo -j2 --strict-build-id -m -i --build-id-seed 0.12.19-1.fc36 --unique-debug-suffix -0.12.19-1.fc36.x86_64 --unique-debug-src-base python-bottle-0.12.19-1.fc36.x86_64 --run-dwz --dwz-low-mem-die-limit 10000000 --dwz-max-die-limit 110000000 -S debugsourcefiles.list /builddir/build/BUILD/bottle-0.12.19 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/redhat/brp-python-bytecompile '' 1 0 Bytecompiling .py files below /builddir/build/BUILDROOT/python-bottle-0.12.19-1.fc36.x86_64/usr/lib/python3.10 using python3.10 + /usr/lib/rpm/redhat/brp-python-hardlink Executing(%check): /bin/sh -e /var/tmp/rpm-tmp.jSe66R + umask 022 + cd /builddir/build/BUILD + CFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection' + export CFLAGS + CXXFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection' + export CXXFLAGS + FFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -I/usr/lib64/gfortran/modules' + export FFLAGS + FCFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -I/usr/lib64/gfortran/modules' + export FCFLAGS + LDFLAGS='-Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -Wl,-dT,/builddir/build/BUILD/bottle-0.12.19/.package_note-python-bottle-0.12.19-1.fc36.x86_64.ld' + export LDFLAGS + LT_SYS_LIBRARY_PATH=/usr/lib64: + export LT_SYS_LIBRARY_PATH + CC=gcc + export CC + CXX=g++ + export CXX + '[' -f /usr/lib/rpm/generate-rpm-note.sh ']' + /usr/lib/rpm/generate-rpm-note.sh python-bottle 0.12.19-1.fc36 x86_64 + cd bottle-0.12.19 + /usr/bin/python3 test/testall.py verbose /builddir/build/BUILD/bottle-0.12.19/test/test_server.py:53: SyntaxWarning: "is" with a literal. Did you mean "=="? if rv is 128: # Import error /builddir/build/BUILD/bottle-0.12.19/test/test_server.py:57: SyntaxWarning: "is" with a literal. Did you mean "=="? if rv is 3: # Port in use WARNING: No Mako template support. Skipping tests. WARNING: No Jinja2 template support. Skipping tests. test_module_shortcuts (test_wsgi.TestAppShortcuts) ... ok test_module_shortcuts_with_different_name (test_wsgi.TestAppShortcuts) ... ok test_autoroute (test_wsgi.TestDecorators) ... /builddir/build/BUILD/bottle-0.12.19/bottle.py:2647: DeprecationWarning: inspect.getargspec() is deprecated since Python 3.0, use inspect.signature() or inspect.getfullargspec() spec = getargspec(func) ok test_routebuild (test_wsgi.TestDecorators) WSGI: Test route builder ... ok test_truncate_body (test_wsgi.TestDecorators) WSGI: Some HTTP status codes must not be used with a response-body ... ok test_view (test_wsgi.TestDecorators) WSGI: Test view-decorator (should override autojson) ... /builddir/build/BUILD/bottle-0.12.19/bottle.py:3583: DeprecationWarning: The include and rebase keywords are functions now. line, comment = self.fix_backward_compatibility(line, comment) ok test_view_error (test_wsgi.TestDecorators) WSGI: Test if view-decorator reacts on non-dict return values correctly. ... ok test_apply (test_wsgi.TestRouteDecorator) ... ok test_apply_list (test_wsgi.TestRouteDecorator) ... ok test_callback (test_wsgi.TestRouteDecorator) ... ok test_decorators (test_wsgi.TestRouteDecorator) ... ok test_hooks (test_wsgi.TestRouteDecorator) ... ok test_method (test_wsgi.TestRouteDecorator) ... ok test_method_list (test_wsgi.TestRouteDecorator) ... ok test_name (test_wsgi.TestRouteDecorator) ... /builddir/build/BUILD/bottle-0.12.19/test/test_wsgi.py:259: DeprecationWarning: Please use assertEqual instead. self.assertEquals('/test/6', bottle.url('foo', x=6)) ok test_no_params_at_all (test_wsgi.TestRouteDecorator) ... ok test_no_path (test_wsgi.TestRouteDecorator) ... ok test_path_list (test_wsgi.TestRouteDecorator) ... ok test_single_path (test_wsgi.TestRouteDecorator) ... ok test_template (test_wsgi.TestRouteDecorator) ... ok test_template_opts (test_wsgi.TestRouteDecorator) ... ok test_303 (test_wsgi.TestWsgi) WSGI: redirect (HTTP 303) ... ok test_401 (test_wsgi.TestWsgi) WSGI: abort(401, '') (HTTP 401) ... ok test_500 (test_wsgi.TestWsgi) WSGI: Exceptions within handler code (HTTP 500) ... ok test_500_unicode (test_wsgi.TestWsgi) ... ok test_anymethod (test_wsgi.TestWsgi) ... ok test_cookie (test_wsgi.TestWsgi) WSGI: Cookies ... ok test_generator_callback (test_wsgi.TestWsgi) ... ok test_get (test_wsgi.TestWsgi) WSGI: GET routes ... ok test_headget (test_wsgi.TestWsgi) WSGI: HEAD routes and GET fallback ... ok test_post (test_wsgi.TestWsgi) WSGI: POST routes ... ok test_request_attrs (test_wsgi.TestWsgi) WSGI: POST routes ... ok test_utf8_404 (test_wsgi.TestWsgi) ... ok test_utf8_url (test_wsgi.TestWsgi) WSGI: UTF-8 Characters in the URL ... ok test_defect_coding (test_stpl.TestSTPLDir) ... ok test_multiline_block (test_stpl.TestSTPLDir) ... ok test_multiline_comprehensions_in_code_line (test_stpl.TestSTPLDir) ... ok test_multiline_eob_after_end (test_stpl.TestSTPLDir) ... ok test_multiline_eob_in_single_line_code (test_stpl.TestSTPLDir) ... ok test_multiline_find_eob_in_comments (test_stpl.TestSTPLDir) ... ok test_multiline_ignore_eob_in_string (test_stpl.TestSTPLDir) ... ok test_multiline_indention (test_stpl.TestSTPLDir) ... ok test_multiline_strings_in_code_line (test_stpl.TestSTPLDir) ... ok test_old_include (test_stpl.TestSTPLDir) ... ok test_old_include_with_args (test_stpl.TestSTPLDir) ... ok test_blocks (test_stpl.TestSimpleTemplate) Templates: Code blocks and loops ... ok test_bug_block_keywords_eat_prefixed_code (test_stpl.TestSimpleTemplate) #595: Everything before an 'if' statement is removed, resulting in ... ok test_bug_no_whitespace_before_stmt (test_stpl.TestSimpleTemplate) ... ok test_coding_stress (test_stpl.TestSimpleTemplate) ... /builddir/build/BUILD/bottle-0.12.19/bottle.py:3583: DeprecationWarning: PEP263 encoding strings in templates are deprecated. line, comment = self.fix_backward_compatibility(line, comment) ok test_commentbug (test_stpl.TestSimpleTemplate) A "#" sign within an string is not a comment ... ok test_commentonly (test_stpl.TestSimpleTemplate) Templates: Commentd should behave like code-lines (e.g. flush text-lines) ... ok test_data (test_stpl.TestSimpleTemplate) Templates: Data representation ... ok test_dedentbug (test_stpl.TestSimpleTemplate) One-Line dednet blocks should not change indention ... ok test_defnied (test_stpl.TestSimpleTemplate) ... ok test_detect_pep263 (test_stpl.TestSimpleTemplate) PEP263 strings in code-lines change the template encoding on the fly ... /builddir/build/BUILD/bottle-0.12.19/bottle.py:194: DeprecationWarning: Template encodings other than utf8 are no longer supported. value = obj.__dict__[self.func.__name__] = self.func(obj) ok test_elsebug (test_stpl.TestSimpleTemplate) Whirespace between block keyword and colon is allowed ... ok test_error (test_stpl.TestSimpleTemplate) Templates: Exceptions ... ok test_escape (test_stpl.TestSimpleTemplate) ... ok test_escaped_codelines (test_stpl.TestSimpleTemplate) ... /builddir/build/BUILD/bottle-0.12.19/bottle.py:3377: DeprecationWarning: Escape code lines with a backslash. code = parser.translate() ok test_file (test_stpl.TestSimpleTemplate) ... /builddir/build/BUILD/bottle-0.12.19/bottle.py:3229: DeprecationWarning: The template lookup path list should not be empty. self.filename = self.search(self.name, self.lookup) ok test_get (test_stpl.TestSimpleTemplate) ... ok test_global_config (test_stpl.TestSimpleTemplate) ... ok test_htmlutils_quote (test_stpl.TestSimpleTemplate) ... /builddir/build/BUILD/bottle-0.12.19/test/test_stpl.py:55: DeprecationWarning: Please use assertEqual instead. self.assertEquals('"<' "\\>"', html_quote('<\'\r\n\t"\\>')); ok test_ignore_late_pep263 (test_stpl.TestSimpleTemplate) PEP263 strings must appear within the first two lines ... ok test_ignore_pep263_in_textline (test_stpl.TestSimpleTemplate) PEP263 strings in text-lines have no effect ... ok test_import (test_stpl.TestSimpleTemplate) Templates: import statement ... ok test_include (test_stpl.TestSimpleTemplate) Templates: Include statements ... ok test_multiline (test_stpl.TestSimpleTemplate) Block statements with non-terminating newlines ... ok test_name (test_stpl.TestSimpleTemplate) ... ok test_newline_in_parameterlist (test_stpl.TestSimpleTemplate) Block statements with non-terminating newlines in list ... ok test_nobreak (test_stpl.TestSimpleTemplate) Templates: Nobreak statements ... ok test_noescape (test_stpl.TestSimpleTemplate) ... ok test_noescape_setting (test_stpl.TestSimpleTemplate) ... ok test_nonobreak (test_stpl.TestSimpleTemplate) Templates: Escaped nobreak statements ... ok test_notfound (test_stpl.TestSimpleTemplate) Templates: Unavailable templates ... ok test_onelineblocks (test_stpl.TestSimpleTemplate) Templates: one line code blocks ... ok test_onelinebugs (test_stpl.TestSimpleTemplate) One-Line blocks should not change indention ... ok test_rebase (test_stpl.TestSimpleTemplate) Templates: %rebase and method passing ... ok test_self_as_variable_name (test_stpl.TestSimpleTemplate) ... ok test_setdefault (test_stpl.TestSimpleTemplate) ... ok test_string (test_stpl.TestSimpleTemplate) Templates: Parse string ... ok test_template_shortcut (test_stpl.TestSimpleTemplate) ... ok test_unicode (test_stpl.TestSimpleTemplate) ... ok test_unicode_code (test_stpl.TestSimpleTemplate) Templates: utf8 code in file ... ok test_view_decorator (test_stpl.TestSimpleTemplate) ... ok test_view_decorator_issue_407 (test_stpl.TestSimpleTemplate) ... ok test_winbreaks (test_stpl.TestSimpleTemplate) Templates: Test windows line breaks ... ok test_winbreaks_end_bug (test_stpl.TestSimpleTemplate) ... ok test_simple (test_server.MeinheldServer) Test a simple static page with this server adapter. ... /builddir/build/BUILD/bottle-0.12.19/test/test_server.py:47: ResourceWarning: unclosed if ping('127.0.0.1', port): return ResourceWarning: Enable tracemalloc to get the object allocation traceback WARNING: Skipping 'meinheld' test (ImportError). ok /usr/lib64/python3.10/unittest/suite.py:84: ResourceWarning: unclosed file <_io.BufferedReader name=3> return self.run(*args, **kwds) ResourceWarning: Enable tracemalloc to get the object allocation traceback /usr/lib64/python3.10/unittest/suite.py:84: ResourceWarning: unclosed file <_io.BufferedReader name=5> return self.run(*args, **kwds) ResourceWarning: Enable tracemalloc to get the object allocation traceback test_simple (test_server.TestBjoernServer) Test a simple static page with this server adapter. ... /builddir/build/BUILD/bottle-0.12.19/test/test_server.py:47: ResourceWarning: unclosed if ping('127.0.0.1', port): return ResourceWarning: Enable tracemalloc to get the object allocation traceback WARNING: Skipping 'bjoern' test (ImportError). ok test_simple (test_server.TestCherryPyServer) Test a simple static page with this server adapter. ... /builddir/build/BUILD/bottle-0.12.19/test/test_server.py:47: ResourceWarning: unclosed if ping('127.0.0.1', port): return ResourceWarning: Enable tracemalloc to get the object allocation traceback WARNING: Skipping 'cherrypy' test (ImportError). ok test_simple (test_server.TestDieselServer) Test a simple static page with this server adapter. ... /builddir/build/BUILD/bottle-0.12.19/test/test_server.py:47: ResourceWarning: unclosed if ping('127.0.0.1', port): return ResourceWarning: Enable tracemalloc to get the object allocation traceback WARNING: Skipping 'diesel' test (ImportError). ok test_simple (test_server.TestEventletServer) Test a simple static page with this server adapter. ... /builddir/build/BUILD/bottle-0.12.19/test/test_server.py:47: ResourceWarning: unclosed if ping('127.0.0.1', port): return ResourceWarning: Enable tracemalloc to get the object allocation traceback WARNING: Skipping 'eventlet' test (ImportError). ok test_simple (test_server.TestFapwsServer) Test a simple static page with this server adapter. ... /builddir/build/BUILD/bottle-0.12.19/test/test_server.py:47: ResourceWarning: unclosed if ping('127.0.0.1', port): return ResourceWarning: Enable tracemalloc to get the object allocation traceback WARNING: Skipping 'fapws3' test (ImportError). ok test_simple (test_server.TestGeventServer) Test a simple static page with this server adapter. ... /builddir/build/BUILD/bottle-0.12.19/test/test_server.py:47: ResourceWarning: unclosed if ping('127.0.0.1', port): return ResourceWarning: Enable tracemalloc to get the object allocation traceback WARNING: Skipping 'gevent' test (ImportError). ok test_simple (test_server.TestGunicornServer) Test a simple static page with this server adapter. ... /builddir/build/BUILD/bottle-0.12.19/test/test_server.py:47: ResourceWarning: unclosed if ping('127.0.0.1', port): return ResourceWarning: Enable tracemalloc to get the object allocation traceback WARNING: Skipping 'gunicorn' test (ImportError). ok test_simple (test_server.TestPasteServer) Test a simple static page with this server adapter. ... /builddir/build/BUILD/bottle-0.12.19/test/test_server.py:47: ResourceWarning: unclosed if ping('127.0.0.1', port): return ResourceWarning: Enable tracemalloc to get the object allocation traceback WARNING: Skipping 'paste' test (ImportError). ok test_simple (test_server.TestRocketServer) Test a simple static page with this server adapter. ... /builddir/build/BUILD/bottle-0.12.19/test/test_server.py:47: ResourceWarning: unclosed if ping('127.0.0.1', port): return ResourceWarning: Enable tracemalloc to get the object allocation traceback WARNING: Skipping 'rocket' test (ImportError). ok test_simple (test_server.TestServer) Test a simple static page with this server adapter. ... ok test_simple (test_server.TestTornadoServer) Test a simple static page with this server adapter. ... /builddir/build/BUILD/bottle-0.12.19/test/test_server.py:47: ResourceWarning: unclosed if ping('127.0.0.1', port): return ResourceWarning: Enable tracemalloc to get the object allocation traceback WARNING: Skipping 'tornado' test (ImportError). ok test_simple (test_server.TestTwistedServer) Test a simple static page with this server adapter. ... /builddir/build/BUILD/bottle-0.12.19/test/test_server.py:47: ResourceWarning: unclosed if ping('127.0.0.1', port): return ResourceWarning: Enable tracemalloc to get the object allocation traceback WARNING: Skipping 'twisted' test (ImportError). ok test_asctime (test_sendfile.TestDateParser) DateParser: asctime format ... ok test_bad (test_sendfile.TestDateParser) DateParser: Bad format ... ok test_rfc1123 (test_sendfile.TestDateParser) DateParser: RFC 1123 format ... ok test_rfc850 (test_sendfile.TestDateParser) DateParser: RFC 850 format ... ok test_download (test_sendfile.TestSendFile) SendFile: Download as attachment ... /builddir/build/BUILD/bottle-0.12.19/test/test_sendfile.py:85: ResourceWarning: unclosed file <_io.BufferedReader name='/builddir/build/BUILD/bottle-0.12.19/test/test_sendfile.py'> f = static_file(os.path.basename(__file__), root='./') ResourceWarning: Enable tracemalloc to get the object allocation traceback /builddir/build/BUILD/bottle-0.12.19/test/test_sendfile.py:86: ResourceWarning: unclosed file <_io.BufferedReader name='/builddir/build/BUILD/bottle-0.12.19/test/test_sendfile.py'> self.assertEqual(open(__file__,'rb').read(), f.body.read()) ResourceWarning: Enable tracemalloc to get the object allocation traceback /usr/lib64/python3.10/unittest/case.py:549: ResourceWarning: unclosed file <_io.BufferedReader name='/builddir/build/BUILD/bottle-0.12.19/test/test_sendfile.py'> method() ResourceWarning: Enable tracemalloc to get the object allocation traceback ok test_ims (test_sendfile.TestSendFile) SendFile: If-Modified-Since ... /builddir/build/BUILD/bottle-0.12.19/test/test_sendfile.py:77: ResourceWarning: unclosed file <_io.BufferedReader name='/builddir/build/BUILD/bottle-0.12.19/test/test_sendfile.py'> self.assertEqual(open(__file__,'rb').read(), static_file(os.path.basename(__file__), root='./').body.read()) ResourceWarning: Enable tracemalloc to get the object allocation traceback ok test_invalid (test_sendfile.TestSendFile) SendFile: Invalid requests ... ok test_mime (test_sendfile.TestSendFile) SendFile: Mime Guessing ... /builddir/build/BUILD/bottle-0.12.19/test/test_sendfile.py:62: ResourceWarning: unclosed file <_io.BufferedReader name='/builddir/build/BUILD/bottle-0.12.19/test/test_sendfile.py'> f = static_file(os.path.basename(__file__), root='./', mimetype='some/type') ResourceWarning: Enable tracemalloc to get the object allocation traceback /builddir/build/BUILD/bottle-0.12.19/test/test_sendfile.py:64: ResourceWarning: unclosed file <_io.BufferedReader name='/builddir/build/BUILD/bottle-0.12.19/test/test_sendfile.py'> f = static_file(os.path.basename(__file__), root='./', mimetype='text/foo') ResourceWarning: Enable tracemalloc to get the object allocation traceback /builddir/build/BUILD/bottle-0.12.19/test/test_sendfile.py:66: ResourceWarning: unclosed file <_io.BufferedReader name='/builddir/build/BUILD/bottle-0.12.19/test/test_sendfile.py'> f = static_file(os.path.basename(__file__), root='./', mimetype='text/foo', charset='latin1') ResourceWarning: Enable tracemalloc to get the object allocation traceback ok test_range (test_sendfile.TestSendFile) ... /builddir/build/BUILD/bottle-0.12.19/test/test_sendfile.py:93: ResourceWarning: unclosed file <_io.BufferedReader name='/builddir/build/BUILD/bottle-0.12.19/test/test_sendfile.py'> self.assertEqual(c.read(16), tob('').join(f.body)) ResourceWarning: Enable tracemalloc to get the object allocation traceback /builddir/build/BUILD/bottle-0.12.19/test/test_sendfile.py:94: ResourceWarning: unclosed file <_io.BufferedReader name='test_sendfile.py'> self.assertEqual('bytes 10-25/%d' % len(open(basename, 'rb').read()), ResourceWarning: Enable tracemalloc to get the object allocation traceback /usr/lib64/python3.10/unittest/case.py:549: ResourceWarning: unclosed file <_io.BufferedReader name='test_sendfile.py'> method() ResourceWarning: Enable tracemalloc to get the object allocation traceback ok test_range_parser (test_sendfile.TestSendFile) ... ok test_valid (test_sendfile.TestSendFile) SendFile: Valid requests ... /builddir/build/BUILD/bottle-0.12.19/test/test_sendfile.py:43: ResourceWarning: unclosed file <_io.BufferedReader name='/builddir/build/BUILD/bottle-0.12.19/test/test_sendfile.py'> self.assertEqual(open(__file__,'rb').read(), out.body.read()) ResourceWarning: Enable tracemalloc to get the object allocation traceback ok testDeEncode (test_securecookies.TestSecureCookies) ... ok testIsEncoded (test_securecookies.TestSecureCookies) ... ok testValid (test_securecookies.TestSecureCookiesInBottle) ... ok testWrongKey (test_securecookies.TestSecureCookiesInBottle) ... ok testBasic (test_router.TestRouter) ... ok testBuild (test_router.TestRouter) ... ok testBuildAnon (test_router.TestRouter) ... ok testBuildFilter (test_router.TestRouter) ... ok testErrorInPattern (test_router.TestRouter) ... ok testFloatFilter (test_router.TestRouter) ... /builddir/build/BUILD/bottle-0.12.19/bottle.py:385: RuntimeWarning: Route > overwrites a previously defined route warnings.warn(msg % (method, rule), RuntimeWarning) ok testIntFilter (test_router.TestRouter) ... ok testNewSyntax (test_router.TestRouter) ... ok testParentheses (test_router.TestRouter) ... /builddir/build/BUILD/bottle-0.12.19/bottle.py:385: RuntimeWarning: Route overwrites a previously defined route warnings.warn(msg % (method, rule), RuntimeWarning) ok testPathFilter (test_router.TestRouter) ... ok testValueErrorInFilter (test_router.TestRouter) ... ok testWildcardNames (test_router.TestRouter) ... ok test_any_static_before_dynamic (test_router.TestRouter) Static ANY routes have higher priority than dynamic ANY routes. ... ok test_dynamic_any_if_method_exists (test_router.TestRouter) Check dynamic ANY routes if the matching method is known, ... ok test_dynamic_before_static_any (test_router.TestRouter) Static ANY routes have lower priority than dynamic GET routes. ... ok test_lots_of_routes (test_router.TestRouter) ... ok testBasic (test_router.TestRouterInCGIMode) ... ok testBuild (test_router.TestRouterInCGIMode) ... ok testBuildAnon (test_router.TestRouterInCGIMode) ... ok testBuildFilter (test_router.TestRouterInCGIMode) ... ok testErrorInPattern (test_router.TestRouterInCGIMode) ... ok testFloatFilter (test_router.TestRouterInCGIMode) ... ok testIntFilter (test_router.TestRouterInCGIMode) ... ok testNewSyntax (test_router.TestRouterInCGIMode) ... ok testParentheses (test_router.TestRouterInCGIMode) ... ok testPathFilter (test_router.TestRouterInCGIMode) ... ok testValueErrorInFilter (test_router.TestRouterInCGIMode) ... ok testWildcardNames (test_router.TestRouterInCGIMode) ... ok test_any_static_before_dynamic (test_router.TestRouterInCGIMode) Static ANY routes have higher priority than dynamic ANY routes. ... ok test_dynamic_any_if_method_exists (test_router.TestRouterInCGIMode) Check dynamic ANY routes if the matching method is known, ... ok test_dynamic_before_static_any (test_router.TestRouterInCGIMode) Static ANY routes have lower priority than dynamic GET routes. ... ok test_lots_of_routes (test_router.TestRouterInCGIMode) ... ok test_callback_inspection (test_route.TestRoute) ... /builddir/build/BUILD/bottle-0.12.19/bottle.py:556: DeprecationWarning: inspect.getargspec() is deprecated since Python 3.0, use inspect.signature() or inspect.getfullargspec() return getargspec(self.get_undecorated_callback())[0] ok test_get (test_resources.TestResourceManager) ... ok test_open (test_resources.TestResourceManager) ... /builddir/build/BUILD/bottle-0.12.19/test/test_resources.py:76: ResourceWarning: unclosed file <_io.TextIOWrapper name='/builddir/build/BUILD/bottle-0.12.19/test/test_resources.py' mode='r' encoding='UTF-8'> self.assertEqual(fp.read(), open(__file__).read()) ResourceWarning: Enable tracemalloc to get the object allocation traceback /usr/lib64/python3.10/unittest/case.py:549: ResourceWarning: unclosed file <_io.TextIOWrapper name='/builddir/build/BUILD/bottle-0.12.19/test/test_resources.py' mode='r' encoding='UTF-8'> method() ResourceWarning: Enable tracemalloc to get the object allocation traceback ok test_path_absolutize (test_resources.TestResourceManager) ... ok test_path_create (test_resources.TestResourceManager) ... ok test_path_normalize (test_resources.TestResourceManager) ... ok test_path_order (test_resources.TestResourceManager) ... ok test_path_unique (test_resources.TestResourceManager) ... ok test_root_path (test_resources.TestResourceManager) ... ok test_apply (test_plugins.TestPluginAPI) ... /builddir/build/BUILD/bottle-0.12.19/bottle.py:532: DeprecationWarning: Switch to Plugin API v2 and access the Route object directly. context = self if api > 1 else self._context ok test_callable (test_plugins.TestPluginAPI) ... ok test_close (test_plugins.TestPluginAPI) ... ok test_instance_method_wrapper (test_plugins.TestPluginAPI) ... ok test_setup (test_plugins.TestPluginAPI) ... /builddir/build/BUILD/bottle-0.12.19/test/test_plugins.py:198: DeprecationWarning: Please use assertEqual instead. self.assertEquals(getattr(plugin, 'app', None), self.app) ok test_install_decorator (test_plugins.TestPluginManagement) ... ok test_install_non_plugin (test_plugins.TestPluginManagement) ... ok test_install_plugin (test_plugins.TestPluginManagement) ... ok test_plugin_oder (test_plugins.TestPluginManagement) ... ok test_route_plugin (test_plugins.TestPluginManagement) ... ok test_skip_all (test_plugins.TestPluginManagement) ... ok test_skip_by_class (test_plugins.TestPluginManagement) ... ok test_skip_by_instance (test_plugins.TestPluginManagement) ... ok test_skip_by_name (test_plugins.TestPluginManagement) ... ok test_skip_nonlist (test_plugins.TestPluginManagement) ... ok test_uninstall_all (test_plugins.TestPluginManagement) ... ok test_uninstall_by_instance (test_plugins.TestPluginManagement) ... ok test_uninstall_by_name (test_plugins.TestPluginManagement) ... ok test_uninstall_by_type (test_plugins.TestPluginManagement) ... ok test_bytearray (test_outputfilter.TestOutputFilter) ... ok test_bytes (test_outputfilter.TestOutputFilter) ... ok test_cookie (test_outputfilter.TestOutputFilter) WSGI: Cookies ... ok test_empty_generator_callback (test_outputfilter.TestOutputFilter) ... ok test_emptylist (test_outputfilter.TestOutputFilter) ... ok test_error (test_outputfilter.TestOutputFilter) ... ok test_error_in_generator_callback (test_outputfilter.TestOutputFilter) ... ok test_fatal_error (test_outputfilter.TestOutputFilter) ... ok test_fatal_error_in_generator_callback (test_outputfilter.TestOutputFilter) ... ok test_file (test_outputfilter.TestOutputFilter) ... ok test_generator_callback (test_outputfilter.TestOutputFilter) ... ok test_httperror_in_generator_callback (test_outputfilter.TestOutputFilter) ... ok test_httpresponse_in_generator_callback (test_outputfilter.TestOutputFilter) ... ok test_illegal (test_outputfilter.TestOutputFilter) ... ok test_invalid_generator_callback (test_outputfilter.TestOutputFilter) ... ok test_iterator_with_close (test_outputfilter.TestOutputFilter) ... ok test_json (test_outputfilter.TestOutputFilter) ... ok test_json_HTTPError (test_outputfilter.TestOutputFilter) ... ok test_json_HTTPResponse (test_outputfilter.TestOutputFilter) ... ok test_json_serialization_error (test_outputfilter.TestOutputFilter) Verify that 500 errors serializing dictionaries don't return ... ok test_none (test_outputfilter.TestOutputFilter) ... ok test_tuple (test_outputfilter.TestOutputFilter) ... ok test_unicode (test_outputfilter.TestOutputFilter) ... ok test_unicode_generator_callback (test_outputfilter.TestOutputFilter) ... ok test_merge (test_mount.TestAppMerging) ... ok test_mount (test_mount.TestAppMounting) ... ok test_mount_json_bug (test_mount.TestAppMounting) ... ok test_mount_meta (test_mount.TestAppMounting) ... ok test_mount_no_plugins (test_mount.TestAppMounting) ... ok test_mount_order_bug581 (test_mount.TestAppMounting) ... ok test_mount_wsgi (test_mount.TestAppMounting) ... ok test_mount_wsgi_ctype_bug (test_mount.TestAppMounting) ... ok test_no_slash_prefix (test_mount.TestAppMounting) ... ok test_headergetbug (test_mdict.TestMultiDict) Assure HeaderDict.get() to be case insensitive ... ok test_isadict (test_mdict.TestMultiDict) MultiDict should behaves like a normal dict ... ok test_isheader (test_mdict.TestMultiDict) HeaderDict replaces by default and title()s its keys ... ok test_ismulti (test_mdict.TestMultiDict) MultiDict has some special features ... ok test_data_import (test_importhook.TestImportHooks) ... :914: ImportWarning: _ImportRedirect.find_spec() not found; falling back to find_module() :671: ImportWarning: _ImportRedirect.exec_module() not found; falling back to load_module() ok test_direkt_import (test_importhook.TestImportHooks) ... ok test_ext_isfile (test_importhook.TestImportHooks) The virtual module needs a valid __file__ attribute. ... ok test_from_import (test_importhook.TestImportHooks) ... ok test_import_fail (test_importhook.TestImportHooks) Test a simple static page with this server adapter. ... ok test_attr_access (test_formsdict.TestFormsDict) FomsDict.attribute returs string values as unicode. ... ok test_attr_missing (test_formsdict.TestFormsDict) FomsDict.attribute returs u'' on missing keys. ... ok test_attr_unicode_error (test_formsdict.TestFormsDict) FomsDict.attribute returs u'' on UnicodeError. ... ok test_decode_method (test_formsdict.TestFormsDict) ... ok test_content_type (test_fileupload.TestFileUpload) ... ok test_filename (test_fileupload.TestFileUpload) ... ok test_name (test_fileupload.TestFileUpload) ... ok test_preserve_case_issue_582 (test_fileupload.TestFileUpload) ... ok test_raw_filename (test_fileupload.TestFileUpload) ... ok test_save_buffer (test_fileupload.TestFileUpload) ... /usr/lib64/python3.10/unittest/case.py:549: ResourceWarning: unclosed file <_io.BufferedReader name='/builddir/build/BUILD/bottle-0.12.19/test/test_fileupload.py'> method() ResourceWarning: Enable tracemalloc to get the object allocation traceback ok test_save_dir (test_fileupload.TestFileUpload) ... /builddir/build/BUILD/bottle-0.12.19/test/test_fileupload.py:67: ResourceWarning: unclosed file <_io.BufferedReader name='/tmp/tmp06v8nzm2/test_fileupload.py'> self.assertEqual(fu.file.read(), open(filepath, 'rb').read()) ResourceWarning: Enable tracemalloc to get the object allocation traceback ok test_save_file (test_fileupload.TestFileUpload) ... /usr/lib64/python3.10/unittest/case.py:549: ResourceWarning: unclosed file <_io.BufferedRandom name=4> method() ResourceWarning: Enable tracemalloc to get the object allocation traceback ok test_save_overwrite_lock (test_fileupload.TestFileUpload) ... ok test_absolute_path (test_environ.TestRedirect) ... ok test_host_http_1_0 (test_environ.TestRedirect) ... ok test_host_http_1_1 (test_environ.TestRedirect) ... ok test_host_http_proxy (test_environ.TestRedirect) ... ok test_redirect_preserve_cookies (test_environ.TestRedirect) ... ok test_relative_path (test_environ.TestRedirect) ... ok test_sheme (test_environ.TestRedirect) ... ok test_specialchars (test_environ.TestRedirect) The target URL is not quoted automatically. ... ok test_app_property (test_environ.TestRequest) ... ok test_auth (test_environ.TestRequest) ... ok test_bigbody (test_environ.TestRequest) Environ: Request.body should handle big uploads using files ... ok test_body (test_environ.TestRequest) Environ: Request.body should behave like a file object factory ... ok test_body_noclose (test_environ.TestRequest) Test that the body file handler is not closed after request.POST ... ok test_bodypost (test_environ.TestRequest) ... ok test_chunked (test_environ.TestRequest) ... /builddir/build/BUILD/bottle-0.12.19/test/test_environ.py:302: DeprecationWarning: Please use assertEqual instead. self.assertEquals(tob(expect), BaseRequest(e).body.read()) ok test_chunked_illegal_size (test_environ.TestRequest) ... ok test_chunked_meta_fields (test_environ.TestRequest) ... ok test_chunked_not_chunked_at_all (test_environ.TestRequest) ... ok test_chunked_not_terminated (test_environ.TestRequest) ... ok test_chunked_wrong_size (test_environ.TestRequest) ... ok test_cookie_dict (test_environ.TestRequest) Environ: Cookie dict ... ok test_dict_access (test_environ.TestRequest) Environ: request objects are environment dicts ... ok test_get (test_environ.TestRequest) Environ: GET data ... ok test_getpostleak (test_environ.TestRequest) Environ: GET and POST should not leak into each other ... ok test_header_access (test_environ.TestRequest) Environ: Request objects decode headers ... ok test_header_access_special (test_environ.TestRequest) ... ok test_isajax (test_environ.TestRequest) ... ok test_json_empty (test_environ.TestRequest) Environ: Request.json property with empty body. ... ok test_json_forged_header_issue616 (test_environ.TestRequest) ... ok test_json_header_empty_body (test_environ.TestRequest) Request Content-Type is application/json but body is empty ... ok test_json_noheader (test_environ.TestRequest) Environ: Request.json property with missing content-type header. ... ok test_json_tobig (test_environ.TestRequest) Environ: Request.json property with huge body. ... ok test_json_valid (test_environ.TestRequest) Environ: Request.json property. ... ok test_method (test_environ.TestRequest) ... ok test_multipart (test_environ.TestRequest) Environ: POST (multipart files and multible values per key) ... ok test_params (test_environ.TestRequest) Environ: GET and POST are combined in request.param ... ok test_path (test_environ.TestRequest) PATH_INFO normalization. ... ok test_pathshift (test_environ.TestRequest) Request.path_shift() ... ok test_post (test_environ.TestRequest) Environ: POST data ... ok test_readonly_environ (test_environ.TestRequest) ... /builddir/build/BUILD/bottle-0.12.19/bottle.py:1375: ResourceWarning: unclosed file <_io.FileIO name=3 mode='rb+' closefd=True> raise KeyError('The environ dictionary is read-only.') ResourceWarning: Enable tracemalloc to get the object allocation traceback ok test_remote_addr (test_environ.TestRequest) ... ok test_remote_route (test_environ.TestRequest) ... ok test_route_property (test_environ.TestRequest) ... ok test_script_name (test_environ.TestRequest) SCRIPT_NAME normalization. ... ok test_tobigbody (test_environ.TestRequest) Environ: Request.body should truncate to Content-Length bytes ... ok test_url (test_environ.TestRequest) Environ: URL building ... ok test_url_for_property (test_environ.TestRequest) ... ok test_user_defined_attributes (test_environ.TestRequest) ... ok test_append_header (test_environ.TestResponse) ... ok test_charset (test_environ.TestResponse) ... ok test_constructor_body (test_environ.TestResponse) ... ok test_constructor_headerlist (test_environ.TestResponse) ... ok test_constructor_status (test_environ.TestResponse) ... ok test_content_type (test_environ.TestResponse) ... /builddir/build/BUILD/bottle-0.12.19/test/test_environ.py:581: DeprecationWarning: Please use assertEqual instead. self.assertEquals('test/some', rs.headers.get('Content-Type')) ok test_delete_cookie (test_environ.TestResponse) ... FAIL test_delete_header (test_environ.TestResponse) ... ok test_expires_header (test_environ.TestResponse) ... ok test_non_string_header (test_environ.TestResponse) ... ok test_prevent_control_characters_in_headers (test_environ.TestResponse) ... ok test_set_cookie (test_environ.TestResponse) ... ok test_set_cookie_expires (test_environ.TestResponse) ... ok test_set_cookie_maxage (test_environ.TestResponse) ... ok test_set_header (test_environ.TestResponse) ... ok test_set_status (test_environ.TestResponse) ... ok test_bytes (test_environ.TestWSGIHeaderDict) ... ok test_dict (test_environ.TestWSGIHeaderDict) ... ok test_empty (test_environ.TestWSGIHeaderDict) ... ok test_native (test_environ.TestWSGIHeaderDict) ... ok test_unicode (test_environ.TestWSGIHeaderDict) ... ok test_request (test_contextlocals.TestThreadLocals) ... ok test_response (test_contextlocals.TestThreadLocals) ... ok test_attr_access (test_configdict.TestConfigDict) ConfigDict allow attribute access to keys. ... /builddir/build/BUILD/bottle-0.12.19/test/test_configdict.py:30: DeprecationWarning: Attribute assignment is deprecated. c.test = 5 /builddir/build/BUILD/bottle-0.12.19/test/test_configdict.py:31: DeprecationWarning: Attribute access is deprecated. self.assertEqual(5, c.test) /builddir/build/BUILD/bottle-0.12.19/test/test_configdict.py:34: DeprecationWarning: Attribute access is deprecated. self.assertEqual(6, c.test) /builddir/build/BUILD/bottle-0.12.19/test/test_configdict.py:38: DeprecationWarning: Attribute access is deprecated. self.assertEqual(None, c.test) ok test_call (test_configdict.TestConfigDict) Calling updates and returns the dict. ... /builddir/build/BUILD/bottle-0.12.19/test/test_configdict.py:61: DeprecationWarning: Calling ConfDict is deprecated. Use the update() method. self.assertEqual(c, c(a=1)) /builddir/build/BUILD/bottle-0.12.19/test/test_configdict.py:63: DeprecationWarning: Attribute access is deprecated. self.assertEqual(1, c.a) ok test_isadict (test_configdict.TestConfigDict) ConfigDict should behaves like a normal dict. ... /builddir/build/BUILD/bottle-0.12.19/test/test_configdict.py:12: DeprecationWarning: Constructor does no longer accept parameters. d, m = dict(a=5), ConfigDict(a=5) ok test_issue588 (test_configdict.TestConfigDict) `ConfigDict` namespaces break route options ... /builddir/build/BUILD/bottle-0.12.19/test/test_configdict.py:70: DeprecationWarning: Accessing namespaces as dicts is discouraged. Only use flat item access: cfg["names"]["pace"]["key"] -> cfg["name.space.key"] self.assertEqual('c', c['a']['b']) /usr/lib64/python3.10/_collections_abc.py:903: DeprecationWarning: Accessing namespaces as dicts is discouraged. Only use flat item access: cfg["names"]["pace"]["key"] -> cfg["name.space.key"] yield (key, self._mapping[key]) ok test_issue720 (test_configdict.TestConfigDict) Accept unicode keys. ... ok test_namespaces (test_configdict.TestConfigDict) Access to a non-existent uppercase attribute creates a new namespace. ... /builddir/build/BUILD/bottle-0.12.19/test/test_configdict.py:43: DeprecationWarning: Attribute access is deprecated. self.assertEqual(ConfigDict.Namespace, c.Name.Space.__class__) /usr/lib64/python3.10/_collections_abc.py:816: DeprecationWarning: Accessing namespaces as dicts is discouraged. Only use flat item access: cfg["names"]["pace"]["key"] -> cfg["name.space.key"] return self[key] /builddir/build/BUILD/bottle-0.12.19/test/test_configdict.py:44: DeprecationWarning: Attribute access is deprecated. c.Name.Space.value = 5 /builddir/build/BUILD/bottle-0.12.19/test/test_configdict.py:44: DeprecationWarning: Attribute assignment is deprecated. c.Name.Space.value = 5 /builddir/build/BUILD/bottle-0.12.19/test/test_configdict.py:45: DeprecationWarning: Attribute access is deprecated. self.assertEqual(5, c.Name.Space.value) /builddir/build/BUILD/bottle-0.12.19/test/test_configdict.py:46: DeprecationWarning: Attribute access is deprecated. self.assertTrue('value' in c.Name.Space) /builddir/build/BUILD/bottle-0.12.19/test/test_configdict.py:47: DeprecationWarning: Attribute access is deprecated. self.assertTrue('Space' in c.Name) /builddir/build/BUILD/bottle-0.12.19/test/test_configdict.py:51: DeprecationWarning: Attribute assignment is deprecated. self.assertRaises(AttributeError, lambda: setattr(c, 'Name', 5)) /builddir/build/BUILD/bottle-0.12.19/test/test_configdict.py:53: DeprecationWarning: Attribute assignment is deprecated. self.assertRaises(AttributeError, lambda: setattr(c, 'keys', 5)) /builddir/build/BUILD/bottle-0.12.19/test/test_configdict.py:56: DeprecationWarning: Attribute access is deprecated. self.assertEqual(5, c.Name) ok test_string_key_only (test_configdict.TestConfigDict) ... ok test_load_dict (test_config.TestConfDict) ... /builddir/build/BUILD/bottle-0.12.19/test/test_config.py:39: DeprecationWarning: Please use assertEqual instead. self.assertEquals(c['a.b.foo'], 5) /builddir/build/BUILD/bottle-0.12.19/test/test_config.py:40: DeprecationWarning: Please use assertEqual instead. self.assertEquals(c['a.b.bar'], 6) /builddir/build/BUILD/bottle-0.12.19/test/test_config.py:41: DeprecationWarning: Please use assertEqual instead. self.assertEquals(c['a.baz'], 7) ok test_meta (test_config.TestConfDict) ... /builddir/build/BUILD/bottle-0.12.19/test/test_config.py:32: DeprecationWarning: Please use assertEqual instead. self.assertEquals(c['int'], 6) ok test_namespaces (test_config.TestConfDict) ... ok test_update (test_config.TestConfDict) ... ok test_write (test_config.TestConfDict) ... ok test__header (test_auth.TestBasicAuth) ... ok ====================================================================== FAIL: test_delete_cookie (test_environ.TestResponse) ---------------------------------------------------------------------- Traceback (most recent call last): File "/builddir/build/BUILD/bottle-0.12.19/test/test_environ.py", line 627, in test_delete_cookie self.assertTrue('name=;' in cookies[0]) AssertionError: False is not true ---------------------------------------------------------------------- Ran 315 tests in 2.269s FAILED (failures=1) + : + RPM_EC=0 ++ jobs -p + exit 0 Processing files: python3-bottle-0.12.19-1.fc36.noarch Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.OeTiNR + umask 022 + cd /builddir/build/BUILD + cd bottle-0.12.19 + DOCDIR=/builddir/build/BUILDROOT/python-bottle-0.12.19-1.fc36.x86_64/usr/share/doc/python3-bottle + export LC_ALL=C + LC_ALL=C + export DOCDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/python-bottle-0.12.19-1.fc36.x86_64/usr/share/doc/python3-bottle + cp -pr AUTHORS /builddir/build/BUILDROOT/python-bottle-0.12.19-1.fc36.x86_64/usr/share/doc/python3-bottle + cp -pr README.rst /builddir/build/BUILDROOT/python-bottle-0.12.19-1.fc36.x86_64/usr/share/doc/python3-bottle + RPM_EC=0 ++ jobs -p + exit 0 Executing(%license): /bin/sh -e /var/tmp/rpm-tmp.sQyTEM + umask 022 + cd /builddir/build/BUILD + cd bottle-0.12.19 + LICENSEDIR=/builddir/build/BUILDROOT/python-bottle-0.12.19-1.fc36.x86_64/usr/share/licenses/python3-bottle + export LC_ALL=C + LC_ALL=C + export LICENSEDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/python-bottle-0.12.19-1.fc36.x86_64/usr/share/licenses/python3-bottle + cp -pr LICENSE /builddir/build/BUILDROOT/python-bottle-0.12.19-1.fc36.x86_64/usr/share/licenses/python3-bottle + RPM_EC=0 ++ jobs -p + exit 0 Provides: python-bottle = 0.12.19-1.fc36 python3-bottle = 0.12.19-1.fc36 python3.10-bottle = 0.12.19-1.fc36 python3.10dist(bottle) = 0.12.19 python3dist(bottle) = 0.12.19 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires: python(abi) = 3.10 Obsoletes: python-bottle < 0.12.19-1.fc36 python3.10-bottle < 0.12.19-1.fc36 Checking for unpackaged file(s): /usr/lib/rpm/check-files /builddir/build/BUILDROOT/python-bottle-0.12.19-1.fc36.x86_64 Wrote: /builddir/build/RPMS/python3-bottle-0.12.19-1.fc36.noarch.rpm Executing(%clean): /bin/sh -e /var/tmp/rpm-tmp.I2waGP + umask 022 + cd /builddir/build/BUILD + cd bottle-0.12.19 + /usr/bin/rm -rf /builddir/build/BUILDROOT/python-bottle-0.12.19-1.fc36.x86_64 + RPM_EC=0 ++ jobs -p + exit 0 Child return code was: 0