==> Building on minun ==> Checking for remote environment... ==> Syncing package to remote host... sending incremental file list ./ .SRCINFO 1,367 100% 0.00kB/s 0:00:00 1,367 100% 0.00kB/s 0:00:00 (xfr#1, to-chk=2/4) PKGBUILD 2,055 100% 1.96MB/s 0:00:00 2,055 100% 1.96MB/s 0:00:00 (xfr#2, to-chk=1/4) python-httpretty-1.1.4-8.log 324 100% 316.41kB/s 0:00:00 324 100% 316.41kB/s 0:00:00 (xfr#3, to-chk=0/4) sent 1,894 bytes received 94 bytes 1,325.33 bytes/sec total size is 3,614 speedup is 1.82 ==> Running extra-riscv64-build -- -d /home/felix/packages/riscv64-pkg-cache:/var/cache/pacman/pkg -l root26 on remote host... ]2;🔵 Container arch-nspawn-2961697 on minun.felixc.at[?25l:: Synchronizing package databases... core downloading... extra downloading... :: Starting full system upgrade... there is nothing to do [?25h==> Building in chroot for [extra] (riscv64)... ==> Synchronizing chroot copy [/var/lib/archbuild/extra-riscv64/root] -> [root26]...done ==> Making package: python-httpretty 1.1.4-8 (Mon Jul 29 19:50:13 2024) ==> Retrieving sources...  -> Found python-httpretty-1.1.4.tar.gz  -> Found python-httpretty-drop-mock.patch ==> Validating source files with sha512sums... python-httpretty-1.1.4.tar.gz ... Passed python-httpretty-drop-mock.patch ... Passed ]2;🔵 Container arch-nspawn-2963627 on minun.felixc.at==> Making package: python-httpretty 1.1.4-8 (Mon Jul 29 19:50:26 2024) ==> Checking runtime dependencies... ==> Installing missing dependencies... [?25lresolving dependencies... looking for conflicting packages... Package (1) New Version Net Change extra/python-urllib3 1.26.18-3 1.26 MiB Total Installed Size: 1.26 MiB :: Proceed with installation? [Y/n] checking keyring... checking package integrity... loading package files... checking for file conflicts... :: Processing package changes... installing python-urllib3... Optional dependencies for python-urllib3 python-brotli: Brotli support python-certifi: security support python-cryptography: security support python-idna: security support python-pyopenssl: security support python-pysocks: SOCKS support [?25h==> Checking buildtime dependencies... ==> Installing missing dependencies... [?25lresolving dependencies... looking for conflicting packages... Package (73) New Version Net Change Download Size extra/ipython 8.21.0-1 8.74 MiB extra/python-anyio 4.4.0-1 1.23 MiB extra/python-argcomplete 3.1.2-1 0.26 MiB 0.06 MiB extra/python-asttokens 2.4.1-2 0.20 MiB 0.05 MiB extra/python-async-timeout 4.0.3-4 0.03 MiB extra/python-autocommand 2.2.2-6 0.08 MiB extra/python-botocore 1.34.131-1 93.63 MiB 6.39 MiB extra/python-certifi 2024.07.04-1 0.02 MiB 0.01 MiB extra/python-cffi 1.16.0-2 1.32 MiB extra/python-charset-normalizer 3.3.2-2 0.43 MiB extra/python-dateutil 2.9.0-5 0.99 MiB extra/python-decorator 5.1.1-4 0.06 MiB extra/python-dnspython 1:2.6.1-1 3.34 MiB extra/python-executing 2.0.0-3 0.23 MiB 0.05 MiB extra/python-fastjsonschema 2.20.0-1 0.27 MiB extra/python-greenlet 3.0.3-2 0.41 MiB extra/python-h11 0.14.0-3 0.58 MiB extra/python-httpcore 1.0.5-1 0.92 MiB extra/python-idna 3.7-1 0.84 MiB extra/python-inflect 7.3.1-1 0.36 MiB extra/python-iniconfig 2.0.0-5 0.04 MiB extra/python-jaraco.context 5.3.0-1 0.04 MiB extra/python-jaraco.functools 4.0.1-1 0.07 MiB extra/python-jaraco.text 3.14.0-1 0.08 MiB extra/python-jedi 0.19.1-2 6.35 MiB 1.13 MiB extra/python-jmespath 1.0.1-4 0.21 MiB extra/python-matplotlib-inline 0.1.6-4.1 0.06 MiB extra/python-more-itertools 10.3.0-1 0.63 MiB extra/python-ordered-set 4.1.0-5 0.06 MiB extra/python-packaging 24.1-1 0.49 MiB extra/python-parso 1:0.8.4-2 0.97 MiB 0.19 MiB extra/python-pexpect 4.9.0-2 0.39 MiB extra/python-platformdirs 4.2.2-1 0.24 MiB extra/python-pluggy 1.5.0-1 0.20 MiB extra/python-prompt_toolkit 3.0.47-1 4.39 MiB 0.69 MiB extra/python-ptyprocess 0.7.0-6 0.12 MiB extra/python-pure-eval 0.2.3-1 0.10 MiB 0.03 MiB extra/python-pyasn1 0.5.1-1 1.20 MiB extra/python-pycparser 2.22-2 1.71 MiB extra/python-pygments 2.18.0-1 14.10 MiB extra/python-pyparsing 3.1.2-2 1.25 MiB 0.20 MiB extra/python-pyproject-hooks 1.1.0-1 0.10 MiB extra/python-s3transfer 0.10.2-1 0.92 MiB 0.13 MiB extra/python-six 1.16.0-9 0.11 MiB extra/python-sniffio 1.3.1-3 0.04 MiB extra/python-stack-data 0.6.3-2 0.22 MiB 0.05 MiB extra/python-tomli 2.0.1-4 0.10 MiB extra/python-traitlets 5.14.3-2 1.00 MiB 0.17 MiB extra/python-trove-classifiers 2024.7.2-1 0.12 MiB extra/python-typeguard 4.3.0-1 0.41 MiB extra/python-typing_extensions 4.12.2-1 0.41 MiB extra/python-validate-pyproject 0.18-1 0.33 MiB extra/python-wcwidth 0.2.13-2 0.57 MiB extra/python-boto3 1.34.131-1 1.54 MiB 0.15 MiB extra/python-build 1.2.1-3 0.19 MiB extra/python-cryptography 42.0.6-1 4.51 MiB extra/python-eventlet 0.35.2-1 16.45 MiB 1.64 MiB extra/python-freezegun 1.5.1-1 0.15 MiB extra/python-httplib2 0.22.0-5 0.31 MiB 0.06 MiB extra/python-httpx 0.27.0-1 0.95 MiB extra/python-installer 0.7.0-8 0.18 MiB extra/python-ipdb 0.13.13-2 0.06 MiB 0.02 MiB extra/python-mccabe 0.7.0-7 0.05 MiB extra/python-ndg-httpsclient 0.5.1-14 0.23 MiB 0.05 MiB extra/python-pyopenssl 24.1.0-1 0.72 MiB extra/python-pytest 1:8.3.1-1 3.90 MiB extra/python-redis 5.0.1-2 3.34 MiB 0.46 MiB extra/python-requests 2.32.3-1 0.60 MiB extra/python-requests-toolbelt 1.0.0-2 0.43 MiB extra/python-setuptools 1:69.0.3-6 4.39 MiB extra/python-sure 2.0.1-4 0.24 MiB 0.05 MiB extra/python-tornado 6.4.1-1 5.61 MiB 0.82 MiB extra/python-wheel 0.43.0-4 0.25 MiB Total Download Size: 12.39 MiB Total Installed Size: 195.09 MiB :: Proceed with installation? [Y/n] :: Retrieving packages... python-botocore-1.34.131-1-any downloading... python-eventlet-0.35.2-1-any downloading... python-jedi-0.19.1-2-any downloading... python-tornado-6.4.1-1-riscv64 downloading... python-prompt_toolkit-3.0.47-1-any downloading... python-redis-5.0.1-2-any downloading... python-pyparsing-3.1.2-2-any downloading... python-parso-1:0.8.4-2-any downloading... python-traitlets-5.14.3-2-any downloading... python-boto3-1.34.131-1-any downloading... python-s3transfer-0.10.2-1-any downloading... python-httplib2-0.22.0-5-any downloading... python-argcomplete-3.1.2-1-any downloading... python-executing-2.0.0-3-any downloading... python-sure-2.0.1-4-any downloading... python-stack-data-0.6.3-2-any downloading... python-ndg-httpsclient-0.5.1-14-any downloading... python-asttokens-2.4.1-2-any downloading... python-pure-eval-0.2.3-1-any downloading... python-ipdb-0.13.13-2-any downloading... python-certifi-2024.07.04-1-any downloading... checking keyring... checking package integrity... loading package files... checking for file conflicts... :: Processing package changes... installing python-packaging... installing python-pyproject-hooks... installing python-build... Optional dependencies for python-build python-pip: to use as the Python package installer (default) python-uv: to use as the Python package installer python-virtualenv: to use virtualenv for build isolation installing python-installer... installing python-wheel... Optional dependencies for python-wheel python-keyring: for wheel.signatures python-xdg: for wheel.signatures installing python-more-itertools... installing python-jaraco.functools... installing python-jaraco.context... installing python-autocommand... installing python-typing_extensions... installing python-typeguard... installing python-inflect... installing python-jaraco.text... installing python-ordered-set... installing python-platformdirs... installing python-tomli... installing python-fastjsonschema... installing python-trove-classifiers... installing python-validate-pyproject... installing python-setuptools... installing python-certifi... installing python-six... installing python-dateutil... installing python-jmespath... installing python-botocore... Optional dependencies for python-botocore python-awscrt installing python-s3transfer... Optional dependencies for python-s3transfer python-awscrt installing python-boto3... Optional dependencies for python-boto3 python-awscrt: AWS CRT S3 transfers installing python-pycparser... installing python-cffi... Optional dependencies for python-cffi python-setuptools: "limited api" version checking in cffi.setuptools_ext [installed] installing python-cryptography... installing python-greenlet... installing python-dnspython... Optional dependencies for python-dnspython python-cryptography: DNSSEC support [installed] python-requests-toolbelt: DoH support [pending] python-idna: support for updated IDNA 2008 [pending] python-curio: async support python-trio: async support python-sniffio: async support [pending] installing python-eventlet... Optional dependencies for python-eventlet python-psycopg2: non-blocking PostgreSQL support python-pyopenssl: non-blocking SSL support [pending] python-httplib2: non-blocking HTTP support [pending] python-pyzmq: non-blocking ZeroMQ support python-dnspython: non-blocking DNS support [installed] installing python-freezegun... installing python-pyparsing... Optional dependencies for python-pyparsing python-railroad-diagrams: for generating Railroad Diagrams python-jinja: for generating Railroad Diagrams installing python-httplib2... installing python-h11... installing python-httpcore... Optional dependencies for python-httpcore python-h2: for HTTP/2 support python-socksio: for SOCKS support python-anyio: for asyncio backend [pending] python-trio: for trio backend python-sniffio: for async support [pending] installing python-idna... installing python-sniffio... installing python-anyio... Optional dependencies for python-anyio python-trio: trio backend python-outcome: trio backend python-uvloop: use uvloop for asyncio backend python-pytest: pytest plugin [pending] installing python-httpx... Optional dependencies for python-httpx python-brotli: for brotli response decompression python-brotlicffi: for brotli response decompression python-h2: HTTP/2 support python-socksio: SOCKS proxy support python-click: command line client support python-rich: command line client support python-pygments: command line client support [pending] python-trio: alternative async library installing python-decorator... installing python-parso... installing python-jedi... installing python-argcomplete... installing python-traitlets... installing python-matplotlib-inline... Optional dependencies for python-matplotlib-inline python-matplotlib installing python-ptyprocess... installing python-pexpect... installing python-pygments... installing python-wcwidth... installing python-prompt_toolkit... installing python-asttokens... installing python-executing... installing python-pure-eval... installing python-stack-data... installing ipython... Optional dependencies for ipython python-black: to auto format with Black python-pickleshare: for the ip.db database yapf: to auto format with YAPF installing python-ipdb... installing python-mccabe... installing python-pyopenssl... installing python-pyasn1... installing python-ndg-httpsclient... installing python-iniconfig... installing python-pluggy... installing python-pytest... installing python-async-timeout... installing python-redis... Optional dependencies for python-redis python-hiredis: faster performance via hiredis python-cryptography: OCSP certificate validation [installed] python-pyopenssl: OCSP certificate validation [installed] python-requests: OCSP certificate validation [pending] installing python-charset-normalizer... installing python-requests... Optional dependencies for python-requests python-chardet: alternative character encoding library python-pysocks: SOCKS proxy support installing python-requests-toolbelt... installing python-sure... installing python-tornado... Optional dependencies for python-tornado python-pycurl: for tornado.curl_httpclient python-pycares: an alternative non-blocking DNS resolver python-twisted: for tornado.platform.twisted [?25h==> Retrieving sources...  -> Found python-httpretty-1.1.4.tar.gz  -> Found python-httpretty-drop-mock.patch ==> WARNING: Skipping all source file integrity checks. ==> Extracting sources...  -> Extracting python-httpretty-1.1.4.tar.gz with bsdtar ==> Starting prepare()... patching file development.txt patching file tests/compat.py patching file tests/functional/test_fakesocket.py patching file tests/functional/test_requests.py patching file tests/unit/test_core.py patching file tests/unit/test_httpretty.py ==> Starting build()... * Getting build dependencies for wheel... running egg_info creating httpretty.egg-info writing httpretty.egg-info/PKG-INFO writing dependency_links to httpretty.egg-info/dependency_links.txt writing top-level names to httpretty.egg-info/top_level.txt writing manifest file 'httpretty.egg-info/SOURCES.txt' reading manifest file 'httpretty.egg-info/SOURCES.txt' reading manifest template 'MANIFEST.in' adding license file 'COPYING' writing manifest file 'httpretty.egg-info/SOURCES.txt' * Building wheel... running bdist_wheel running build running build_py creating build creating build/lib creating build/lib/httpretty copying httpretty/__init__.py -> build/lib/httpretty copying httpretty/compat.py -> build/lib/httpretty copying httpretty/core.py -> build/lib/httpretty copying httpretty/errors.py -> build/lib/httpretty copying httpretty/http.py -> build/lib/httpretty copying httpretty/utils.py -> build/lib/httpretty copying httpretty/version.py -> build/lib/httpretty installing to build/bdist.linux-riscv64/wheel running install running install_lib creating build/bdist.linux-riscv64 creating build/bdist.linux-riscv64/wheel creating build/bdist.linux-riscv64/wheel/httpretty copying build/lib/httpretty/__init__.py -> build/bdist.linux-riscv64/wheel/httpretty copying build/lib/httpretty/compat.py -> build/bdist.linux-riscv64/wheel/httpretty copying build/lib/httpretty/core.py -> build/bdist.linux-riscv64/wheel/httpretty copying build/lib/httpretty/errors.py -> build/bdist.linux-riscv64/wheel/httpretty copying build/lib/httpretty/http.py -> build/bdist.linux-riscv64/wheel/httpretty copying build/lib/httpretty/utils.py -> build/bdist.linux-riscv64/wheel/httpretty copying build/lib/httpretty/version.py -> build/bdist.linux-riscv64/wheel/httpretty running install_egg_info running egg_info writing httpretty.egg-info/PKG-INFO writing dependency_links to httpretty.egg-info/dependency_links.txt writing top-level names to httpretty.egg-info/top_level.txt reading manifest file 'httpretty.egg-info/SOURCES.txt' reading manifest template 'MANIFEST.in' adding license file 'COPYING' writing manifest file 'httpretty.egg-info/SOURCES.txt' Copying httpretty.egg-info to build/bdist.linux-riscv64/wheel/httpretty-1.1.4-py3.12.egg-info running install_scripts creating build/bdist.linux-riscv64/wheel/httpretty-1.1.4.dist-info/WHEEL creating '/build/python-httpretty/src/HTTPretty-1.1.4/dist/.tmp-m_pt4jbm/httpretty-1.1.4-py3-none-any.whl' and adding 'build/bdist.linux-riscv64/wheel' to it adding 'httpretty/__init__.py' adding 'httpretty/compat.py' adding 'httpretty/core.py' adding 'httpretty/errors.py' adding 'httpretty/http.py' adding 'httpretty/utils.py' adding 'httpretty/version.py' adding 'httpretty-1.1.4.dist-info/COPYING' adding 'httpretty-1.1.4.dist-info/METADATA' adding 'httpretty-1.1.4.dist-info/WHEEL' adding 'httpretty-1.1.4.dist-info/top_level.txt' adding 'httpretty-1.1.4.dist-info/RECORD' removing build/bdist.linux-riscv64/wheel Successfully built httpretty-1.1.4-py3-none-any.whl ==> Starting check()... ============================= test session starts ============================== platform linux -- Python 3.12.4, pytest-8.3.1, pluggy-1.5.0 rootdir: /build/python-httpretty/src/HTTPretty-1.1.4 plugins: typeguard-4.3.0, anyio-4.4.0 collected 11154 items / 49 deselected / 11105 selected tests/bugfixes/nosetests/test_242_ssl_bad_handshake.py . [ 0%] tests/bugfixes/nosetests/test_387_regex_port.py .. [ 0%] tests/bugfixes/nosetests/test_388_unmocked_error_with_url.py . [ 0%] tests/bugfixes/nosetests/test_413_regex.py .. [ 0%] tests/bugfixes/nosetests/test_414_httpx.py . [ 0%] tests/bugfixes/nosetests/test_416_boto3.py . [ 0%] tests/bugfixes/nosetests/test_417_openssl.py .. [ 0%] tests/bugfixes/nosetests/test_425_latest_requests.py . [ 0%] tests/bugfixes/nosetests/test_430_respect_timeout.py . [ 0%] tests/bugfixes/nosetests/test_eventlet.py . [ 0%] tests/bugfixes/nosetests/test_redis.py s [ 0%] tests/bugfixes/nosetests/test_tornado_bind_unused_port.py s [ 0%] tests/bugfixes/pytest/test_426_mypy_segfault.py ........................ [ 0%] ........................................................................ [ 0%] ........................................................................ [ 1%] ........................................................................ [ 2%] ........................................................................ [ 2%] ........................................................................ [ 3%] ........................................................................ [ 4%] ........................................................................ [ 4%] ........................................................................ [ 5%] ........................................................................ [ 6%] ........................................................................ [ 6%] ........................................................................ [ 7%] ........................................................................ [ 8%] ........................................................................ [ 8%] ........................................................................ [ 9%] ........................................................................ [ 10%] ........................................................................ [ 10%] ........................................................................ [ 11%] ........................................................................ [ 12%] ........................................................................ [ 12%] ........................................................................ [ 13%] ........................................................................ [ 13%] ........................................................................ [ 14%] ........................................................................ [ 15%] ........................................................................ [ 15%] ........................................................................ [ 16%] ........................................................................ [ 17%] ........................................................................ [ 17%] ........................................................................ [ 18%] ........................................................................ [ 19%] ........................................................................ [ 19%] ........................................................................ [ 20%] ........................................................................ [ 21%] ........................................................................ [ 21%] ........................................................................ [ 22%] ........................................................................ [ 23%] ........................................................................ [ 23%] ........................................................................ [ 24%] ........................................................................ [ 24%] ........................................................................ [ 25%] ........................................................................ [ 26%] ........................................................................ [ 26%] ........................................................................ [ 27%] ........................................................................ [ 28%] ........................................................................ [ 28%] ........................................................................ [ 29%] ........................................................................ [ 30%] ........................................................................ [ 30%] ........................................................................ [ 31%] ........................................................................ [ 32%] ........................................................................ [ 32%] ........................................................................ [ 33%] ........................................................................ [ 34%] ........................................................................ [ 34%] ........................................................................ [ 35%] ........................................................................ [ 36%] ........................................................................ [ 36%] ........................................................................ [ 37%] ........................................................................ [ 37%] ........................................................................ [ 38%] ........................................................................ [ 39%] ........................................................................ [ 39%] ........................................................................ [ 40%] ........................................................................ [ 41%] ........................................................................ [ 41%] ........................................................................ [ 42%] ........................................................................ [ 43%] ........................................................................ [ 43%] ........................................................................ [ 44%] ........................................................................ [ 45%] ........................................................................ [ 45%] ........................................................................ [ 46%] ........................................................................ [ 47%] ........................................................................ [ 47%] ........................................................................ [ 48%] ........................................................................ [ 48%] ........................................................................ [ 49%] ........................................................................ [ 50%] ........................................................................ [ 50%] ........................................................................ [ 51%] ........................................................................ [ 52%] ........................................................................ [ 52%] ........................................................................ [ 53%] ........................................................................ [ 54%] ........................................................................ [ 54%] ........................................................................ [ 55%] ........................................................................ [ 56%] ........................................................................ [ 56%] ........................................................................ [ 57%] ........................................................................ [ 58%] ........................................................................ [ 58%] ........................................................................ [ 59%] ........................................................................ [ 60%] ........................................................................ [ 60%] ........................................................................ [ 61%] ........................................................................ [ 61%] ........................................................................ [ 62%] ........................................................................ [ 63%] ........................................................................ [ 63%] ........................................................................ [ 64%] ........................................................................ [ 65%] ........................................................................ [ 65%] ........................................................................ [ 66%] ........................................................................ [ 67%] ........................................................................ [ 67%] ........................................................................ [ 68%] ........................................................................ [ 69%] ........................................................................ [ 69%] ........................................................................ [ 70%] ........................................................................ [ 71%] ........................................................................ [ 71%] ........................................................................ [ 72%] ........................................................................ [ 72%] ........................................................................ [ 73%] ........................................................................ [ 74%] ........................................................................ [ 74%] ........................................................................ [ 75%] ........................................................................ [ 76%] ........................................................................ [ 76%] ........................................................................ [ 77%] ........................................................................ [ 78%] ........................................................................ [ 78%] ........................................................................ [ 79%] ........................................................................ [ 80%] ........................................................................ [ 80%] ........................................................................ [ 81%] ........................................................................ [ 82%] ........................................................................ [ 82%] ........................................................................ [ 83%] ........................................................................ [ 83%] ........................................................................ [ 84%] ........................................................................ [ 85%] ........................................................................ [ 85%] ........................................................................ [ 86%] ........................................................................ [ 87%] ........................................................................ [ 87%] ........................................................................ [ 88%] ........................................................................ [ 89%] ........................................................................ [ 89%] ........................................................................ [ 90%] ........................................................................ [ 91%] ........................................................................ [ 91%] ........................................................................ [ 92%] ........................................................................ [ 93%] ........................................................................ [ 93%] ........................................................................ [ 94%] ........................................................................ [ 95%] ........................................................................ [ 95%] ........................................................................ [ 96%] ........................................................................ [ 96%] ........................................................................ [ 97%] ........................................................................ [ 98%] ........................................................................ [ 98%] ................................ [ 99%] tests/functional/test_decorator.py ...... [ 99%] tests/functional/test_httplib2.py ......F...F. [ 99%] tests/functional/test_urllib2.py ............ [ 99%] tests/pyopenssl/test_mock.py . [ 99%] tests/unit/test_core.py .......................... [ 99%] tests/unit/test_http.py . [ 99%] tests/unit/test_httpretty.py ............................. [ 99%] tests/unit/test_main.py ... [100%] =================================== FAILURES =================================== ____________________ test_rotating_responses_with_httplib2 _____________________ args = (), kw = {}, start = datetime.datetime(2024, 7, 29, 17, 54, 27, 234030) end = datetime.datetime(2024, 7, 29, 17, 54, 27, 714492) delta = datetime.timedelta(microseconds=480462), took = 4804.62 def wrap(*args, **kw): start = datetime.utcnow() try: func(start, *args, **kw) except TypeError as e: if PY2: # PY2 has different error message fmt = "{0}() takes no arguments" else: fmt = "{0}() takes 0 positional arguments but 1 was given" err = text_type(e) if fmt.format(func.__name__) in err: func(*args, **kw) else: exc.append(traceback.format_exc()) except Exception as e: exc.append(traceback.format_exc()) end = datetime.utcnow() delta = end - start took = convert_to(delta.microseconds) print(took, timeout) > assert took < timeout, "%s did not run within %s %s" % ( func.__name__, word, unit, ) E AssertionError: test_rotating_responses_with_httplib2 did not run within two miliseconds /usr/lib/python3.12/site-packages/sure/__init__.py:216: AssertionError ----------------------------- Captured stdout call ----------------------------- 4804.62 2000 ____________________________ test_callback_response ____________________________ args = (), kw = {}, start = datetime.datetime(2024, 7, 29, 17, 54, 28, 993743) end = datetime.datetime(2024, 7, 29, 17, 54, 29, 325934) delta = datetime.timedelta(microseconds=332191), took = 3321.91 def wrap(*args, **kw): start = datetime.utcnow() try: func(start, *args, **kw) except TypeError as e: if PY2: # PY2 has different error message fmt = "{0}() takes no arguments" else: fmt = "{0}() takes 0 positional arguments but 1 was given" err = text_type(e) if fmt.format(func.__name__) in err: func(*args, **kw) else: exc.append(traceback.format_exc()) except Exception as e: exc.append(traceback.format_exc()) end = datetime.utcnow() delta = end - start took = convert_to(delta.microseconds) print(took, timeout) > assert took < timeout, "%s did not run within %s %s" % ( func.__name__, word, unit, ) E AssertionError: test_callback_response did not run within two miliseconds /usr/lib/python3.12/site-packages/sure/__init__.py:216: AssertionError ----------------------------- Captured stdout call ----------------------------- 3321.91 2000 =============================== warnings summary =============================== httpretty/core.py:176 /build/python-httpretty/src/HTTPretty-1.1.4/httpretty/core.py:176: DeprecationWarning: 'urllib3.contrib.pyopenssl' module is deprecated and will be removed in a future release of urllib3 2.x. Read more in this issue: https://github.com/urllib3/urllib3/issues/2680 from requests.packages.urllib3.contrib.pyopenssl import inject_into_urllib3, extract_from_urllib3 httpretty/core.py:185 /build/python-httpretty/src/HTTPretty-1.1.4/httpretty/core.py:185: DeprecationWarning: 'urllib3.contrib.pyopenssl' module is deprecated and will be removed in a future release of urllib3 2.x. Read more in this issue: https://github.com/urllib3/urllib3/issues/2680 from urllib3.contrib.pyopenssl import extract_from_urllib3, inject_into_urllib3 tests/bugfixes/nosetests/test_242_ssl_bad_handshake.py: 2 warnings tests/bugfixes/nosetests/test_387_regex_port.py: 3 warnings tests/bugfixes/nosetests/test_388_unmocked_error_with_url.py: 2 warnings tests/bugfixes/nosetests/test_413_regex.py: 4 warnings tests/bugfixes/nosetests/test_414_httpx.py: 1 warning tests/bugfixes/nosetests/test_416_boto3.py: 2 warnings tests/bugfixes/nosetests/test_425_latest_requests.py: 4 warnings tests/bugfixes/nosetests/test_430_respect_timeout.py: 1 warning tests/bugfixes/nosetests/test_eventlet.py: 1 warning tests/bugfixes/pytest/test_426_mypy_segfault.py: 1000 warnings tests/functional/test_decorator.py: 8 warnings tests/functional/test_httplib2.py: 12 warnings tests/functional/test_urllib2.py: 12 warnings tests/pyopenssl/test_mock.py: 1 warning tests/unit/test_httpretty.py: 2 warnings /build/python-httpretty/src/HTTPretty-1.1.4/httpretty/core.py:1077: DeprecationWarning: datetime.datetime.utcnow() is deprecated and scheduled for removal in a future version. Use timezone-aware objects to represent datetimes in UTC: datetime.datetime.now(datetime.UTC). now = datetime.utcnow() tests/bugfixes/nosetests/test_416_boto3.py::test_boto3 /usr/lib/python3.12/site-packages/botocore/auth.py:419: DeprecationWarning: datetime.datetime.utcnow() is deprecated and scheduled for removal in a future version. Use timezone-aware objects to represent datetimes in UTC: datetime.datetime.now(datetime.UTC). datetime_now = datetime.datetime.utcnow() tests/bugfixes/nosetests/test_430_respect_timeout.py::test_read_timeout /usr/lib/python3.12/site-packages/_pytest/threadexception.py:82: PytestUnhandledThreadExceptionWarning: Exception in thread Thread-18 (fill_filekind) Traceback (most recent call last): File "/usr/lib/python3.12/threading.py", line 1073, in _bootstrap_inner self.run() File "/usr/lib/python3.12/threading.py", line 1010, in run self._target(*self._args, **self._kwargs) File "/build/python-httpretty/src/HTTPretty-1.1.4/httpretty/core.py", line 1133, in fill_filekind fk.write(utf8(item) + b'\n') ValueError: write to closed file warnings.warn(pytest.PytestUnhandledThreadExceptionWarning(msg)) tests/functional/test_httplib2.py: 8 warnings tests/functional/test_urllib2.py: 8 warnings /usr/lib/python3.12/site-packages/sure/__init__.py:193: DeprecationWarning: datetime.datetime.utcnow() is deprecated and scheduled for removal in a future version. Use timezone-aware objects to represent datetimes in UTC: datetime.datetime.now(datetime.UTC). start = datetime.utcnow() tests/functional/test_httplib2.py: 8 warnings tests/functional/test_urllib2.py: 8 warnings /usr/lib/python3.12/site-packages/sure/__init__.py:212: DeprecationWarning: datetime.datetime.utcnow() is deprecated and scheduled for removal in a future version. Use timezone-aware objects to represent datetimes in UTC: datetime.datetime.now(datetime.UTC). end = datetime.utcnow() tests/functional/test_urllib2.py::test_httpretty_should_allow_forcing_headers_urllib2 /build/python-httpretty/src/HTTPretty-1.1.4/httpretty/core.py:1034: UserWarning: HTTPretty got to register the Content-Length header with "'35a'" which is not a number warnings.warn( -- Docs: https://docs.pytest.org/en/stable/how-to/capture-warnings.html =========================== short test summary info ============================ FAILED tests/functional/test_httplib2.py::test_rotating_responses_with_httplib2 FAILED tests/functional/test_httplib2.py::test_callback_response - AssertionE... = 2 failed, 11101 passed, 2 skipped, 49 deselected, 1092 warnings in 196.25s (0:03:16) = ==> ERROR: A failure occurred in check().  Aborting... ==> ERROR: Build failed, check /var/lib/archbuild/extra-riscv64/root26/build [?25h[?25hreceiving incremental file list python-httpretty-1.1.4-8-riscv64-build.log python-httpretty-1.1.4-8-riscv64-check.log python-httpretty-1.1.4-8-riscv64-prepare.log sent 81 bytes received 3,524 bytes 2,403.33 bytes/sec total size is 25,006 speedup is 6.94