==> Building on reshiram ==> Checking for remote environment... ==> Syncing package to remote host... sending incremental file list created directory packages/python-httpcore ./ PKGBUILD 1,555 100% 0.00kB/s 0:00:00 1,555 100% 0.00kB/s 0:00:00 (xfr#1, to-chk=1/3) python-httpcore-0.18.0-1.log 250 100% 244.14kB/s 0:00:00 250 100% 244.14kB/s 0:00:00 (xfr#2, to-chk=0/3) sent 1,179 bytes received 104 bytes 2,566.00 bytes/sec total size is 1,750 speedup is 1.36 ==> 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)... ==> Locking chroot copy [root2]...done ==> Synchronizing chroot copy [/var/lib/archbuild/extra-riscv64/root] -> [root2]...done ==> Making package: python-httpcore 0.18.0-1 (Wed Oct 4 02:23:15 2023) ==> Retrieving sources...  -> Downloading python-httpcore-0.18.0.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 10262 0 10262 0 0 8668 0 --:--:-- 0:00:01 --:--:-- 8668 100 94594 0 94594 0 0 67849 0 --:--:-- 0:00:01 --:--:-- 392k ==> Validating source files with sha512sums... python-httpcore-0.18.0.tar.gz ... Passed ==> Making package: python-httpcore 0.18.0-1 (Wed Oct 4 02:24:01 2023) ==> Checking runtime dependencies... ==> Installing missing dependencies... [?25lresolving dependencies... looking for conflicting packages... Package (7) New Version Net Change core/libnsl 2.0.0-3 0.06 MiB extra/python-idna 3.4-3 0.71 MiB core/python 3.11.5-2 107.30 MiB extra/python-anyio 3.7.1-1 1.19 MiB extra/python-certifi 2023.07.22-1 0.02 MiB extra/python-h11 0.14.0-2 0.65 MiB extra/python-sniffio 1.3.0-3 0.03 MiB Total Installed Size: 109.95 MiB :: Proceed with installation? [Y/n] 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: for building Python packages using tooling that is usually bundled with Python python-pip: for installing Python packages using tooling that is usually bundled with Python python-pipx: for installing Python software not packaged on Arch Linux sqlite: for a default database integration [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 (50) New Version Net Change Download Size extra/httpbin 0.10.1-1 0.36 MiB 0.12 MiB extra/libyaml 0.2.5-2 0.15 MiB extra/python-async_generator 1.10-8 0.25 MiB extra/python-attrs 22.2.0-3 0.55 MiB extra/python-blinker 1.6.2-1 0.12 MiB 0.03 MiB extra/python-brotlicffi 1.0.9.2-4 0.11 MiB 0.02 MiB extra/python-cffi 1.15.1-4 1.39 MiB extra/python-click 8.1.7-1 1.24 MiB extra/python-decorator 5.1.1-3 0.07 MiB extra/python-editables 0.5-1 0.03 MiB extra/python-exceptiongroup 1.1.3-2 0.13 MiB 0.03 MiB extra/python-flasgger 0.9.7.1-1 13.38 MiB 2.40 MiB extra/python-flask 2.3.3-1 1.04 MiB 0.16 MiB extra/python-greenlet 2.0.2-4 0.92 MiB 0.18 MiB extra/python-hpack 4.0.0-4 0.59 MiB 0.06 MiB extra/python-hyperframe 6.0.1-4 0.14 MiB 0.03 MiB extra/python-hypothesis 6.86.2-1 4.30 MiB 0.76 MiB extra/python-iniconfig 2.0.0-4 0.04 MiB extra/python-itsdangerous 2.1.2-3 0.14 MiB extra/python-jinja 1:3.1.2-4 1.82 MiB extra/python-jsonschema 4.19.1-1 1.36 MiB extra/python-jsonschema-specifications 2023.7.1-1 0.05 MiB extra/python-markupsafe 2.1.3-1 0.08 MiB extra/python-mistune 1:2.0.5-1 0.27 MiB extra/python-outcome 1.2.0-4 0.03 MiB 0.01 MiB extra/python-packaging 23.1-1 0.47 MiB extra/python-pathspec 0.11.2-1 0.22 MiB extra/python-pluggy 1.3.0-1 0.20 MiB extra/python-ply 3.11-12 0.40 MiB extra/python-pycparser 2.21-5 1.77 MiB extra/python-pyproject-hooks 1.0.0-5 0.09 MiB extra/python-pyrsistent 0.19.3-3 0.63 MiB extra/python-pytest 7.4.2-1 4.01 MiB extra/python-referencing 0.30.2-1 0.39 MiB extra/python-rpds-py 0.10.3-1 0.55 MiB 0.23 MiB extra/python-six 1.16.0-8 0.12 MiB extra/python-sortedcontainers 2.4.0-4 0.41 MiB 0.05 MiB extra/python-trio 0.22.2-1 5.05 MiB 0.70 MiB extra/python-trove-classifiers 2023.9.19-1 0.11 MiB extra/python-typing_extensions 4.8.0-1 0.35 MiB extra/python-werkzeug 2.3.7-1 2.77 MiB 0.42 MiB extra/python-yaml 6.0.1-2 0.91 MiB extra/python-build 1.0.1-1 0.68 MiB extra/python-h2 4.1.0-3 0.65 MiB 0.09 MiB extra/python-hatch-fancy-pypi-readme 23.1.0-1 0.06 MiB 0.02 MiB extra/python-hatchling 1.18.0-1 1.02 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-socksio 1.0.0-2 0.11 MiB 0.02 MiB Total Download Size: 5.41 MiB Total Installed Size: 50.60 MiB :: Proceed with installation? [Y/n] :: Retrieving packages... python-flasgger-0.9.7.1-1-any downloading... python-hypothesis-6.86.2-1-any downloading... python-trio-0.22.2-1-any downloading... python-werkzeug-2.3.7-1-any downloading... python-rpds-py-0.10.3-1-riscv64 downloading... python-greenlet-2.0.2-4-riscv64 downloading... python-flask-2.3.3-1-any downloading... httpbin-0.10.1-1-any downloading... python-h2-4.1.0-3-any downloading... python-hpack-4.0.0-4-any downloading... python-sortedcontainers-2.4.0-4-any downloading... python-pytest-trio-0.8.0-3-any downloading... python-exceptiongroup-1.1.3-2-any downloading... python-blinker-1.6.2-1-any downloading... python-hyperframe-6.0.1-4-any downloading... python-brotlicffi-1.0.9.2-4-riscv64 downloading... python-socksio-1.0.0-2-any downloading... python-hatch-fancy-pypi-readme-23.1.0-1-any downloading... python-pytest-httpbin-2.0.0-1-any downloading... python-outcome-1.2.0-4-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-pathspec... installing python-pluggy... installing python-editables... installing python-trove-classifiers... installing python-hatchling... installing python-hatch-fancy-pypi-readme... installing python-hpack... installing python-hyperframe... installing python-h2... installing python-iniconfig... 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-typing_extensions... installing python-blinker... 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-ply... installing python-pycparser... installing python-cffi... Optional dependencies for python-cffi python-setuptools: "limited api" version checking in cffi.setuptools_ext installing python-brotlicffi... installing libyaml... installing python-yaml... installing python-attrs... installing python-pyrsistent... installing python-rpds-py... installing python-referencing... installing python-jsonschema-specifications... installing python-jsonschema... Optional dependencies for python-jsonschema python-isoduration: for duration format python-fqdn: for hostname format python-idna: for idn-hostname format [installed] python-jsonpointer: for json-pointer & relative-json-pointer format python-rfc3339-validator: for date-time format python-rfc3987: for iri, iri-reference, uri & uri-reference format python-uri-template: for uri-template format python-webcolors: for color format installing python-mistune... installing python-flasgger... installing python-greenlet... installing httpbin... installing python-pytest-httpbin... installing python-async_generator... installing python-sortedcontainers... installing python-hypothesis... Optional dependencies for python-hypothesis python-black: for CLI and ghostwriter python-click: for CLI [installed] python-dateutil: for date support python-django: for django module python-dpcontracts: for contracts support python-faker: for fakefactory and django module python-lark-parser: for lark module python-libcst: for codemods module python-numpy: for numpy module python-pandas: for pandas support python-pytest: for pytest module [installed] python-pytz: for datetime and django module python-redis: for redis support python-rich: for CLI installing python-exceptiongroup... installing python-outcome... installing python-trio... installing python-pytest-trio... installing python-socksio... [?25h==> Retrieving sources...  -> Found python-httpcore-0.18.0.tar.gz ==> WARNING: Skipping all source file integrity checks. ==> Extracting sources...  -> Extracting python-httpcore-0.18.0.tar.gz with bsdtar ==> Starting prepare()... ==> Starting build()... * Getting build dependencies for wheel... * Building wheel... Successfully built httpcore-0.18.0-py3-none-any.whl ==> Starting check()... ============================= test session starts ============================== platform linux -- Python 3.11.5, pytest-7.4.2, pluggy-1.3.0 rootdir: /build/python-httpcore/src/httpcore-0.18.0 configfile: pyproject.toml plugins: anyio-3.7.1, httpbin-2.0.0, trio-0.8.0, hypothesis-6.86.2 collected 213 items tests/test_api.py .127.0.0.1 - - [04/Oct/2023 02:24:54] "GET / HTTP/1.1" 200 9509 .. [ 1%] tests/test_cancellations.py ..........FFFF [ 7%] tests/test_models.py ............. [ 14%] tests/_async/test_connection.py .................. [ 22%] tests/_async/test_connection_pool.py ................................. [ 38%] tests/_async/test_http11.py ........................ [ 49%] 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 .......... [ 70%] tests/_sync/test_connection.py ......... [ 75%] tests/_sync/test_connection_pool.py .................. [ 83%] tests/_sync/test_http11.py ............ [ 89%] 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, 209 passed, 1 warning in 39.29s =================== ==> 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.18.0-1-riscv64-build.log python-httpcore-0.18.0-1-riscv64-check.log python-httpcore-0.18.0-1-riscv64-prepare.log sent 81 bytes received 1,939 bytes 4,040.00 bytes/sec total size is 9,162 speedup is 4.54