Source: python-certbot-dns-rfc2136
Version: 1.10.1-1
Severity: serious
Justification: FTBFS
Tags: bookworm sid ftbfs
User: lu...@debian.org
Usertags: ftbfs-20211023 ftbfs-bookworm

Hi,

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


Relevant part (hopefully):
> make[1]: Entering directory '/<<PKGBUILDDIR>>'
> dh_auto_build
> I: pybuild base:232: /usr/bin/python3 setup.py build 
> running build
> running build_py
> creating 
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.9_certbot-dns-rfc2136/build/certbot_dns_rfc2136
> copying certbot_dns_rfc2136/__init__.py -> 
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.9_certbot-dns-rfc2136/build/certbot_dns_rfc2136
> creating 
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.9_certbot-dns-rfc2136/build/certbot_dns_rfc2136/_internal
> copying certbot_dns_rfc2136/_internal/dns_rfc2136.py -> 
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.9_certbot-dns-rfc2136/build/certbot_dns_rfc2136/_internal
> copying certbot_dns_rfc2136/_internal/__init__.py -> 
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.9_certbot-dns-rfc2136/build/certbot_dns_rfc2136/_internal
> running egg_info
> writing certbot_dns_rfc2136.egg-info/PKG-INFO
> writing dependency_links to certbot_dns_rfc2136.egg-info/dependency_links.txt
> writing entry points to certbot_dns_rfc2136.egg-info/entry_points.txt
> writing requirements to certbot_dns_rfc2136.egg-info/requires.txt
> writing top-level names to certbot_dns_rfc2136.egg-info/top_level.txt
> reading manifest file 'certbot_dns_rfc2136.egg-info/SOURCES.txt'
> reading manifest template 'MANIFEST.in'
> warning: no previously-included files matching '__pycache__' found anywhere 
> in distribution
> warning: no previously-included files matching '*.py[cod]' found anywhere in 
> distribution
> adding license file 'LICENSE.txt'
> writing manifest file 'certbot_dns_rfc2136.egg-info/SOURCES.txt'
> PYTHONPATH=. \
>       http_proxy='127.0.0.1:9' \
>       https_proxy='127.0.0.1:9' \
>       sphinx-build -N -bhtml docs/ build/html
> Running Sphinx v4.2.0
> loading translations [en]... done
> making output directory... done
> WARNING: html_static_path entry '_static' does not exist
> loading intersphinx inventory from https://docs.python.org/objects.inv...
> loading intersphinx inventory from 
> https://acme-python.readthedocs.org/en/latest/objects.inv...
> loading intersphinx inventory from https://certbot.eff.org/docs/objects.inv...
> 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.InvalidURL'>: Proxy URL had no scheme, should 
> start with http:// or https://
> WARNING: failed to reach any of the inventories with the following issues:
> intersphinx inventory 
> 'https://acme-python.readthedocs.org/en/latest/objects.inv' not fetchable due 
> to <class 'requests.exceptions.InvalidURL'>: Proxy URL had no scheme, should 
> start with http:// or https://
> WARNING: failed to reach any of the inventories with the following issues:
> intersphinx inventory 'https://certbot.eff.org/docs/objects.inv' not 
> fetchable due to <class 'requests.exceptions.InvalidURL'>: Proxy URL had no 
> scheme, should start with http:// or https://
> building [mo]: targets for 0 po files that are out of date
> building [html]: targets for 2 source files that are out of date
> updating environment: [new config] 2 added, 0 changed, 0 removed
> reading sources... [ 50%] api
> reading sources... [100%] index
> 
> looking for now-outdated files... none found
> pickling environment... done
> checking consistency... done
> preparing documents... done
> writing output... [ 50%] api
> writing output... [100%] index
> 
> generating indices... genindex py-modindex done
> writing additional pages... search done
> copying static files... done
> copying extra files... done
> dumping search index in English (code: en)... done
> dumping object inventory... done
> build succeeded, 4 warnings.
> 
> The HTML pages are in build/html.
> make[1]: Leaving directory '/<<PKGBUILDDIR>>'
>    dh_auto_test -O--buildsystem=pybuild
> I: pybuild base:232: cd 
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.9_certbot-dns-rfc2136/build; python3.9 
> -m pytest tests
> ============================= test session starts 
> ==============================
> platform linux -- Python 3.9.7, pytest-6.2.5, py-1.10.0, pluggy-0.13.0
> rootdir: /<<PKGBUILDDIR>>
> collected 19 items
> 
> tests/dns_rfc2136_test.py .....FF............                            
> [100%]
> 
> =================================== FAILURES 
> ===================================
> ________________________ AuthenticatorTest.test_perform 
> ________________________
> 
> self = <dns_rfc2136_test.AuthenticatorTest testMethod=test_perform>
> 
>     def test_perform(self):
> >       self.auth.perform([self.achall])
> 
> tests/dns_rfc2136_test.py:46: 
> _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 
> _ 
> /usr/lib/python3/dist-packages/certbot/plugins/dns_common.py:73: in perform
>     display_util.notify("Waiting %d seconds for DNS changes to propagate" %
> /usr/lib/python3/dist-packages/certbot/display/util.py:55: in notify
>     obj.get_display().notification(msg, pause=False, decorate=False, 
> wrap=False)
> _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 
> _ 
> 
>     def get_display() -> Any:
>         """Get the display utility.
>     
>         :return: the display utility
>         :rtype: IDisplay
>         :raise: ValueError if the display utility is not configured yet.
>     
>         """
>         if not _SERVICE.display:
> >           raise ValueError("This function was called too early in Certbot's 
> > execution "
>                              "as the display utility hasn't been configured 
> yet.")
> E           ValueError: This function was called too early in Certbot's 
> execution as the display utility hasn't been configured yet.
> 
> /usr/lib/python3/dist-packages/certbot/_internal/display/obj.py:538: 
> ValueError
> ________________ AuthenticatorTest.test_valid_algorithm_passes 
> _________________
> 
> self = <dns_rfc2136_test.AuthenticatorTest 
> testMethod=test_valid_algorithm_passes>
> 
>     def test_valid_algorithm_passes(self):
>         config = VALID_CONFIG.copy()
>         config["rfc2136_algorithm"] = "HMAC-sha512"
>         dns_test_common.write(config, self.config.rfc2136_credentials)
>     
> >       self.auth.perform([self.achall])
> 
> tests/dns_rfc2136_test.py:73: 
> _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 
> _ 
> /usr/lib/python3/dist-packages/certbot/plugins/dns_common.py:73: in perform
>     display_util.notify("Waiting %d seconds for DNS changes to propagate" %
> /usr/lib/python3/dist-packages/certbot/display/util.py:55: in notify
>     obj.get_display().notification(msg, pause=False, decorate=False, 
> wrap=False)
> _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 
> _ 
> 
>     def get_display() -> Any:
>         """Get the display utility.
>     
>         :return: the display utility
>         :rtype: IDisplay
>         :raise: ValueError if the display utility is not configured yet.
>     
>         """
>         if not _SERVICE.display:
> >           raise ValueError("This function was called too early in Certbot's 
> > execution "
>                              "as the display utility hasn't been configured 
> yet.")
> E           ValueError: This function was called too early in Certbot's 
> execution as the display utility hasn't been configured yet.
> 
> /usr/lib/python3/dist-packages/certbot/_internal/display/obj.py:538: 
> ValueError
> =============================== warnings summary 
> ===============================
> ../../../../../../usr/lib/python3/dist-packages/certbot/tests/util.py:38
>   /usr/lib/python3/dist-packages/certbot/tests/util.py:38: 
> PendingDeprecationWarning: The external mock module is being used for 
> backwards compatibility since it is available, however, future versions of 
> Certbot's tests will use unittest.mock. Be sure to update your code 
> accordingly.
>     warnings.warn(
> 
> -- Docs: https://docs.pytest.org/en/stable/warnings.html
> =========================== short test summary info 
> ============================
> FAILED tests/dns_rfc2136_test.py::AuthenticatorTest::test_perform - 
> ValueErro...
> FAILED 
> tests/dns_rfc2136_test.py::AuthenticatorTest::test_valid_algorithm_passes
> =================== 2 failed, 17 passed, 1 warning in 0.38s 
> ====================
> E: pybuild pybuild:354: test: plugin distutils failed with: exit code=1: cd 
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.9_certbot-dns-rfc2136/build; python3.9 
> -m pytest tests
> dh_auto_test: error: pybuild --test --test-pytest -i python{version} -p 3.9 
> returned exit code 13


The full build log is available from:
http://qa-logs.debian.net/2021/10/23/python-certbot-dns-rfc2136_1.10.1-1_unstable.log

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