Mock Version: 3.0 Mock Version: 3.0 Mock Version: 3.0 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target noarch --nodeps /builddir/build/SPECS/python-webpy.spec'], chrootPath='/var/lib/mock/f37-build-side-32-misc-devel-207530-13064/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=864000uid=996gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target noarch --nodeps /builddir/build/SPECS/python-webpy.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'} and shell False Building target platforms: noarch Building for target noarch setting SOURCE_DATE_EPOCH=1658448000 Wrote: /builddir/build/SRPMS/python-webpy-0.62-5.fc37.src.rpm Child return code was: 0 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target noarch --nodeps /builddir/build/SPECS/python-webpy.spec'], chrootPath='/var/lib/mock/f37-build-side-32-misc-devel-207530-13064/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=864000uid=996gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target noarch --nodeps /builddir/build/SPECS/python-webpy.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'} and shell False Building target platforms: noarch Building for target noarch setting SOURCE_DATE_EPOCH=1658448000 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.6TqzBb + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf webpy-0.62 + /usr/lib/rpm/rpmuncompress -x /builddir/build/SOURCES/webpy-0.62.tar.gz + STATUS=0 + '[' 0 -ne 0 ']' + cd webpy-0.62 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + RPM_EC=0 ++ jobs -p + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.rBeUYU + 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 -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,-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 -fasynchronous-unwind-tables -fstack-clash-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 -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 -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 -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/lib/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 ' + export LDFLAGS + LT_SYS_LIBRARY_PATH=/usr/lib: + export LT_SYS_LIBRARY_PATH + CC=gcc + export CC + CXX=g++ + export CXX + cd webpy-0.62 + 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 -fasynchronous-unwind-tables -fstack-clash-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 ' + /usr/bin/python3 setup.py build '--executable=/usr/bin/python3 -sP' running build running build_py creating build creating build/lib creating build/lib/web copying web/session.py -> build/lib/web copying web/browser.py -> build/lib/web copying web/http.py -> build/lib/web copying web/httpserver.py -> build/lib/web copying web/__init__.py -> build/lib/web copying web/form.py -> build/lib/web copying web/template.py -> build/lib/web copying web/application.py -> build/lib/web copying web/wsgi.py -> build/lib/web copying web/utils.py -> build/lib/web copying web/test.py -> build/lib/web copying web/webapi.py -> build/lib/web copying web/db.py -> build/lib/web copying web/debugerror.py -> build/lib/web copying web/py3helpers.py -> build/lib/web copying web/net.py -> build/lib/web creating build/lib/web/contrib copying web/contrib/__init__.py -> build/lib/web/contrib copying web/contrib/template.py -> build/lib/web/contrib + RPM_EC=0 ++ jobs -p + exit 0 Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.8zTC3N + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/python-webpy-0.62-5.fc37.noarch '!=' / ']' + rm -rf /builddir/build/BUILDROOT/python-webpy-0.62-5.fc37.noarch ++ dirname /builddir/build/BUILDROOT/python-webpy-0.62-5.fc37.noarch + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/python-webpy-0.62-5.fc37.noarch + 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 -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,-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 -fasynchronous-unwind-tables -fstack-clash-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 -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 -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 -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/lib/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 ' + export LDFLAGS + LT_SYS_LIBRARY_PATH=/usr/lib: + export LT_SYS_LIBRARY_PATH + CC=gcc + export CC + CXX=g++ + export CXX + cd webpy-0.62 + 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 -fasynchronous-unwind-tables -fstack-clash-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 ' + /usr/bin/python3 setup.py install -O1 --skip-build --root /builddir/build/BUILDROOT/python-webpy-0.62-5.fc37.noarch --prefix /usr running install /usr/lib/python3.11/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-webpy-0.62-5.fc37.noarch/usr creating /builddir/build/BUILDROOT/python-webpy-0.62-5.fc37.noarch/usr/lib creating /builddir/build/BUILDROOT/python-webpy-0.62-5.fc37.noarch/usr/lib/python3.11 creating /builddir/build/BUILDROOT/python-webpy-0.62-5.fc37.noarch/usr/lib/python3.11/site-packages creating /builddir/build/BUILDROOT/python-webpy-0.62-5.fc37.noarch/usr/lib/python3.11/site-packages/web copying build/lib/web/session.py -> /builddir/build/BUILDROOT/python-webpy-0.62-5.fc37.noarch/usr/lib/python3.11/site-packages/web copying build/lib/web/browser.py -> /builddir/build/BUILDROOT/python-webpy-0.62-5.fc37.noarch/usr/lib/python3.11/site-packages/web copying build/lib/web/http.py -> /builddir/build/BUILDROOT/python-webpy-0.62-5.fc37.noarch/usr/lib/python3.11/site-packages/web copying build/lib/web/httpserver.py -> /builddir/build/BUILDROOT/python-webpy-0.62-5.fc37.noarch/usr/lib/python3.11/site-packages/web copying build/lib/web/__init__.py -> /builddir/build/BUILDROOT/python-webpy-0.62-5.fc37.noarch/usr/lib/python3.11/site-packages/web copying build/lib/web/form.py -> /builddir/build/BUILDROOT/python-webpy-0.62-5.fc37.noarch/usr/lib/python3.11/site-packages/web copying build/lib/web/template.py -> /builddir/build/BUILDROOT/python-webpy-0.62-5.fc37.noarch/usr/lib/python3.11/site-packages/web copying build/lib/web/application.py -> /builddir/build/BUILDROOT/python-webpy-0.62-5.fc37.noarch/usr/lib/python3.11/site-packages/web copying build/lib/web/wsgi.py -> /builddir/build/BUILDROOT/python-webpy-0.62-5.fc37.noarch/usr/lib/python3.11/site-packages/web copying build/lib/web/utils.py -> /builddir/build/BUILDROOT/python-webpy-0.62-5.fc37.noarch/usr/lib/python3.11/site-packages/web copying build/lib/web/test.py -> /builddir/build/BUILDROOT/python-webpy-0.62-5.fc37.noarch/usr/lib/python3.11/site-packages/web copying build/lib/web/webapi.py -> /builddir/build/BUILDROOT/python-webpy-0.62-5.fc37.noarch/usr/lib/python3.11/site-packages/web copying build/lib/web/db.py -> /builddir/build/BUILDROOT/python-webpy-0.62-5.fc37.noarch/usr/lib/python3.11/site-packages/web creating /builddir/build/BUILDROOT/python-webpy-0.62-5.fc37.noarch/usr/lib/python3.11/site-packages/web/contrib copying build/lib/web/contrib/__init__.py -> /builddir/build/BUILDROOT/python-webpy-0.62-5.fc37.noarch/usr/lib/python3.11/site-packages/web/contrib copying build/lib/web/contrib/template.py -> /builddir/build/BUILDROOT/python-webpy-0.62-5.fc37.noarch/usr/lib/python3.11/site-packages/web/contrib copying build/lib/web/debugerror.py -> /builddir/build/BUILDROOT/python-webpy-0.62-5.fc37.noarch/usr/lib/python3.11/site-packages/web copying build/lib/web/py3helpers.py -> /builddir/build/BUILDROOT/python-webpy-0.62-5.fc37.noarch/usr/lib/python3.11/site-packages/web copying build/lib/web/net.py -> /builddir/build/BUILDROOT/python-webpy-0.62-5.fc37.noarch/usr/lib/python3.11/site-packages/web byte-compiling /builddir/build/BUILDROOT/python-webpy-0.62-5.fc37.noarch/usr/lib/python3.11/site-packages/web/session.py to session.cpython-311.pyc byte-compiling /builddir/build/BUILDROOT/python-webpy-0.62-5.fc37.noarch/usr/lib/python3.11/site-packages/web/browser.py to browser.cpython-311.pyc byte-compiling /builddir/build/BUILDROOT/python-webpy-0.62-5.fc37.noarch/usr/lib/python3.11/site-packages/web/http.py to http.cpython-311.pyc byte-compiling /builddir/build/BUILDROOT/python-webpy-0.62-5.fc37.noarch/usr/lib/python3.11/site-packages/web/httpserver.py to httpserver.cpython-311.pyc byte-compiling /builddir/build/BUILDROOT/python-webpy-0.62-5.fc37.noarch/usr/lib/python3.11/site-packages/web/__init__.py to __init__.cpython-311.pyc byte-compiling /builddir/build/BUILDROOT/python-webpy-0.62-5.fc37.noarch/usr/lib/python3.11/site-packages/web/form.py to form.cpython-311.pyc byte-compiling /builddir/build/BUILDROOT/python-webpy-0.62-5.fc37.noarch/usr/lib/python3.11/site-packages/web/template.py to template.cpython-311.pyc byte-compiling /builddir/build/BUILDROOT/python-webpy-0.62-5.fc37.noarch/usr/lib/python3.11/site-packages/web/application.py to application.cpython-311.pyc byte-compiling /builddir/build/BUILDROOT/python-webpy-0.62-5.fc37.noarch/usr/lib/python3.11/site-packages/web/wsgi.py to wsgi.cpython-311.pyc byte-compiling /builddir/build/BUILDROOT/python-webpy-0.62-5.fc37.noarch/usr/lib/python3.11/site-packages/web/utils.py to utils.cpython-311.pyc byte-compiling /builddir/build/BUILDROOT/python-webpy-0.62-5.fc37.noarch/usr/lib/python3.11/site-packages/web/test.py to test.cpython-311.pyc byte-compiling /builddir/build/BUILDROOT/python-webpy-0.62-5.fc37.noarch/usr/lib/python3.11/site-packages/web/webapi.py to webapi.cpython-311.pyc byte-compiling /builddir/build/BUILDROOT/python-webpy-0.62-5.fc37.noarch/usr/lib/python3.11/site-packages/web/db.py to db.cpython-311.pyc byte-compiling /builddir/build/BUILDROOT/python-webpy-0.62-5.fc37.noarch/usr/lib/python3.11/site-packages/web/contrib/__init__.py to __init__.cpython-311.pyc byte-compiling /builddir/build/BUILDROOT/python-webpy-0.62-5.fc37.noarch/usr/lib/python3.11/site-packages/web/contrib/template.py to template.cpython-311.pyc byte-compiling /builddir/build/BUILDROOT/python-webpy-0.62-5.fc37.noarch/usr/lib/python3.11/site-packages/web/debugerror.py to debugerror.cpython-311.pyc byte-compiling /builddir/build/BUILDROOT/python-webpy-0.62-5.fc37.noarch/usr/lib/python3.11/site-packages/web/py3helpers.py to py3helpers.cpython-311.pyc byte-compiling /builddir/build/BUILDROOT/python-webpy-0.62-5.fc37.noarch/usr/lib/python3.11/site-packages/web/net.py to net.cpython-311.pyc writing byte-compilation script '/tmp/tmpecd6okts.py' /usr/bin/python3 /tmp/tmpecd6okts.py removing /tmp/tmpecd6okts.py running install_egg_info running egg_info creating web.py.egg-info writing web.py.egg-info/PKG-INFO writing dependency_links to web.py.egg-info/dependency_links.txt writing requirements to web.py.egg-info/requires.txt writing top-level names to web.py.egg-info/top_level.txt writing manifest file 'web.py.egg-info/SOURCES.txt' reading manifest file 'web.py.egg-info/SOURCES.txt' reading manifest template 'MANIFEST.in' adding license file 'LICENSE.txt' writing manifest file 'web.py.egg-info/SOURCES.txt' Copying web.py.egg-info to /builddir/build/BUILDROOT/python-webpy-0.62-5.fc37.noarch/usr/lib/python3.11/site-packages/web.py-0.62-py3.11.egg-info running install_scripts + rm -rfv /builddir/build/BUILDROOT/python-webpy-0.62-5.fc37.noarch/usr/bin/__pycache__ + /usr/bin/find-debuginfo -j8 --strict-build-id -m -i --build-id-seed 0.62-5.fc37 --unique-debug-suffix -0.62-5.fc37.noarch --unique-debug-src-base python-webpy-0.62-5.fc37.noarch --run-dwz --dwz-low-mem-die-limit 10000000 --dwz-max-die-limit 50000000 -S debugsourcefiles.list /builddir/build/BUILD/webpy-0.62 find: 'debug': No such file or directory + /usr/lib/rpm/check-buildroot + /usr/lib/rpm/redhat/brp-ldconfig + /usr/lib/rpm/brp-compress + /usr/lib/rpm/redhat/brp-strip-lto /usr/bin/strip + /usr/lib/rpm/brp-strip-static-archive /usr/bin/strip + /usr/lib/rpm/check-rpaths + /usr/lib/rpm/redhat/brp-mangle-shebangs + /usr/lib/rpm/brp-remove-la-files + /usr/lib/rpm/redhat/brp-python-bytecompile '' 1 0 Bytecompiling .py files below /builddir/build/BUILDROOT/python-webpy-0.62-5.fc37.noarch/usr/lib/python3.11 using python3.11 + /usr/lib/rpm/redhat/brp-python-hardlink Executing(%check): /bin/sh -e /var/tmp/rpm-tmp.UPvdzP + 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 -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,-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 -fasynchronous-unwind-tables -fstack-clash-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 -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 -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 -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/lib/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 ' + export LDFLAGS + LT_SYS_LIBRARY_PATH=/usr/lib: + export LT_SYS_LIBRARY_PATH + CC=gcc + export CC + CXX=g++ + export CXX + cd webpy-0.62 + pytest -k 'not test_routing' tests ============================= test session starts ============================== platform linux -- Python 3.11.0, pytest-7.1.3, pluggy-1.0.0 rootdir: /builddir/build/BUILD/webpy-0.62 collected 56 items / 1 deselected / 55 selected tests/test_application.py ............F.. [ 27%] tests/test_browser.py ... [ 32%] tests/test_db.py ........... [ 52%] tests/test_form.py . [ 54%] tests/test_session.py ................. [ 85%] tests/test_template.py ... [ 90%] tests/test_utils.py .. [ 94%] tests/test_wsgi.py ... [100%] =================================== FAILURES =================================== ____________________ ApplicationTest.test_stopsimpleserver _____________________ self = def test_stopsimpleserver(self): urls = ("/", "index") class index: def GET(self): pass # reset command-line arguments sys.argv = ["code.py"] app = web.application(urls, locals()) thread = threading.Thread(target=app.run) thread.start() time.sleep(1) self.assertTrue(thread.is_alive()) app.stop() thread.join(timeout=1) > self.assertFalse(thread.is_alive()) E AssertionError: True is not false tests/test_application.py:437: AssertionError ----------------------------- Captured stdout call ----------------------------- http://0.0.0.0:8080/ =============================== warnings summary =============================== web/webapi.py:6 /builddir/build/BUILD/webpy-0.62/web/webapi.py:6: DeprecationWarning: 'cgi' is deprecated and slated for removal in Python 3.13 import cgi tests/test_session.py: 43 warnings /builddir/build/BUILD/webpy-0.62/web/session.py:291: DeprecationWarning: getName() is deprecated, get the name attribute instead tname = path + "." + threading.current_thread().getName() tests/test_wsgi.py::WSGITest::test_layers_bytes /usr/lib/python3.11/site-packages/_pytest/threadexception.py:73: PytestUnhandledThreadExceptionWarning: Exception in thread Thread-22 (run) Traceback (most recent call last): File "/usr/lib64/python3.11/threading.py", line 1038, in _bootstrap_inner self.run() File "/usr/lib64/python3.11/threading.py", line 975, in run self._target(*self._args, **self._kwargs) File "/builddir/build/BUILD/webpy-0.62/web/application.py", line 360, in run return wsgi.runwsgi(self.wsgifunc(*middleware)) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/builddir/build/BUILD/webpy-0.62/web/wsgi.py", line 66, in runwsgi return httpserver.runsimple(func, server_addr) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/builddir/build/BUILD/webpy-0.62/web/httpserver.py", line 176, in runsimple server.start() File "/usr/lib/python3.11/site-packages/cheroot/server.py", line 1849, in start self.prepare() File "/usr/lib/python3.11/site-packages/cheroot/server.py", line 1804, in prepare raise socket.error(msg) OSError: No socket could be created -- (('0.0.0.0', 8080): [Errno 98] Address already in use) warnings.warn(pytest.PytestUnhandledThreadExceptionWarning(msg)) tests/test_wsgi.py::WSGITest::test_layers_unicode /usr/lib/python3.11/site-packages/_pytest/threadexception.py:73: PytestUnhandledThreadExceptionWarning: Exception in thread Thread-23 (run) Traceback (most recent call last): File "/usr/lib64/python3.11/threading.py", line 1038, in _bootstrap_inner self.run() File "/usr/lib64/python3.11/threading.py", line 975, in run self._target(*self._args, **self._kwargs) File "/builddir/build/BUILD/webpy-0.62/web/application.py", line 360, in run return wsgi.runwsgi(self.wsgifunc(*middleware)) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/builddir/build/BUILD/webpy-0.62/web/wsgi.py", line 66, in runwsgi return httpserver.runsimple(func, server_addr) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/builddir/build/BUILD/webpy-0.62/web/httpserver.py", line 176, in runsimple server.start() File "/usr/lib/python3.11/site-packages/cheroot/server.py", line 1849, in start self.prepare() File "/usr/lib/python3.11/site-packages/cheroot/server.py", line 1804, in prepare raise socket.error(msg) OSError: No socket could be created -- (('0.0.0.0', 8080): [Errno 98] Address already in use) warnings.warn(pytest.PytestUnhandledThreadExceptionWarning(msg)) tests/test_wsgi.py::WSGITest::test_unicode_url /usr/lib/python3.11/site-packages/_pytest/threadexception.py:73: PytestUnhandledThreadExceptionWarning: Exception in thread Thread-24 (run) Traceback (most recent call last): File "/usr/lib64/python3.11/threading.py", line 1038, in _bootstrap_inner self.run() File "/usr/lib64/python3.11/threading.py", line 975, in run self._target(*self._args, **self._kwargs) File "/builddir/build/BUILD/webpy-0.62/web/application.py", line 360, in run return wsgi.runwsgi(self.wsgifunc(*middleware)) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/builddir/build/BUILD/webpy-0.62/web/wsgi.py", line 66, in runwsgi return httpserver.runsimple(func, server_addr) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/builddir/build/BUILD/webpy-0.62/web/httpserver.py", line 176, in runsimple server.start() File "/usr/lib/python3.11/site-packages/cheroot/server.py", line 1849, in start self.prepare() File "/usr/lib/python3.11/site-packages/cheroot/server.py", line 1804, in prepare raise socket.error(msg) OSError: No socket could be created -- (('0.0.0.0', 8080): [Errno 98] Address already in use) warnings.warn(pytest.PytestUnhandledThreadExceptionWarning(msg)) -- Docs: https://docs.pytest.org/en/stable/how-to/capture-warnings.html =========================== short test summary info ============================ FAILED tests/test_application.py::ApplicationTest::test_stopsimpleserver - As... =========== 1 failed, 54 passed, 1 deselected, 47 warnings in 31.29s ===========