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 --------------------------------------------------------------------------------

