Package: python3-urllib3
Version: 2.0.7-2
Severity: important

Dear maintainer:

During a rebuild of all packages in unstable, the following two
packages failed to build:

pytest-httpbin
vcr.py

Both have python3-urllib3 in their build-depends, and the way
they fail is quite similar:

This is pytest-httpbin:

------------------------------------------------------------------------------
[...]
        if new_retry.is_exhausted():
            reason = error or ResponseError(cause)
          raise MaxRetryError(_pool, url, reason) from reason  # type: 
ignore[arg-type]
E           urllib3.exceptions.MaxRetryError: 
HTTPSConnectionPool(host='127.0.0.1', port=35819): Max retries exceeded with 
url: /post (Caused by SSLError(SSLEOFError(8, 'EOF occurred in violation of 
protocol (_ssl.c:2417)')))

/usr/lib/python3/dist-packages/urllib3/util/retry.py:515: MaxRetryError
------------------------------------------------------------------------------

and this is vcr.py:

------------------------------------------------------------------------------
[...]
        if new_retry.is_exhausted():
            reason = error or ResponseError(cause)
          raise MaxRetryError(_pool, url, reason) from reason  # type: 
ignore[arg-type]
E           urllib3.exceptions.MaxRetryError: 
HTTPSConnectionPool(host='127.0.0.1', port=46431): Max retries exceeded with 
url: /post (Caused by SSLError(SSLEOFError(8, 'EOF occurred in violation of 
protocol (_ssl.c:2417)')))

/usr/lib/python3/dist-packages/urllib3/util/retry.py:515: MaxRetryError
------------------------------------------------------------------------------

This suggests that the root cause may be in python3-urllib3.

The strange thing is that the build succeeds on machines
with 2 CPUs, but it fails 100% of the time if the machine
has a single-CPU.

[ Some people do not consider this to be RC, but AFAIK, none of
  those two packages are related to parallel processing,
  so why should they fail at all? ]

I've put build logs here:

https://people.debian.org/~sanvila/build-logs/202411/

and as always, if you need a machine to reproduce, you can
contact me privately and I will gladly provide a VM.

(In this case, please try GRUB_CMDLINE_LINUX="nr_cpus=1" first).

Thanks.

Reply via email to