Your message dated Thu, 19 Feb 2026 03:19:55 +0000
with message-id <[email protected]>
and subject line Bug#1127524: fixed in python-certbot 4.0.0-4
has caused the Debian Bug report #1127524,
regarding python-certbot: FTBFS: FAILED 
certbot/_internal/tests/ocsp_test.py::OCSPTestOpenSSL::test_translate_ocsp
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact [email protected]
immediately.)


-- 
1127524: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1127524
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Package: src:python-certbot
Version: 4.0.0-3
Severity: serious
Tags: ftbfs forky sid

Dear maintainer:

During a rebuild of all packages in unstable, this package failed to build.

Below you will find the last part of the build log (probably the most
relevant part, but not necessarily). If required, the full build log
is available here:

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

About the archive rebuild: The build was made on virtual machines from AWS,
using sbuild and a reduced chroot with only build-essential packages.

If you cannot reproduce the bug please contact me privately, as I
am willing to provide ssh access to a virtual machine where the bug is
fully reproducible.

If this is really a bug in one of the build-depends, please use
reassign and add an affects on src:python-certbot, so that this is still
visible in the BTS web page for this package.

Thanks.

--------------------------------------------------------------------------------
[...]
 debian/rules clean
dh clean --with sphinxdoc --buildsystem=pybuild
   dh_auto_clean -O--buildsystem=pybuild
I: pybuild base:384: python3.13 setup.py clean 
/usr/lib/python3/dist-packages/setuptools/dist.py:759: 
SetuptoolsDeprecationWarning: License classifiers are deprecated.
!!

        
********************************************************************************
        Please consider removing the following classifiers in favor of a SPDX 
license expression:

        License :: OSI Approved :: Apache Software License

        See 
https://packaging.python.org/en/latest/guides/writing-pyproject-toml/#license 
for details.
        
********************************************************************************


[... snipped ...]

writing output... [ 60%] api/certbot.plugins.util
writing output... [ 62%] api/certbot.reverter
writing output... [ 65%] api/certbot.tests
writing output... [ 68%] api/certbot.tests.acme_util
writing output... [ 70%] api/certbot.tests.util
writing output... [ 72%] api/certbot.util
writing output... [ 75%] ciphers
writing output... [ 78%] compatibility
writing output... [ 80%] contributing
writing output... [ 82%] index
writing output... [ 85%] install
writing output... [ 88%] intro
writing output... [ 90%] man/certbot
writing output... [ 92%] packaging
writing output... [ 95%] resources
writing output... [ 98%] using
writing output... [100%] what

generating indices... genindex py-modindex done
highlighting module code... [  4%] certbot.achallenges
highlighting module code... [  9%] certbot.compat.filesystem
highlighting module code... [ 13%] certbot.compat.misc
highlighting module code... [ 17%] certbot.compat.os
highlighting module code... [ 22%] certbot.crypto_util
highlighting module code... [ 26%] certbot.display.ops
highlighting module code... [ 30%] certbot.display.util
highlighting module code... [ 35%] certbot.errors
highlighting module code... [ 39%] certbot.interfaces
highlighting module code... [ 43%] certbot.main
highlighting module code... [ 48%] certbot.ocsp
highlighting module code... [ 52%] certbot.plugins.common
highlighting module code... [ 57%] certbot.plugins.dns_common
highlighting module code... [ 61%] certbot.plugins.dns_common_lexicon
highlighting module code... [ 65%] certbot.plugins.dns_test_common
highlighting module code... [ 70%] certbot.plugins.dns_test_common_lexicon
highlighting module code... [ 74%] certbot.plugins.enhancements
highlighting module code... [ 78%] certbot.plugins.storage
highlighting module code... [ 83%] certbot.plugins.util
highlighting module code... [ 87%] certbot.reverter
highlighting module code... [ 91%] certbot.tests.acme_util
highlighting module code... [ 96%] certbot.tests.util
highlighting module code... [100%] certbot.util

writing additional pages... search done
dumping search index in English (code: en)... done
dumping object inventory... done
build succeeded, 2 warnings.

The HTML pages are in build/html.
http_proxy='127.0.0.1:9' \
        https_proxy='127.0.0.1:8' \
        sphinx-build -N -bman docs/ build/man
Running Sphinx v8.2.3
loading translations [en]... done
Converting `source_suffix = '.rst'` to `source_suffix = {'.rst': 
'restructuredtext'}`.
loading intersphinx inventory 'python' from https://docs.python.org/objects.inv 
...
loading intersphinx inventory 'acme' from 
https://acme-python.readthedocs.io/en/latest/objects.inv ...
WARNING: failed to reach any of the inventories with the following issues:
intersphinx inventory 
'https://acme-python.readthedocs.io/en/latest/objects.inv' not fetchable due to 
<class 'requests.exceptions.ProxyError'>: 
HTTPSConnectionPool(host='acme-python.readthedocs.io', port=443): Max retries 
exceeded with url: /en/latest/objects.inv (Caused by ProxyError('Unable to 
connect to proxy', NewConnectionError("HTTPSConnection(host='127.0.0.1', 
port=8): Failed to establish a new connection: [Errno 111] Connection 
refused")))
WARNING: failed to reach any of the inventories with the following issues:
intersphinx inventory 'https://docs.python.org/objects.inv' not fetchable due 
to <class 'requests.exceptions.ProxyError'>: 
HTTPSConnectionPool(host='docs.python.org', port=443): Max retries exceeded 
with url: /objects.inv (Caused by ProxyError('Unable to connect to proxy', 
NewConnectionError("HTTPSConnection(host='127.0.0.1', port=8): Failed to 
establish a new connection: [Errno 111] Connection refused")))
building [mo]: targets for 0 po files that are out of date
writing output... 
building [man]: all manpages
updating environment: [new config] 40 added, 0 changed, 0 removed
reading sources... [  2%] api
reading sources... [  5%] api/certbot
reading sources... [  8%] api/certbot.achallenges
reading sources... [ 10%] api/certbot.compat
reading sources... [ 12%] api/certbot.compat.filesystem
reading sources... [ 15%] api/certbot.compat.misc
reading sources... [ 18%] api/certbot.compat.os
reading sources... [ 20%] api/certbot.crypto_util
reading sources... [ 22%] api/certbot.display
reading sources... [ 25%] api/certbot.display.ops
reading sources... [ 28%] api/certbot.display.util
reading sources... [ 30%] api/certbot.errors
reading sources... [ 32%] api/certbot.interfaces
reading sources... [ 35%] api/certbot.main
reading sources... [ 38%] api/certbot.ocsp
reading sources... [ 40%] api/certbot.plugins
reading sources... [ 42%] api/certbot.plugins.common
reading sources... [ 45%] api/certbot.plugins.dns_common
reading sources... [ 48%] api/certbot.plugins.dns_common_lexicon
reading sources... [ 50%] api/certbot.plugins.dns_test_common
reading sources... [ 52%] api/certbot.plugins.dns_test_common_lexicon
reading sources... [ 55%] api/certbot.plugins.enhancements
reading sources... [ 57%] api/certbot.plugins.storage
reading sources... [ 60%] api/certbot.plugins.util
reading sources... [ 62%] api/certbot.reverter
reading sources... [ 65%] api/certbot.tests
reading sources... [ 68%] api/certbot.tests.acme_util
reading sources... [ 70%] api/certbot.tests.util
reading sources... [ 72%] api/certbot.util
reading sources... [ 75%] ciphers
reading sources... [ 78%] compatibility
reading sources... [ 80%] contributing
reading sources... [ 82%] index
reading sources... [ 85%] install
reading sources... [ 88%] intro
reading sources... [ 90%] man/certbot
reading sources... [ 92%] packaging
reading sources... [ 95%] resources
reading sources... [ 98%] using
reading sources... [100%] what

looking for now-outdated files... none found
pickling environment... done
checking consistency... done
preparing documents... done
copying assets... 
copying assets: done
writing... certbot.7 { 
 intro
 what
 install
 using
 contributing
 packaging
 compatibility
 resources
  api
   api/certbot
    api/certbot.compat
     api/certbot.compat.filesystem
     api/certbot.compat.misc
     api/certbot.compat.os
    api/certbot.display
     api/certbot.display.ops
     api/certbot.display.util
    api/certbot.plugins
     api/certbot.plugins.common
     api/certbot.plugins.dns_common
     api/certbot.plugins.dns_common_lexicon
     api/certbot.plugins.dns_test_common
     api/certbot.plugins.dns_test_common_lexicon
     api/certbot.plugins.enhancements
     api/certbot.plugins.storage
     api/certbot.plugins.util
    api/certbot.tests
     api/certbot.tests.acme_util
     api/certbot.tests.util
     api/certbot.achallenges
     api/certbot.crypto_util
     api/certbot.errors
     api/certbot.interfaces
     api/certbot.main
     api/certbot.ocsp
     api/certbot.reverter
     api/certbot.util
} certbot.1 { 
} done
build succeeded, 2 warnings.

The manual pages are in build/man.
if [ -z  ]; then dh_auto_test; fi # see override_dh_auto_test
I: pybuild base:384: cd /<<PKGBUILDDIR>>/.pybuild/cpython3_3.13_certbot/build; 
python3.13 -m pytest 
============================= test session starts ==============================
platform linux -- Python 3.13.12, pytest-9.0.2, pluggy-1.6.0
rootdir: /<<PKGBUILDDIR>>
plugins: typeguard-4.4.4
collected 1023 items

certbot/_internal/tests/account_test.py ................................ [  3%]
.                                                                        [  3%]
certbot/_internal/tests/auth_handler_test.py ........................... [  5%]
                                                                         [  5%]
certbot/_internal/tests/cert_manager_test.py ........................... [  8%]
.............                                                            [  9%]
certbot/_internal/tests/cli_test.py .................................... [ 13%]
........                                                                 [ 14%]
certbot/_internal/tests/client_test.py ................................. [ 17%]
.......................                                                  [ 19%]
certbot/_internal/tests/compat/filesystem_test.py sssssssss...sss..sss.. [ 21%]
ss....s.........ss.                                                      [ 23%]
certbot/_internal/tests/compat/os_test.py .                              [ 23%]
certbot/_internal/tests/configuration_test.py ............               [ 24%]
certbot/_internal/tests/crypto_util_test.py ............................ [ 27%]
......................                                                   [ 29%]
certbot/_internal/tests/display/completer_test.py .....                  [ 30%]
certbot/_internal/tests/display/internal_util_test.py .................. [ 31%]
.                                                                        [ 32%]
certbot/_internal/tests/display/obj_test.py ............................ [ 34%]
......                                                                   [ 35%]
certbot/_internal/tests/display/ops_test.py ............................ [ 38%]
.............                                                            [ 39%]
certbot/_internal/tests/display/util_test.py .......                     [ 40%]
certbot/_internal/tests/eff_test.py ............                         [ 41%]
certbot/_internal/tests/error_handler_test.py ............               [ 42%]
certbot/_internal/tests/errors_test.py ....                              [ 42%]
certbot/_internal/tests/helpful_test.py ...........                      [ 43%]
certbot/_internal/tests/hook_test.py ................................... [ 47%]
                                                                         [ 47%]
certbot/_internal/tests/lock_test.py .........                           [ 48%]
certbot/_internal/tests/log_test.py ..........................           [ 50%]
certbot/_internal/tests/main_test.py ................................... [ 54%]
........................................................................ [ 61%]
.................................................                        [ 65%]
certbot/_internal/tests/ocsp_test.py ...F.....                           [ 66%]
certbot/_internal/tests/plugins/common_test.py ......................... [ 69%]
.......                                                                  [ 69%]
certbot/_internal/tests/plugins/disco_test.py .......................... [ 72%]
..                                                                       [ 72%]
certbot/_internal/tests/plugins/dns_common_test.py ..................... [ 74%]
...                                                                      [ 75%]
certbot/_internal/tests/plugins/enhancements_test.py ....                [ 75%]
certbot/_internal/tests/plugins/manual_test.py .........                 [ 76%]
certbot/_internal/tests/plugins/null_test.py .                           [ 76%]
certbot/_internal/tests/plugins/selection_test.py ....................   [ 78%]
certbot/_internal/tests/plugins/standalone_test.py .............         [ 79%]
certbot/_internal/tests/plugins/storage_test.py ........                 [ 80%]
certbot/_internal/tests/plugins/util_test.py ..                          [ 80%]
certbot/_internal/tests/plugins/webroot_test.py ....ss...........s...... [ 82%]
.                                                                        [ 83%]
certbot/_internal/tests/renewal_test.py .....................            [ 85%]
certbot/_internal/tests/renewupdater_test.py ..........                  [ 86%]
certbot/_internal/tests/reverter_test.py ..........................F     [ 88%]
certbot/_internal/tests/storage_test.py ................................ [ 91%]
.................                                                        [ 93%]
certbot/_internal/tests/util_test.py ................................... [ 96%]
...............................                                          [100%]

=================================== FAILURES ===================================
_____________________ OCSPTestOpenSSL.test_translate_ocsp ______________________

self = <certbot._internal.tests.ocsp_test.OCSPTestOpenSSL 
testMethod=test_translate_ocsp>
mock_run = <MagicMock name='run_script' id='140106062538336'>
mock_log = <MagicMock name='logger' id='140106062528928'>

    @mock.patch('certbot.ocsp.logger')
    @mock.patch('certbot.util.run_script')
    def test_translate_ocsp(self, mock_run, mock_log):
        # pylint: disable=protected-access
        mock_run.return_value = openssl_confused
        from certbot import ocsp
        assert ocsp._translate_ocsp_query(*openssl_happy) is False
        assert ocsp._translate_ocsp_query(*openssl_confused) is False
        assert mock_log.debug.call_count == 1
        assert mock_log.warning.call_count == 0
        mock_log.debug.call_count = 0
        assert ocsp._translate_ocsp_query(*openssl_unknown) is False
>       assert mock_log.debug.call_count == 1
E       AssertionError: assert 2 == 1
E        +  where 2 = <MagicMock name='logger.debug' 
id='140106062594128'>.call_count
E        +    where <MagicMock name='logger.debug' id='140106062594128'> = 
<MagicMock name='logger' id='140106062528928'>.debug

certbot/_internal/tests/ocsp_test.py:115: AssertionError
______________ TestFullCheckpointsReverter.test_rollback_too_many ______________

self = <certbot._internal.tests.reverter_test.TestFullCheckpointsReverter 
testMethod=test_rollback_too_many>
mock_logger = <MagicMock name='logger' id='140106044538368'>

    @mock.patch("certbot.reverter.logger")
    def test_rollback_too_many(self, mock_logger):
        # Test no exist warning...
        self.reverter.rollback_checkpoints(1)
        assert mock_logger.warning.call_count == 1
    
        # Test Generic warning
        self._setup_three_checkpoints()
        mock_logger.warning.call_count = 0
        self.reverter.rollback_checkpoints(4)
>       assert mock_logger.warning.call_count == 1
E       AssertionError: assert 2 == 1
E        +  where 2 = <MagicMock name='logger.warning' 
id='140106044530640'>.call_count
E        +    where <MagicMock name='logger.warning' id='140106044530640'> = 
<MagicMock name='logger' id='140106044538368'>.warning

certbot/_internal/tests/reverter_test.py:364: AssertionError
=========================== short test summary info ============================
FAILED 
certbot/_internal/tests/ocsp_test.py::OCSPTestOpenSSL::test_translate_ocsp
FAILED 
certbot/_internal/tests/reverter_test.py::TestFullCheckpointsReverter::test_rollback_too_many
================== 2 failed, 998 passed, 23 skipped in 15.56s ==================
E: pybuild pybuild:483: test: plugin distutils failed with: exit code=1: cd 
/<<PKGBUILDDIR>>/.pybuild/cpython3_3.13_certbot/build; python3.13 -m pytest 
dh_auto_test: error: pybuild --test --test-pytest -i python{version} -p 3.13 
returned exit code 13
make[1]: *** [debian/rules:26: override_dh_install] Error 25
make[1]: Leaving directory '/<<PKGBUILDDIR>>'
make: *** [debian/rules:12: binary] Error 2
dpkg-buildpackage: error: debian/rules binary subprocess failed with exit 
status 2
--------------------------------------------------------------------------------

--- End Message ---
--- Begin Message ---
Source: python-certbot
Source-Version: 4.0.0-4
Done: Harlan Lieberman-Berg <[email protected]>

We believe that the bug you reported is fixed in the latest version of
python-certbot, which is due to be installed in the Debian FTP archive.

A summary of the changes between this version and the previous one is
attached.

Thank you for reporting the bug, which will now be closed.  If you
have further comments please address them to [email protected],
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Harlan Lieberman-Berg <[email protected]> (supplier of updated 
python-certbot package)

(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing [email protected])


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA512

Format: 1.8
Date: Wed, 18 Feb 2026 20:12:29 -0600
Source: python-certbot
Architecture: source
Version: 4.0.0-4
Distribution: unstable
Urgency: medium
Maintainer: Debian Let's Encrypt <[email protected]>
Changed-By: Harlan Lieberman-Berg <[email protected]>
Closes: 1127524
Changes:
 python-certbot (4.0.0-4) unstable; urgency=medium
 .
   * Import patch to fix mock race test failure (Closes: #1127524)
Checksums-Sha1:
 49fd40c0336109efe8e4c6e41228e37e2cd5b540 2731 python-certbot_4.0.0-4.dsc
 17cc27f52df6e412ae02183b362df7f5e4a36ef7 31680 
python-certbot_4.0.0-4.debian.tar.xz
 263502f1d454cdc4fb36fc2fca06f50195712c73 8890 
python-certbot_4.0.0-4_amd64.buildinfo
Checksums-Sha256:
 2d6928085d3b55fe0bfa9b5a487dfa64ddcc070268d2f9b74c32da83b2f749d7 2731 
python-certbot_4.0.0-4.dsc
 53a3cd732993f6b48584da650c1402f374c279bd306c04cc1798a5a3125b661f 31680 
python-certbot_4.0.0-4.debian.tar.xz
 9442b153d872a6e2b45a1ea0c853c5c27f043932337f1a6c7ad4cea48f0ea16a 8890 
python-certbot_4.0.0-4_amd64.buildinfo
Files:
 4e1ba345ddbb55065da358f633503126 2731 python optional 
python-certbot_4.0.0-4.dsc
 01df836860f9bd09f5d6d22c34ea44a0 31680 python optional 
python-certbot_4.0.0-4.debian.tar.xz
 b215768ddb66c5474a4c1d9e108520e7 8890 python optional 
python-certbot_4.0.0-4_amd64.buildinfo

-----BEGIN PGP SIGNATURE-----

iQKqBAEBCgCUFiEEkJuOyk/uboEDRScmmz8iVE6a9FEFAmmWfCxfFIAAAAAALgAo
aXNzdWVyLWZwckBub3RhdGlvbnMub3BlbnBncC5maWZ0aGhvcnNlbWFuLm5ldDkw
OUI4RUNBNEZFRTZFODEwMzQ1MjcyNjlCM0YyMjU0NEU5QUY0NTEWHGhsaWViZXJt
YW5AZGViaWFuLm9yZwAKCRCbPyJUTpr0UVtSD/4g8HbP6aFgb42lw/BoIngWRKo/
ws8PUfSz0YicRYSg/4EryCWDVc8vDnnANg3z+pqgNsL+E7gwT4AAO3il1pbP5ILy
YCcTRkpOtUjeA3WnGYA5UXbqhKeu71t42yV3oUnMmCGnwhrU8IuNp+ZWXAmnqXHq
o/99Wz8yicDIB7ZTfW6r5jPFznFz/k45/v8HiFG+8N3jsXTTdiVx2kI1Y44337A/
MHoHdueKpll7QnChwPhw82k6mWXrGncSa78fujrt74Ldv1hCMjIfo7RaWrcmrw4L
3jOLgbNcqFldGBta+0Vyxy74gG58P+wsbkvsdQwEKqg7LGNkkRJ/o9fYelEhdRUT
qQ8uVYBHqJhfHpginsBJr7RS4CVZMqrsWAa0HmaT9FKIYwwvFJDN8tYZWZzYN4Cp
6xqlYa5OHS/3k9IUQJJPzAxUR5bV0lTd3x9uw9yca09tT8hFOuPuh14R2oBki62O
+IpVBziSPtiGIGpKuw8pUqgk3jOUQK8tz4qOXK8DyCFOlACcWiN/Ex7UI2IkXotP
4K2KNqnhiC8WSlqRuMKlhjND6mqeM3WrK37l8aVgIdbAgZ6zcXO43ajoBY33tskJ
URdLv4Uxz9m+otQDmKYV6P8Rql15B4N8HPUhbO8dI7s58dwc7OkyozMJbEvMy77q
Y9gAI5a1X8qq56mzmA==
=/4CF
-----END PGP SIGNATURE-----

Attachment: pgpA0m3GKcY0o.pgp
Description: PGP signature


--- End Message ---

Reply via email to