Source: python-requests-unixsocket
Version: 0.3.0-4
Severity: serious
Justification: FTBFS
Tags: trixie sid ftbfs
User: lu...@debian.org
Usertags: ftbfs-20240615 ftbfs-trixie

Hi,

During a rebuild of all packages in sid, your package failed to build
on amd64.


Relevant part (hopefully):
> make[1]: Entering directory '/<<PKGBUILDDIR>>'
> make[1]: pyversions: No such file or directory
> py3versions: no X-Python3-Version in control file, using supported versions
> set -e ; set -x ; for pyvers in 3.12 3.11; do \
>       PYTHONPATH=/<<PKGBUILDDIR>> python$pyvers -m pytest 
> requests_unixsocket/tests ; \
> done
> + PYTHONPATH=/<<PKGBUILDDIR>> python3.12 -m pytest requests_unixsocket/tests
> ============================= test session starts 
> ==============================
> platform linux -- Python 3.12.4, pytest-8.2.2, pluggy-1.5.0
> rootdir: /<<PKGBUILDDIR>>
> configfile: pytest.ini
> collected 5 items
> 
> requests_unixsocket/tests/test_requests_unixsocket.py FFFFF              
> [100%]
> 
> =================================== FAILURES 
> ===================================
> _________________________ test_unix_domain_adapter_ok 
> __________________________
> /usr/lib/python3/dist-packages/requests/adapters.py:633: in send
>     conn = self.get_connection_with_tls_context(
> /usr/lib/python3/dist-packages/requests/adapters.py:489: in 
> get_connection_with_tls_context
>     conn = self.poolmanager.connection_from_host(
> /usr/lib/python3/dist-packages/urllib3/poolmanager.py:303: in 
> connection_from_host
>     return self.connection_from_context(request_context)
> /usr/lib/python3/dist-packages/urllib3/poolmanager.py:325: in 
> connection_from_context
>     raise URLSchemeUnknown(scheme)
> E   urllib3.exceptions.URLSchemeUnknown: Not supported URL scheme http+unix
> 
> During handling of the above exception, another exception occurred:
> requests_unixsocket/tests/test_requests_unixsocket.py:27: in 
> test_unix_domain_adapter_ok
>     r = getattr(session, method)(url)
> /usr/lib/python3/dist-packages/requests/sessions.py:602: in get
>     return self.request("GET", url, **kwargs)
> /usr/lib/python3/dist-packages/requests/sessions.py:589: in request
>     resp = self.send(prep, **send_kwargs)
> /usr/lib/python3/dist-packages/requests/sessions.py:703: in send
>     r = adapter.send(request, **kwargs)
> /usr/lib/python3/dist-packages/requests/adapters.py:637: in send
>     raise InvalidURL(e, request=request)
> E   requests.exceptions.InvalidURL: Not supported URL scheme http+unix
> ________________ test_unix_domain_adapter_url_with_query_params 
> ________________
> /usr/lib/python3/dist-packages/requests/adapters.py:633: in send
>     conn = self.get_connection_with_tls_context(
> /usr/lib/python3/dist-packages/requests/adapters.py:489: in 
> get_connection_with_tls_context
>     conn = self.poolmanager.connection_from_host(
> /usr/lib/python3/dist-packages/urllib3/poolmanager.py:303: in 
> connection_from_host
>     return self.connection_from_context(request_context)
> /usr/lib/python3/dist-packages/urllib3/poolmanager.py:325: in 
> connection_from_context
>     raise URLSchemeUnknown(scheme)
> E   urllib3.exceptions.URLSchemeUnknown: Not supported URL scheme http+unix
> 
> During handling of the above exception, another exception occurred:
> requests_unixsocket/tests/test_requests_unixsocket.py:54: in 
> test_unix_domain_adapter_url_with_query_params
>     r = getattr(session, method)(url)
> /usr/lib/python3/dist-packages/requests/sessions.py:602: in get
>     return self.request("GET", url, **kwargs)
> /usr/lib/python3/dist-packages/requests/sessions.py:589: in request
>     resp = self.send(prep, **send_kwargs)
> /usr/lib/python3/dist-packages/requests/sessions.py:703: in send
>     r = adapter.send(request, **kwargs)
> /usr/lib/python3/dist-packages/requests/adapters.py:637: in send
>     raise InvalidURL(e, request=request)
> E   requests.exceptions.InvalidURL: Not supported URL scheme http+unix
> __________________ test_unix_domain_adapter_connection_error 
> ___________________
> /usr/lib/python3/dist-packages/requests/adapters.py:633: in send
>     conn = self.get_connection_with_tls_context(
> /usr/lib/python3/dist-packages/requests/adapters.py:489: in 
> get_connection_with_tls_context
>     conn = self.poolmanager.connection_from_host(
> /usr/lib/python3/dist-packages/urllib3/poolmanager.py:303: in 
> connection_from_host
>     return self.connection_from_context(request_context)
> /usr/lib/python3/dist-packages/urllib3/poolmanager.py:325: in 
> connection_from_context
>     raise URLSchemeUnknown(scheme)
> E   urllib3.exceptions.URLSchemeUnknown: Not supported URL scheme http+unix
> 
> During handling of the above exception, another exception occurred:
> requests_unixsocket/tests/test_requests_unixsocket.py:77: in 
> test_unix_domain_adapter_connection_error
>     getattr(session, method)(
> /usr/lib/python3/dist-packages/requests/sessions.py:602: in get
>     return self.request("GET", url, **kwargs)
> /usr/lib/python3/dist-packages/requests/sessions.py:589: in request
>     resp = self.send(prep, **send_kwargs)
> /usr/lib/python3/dist-packages/requests/sessions.py:703: in send
>     r = adapter.send(request, **kwargs)
> /usr/lib/python3/dist-packages/requests/adapters.py:637: in send
>     raise InvalidURL(e, request=request)
> E   requests.exceptions.InvalidURL: Not supported URL scheme http+unix
> ______________ test_unix_domain_adapter_connection_proxies_error 
> _______________
> /usr/lib/python3/dist-packages/urllib3/connection.py:203: in _new_conn
>     sock = connection.create_connection(
> /usr/lib/python3/dist-packages/urllib3/util/connection.py:85: in 
> create_connection
>     raise err
> /usr/lib/python3/dist-packages/urllib3/util/connection.py:73: in 
> create_connection
>     sock.connect(sa)
> E   TimeoutError: [Errno 110] Connection timed out
> 
> The above exception was the direct cause of the following exception:
> /usr/lib/python3/dist-packages/urllib3/connectionpool.py:791: in urlopen
>     response = self._make_request(
> /usr/lib/python3/dist-packages/urllib3/connectionpool.py:497: in _make_request
>     conn.request(
> /usr/lib/python3/dist-packages/urllib3/connection.py:395: in request
>     self.endheaders()
> /usr/lib/python3.12/http/client.py:1331: in endheaders
>     self._send_output(message_body, encode_chunked=encode_chunked)
> /usr/lib/python3.12/http/client.py:1091: in _send_output
>     self.send(msg)
> /usr/lib/python3.12/http/client.py:1035: in send
>     self.connect()
> /usr/lib/python3/dist-packages/urllib3/connection.py:243: in connect
>     self.sock = self._new_conn()
> /usr/lib/python3/dist-packages/urllib3/connection.py:212: in _new_conn
>     raise ConnectTimeoutError(
> E   urllib3.exceptions.ConnectTimeoutError: 
> (<urllib3.connection.HTTPConnection object at 0x7ffb9c5b4290>, 'Connection to 
> 10.10.1.10 timed out. (connect timeout=None)')
> 
> The above exception was the direct cause of the following exception:
> Traceback (most recent call last):
>   File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 203, in 
> _new_conn
>     sock = connection.create_connection(
>            ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
>   File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 85, 
> in create_connection
>     raise err
>   File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 73, 
> in create_connection
>     sock.connect(sa)
> TimeoutError: [Errno 110] Connection timed out
> 
> The above exception was the direct cause of the following exception:
> 
> Traceback (most recent call last):
>   File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 791, 
> in urlopen
>     response = self._make_request(
>                ^^^^^^^^^^^^^^^^^^^
>   File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 497, 
> in _make_request
>     conn.request(
>   File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 395, in 
> request
>     self.endheaders()
>   File "/usr/lib/python3.12/http/client.py", line 1331, in endheaders
>     self._send_output(message_body, encode_chunked=encode_chunked)
>   File "/usr/lib/python3.12/http/client.py", line 1091, in _send_output
>     self.send(msg)
>   File "/usr/lib/python3.12/http/client.py", line 1035, in send
>     self.connect()
>   File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 243, in 
> connect
>     self.sock = self._new_conn()
>                 ^^^^^^^^^^^^^^^^
>   File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 212, in 
> _new_conn
>     raise ConnectTimeoutError(
> urllib3.exceptions.ConnectTimeoutError: (<urllib3.connection.HTTPConnection 
> object at 0x7ffb9c5b4290>, 'Connection to 10.10.1.10 timed out. (connect 
> timeout=None)')
> 
> The above exception was the direct cause of the following exception:
> 
> urllib3.exceptions.ProxyError: ('Unable to connect to proxy', 
> ConnectTimeoutError(<urllib3.connection.HTTPConnection object at 
> 0x7ffb9c5b4290>, 'Connection to 10.10.1.10 timed out. (connect 
> timeout=None)'))
> 
> The above exception was the direct cause of the following exception:
> /usr/lib/python3/dist-packages/requests/adapters.py:667: in send
>     resp = conn.urlopen(
> /usr/lib/python3/dist-packages/urllib3/connectionpool.py:845: in urlopen
>     retries = retries.increment(
> /usr/lib/python3/dist-packages/urllib3/util/retry.py:515: in increment
>     raise MaxRetryError(_pool, url, reason) from reason  # type: 
> ignore[arg-type]
> E   urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='10.10.1.10', 
> port=1080): Max retries exceeded with url: /path/to/page (Caused by 
> ProxyError('Unable to connect to proxy', 
> ConnectTimeoutError(<urllib3.connection.HTTPConnection object at 
> 0x7ffb9c5b4290>, 'Connection to 10.10.1.10 timed out. (connect 
> timeout=None)')))
> 
> During handling of the above exception, another exception occurred:
> requests_unixsocket/tests/test_requests_unixsocket.py:86: in 
> test_unix_domain_adapter_connection_proxies_error
>     getattr(session, method)(
> /usr/lib/python3/dist-packages/requests/sessions.py:602: in get
>     return self.request("GET", url, **kwargs)
> /usr/lib/python3/dist-packages/requests/sessions.py:589: in request
>     resp = self.send(prep, **send_kwargs)
> /usr/lib/python3/dist-packages/requests/sessions.py:703: in send
>     r = adapter.send(request, **kwargs)
> /usr/lib/python3/dist-packages/requests/adapters.py:694: in send
>     raise ProxyError(e, request=request)
> E   requests.exceptions.ProxyError: HTTPConnectionPool(host='10.10.1.10', 
> port=1080): Max retries exceeded with url: /path/to/page (Caused by 
> ProxyError('Unable to connect to proxy', 
> ConnectTimeoutError(<urllib3.connection.HTTPConnection object at 
> 0x7ffb9c5b4290>, 'Connection to 10.10.1.10 timed out. (connect 
> timeout=None)')))
> _____________________ test_unix_domain_adapter_monkeypatch 
> _____________________
> /usr/lib/python3/dist-packages/requests/adapters.py:633: in send
>     conn = self.get_connection_with_tls_context(
> /usr/lib/python3/dist-packages/requests/adapters.py:489: in 
> get_connection_with_tls_context
>     conn = self.poolmanager.connection_from_host(
> /usr/lib/python3/dist-packages/urllib3/poolmanager.py:303: in 
> connection_from_host
>     return self.connection_from_context(request_context)
> /usr/lib/python3/dist-packages/urllib3/poolmanager.py:325: in 
> connection_from_context
>     raise URLSchemeUnknown(scheme)
> E   urllib3.exceptions.URLSchemeUnknown: Not supported URL scheme http+unix
> 
> During handling of the above exception, another exception occurred:
> requests_unixsocket/tests/test_requests_unixsocket.py:102: in 
> test_unix_domain_adapter_monkeypatch
>     r = getattr(requests, method)(url)
> requests_unixsocket/__init__.py:51: in get
>     return request('get', url, **kwargs)
> requests_unixsocket/__init__.py:46: in request
>     return session.request(method=method, url=url, **kwargs)
> /usr/lib/python3/dist-packages/requests/sessions.py:589: in request
>     resp = self.send(prep, **send_kwargs)
> /usr/lib/python3/dist-packages/requests/sessions.py:703: in send
>     r = adapter.send(request, **kwargs)
> /usr/lib/python3/dist-packages/requests/adapters.py:637: in send
>     raise InvalidURL(e, request=request)
> E   requests.exceptions.InvalidURL: Not supported URL scheme http+unix
> =========================== short test summary info 
> ============================
> FAILED 
> requests_unixsocket/tests/test_requests_unixsocket.py::test_unix_domain_adapter_ok
> FAILED 
> requests_unixsocket/tests/test_requests_unixsocket.py::test_unix_domain_adapter_url_with_query_params
> FAILED 
> requests_unixsocket/tests/test_requests_unixsocket.py::test_unix_domain_adapter_connection_error
> FAILED 
> requests_unixsocket/tests/test_requests_unixsocket.py::test_unix_domain_adapter_connection_proxies_error
> FAILED 
> requests_unixsocket/tests/test_requests_unixsocket.py::test_unix_domain_adapter_monkeypatch
> ======================== 5 failed in 131.11s (0:02:11) 
> =========================
> make[1]: *** [debian/rules:22: override_dh_auto_test] Error 1


The full build log is available from:
http://qa-logs.debian.net/2024/06/15/python-requests-unixsocket_0.3.0-4_unstable.log

All bugs filed during this archive rebuild are listed at:
https://bugs.debian.org/cgi-bin/pkgreport.cgi?tag=ftbfs-20240615;users=lu...@debian.org
or:
https://udd.debian.org/bugs/?release=na&merged=ign&fnewerval=7&flastmodval=7&fusertag=only&fusertagtag=ftbfs-20240615&fusertaguser=lu...@debian.org&allbugs=1&cseverity=1&ctags=1&caffected=1#results

A list of current common problems and possible solutions is available at
http://wiki.debian.org/qa.debian.org/FTBFS . You're welcome to contribute!

If you reassign this bug to another package, please mark it as 'affects'-ing
this package. See https://www.debian.org/Bugs/server-control#affects

If you fail to reproduce this, please provide a build log and diff it with mine
so that we can identify if something relevant changed in the meantime.

Reply via email to