==> Building on luxio ==> Checking for remote environment... ==> Syncing package to remote host... sending incremental file list ./ PKGBUILD 1,402 75% 0.00kB/s 0:00:00 1,848 100% 435.55kB/s 0:00:00 (xfr#1, to-chk=2/4) certs.patch 468 100% 457.03kB/s 0:00:00 468 100% 457.03kB/s 0:00:00 (xfr#2, to-chk=1/4) python-requests-2.28.2-4.1.log 327 100% 319.34kB/s 0:00:00 327 100% 319.34kB/s 0:00:00 (xfr#3, to-chk=0/4) sent 877 bytes received 100 bytes 1,954.00 bytes/sec total size is 2,508 speedup is 2.57 ==> Running extra-riscv64-build -- -d /home/felix/packages/riscv64-pkg-cache:/var/cache/pacman/pkg -l root13 on remote host... [?25l:: Synchronizing package databases... core downloading... extra downloading... community 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] -> [root13]...done ==> Making package: python-requests 2.28.2-4.1 (Mon May 8 08:27:27 2023) ==> Retrieving sources...  -> Found python-requests-2.28.2.tar.gz  -> Found certs.patch ==> Validating source files with sha512sums... python-requests-2.28.2.tar.gz ... Passed certs.patch ... Passed ==> Making package: python-requests 2.28.2-4.1 (Mon May 8 08:27:34 2023) ==> Checking runtime dependencies... ==> Installing missing dependencies... [?25lresolving dependencies... looking for conflicting packages... Package (5) New Version Net Change core/libnsl 2.0.0-3 0.06 MiB core/python 3.11.3-1 104.68 MiB extra/python-chardet 5.1.0-3 3.02 MiB extra/python-idna 3.4-3 0.71 MiB extra/python-urllib3 1.26.15-1 1.30 MiB Total Installed Size: 109.77 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 python-pip sqlite [installed] mpdecimal: for decimal xz: for lzma [installed] tk: for tkinter installing python-urllib3... Optional dependencies for python-urllib3 python-brotli: Brotli support python-certifi: security support python-cryptography: security support python-idna: security support [pending] python-pyopenssl: security support python-pysocks: SOCKS support installing python-chardet... installing python-idna... [?25h==> Checking buildtime dependencies... ==> Installing missing dependencies... [?25lresolving dependencies... looking for conflicting packages... Package (42) New Version Net Change Download Size community/httpbin 0.7.0-13 0.27 MiB community/python-autocommand 2.2.2-4 0.08 MiB core/python-brotli 1.0.9-12 0.67 MiB extra/python-cffi 1.15.1-3 1.39 MiB 0.27 MiB community/python-click 8.1.3-3 1.22 MiB extra/python-cryptography 40.0.2-1 4.58 MiB 0.95 MiB community/python-decorator 5.1.1-3 0.07 MiB community/python-fastjsonschema 2.16.3-4 0.29 MiB community/python-flask 2.2.5-1 1.14 MiB community/python-inflect 6.0.4-2 0.38 MiB community/python-iniconfig 2.0.0-4 0.04 MiB community/python-itsdangerous 2.1.2-3 0.14 MiB community/python-jaraco.context 4.3.0-3 0.04 MiB community/python-jaraco.functools 3.6.0-3 0.06 MiB community/python-jaraco.text 3.11.1-3 0.09 MiB community/python-jinja 1:3.1.2-4 1.82 MiB extra/python-markupsafe 2.1.2-3 0.07 MiB community/python-more-itertools 9.1.1-4 0.61 MiB extra/python-ordered-set 4.1.0-4 0.07 MiB extra/python-packaging 23.0-3 0.43 MiB extra/python-platformdirs 3.5.0-2 0.20 MiB community/python-pluggy 1.0.0-4 0.13 MiB extra/python-ply 3.11-10 0.31 MiB extra/python-pycparser 2.21-5 1.77 MiB community/python-pydantic 1.10.7-4 6.36 MiB extra/python-pyopenssl 23.1.1-2 0.75 MiB 0.11 MiB community/python-pyproject-hooks 1.0.0-4 0.09 MiB community/python-pytest 7.3.1-4 3.97 MiB extra/python-six 1.16.0-8 0.12 MiB extra/python-tomli 2.0.1-3 0.11 MiB extra/python-trove-classifiers 2023.4.22-1 0.11 MiB community/python-typing_extensions 4.5.0-4 0.29 MiB extra/python-validate-pyproject 0.12.2-3 0.29 MiB community/python-werkzeug 2.3.2-1 2.78 MiB community/python-build 0.10.0-3 0.68 MiB community/python-installer 0.7.0-3 0.82 MiB community/python-pysocks 1.7.1-8 0.13 MiB 0.03 MiB community/python-pytest-httpbin 1.0.2-2 0.04 MiB 0.02 MiB community/python-pytest-mock 3.10.0-3 0.08 MiB 0.02 MiB extra/python-setuptools 1:67.7.0-1 4.68 MiB community/python-trustme 1.0.0-1 0.09 MiB 0.02 MiB community/python-wheel 0.40.0-3 0.28 MiB Total Download Size: 1.42 MiB Total Installed Size: 37.54 MiB :: Proceed with installation? [Y/n] :: Retrieving packages... python-cryptography-40.0.2-1-riscv64 downloading... python-cffi-1.15.1-3-riscv64 downloading... python-pyopenssl-23.1.1-2-any downloading... python-pysocks-1.7.1-8-any downloading... python-trustme-1.0.0-1-any downloading... python-pytest-mock-3.10.0-3-any downloading... python-pytest-httpbin-1.0.2-2-any downloading... checking keyring... checking package integrity... loading package files... checking for file conflicts... :: Processing package changes... installing python-packaging... installing python-tomli... 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-fastjsonschema... installing python-trove-classifiers... installing python-validate-pyproject... installing python-setuptools... installing python-iniconfig... installing python-pluggy... installing python-pytest... installing python-six... 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-brotli... installing httpbin... installing python-pytest-httpbin... installing python-pytest-mock... installing python-pysocks... installing python-ply... installing python-pycparser... installing python-cffi... installing python-cryptography... installing python-pyopenssl... installing python-trustme... [?25h==> Retrieving sources...  -> Found python-requests-2.28.2.tar.gz  -> Found certs.patch ==> WARNING: Skipping all source file integrity checks. ==> Extracting sources...  -> Extracting python-requests-2.28.2.tar.gz with bsdtar ==> Starting prepare()... patching file requests/certs.py Hunk #1 succeeded at 11 with fuzz 2 (offset -1 lines). ==> Starting build()... * Getting build dependencies for wheel... /usr/lib/python3.11/site-packages/setuptools/dist.py:754: SetuptoolsDeprecationWarning: Invalid dash-separated options !! ******************************************************************************** Usage of dash-separated 'provides-extra' will not be supported in future versions. Please use the underscore name 'provides_extra' instead. By 2023-Sep-26, you need to update your project and remove deprecated calls or your builds will no longer be supported. See https://setuptools.pypa.io/en/latest/userguide/declarative_config.html for details. ******************************************************************************** !! opt = self.warn_dash_deprecation(opt, section) /usr/lib/python3.11/site-packages/setuptools/dist.py:754: SetuptoolsDeprecationWarning: Invalid dash-separated options !! ******************************************************************************** Usage of dash-separated 'requires-dist' will not be supported in future versions. Please use the underscore name 'requires_dist' instead. By 2023-Sep-26, you need to update your project and remove deprecated calls or your builds will no longer be supported. See https://setuptools.pypa.io/en/latest/userguide/declarative_config.html for details. ******************************************************************************** !! opt = self.warn_dash_deprecation(opt, section) /usr/lib/python3.11/site-packages/setuptools/config/setupcfg.py:293: _DeprecatedConfig: Deprecated config in `setup.cfg` !! ******************************************************************************** The license_file parameter is deprecated, use license_files instead. By 2023-Oct-30, you need to update your project and remove deprecated calls or your builds will no longer be supported. See https://setuptools.pypa.io/en/latest/https://setuptools.pypa.io/en/latest/userguide/declarative_config.html for details. ******************************************************************************** !! parsed = self.parsers.get(option_name, lambda x: x)(value) running egg_info creating requests.egg-info writing requests.egg-info/PKG-INFO writing dependency_links to requests.egg-info/dependency_links.txt writing requirements to requests.egg-info/requires.txt writing top-level names to requests.egg-info/top_level.txt writing manifest file 'requests.egg-info/SOURCES.txt' reading manifest file 'requests.egg-info/SOURCES.txt' reading manifest template 'MANIFEST.in' warning: no files found matching 'pytest.ini' adding license file 'LICENSE' writing manifest file 'requests.egg-info/SOURCES.txt' * Building wheel... /usr/lib/python3.11/site-packages/setuptools/dist.py:754: SetuptoolsDeprecationWarning: Invalid dash-separated options !! ******************************************************************************** Usage of dash-separated 'provides-extra' will not be supported in future versions. Please use the underscore name 'provides_extra' instead. By 2023-Sep-26, you need to update your project and remove deprecated calls or your builds will no longer be supported. See https://setuptools.pypa.io/en/latest/userguide/declarative_config.html for details. ******************************************************************************** !! opt = self.warn_dash_deprecation(opt, section) /usr/lib/python3.11/site-packages/setuptools/dist.py:754: SetuptoolsDeprecationWarning: Invalid dash-separated options !! ******************************************************************************** Usage of dash-separated 'requires-dist' will not be supported in future versions. Please use the underscore name 'requires_dist' instead. By 2023-Sep-26, you need to update your project and remove deprecated calls or your builds will no longer be supported. See https://setuptools.pypa.io/en/latest/userguide/declarative_config.html for details. ******************************************************************************** !! opt = self.warn_dash_deprecation(opt, section) /usr/lib/python3.11/site-packages/setuptools/config/setupcfg.py:293: _DeprecatedConfig: Deprecated config in `setup.cfg` !! ******************************************************************************** The license_file parameter is deprecated, use license_files instead. By 2023-Oct-30, you need to update your project and remove deprecated calls or your builds will no longer be supported. See https://setuptools.pypa.io/en/latest/https://setuptools.pypa.io/en/latest/userguide/declarative_config.html for details. ******************************************************************************** !! parsed = self.parsers.get(option_name, lambda x: x)(value) running bdist_wheel running build running build_py creating build creating build/lib creating build/lib/requests copying requests/__init__.py -> build/lib/requests copying requests/__version__.py -> build/lib/requests copying requests/_internal_utils.py -> build/lib/requests copying requests/adapters.py -> build/lib/requests copying requests/api.py -> build/lib/requests copying requests/auth.py -> build/lib/requests copying requests/compat.py -> build/lib/requests copying requests/cookies.py -> build/lib/requests copying requests/exceptions.py -> build/lib/requests copying requests/help.py -> build/lib/requests copying requests/hooks.py -> build/lib/requests copying requests/models.py -> build/lib/requests copying requests/packages.py -> build/lib/requests copying requests/sessions.py -> build/lib/requests copying requests/status_codes.py -> build/lib/requests copying requests/structures.py -> build/lib/requests copying requests/utils.py -> build/lib/requests copying requests/certs.py -> build/lib/requests running egg_info writing requests.egg-info/PKG-INFO writing dependency_links to requests.egg-info/dependency_links.txt writing requirements to requests.egg-info/requires.txt writing top-level names to requests.egg-info/top_level.txt reading manifest file 'requests.egg-info/SOURCES.txt' reading manifest template 'MANIFEST.in' warning: no files found matching 'pytest.ini' adding license file 'LICENSE' writing manifest file 'requests.egg-info/SOURCES.txt' 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/requests copying build/lib/requests/__init__.py -> build/bdist.linux-riscv64/wheel/requests copying build/lib/requests/__version__.py -> build/bdist.linux-riscv64/wheel/requests copying build/lib/requests/_internal_utils.py -> build/bdist.linux-riscv64/wheel/requests copying build/lib/requests/adapters.py -> build/bdist.linux-riscv64/wheel/requests copying build/lib/requests/api.py -> build/bdist.linux-riscv64/wheel/requests copying build/lib/requests/auth.py -> build/bdist.linux-riscv64/wheel/requests copying build/lib/requests/compat.py -> build/bdist.linux-riscv64/wheel/requests copying build/lib/requests/cookies.py -> build/bdist.linux-riscv64/wheel/requests copying build/lib/requests/exceptions.py -> build/bdist.linux-riscv64/wheel/requests copying build/lib/requests/help.py -> build/bdist.linux-riscv64/wheel/requests copying build/lib/requests/hooks.py -> build/bdist.linux-riscv64/wheel/requests copying build/lib/requests/models.py -> build/bdist.linux-riscv64/wheel/requests copying build/lib/requests/packages.py -> build/bdist.linux-riscv64/wheel/requests copying build/lib/requests/sessions.py -> build/bdist.linux-riscv64/wheel/requests copying build/lib/requests/status_codes.py -> build/bdist.linux-riscv64/wheel/requests copying build/lib/requests/structures.py -> build/bdist.linux-riscv64/wheel/requests copying build/lib/requests/utils.py -> build/bdist.linux-riscv64/wheel/requests copying build/lib/requests/certs.py -> build/bdist.linux-riscv64/wheel/requests running install_egg_info Copying requests.egg-info to build/bdist.linux-riscv64/wheel/requests-2.28.2-py3.11.egg-info running install_scripts creating build/bdist.linux-riscv64/wheel/requests-2.28.2.dist-info/WHEEL creating '/build/python-requests/src/requests-2.28.2/dist/.tmp-62tup7q_/requests-2.28.2-py3-none-any.whl' and adding 'build/bdist.linux-riscv64/wheel' to it adding 'requests/__init__.py' adding 'requests/__version__.py' adding 'requests/_internal_utils.py' adding 'requests/adapters.py' adding 'requests/api.py' adding 'requests/auth.py' adding 'requests/certs.py' adding 'requests/compat.py' adding 'requests/cookies.py' adding 'requests/exceptions.py' adding 'requests/help.py' adding 'requests/hooks.py' adding 'requests/models.py' adding 'requests/packages.py' adding 'requests/sessions.py' adding 'requests/status_codes.py' adding 'requests/structures.py' adding 'requests/utils.py' adding 'requests-2.28.2.dist-info/LICENSE' adding 'requests-2.28.2.dist-info/METADATA' adding 'requests-2.28.2.dist-info/WHEEL' adding 'requests-2.28.2.dist-info/top_level.txt' adding 'requests-2.28.2.dist-info/RECORD' removing build/bdist.linux-riscv64/wheel Successfully built requests-2.28.2-py3-none-any.whl ==> Starting check()... ============================= test session starts ============================== platform linux -- Python 3.11.3, pytest-7.3.1, pluggy-1.0.0 rootdir: /build/python-requests/src/requests-2.28.2 configfile: pyproject.toml plugins: httpbin-1.0.2, mock-3.10.0 collected 593 items / 1 deselected / 592 selected tests/test_help.py ... [ 0%] tests/test_hooks.py ... [ 1%] tests/test_lowlevel.py .................... [ 4%] tests/test_packages.py ... [ 4%] tests/test_requests.py ................................................. [ 13%] FF..................................................................pytest-httpbin server hit an exception serving request: [SSL: TLSV1_ALERT_UNKNOWN_CA] tlsv1 alert unknown ca (_ssl.c:1002) attempting to ignore so the rest of the tests can run .... [ 25%] ........................................................................ [ 37%] .................127.0.0.1 - - [08/May/2023 08:28:17] "GET /get HTTP/1.1" 200 222 ................x...127.0.0.1 - - [08/May/2023 08:28:17] "GET /status/204 HTTP/1.1" 204 0 ................................... [ 49%] .......................................F............ [ 58%] tests/test_structures.py .................... [ 61%] tests/test_testserver.py ......s.... [ 63%] tests/test_utils.py ..s................................................. [ 72%] ........................................................................ [ 84%] ........................................................................ [ 96%] ...sssssssssss..... [100%] =================================== FAILURES =================================== __________________ TestRequests.test_cookie_sent_on_redirect ___________________ self = httpbin = .inner at 0x4007d5e480> def test_cookie_sent_on_redirect(self, httpbin): s = requests.session() s.get(httpbin("cookies/set?foo=bar")) r = s.get(httpbin("redirect/1")) # redirects to httpbin('get') > assert "Cookie" in r.json()["headers"] E AssertionError: assert 'Cookie' in {'Accept': '*/*', 'Accept-Encoding': 'gzip, deflate, br', 'Connection': 'keep-alive', 'Host': '127.0.0.1:34363', ...} tests/test_requests.py:380: AssertionError ----------------------------- Captured stderr call ----------------------------- 127.0.0.1 - - [08/May/2023 08:28:14] "GET /cookies/set?foo=bar HTTP/1.1" 302 203 127.0.0.1 - - [08/May/2023 08:28:14] "GET /cookies HTTP/1.1" 200 26 127.0.0.1 - - [08/May/2023 08:28:14] "GET /redirect/1 HTTP/1.1" 302 195 127.0.0.1 - - [08/May/2023 08:28:14] "GET /get HTTP/1.1" 200 222 __________________ TestRequests.test_cookie_removed_on_expire __________________ self = httpbin = .inner at 0x4007d5f240> def test_cookie_removed_on_expire(self, httpbin): s = requests.session() s.get(httpbin("cookies/set?foo=bar")) assert s.cookies["foo"] == "bar" s.get( httpbin("response-headers"), params={"Set-Cookie": "foo=deleted; expires=Thu, 01-Jan-1970 00:00:01 GMT"}, ) > assert "foo" not in s.cookies E AssertionError: assert 'foo' not in E + where = .cookies tests/test_requests.py:390: AssertionError ----------------------------- Captured stderr call ----------------------------- 127.0.0.1 - - [08/May/2023 08:28:14] "GET /cookies/set?foo=bar HTTP/1.1" 302 203 127.0.0.1 - - [08/May/2023 08:28:14] "GET /cookies HTTP/1.1" 200 26 127.0.0.1 - - [08/May/2023 08:28:14] "GET /response-headers?Set-Cookie=foo%3Ddeleted%3B+expires%3DThu%2C+01-Jan-1970+00%3A00%3A01+GMT HTTP/1.1" 200 125 _ TestPreparingURLs.test_redirecting_to_bad_url[http://localhost:-1-InvalidURL] _ self = httpbin = .inner at 0x4007b1cb80> url = 'http://localhost:-1' exception = @pytest.mark.parametrize("url, exception", (("http://localhost:-1", InvalidURL),)) def test_redirecting_to_bad_url(self, httpbin, url, exception): > with pytest.raises(exception): E Failed: DID NOT RAISE tests/test_requests.py:2670: Failed ----------------------------- Captured stderr call ----------------------------- Traceback (most recent call last): File "/usr/lib/python3.11/wsgiref/handlers.py", line 137, in run self.result = application(self.environ, self.start_response) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/lib/python3.11/site-packages/flask/app.py", line 2552, in __call__ return self.wsgi_app(environ, start_response) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/lib/python3.11/site-packages/flask/app.py", line 2536, in wsgi_app return response(environ, start_response) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/lib/python3.11/site-packages/werkzeug/wrappers/response.py", line 577, in __call__ app_iter, status, headers = self.get_wsgi_response(environ) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/lib/python3.11/site-packages/werkzeug/wrappers/response.py", line 563, in get_wsgi_response headers = self.get_wsgi_headers(environ) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/lib/python3.11/site-packages/werkzeug/wrappers/response.py", line 483, in get_wsgi_headers location = iri_to_uri(location) ^^^^^^^^^^^^^^^^^^^^ File "/usr/lib/python3.11/site-packages/werkzeug/urls.py", line 1053, in iri_to_uri if parts.port: ^^^^^^^^^^ File "/usr/lib/python3.11/urllib/parse.py", line 173, in port raise ValueError(f"Port could not be cast to integer value as {port!r}") ValueError: Port could not be cast to integer value as '-1' 127.0.0.1 - - [08/May/2023 08:28:48] "GET /redirect-to?url=http%3A%2F%2Flocalhost%3A-1 HTTP/1.1" 500 59 =========================== short test summary info ============================ FAILED tests/test_requests.py::TestRequests::test_cookie_sent_on_redirect - A... FAILED tests/test_requests.py::TestRequests::test_cookie_removed_on_expire - ... FAILED tests/test_requests.py::TestPreparingURLs::test_redirecting_to_bad_url[http://localhost:-1-InvalidURL] = 3 failed, 575 passed, 13 skipped, 1 deselected, 1 xfailed in 75.26s (0:01:15) = ==> ERROR: A failure occurred in check().  Aborting... ==> ERROR: Build failed, check /var/lib/archbuild/extra-riscv64/root13/build receiving incremental file list python-requests-2.28.2-4.1-riscv64-build.log python-requests-2.28.2-4.1-riscv64-check.log python-requests-2.28.2-4.1-riscv64-prepare.log sent 81 bytes received 3,720 bytes 2,534.00 bytes/sec total size is 16,829 speedup is 4.43