==> Building on pachirisu ==> Checking for remote environment... ==> Syncing package to remote host... sending incremental file list created directory packages/python-httpcore ./ PKGBUILD 1,515 100% 0.00kB/s 0:00:00 1,515 100% 0.00kB/s 0:00:00 (xfr#1, to-chk=1/3) python-httpcore-0.17.3-1.log 251 100% 245.12kB/s 0:00:00 251 100% 245.12kB/s 0:00:00 (xfr#2, to-chk=0/3) sent 1,163 bytes received 104 bytes 844.67 bytes/sec total size is 1,711 speedup is 1.35 ==> Running extra-riscv64-build -- -d /home/felix/packages/riscv64-pkg-cache:/var/cache/pacman/pkg -l root2 on remote host... [?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] -> [root2]...done ==> Making package: python-httpcore 0.17.3-1 (Sat Jul 15 22:57:37 2023) ==> Retrieving sources...  -> Downloading python-httpcore-0.17.3.tar.gz... % Total % Received % Xferd Average Speed Time Time Time Current Dload Upload Total Spent Left Speed 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 91500 0 91500 0 0 88685 0 --:--:-- 0:00:01 --:--:-- 88685 ==> Validating source files with sha512sums... python-httpcore-0.17.3.tar.gz ... Passed ==> Making package: python-httpcore 0.17.3-1 (Sat Jul 15 22:58:30 2023) ==> Checking runtime dependencies... ==> Installing missing dependencies... [?25lresolving dependencies... looking for conflicting packages... Package (7) New Version Net Change Download Size core/libnsl 2.0.0-3 0.06 MiB extra/python-idna 3.4-3 0.71 MiB core/python 3.11.3-2 107.17 MiB extra/python-anyio 3.7.1-1 1.19 MiB 0.18 MiB extra/python-certifi 2023.05.07-1 0.02 MiB 0.01 MiB extra/python-h11 0.14.0-2 0.65 MiB extra/python-sniffio 1.3.0-3 0.03 MiB Total Download Size: 0.19 MiB Total Installed Size: 109.82 MiB :: Proceed with installation? [Y/n] :: Retrieving packages... python-anyio-3.7.1-1-any downloading... python-certifi-2023.05.07-1-any downloading... checking keyring... checking package integrity... loading package files... checking for file conflicts... :: Processing package changes... installing libnsl... installing python... Optional dependencies for python python-setuptools python-pip sqlite [installed] mpdecimal: for decimal xz: for lzma [installed] tk: for tkinter 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 installing python-h11... installing python-certifi... [?25h==> Checking buildtime dependencies... ==> Installing missing dependencies... [?25lresolving dependencies... looking for conflicting packages... Package (46) New Version Net Change Download Size extra/httpbin 0.7.0-13 0.27 MiB 0.11 MiB extra/python-async_generator 1.10-8 0.25 MiB extra/python-attrs 22.2.0-3 0.55 MiB extra/python-autocommand 2.2.2-4 0.08 MiB core/python-brotli 1.0.9-12 0.67 MiB 0.31 MiB extra/python-click 8.1.4-1 1.24 MiB 0.20 MiB extra/python-decorator 5.1.1-3 0.07 MiB extra/python-exceptiongroup 1.1.2-1 0.13 MiB extra/python-fastjsonschema 2.17.1-1 0.29 MiB extra/python-flask 2.2.5-1 1.14 MiB 0.18 MiB extra/python-hpack 4.0.0-4 0.59 MiB extra/python-hyperframe 6.0.1-4 0.14 MiB extra/python-hypothesis 6.75.3-1 4.20 MiB 0.75 MiB extra/python-inflect 6.1.0-1 0.38 MiB extra/python-iniconfig 2.0.0-4 0.04 MiB extra/python-itsdangerous 2.1.2-3 0.14 MiB extra/python-jaraco.context 4.3.0-3 0.04 MiB extra/python-jaraco.functools 3.8.0-1 0.07 MiB extra/python-jaraco.text 3.11.1-3 0.09 MiB extra/python-jinja 1:3.1.2-4 1.82 MiB extra/python-markupsafe 2.1.3-1 0.08 MiB extra/python-more-itertools 9.1.1-4 0.61 MiB extra/python-ordered-set 4.1.0-4 0.07 MiB extra/python-outcome 1.2.0-4 0.03 MiB extra/python-packaging 23.1-1 0.47 MiB extra/python-platformdirs 3.8.1-1 0.21 MiB extra/python-pluggy 1.0.0-4 0.13 MiB extra/python-pydantic 1.10.9-1 6.57 MiB extra/python-pyproject-hooks 1.0.0-5 0.09 MiB extra/python-pytest 7.4.0-1 4.01 MiB extra/python-six 1.16.0-8 0.12 MiB extra/python-sortedcontainers 2.4.0-4 0.41 MiB extra/python-tomli 2.0.1-3 0.11 MiB extra/python-trio 0.22.0-4 4.88 MiB extra/python-trove-classifiers 2023.7.6-1 0.11 MiB extra/python-typing_extensions 4.7.0-1 0.37 MiB extra/python-validate-pyproject 0.13-1 0.29 MiB extra/python-werkzeug 2.3.2-1 2.78 MiB extra/python-build 0.10.0-4 0.68 MiB extra/python-h2 4.1.0-3 0.65 MiB extra/python-installer 0.7.0-3 0.82 MiB extra/python-pytest-httpbin 2.0.0-1 0.04 MiB 0.02 MiB extra/python-pytest-trio 0.8.0-3 0.21 MiB 0.04 MiB extra/python-setuptools 1:68.0.0-1 4.64 MiB extra/python-socksio 1.0.0-2 0.11 MiB 0.02 MiB extra/python-wheel 0.40.0-3 0.28 MiB Total Download Size: 1.62 MiB Total Installed Size: 40.96 MiB :: Proceed with installation? [Y/n] :: Retrieving packages... python-hypothesis-6.75.3-1-any downloading... python-brotli-1.0.9-12-riscv64 downloading... python-click-8.1.4-1-any downloading... python-flask-2.2.5-1-any downloading... httpbin-0.7.0-13-any downloading... python-pytest-trio-0.8.0-3-any downloading... python-socksio-1.0.0-2-any downloading... python-pytest-httpbin-2.0.0-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-virtualenv: 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-pydantic... Optional dependencies for python-pydantic python-dotenv: for .env file support python-email-validator: for email validation 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-hpack... installing python-hyperframe... installing python-h2... installing python-iniconfig... installing python-pluggy... installing python-pytest... installing python-markupsafe... installing python-werkzeug... installing python-jinja... Optional dependencies for python-jinja python-babel: for i18n support installing python-itsdangerous... installing python-click... installing python-flask... Optional dependencies for python-flask python-asgiref: async functions and views python-dotenv: loading env vars from files installing python-decorator... installing python-six... installing python-brotli... installing httpbin... installing python-pytest-httpbin... installing python-async_generator... installing python-attrs... installing python-sortedcontainers... installing python-exceptiongroup... installing python-hypothesis... Optional dependencies for python-hypothesis python-pytz: for datetime and django module python-faker: for fakefactory and django module python-django: for django module python-numpy: for numpy module python-pytest: for pytest module [installed] python-lark-parser: for lark module python-libcst: for codemods module installing python-outcome... installing python-trio... installing python-pytest-trio... installing python-socksio... [?25h==> Retrieving sources...  -> Found python-httpcore-0.17.3.tar.gz ==> WARNING: Skipping all source file integrity checks. ==> Extracting sources...  -> Extracting python-httpcore-0.17.3.tar.gz with bsdtar ==> Starting prepare()... ==> Starting build()... * Getting build dependencies for wheel... running egg_info creating httpcore.egg-info writing httpcore.egg-info/PKG-INFO writing dependency_links to httpcore.egg-info/dependency_links.txt writing requirements to httpcore.egg-info/requires.txt writing top-level names to httpcore.egg-info/top_level.txt writing manifest file 'httpcore.egg-info/SOURCES.txt' reading manifest file 'httpcore.egg-info/SOURCES.txt' reading manifest template 'MANIFEST.in' adding license file 'LICENSE.md' writing manifest file 'httpcore.egg-info/SOURCES.txt' * Building wheel... running bdist_wheel running build running build_py creating build creating build/lib creating build/lib/httpcore copying httpcore/__init__.py -> build/lib/httpcore copying httpcore/_api.py -> build/lib/httpcore copying httpcore/_exceptions.py -> build/lib/httpcore copying httpcore/_models.py -> build/lib/httpcore copying httpcore/_ssl.py -> build/lib/httpcore copying httpcore/_synchronization.py -> build/lib/httpcore copying httpcore/_trace.py -> build/lib/httpcore copying httpcore/_utils.py -> build/lib/httpcore creating build/lib/httpcore/_async copying httpcore/_async/__init__.py -> build/lib/httpcore/_async copying httpcore/_async/connection.py -> build/lib/httpcore/_async copying httpcore/_async/connection_pool.py -> build/lib/httpcore/_async copying httpcore/_async/http11.py -> build/lib/httpcore/_async copying httpcore/_async/http2.py -> build/lib/httpcore/_async copying httpcore/_async/http_proxy.py -> build/lib/httpcore/_async copying httpcore/_async/interfaces.py -> build/lib/httpcore/_async copying httpcore/_async/socks_proxy.py -> build/lib/httpcore/_async creating build/lib/httpcore/_backends copying httpcore/_backends/__init__.py -> build/lib/httpcore/_backends copying httpcore/_backends/anyio.py -> build/lib/httpcore/_backends copying httpcore/_backends/auto.py -> build/lib/httpcore/_backends copying httpcore/_backends/base.py -> build/lib/httpcore/_backends copying httpcore/_backends/mock.py -> build/lib/httpcore/_backends copying httpcore/_backends/sync.py -> build/lib/httpcore/_backends copying httpcore/_backends/trio.py -> build/lib/httpcore/_backends creating build/lib/httpcore/_sync copying httpcore/_sync/__init__.py -> build/lib/httpcore/_sync copying httpcore/_sync/connection.py -> build/lib/httpcore/_sync copying httpcore/_sync/connection_pool.py -> build/lib/httpcore/_sync copying httpcore/_sync/http11.py -> build/lib/httpcore/_sync copying httpcore/_sync/http2.py -> build/lib/httpcore/_sync copying httpcore/_sync/http_proxy.py -> build/lib/httpcore/_sync copying httpcore/_sync/interfaces.py -> build/lib/httpcore/_sync copying httpcore/_sync/socks_proxy.py -> build/lib/httpcore/_sync running egg_info writing httpcore.egg-info/PKG-INFO writing dependency_links to httpcore.egg-info/dependency_links.txt writing requirements to httpcore.egg-info/requires.txt writing top-level names to httpcore.egg-info/top_level.txt reading manifest file 'httpcore.egg-info/SOURCES.txt' reading manifest template 'MANIFEST.in' adding license file 'LICENSE.md' writing manifest file 'httpcore.egg-info/SOURCES.txt' copying httpcore/py.typed -> build/lib/httpcore 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/httpcore copying build/lib/httpcore/__init__.py -> build/bdist.linux-riscv64/wheel/httpcore copying build/lib/httpcore/_api.py -> build/bdist.linux-riscv64/wheel/httpcore copying build/lib/httpcore/_exceptions.py -> build/bdist.linux-riscv64/wheel/httpcore copying build/lib/httpcore/_models.py -> build/bdist.linux-riscv64/wheel/httpcore copying build/lib/httpcore/_ssl.py -> build/bdist.linux-riscv64/wheel/httpcore copying build/lib/httpcore/_synchronization.py -> build/bdist.linux-riscv64/wheel/httpcore copying build/lib/httpcore/_trace.py -> build/bdist.linux-riscv64/wheel/httpcore copying build/lib/httpcore/_utils.py -> build/bdist.linux-riscv64/wheel/httpcore creating build/bdist.linux-riscv64/wheel/httpcore/_async copying build/lib/httpcore/_async/__init__.py -> build/bdist.linux-riscv64/wheel/httpcore/_async copying build/lib/httpcore/_async/connection.py -> build/bdist.linux-riscv64/wheel/httpcore/_async copying build/lib/httpcore/_async/connection_pool.py -> build/bdist.linux-riscv64/wheel/httpcore/_async copying build/lib/httpcore/_async/http11.py -> build/bdist.linux-riscv64/wheel/httpcore/_async copying build/lib/httpcore/_async/http2.py -> build/bdist.linux-riscv64/wheel/httpcore/_async copying build/lib/httpcore/_async/http_proxy.py -> build/bdist.linux-riscv64/wheel/httpcore/_async copying build/lib/httpcore/_async/interfaces.py -> build/bdist.linux-riscv64/wheel/httpcore/_async copying build/lib/httpcore/_async/socks_proxy.py -> build/bdist.linux-riscv64/wheel/httpcore/_async creating build/bdist.linux-riscv64/wheel/httpcore/_backends copying build/lib/httpcore/_backends/__init__.py -> build/bdist.linux-riscv64/wheel/httpcore/_backends copying build/lib/httpcore/_backends/anyio.py -> build/bdist.linux-riscv64/wheel/httpcore/_backends copying build/lib/httpcore/_backends/auto.py -> build/bdist.linux-riscv64/wheel/httpcore/_backends copying build/lib/httpcore/_backends/base.py -> build/bdist.linux-riscv64/wheel/httpcore/_backends copying build/lib/httpcore/_backends/mock.py -> build/bdist.linux-riscv64/wheel/httpcore/_backends copying build/lib/httpcore/_backends/sync.py -> build/bdist.linux-riscv64/wheel/httpcore/_backends copying build/lib/httpcore/_backends/trio.py -> build/bdist.linux-riscv64/wheel/httpcore/_backends creating build/bdist.linux-riscv64/wheel/httpcore/_sync copying build/lib/httpcore/_sync/__init__.py -> build/bdist.linux-riscv64/wheel/httpcore/_sync copying build/lib/httpcore/_sync/connection.py -> build/bdist.linux-riscv64/wheel/httpcore/_sync copying build/lib/httpcore/_sync/connection_pool.py -> build/bdist.linux-riscv64/wheel/httpcore/_sync copying build/lib/httpcore/_sync/http11.py -> build/bdist.linux-riscv64/wheel/httpcore/_sync copying build/lib/httpcore/_sync/http2.py -> build/bdist.linux-riscv64/wheel/httpcore/_sync copying build/lib/httpcore/_sync/http_proxy.py -> build/bdist.linux-riscv64/wheel/httpcore/_sync copying build/lib/httpcore/_sync/interfaces.py -> build/bdist.linux-riscv64/wheel/httpcore/_sync copying build/lib/httpcore/_sync/socks_proxy.py -> build/bdist.linux-riscv64/wheel/httpcore/_sync copying build/lib/httpcore/py.typed -> build/bdist.linux-riscv64/wheel/httpcore running install_egg_info Copying httpcore.egg-info to build/bdist.linux-riscv64/wheel/httpcore-0.17.3-py3.11.egg-info running install_scripts creating build/bdist.linux-riscv64/wheel/httpcore-0.17.3.dist-info/WHEEL creating '/build/python-httpcore/src/httpcore-0.17.3/dist/.tmp-dyx2gaez/httpcore-0.17.3-py3-none-any.whl' and adding 'build/bdist.linux-riscv64/wheel' to it adding 'httpcore/__init__.py' adding 'httpcore/_api.py' adding 'httpcore/_exceptions.py' adding 'httpcore/_models.py' adding 'httpcore/_ssl.py' adding 'httpcore/_synchronization.py' adding 'httpcore/_trace.py' adding 'httpcore/_utils.py' adding 'httpcore/py.typed' adding 'httpcore/_async/__init__.py' adding 'httpcore/_async/connection.py' adding 'httpcore/_async/connection_pool.py' adding 'httpcore/_async/http11.py' adding 'httpcore/_async/http2.py' adding 'httpcore/_async/http_proxy.py' adding 'httpcore/_async/interfaces.py' adding 'httpcore/_async/socks_proxy.py' adding 'httpcore/_backends/__init__.py' adding 'httpcore/_backends/anyio.py' adding 'httpcore/_backends/auto.py' adding 'httpcore/_backends/base.py' adding 'httpcore/_backends/mock.py' adding 'httpcore/_backends/sync.py' adding 'httpcore/_backends/trio.py' adding 'httpcore/_sync/__init__.py' adding 'httpcore/_sync/connection.py' adding 'httpcore/_sync/connection_pool.py' adding 'httpcore/_sync/http11.py' adding 'httpcore/_sync/http2.py' adding 'httpcore/_sync/http_proxy.py' adding 'httpcore/_sync/interfaces.py' adding 'httpcore/_sync/socks_proxy.py' adding 'httpcore-0.17.3.dist-info/LICENSE.md' adding 'httpcore-0.17.3.dist-info/METADATA' adding 'httpcore-0.17.3.dist-info/WHEEL' adding 'httpcore-0.17.3.dist-info/top_level.txt' adding 'httpcore-0.17.3.dist-info/RECORD' removing build/bdist.linux-riscv64/wheel Successfully built httpcore-0.17.3-py3-none-any.whl ==> Starting check()... ============================= test session starts ============================== platform linux -- Python 3.11.3, pytest-7.4.0, pluggy-1.0.0 rootdir: /build/python-httpcore/src/httpcore-0.17.3 configfile: setup.cfg plugins: anyio-3.7.1, httpbin-2.0.0, hypothesis-6.75.3, trio-0.8.0 collected 207 items tests/test_api.py ... [ 1%] tests/test_cancellations.py ..........FFFF [ 8%] tests/test_models.py ............. [ 14%] tests/_async/test_connection.py .............. [ 21%] tests/_async/test_connection_pool.py ................................. [ 37%] tests/_async/test_http11.py ........................ [ 48%] tests/_async/test_http2.py .................... [ 58%] tests/_async/test_http_proxy.py .......... [ 63%] tests/_async/test_integration.py ...... [ 66%] tests/_async/test_socks_proxy.py .......... [ 71%] tests/_sync/test_connection.py ....... [ 74%] tests/_sync/test_connection_pool.py .................. [ 83%] tests/_sync/test_http11.py ............ [ 88%] tests/_sync/test_http2.py .......... [ 93%] tests/_sync/test_http_proxy.py ..... [ 96%] tests/_sync/test_integration.py ... [ 97%] tests/_sync/test_socks_proxy.py ..... [100%] =================================== FAILURES =================================== ___________________ test_h2_timeout_during_request[asyncio] ____________________ @pytest.mark.anyio async def test_h2_timeout_during_request(): """ An async timeout on an HTTP/2 during a request should leave the connection in a neatly idle state. The connection is not closed because it is multiplexed, and a timeout on one request does not require the entire connection be closed. """ origin = httpcore.Origin(b"http", b"example.com", 80) stream = HandshakeThenSlowWriteStream() async with httpcore.AsyncHTTP2Connection(origin, stream) as conn: with anyio.move_on_after(0.01): await conn.request("GET", "http://example.com") assert not conn.is_closed() > assert conn.is_idle() E AssertionError: assert False E + where False = >() E + where > = .is_idle tests/test_cancellations.py:205: AssertionError _____________________ test_h2_timeout_during_request[trio] _____________________ @pytest.mark.anyio async def test_h2_timeout_during_request(): """ An async timeout on an HTTP/2 during a request should leave the connection in a neatly idle state. The connection is not closed because it is multiplexed, and a timeout on one request does not require the entire connection be closed. """ origin = httpcore.Origin(b"http", b"example.com", 80) stream = HandshakeThenSlowWriteStream() async with httpcore.AsyncHTTP2Connection(origin, stream) as conn: with anyio.move_on_after(0.01): await conn.request("GET", "http://example.com") assert not conn.is_closed() > assert conn.is_idle() E AssertionError: assert False E + where False = >() E + where > = .is_idle tests/test_cancellations.py:205: AssertionError ___________________ test_h2_timeout_during_response[asyncio] ___________________ @pytest.mark.anyio async def test_h2_timeout_during_response(): """ An async timeout on an HTTP/2 during the response reading should leave the connection in a neatly idle state. The connection is not closed because it is multiplexed, and a timeout on one request does not require the entire connection be closed. """ origin = httpcore.Origin(b"http", b"example.com", 80) stream = SlowReadStream( [ hyperframe.frame.SettingsFrame().serialize(), hyperframe.frame.HeadersFrame( stream_id=1, data=hpack.Encoder().encode( [ (b":status", b"200"), (b"content-type", b"plain/text"), ] ), flags=["END_HEADERS"], ).serialize(), hyperframe.frame.DataFrame( stream_id=1, data=b"Hello, world!...", flags=[] ).serialize(), ] ) async with httpcore.AsyncHTTP2Connection(origin, stream) as conn: with anyio.move_on_after(0.01): await conn.request("GET", "http://example.com") assert not conn.is_closed() > assert conn.is_idle() E AssertionError: assert False E + where False = >() E + where > = .is_idle tests/test_cancellations.py:242: AssertionError ____________________ test_h2_timeout_during_response[trio] _____________________ @pytest.mark.anyio async def test_h2_timeout_during_response(): """ An async timeout on an HTTP/2 during the response reading should leave the connection in a neatly idle state. The connection is not closed because it is multiplexed, and a timeout on one request does not require the entire connection be closed. """ origin = httpcore.Origin(b"http", b"example.com", 80) stream = SlowReadStream( [ hyperframe.frame.SettingsFrame().serialize(), hyperframe.frame.HeadersFrame( stream_id=1, data=hpack.Encoder().encode( [ (b":status", b"200"), (b"content-type", b"plain/text"), ] ), flags=["END_HEADERS"], ).serialize(), hyperframe.frame.DataFrame( stream_id=1, data=b"Hello, world!...", flags=[] ).serialize(), ] ) async with httpcore.AsyncHTTP2Connection(origin, stream) as conn: with anyio.move_on_after(0.01): await conn.request("GET", "http://example.com") assert not conn.is_closed() > assert conn.is_idle() E AssertionError: assert False E + where False = >() E + where > = .is_idle tests/test_cancellations.py:242: AssertionError =============================== warnings summary =============================== tests/test_cancellations.py::test_connection_pool_timeout_during_request[trio] /usr/lib/python3.11/site-packages/anyio/_backends/_trio.py:162: TrioDeprecationWarning: trio.MultiError is deprecated since Trio 0.22.0; use BaseExceptionGroup (on Python 3.11 and later) or exceptiongroup.BaseExceptionGroup (earlier versions) instead (https://github.com/python-trio/trio/issues/2211) class ExceptionGroup(BaseExceptionGroup, trio.MultiError): -- Docs: https://docs.pytest.org/en/stable/how-to/capture-warnings.html ================== 4 failed, 203 passed, 1 warning in 44.04s =================== ==> ERROR: A failure occurred in check().  Aborting... ==> ERROR: Build failed, check /var/lib/archbuild/extra-riscv64/root2/build receiving incremental file list python-httpcore-0.17.3-1-riscv64-build.log python-httpcore-0.17.3-1-riscv64-check.log python-httpcore-0.17.3-1-riscv64-prepare.log sent 81 bytes received 2,818 bytes 1,932.67 bytes/sec total size is 17,339 speedup is 5.98