Package: src:ripe-atlas-tools
Version: 3.3.1-2
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/202605/

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:ripe-atlas-tools, 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
   dh_autoreconf_clean -O--buildsystem=pybuild
   dh_clean -O--buildsystem=pybuild
   debian/rules execute_after_dh_clean
make[1]: Entering directory '/<<PKGBUILDDIR>>'
rm -rf docs/_build
rm -rf docs/build
rm -rf ripe.atlas.tools.egg-info
make[1]: Leaving directory '/<<PKGBUILDDIR>>'
 debian/rules binary
dh binary  --with=sphinxdoc --buildsystem=pybuild
   dh_update_autotools_config -O--buildsystem=pybuild
   dh_autoreconf -O--buildsystem=pybuild

[... snipped ...]

adding 'ripe/atlas/tools/commands/configure.py'
adding 'ripe/atlas/tools/commands/go.py'
adding 'ripe/atlas/tools/commands/measurement_info.py'
adding 'ripe/atlas/tools/commands/measurement_search.py'
adding 'ripe/atlas/tools/commands/probe_info.py'
adding 'ripe/atlas/tools/commands/probe_search.py'
adding 'ripe/atlas/tools/commands/report.py'
adding 'ripe/atlas/tools/commands/shibboleet.py'
adding 'ripe/atlas/tools/commands/stream.py'
adding 'ripe/atlas/tools/commands/measure/__init__.py'
adding 'ripe/atlas/tools/commands/measure/base.py'
adding 'ripe/atlas/tools/commands/measure/dns.py'
adding 'ripe/atlas/tools/commands/measure/http.py'
adding 'ripe/atlas/tools/commands/measure/ntp.py'
adding 'ripe/atlas/tools/commands/measure/ping.py'
adding 'ripe/atlas/tools/commands/measure/spec.py'
adding 'ripe/atlas/tools/commands/measure/sslcert.py'
adding 'ripe/atlas/tools/commands/measure/traceroute.py'
adding 'ripe/atlas/tools/helpers/__init__.py'
adding 'ripe/atlas/tools/helpers/actions.py'
adding 'ripe/atlas/tools/helpers/colours.py'
adding 'ripe/atlas/tools/helpers/sanitisers.py'
adding 'ripe/atlas/tools/helpers/tabular.py'
adding 'ripe/atlas/tools/helpers/validators.py'
adding 'ripe/atlas/tools/helpers/xdg.py'
adding 'ripe/atlas/tools/renderers/__init__.py'
adding 'ripe/atlas/tools/renderers/base.py'
adding 'ripe/atlas/tools/renderers/dns.py'
adding 'ripe/atlas/tools/renderers/dns_compact.py'
adding 'ripe/atlas/tools/renderers/dst_asn.py'
adding 'ripe/atlas/tools/renderers/http.py'
adding 'ripe/atlas/tools/renderers/ntp.py'
adding 'ripe/atlas/tools/renderers/ping.py'
adding 'ripe/atlas/tools/renderers/raw.py'
adding 'ripe/atlas/tools/renderers/ssl_consistency.py'
adding 'ripe/atlas/tools/renderers/sslcert.py'
adding 'ripe/atlas/tools/renderers/traceroute.py'
adding 'ripe/atlas/tools/renderers/traceroute_aspath.py'
adding 'ripe/atlas/tools/renderers/templates/reports/aggregate_ping.txt'
adding 'ripe/atlas/tools/renderers/templates/reports/dns.txt'
adding 'ripe/atlas/tools/renderers/templates/reports/ssl_consistency.txt'
adding 'ripe/atlas/tools/renderers/templates/reports/sslcert.txt'
adding 'ripe/atlas/tools/settings/__init__.py'
adding 'ripe/atlas/tools/settings/templates/base.yaml'
adding 'ripe_atlas_tools-3.3.1.data/scripts/adig'
adding 'ripe_atlas_tools-3.3.1.data/scripts/ahttp'
adding 'ripe_atlas_tools-3.3.1.data/scripts/antp'
adding 'ripe_atlas_tools-3.3.1.data/scripts/aping'
adding 'ripe_atlas_tools-3.3.1.data/scripts/asslcert'
adding 'ripe_atlas_tools-3.3.1.data/scripts/atraceroute'
adding 'ripe_atlas_tools-3.3.1.data/scripts/ripe-atlas'
adding 'ripe_atlas_tools-3.3.1.dist-info/licenses/LICENSE'
adding 'ripe_atlas_tools-3.3.1.dist-info/METADATA'
adding 'ripe_atlas_tools-3.3.1.dist-info/WHEEL'
adding 'ripe_atlas_tools-3.3.1.dist-info/namespace_packages.txt'
adding 'ripe_atlas_tools-3.3.1.dist-info/top_level.txt'
adding 'ripe_atlas_tools-3.3.1.dist-info/RECORD'
removing build/bdist.linux-x86_64/wheel
Successfully built ripe_atlas_tools-3.3.1-py3-none-any.whl
I: pybuild plugin_pyproject:168: Unpacking wheel built for python3.13 with 
"installer" module
   debian/rules execute_after_dh_auto_build
make[1]: Entering directory '/<<PKGBUILDDIR>>'
/usr/bin/make -C docs html
make[2]: Entering directory '/<<PKGBUILDDIR>>/docs'
sphinx-build -b html -d _build/doctrees   . _build/html
Running Sphinx v9.1.0
WARNING: Calling get_html_theme_path is deprecated. If you are calling it to 
define html_theme_path, you are safe to remove that code.
loading translations [en]... done
Converting `source_suffix = '.rst'` to `source_suffix = {'.rst': 
'restructuredtext'}`.
loading intersphinx inventory 'python' from http://docs.python.org/objects.inv 
...
WARNING: failed to reach any of the inventories with the following issues:
intersphinx inventory 'http://docs.python.org/objects.inv' not fetchable due to 
<class 'requests.exceptions.ConnectionError'>: 
HTTPConnectionPool(host='docs.python.org', port=80): Max retries exceeded with 
url: /objects.inv (Caused by 
NameResolutionError("HTTPConnection(host='docs.python.org', port=80): Failed to 
resolve 'docs.python.org' ([Errno -3] Temporary failure in name resolution)"))
building [mo]: targets for 0 po files that are out of date
writing output... 
building [html]: targets for 9 source files that are out of date
updating environment: [new config] 9 added, 0 changed, 0 removed
reading sources... [ 11%] changelog
reading sources... [ 22%] contributing
reading sources... [ 33%] index
reading sources... [ 44%] installation
reading sources... [ 56%] packaging
reading sources... [ 67%] plugins
reading sources... [ 78%] quickstart
reading sources... [ 89%] troubleshooting
reading sources... [100%] use

looking for now-outdated files... none found
pickling environment... done
checking consistency... done
preparing documents... done
copying assets... 
copying static files... 
Writing evaluated template result to 
/<<PKGBUILDDIR>>/docs/_build/html/_static/documentation_options.js
Writing evaluated template result to 
/<<PKGBUILDDIR>>/docs/_build/html/_static/language_data.js
Writing evaluated template result to 
/<<PKGBUILDDIR>>/docs/_build/html/_static/basic.css
Writing evaluated template result to 
/<<PKGBUILDDIR>>/docs/_build/html/_static/js/versions.js
copying static files: done
copying extra files... 
copying extra files: done
copying assets: done
writing output... [ 11%] changelog
writing output... [ 22%] contributing
writing output... [ 33%] index
writing output... [ 44%] installation
writing output... [ 56%] packaging
writing output... [ 67%] plugins
writing output... [ 78%] quickstart
writing output... [ 89%] troubleshooting
writing output... [100%] use

generating indices... genindex done
highlighting module code... 
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.

Build finished. The HTML pages are in _build/html.
make[2]: Leaving directory '/<<PKGBUILDDIR>>/docs'
make[1]: Leaving directory '/<<PKGBUILDDIR>>'
   dh_auto_test -O--buildsystem=pybuild
I: pybuild base:385: cd /<<PKGBUILDDIR>>/.pybuild/cpython3_3.14/build; 
python3.14 -m pytest tests/ -k '    not test_arg_from_file and not 
test_arg_from_stdin and not test_html_documentation and not 
test_text_documentation '
============================= test session starts ==============================
platform linux -- Python 3.14.5, pytest-9.0.3, pluggy-1.6.0
rootdir: /<<PKGBUILDDIR>>
plugins: typeguard-4.4.4
collected 176 items / 4 deselected / 172 selected

tests/aggregators/test_aggregators.py ..........                         [  5%]
tests/commands/test_alias.py ...........                                 [ 12%]
tests/commands/test_base.py .....                                        [ 15%]
tests/commands/test_loading.py ..                                        [ 16%]
tests/commands/test_measure.py .F........................                [ 31%]
tests/commands/test_measurement_search.py .....                          [ 34%]
tests/commands/test_probe_search.py .............................        [ 51%]
tests/commands/test_report.py ...................                        [ 62%]
tests/helpers/test_sanitisers.py ..                                      [ 63%]
tests/helpers/test_validators.py ........                                [ 68%]
tests/renderers/test_dns_compact.py ....                                 [ 70%]
tests/renderers/test_http.py ..                                          [ 71%]
tests/renderers/test_ping.py .........                                   [ 76%]
tests/renderers/test_raw.py .                                            [ 77%]
tests/renderers/test_ssl_consistency.py ........                         [ 81%]
tests/renderers/test_traceroute_aspath.py ..                             [ 83%]
tests/test_bash_completion.py .....                                      [ 86%]
tests/test_filters.py .......                                            [ 90%]
tests/test_ipdetails.py .................                                [100%]

=================================== FAILURES ===================================
____________________ TestMeasureCommand.test_add_arguments _____________________

self = <tests.commands.test_measure.TestMeasureCommand 
testMethod=test_add_arguments>

    def test_add_arguments(self):
    
        with capture_sys_output() as (stdout, stderr):
            with self.assertRaises(SystemExit):
                PingMeasureCommand().init_args(["ping", "--set-alias", 
"\\invalid"])
            self.assertEqual(
                stderr.getvalue().split("\n")[-2],
                "ripe-atlas measure: error: argument --set-alias: "
                '"\\invalid" does not appear to be a valid alias.',
            )
    
        with capture_sys_output() as (stdout, stderr):
            with self.assertRaises(SystemExit):
                PingMeasureCommand().init_args(["ping", "--renderer", 
"not-a-renderer"])
            self.assertTrue(
                stderr.getvalue()
                .split("\n")[-2]
                .startswith(
                    "ripe-atlas measure: error: argument --renderer: invalid "
                    "choice: 'not-a-renderer' (choose from"
                )
            )
    
        with capture_sys_output() as (stdout, stderr):
            with self.assertRaises(SystemExit):
                PingMeasureCommand().init_args(["ping", "--af", "5"])
            error_msg = stderr.getvalue().split("\n")[-2]
            self.assertTrue(
                error_msg.startswith(
                    "ripe-atlas measure: error: argument --af: invalid choice:"
                )
            )
>           self.assertTrue(error_msg.endswith("(choose from 4, 6)"))
E           AssertionError: False is not true

tests/commands/test_measure.py:987: AssertionError
=============================== warnings summary ===============================
.pybuild/cpython3_3.14/build/tests/renderers/test_ssl_consistency.py::TestSSLConsistency::test_bucketize_result_cert
.pybuild/cpython3_3.14/build/tests/renderers/test_ssl_consistency.py::TestSSLConsistency::test_footer
.pybuild/cpython3_3.14/build/tests/renderers/test_ssl_consistency.py::TestSSLConsistency::test_gather_unique_certs
.pybuild/cpython3_3.14/build/tests/renderers/test_ssl_consistency.py::TestSSLConsistency::test_get_nprobes_ofpopular_cert
.pybuild/cpython3_3.14/build/tests/renderers/test_ssl_consistency.py::TestSSLConsistency::test_render_below_thershold
.pybuild/cpython3_3.14/build/tests/renderers/test_ssl_consistency.py::TestSSLConsistency::test_render_certificate
.pybuild/cpython3_3.14/build/tests/renderers/test_ssl_consistency.py::TestSSLConsistency::test_report_with_ssl_consistency_renderer
  /usr/lib/python3/dist-packages/ripe/atlas/sagan/ssl.py:72: 
CryptographyDeprecationWarning: Properties that return a naïve datetime object 
have been deprecated. Please switch to not_valid_before_utc.
    self.valid_from = pytz.utc.localize(cert.not_valid_before)

.pybuild/cpython3_3.14/build/tests/renderers/test_ssl_consistency.py::TestSSLConsistency::test_bucketize_result_cert
.pybuild/cpython3_3.14/build/tests/renderers/test_ssl_consistency.py::TestSSLConsistency::test_footer
.pybuild/cpython3_3.14/build/tests/renderers/test_ssl_consistency.py::TestSSLConsistency::test_gather_unique_certs
.pybuild/cpython3_3.14/build/tests/renderers/test_ssl_consistency.py::TestSSLConsistency::test_get_nprobes_ofpopular_cert
.pybuild/cpython3_3.14/build/tests/renderers/test_ssl_consistency.py::TestSSLConsistency::test_render_below_thershold
.pybuild/cpython3_3.14/build/tests/renderers/test_ssl_consistency.py::TestSSLConsistency::test_render_certificate
.pybuild/cpython3_3.14/build/tests/renderers/test_ssl_consistency.py::TestSSLConsistency::test_report_with_ssl_consistency_renderer
  /usr/lib/python3/dist-packages/ripe/atlas/sagan/ssl.py:73: 
CryptographyDeprecationWarning: Properties that return a naïve datetime object 
have been deprecated. Please switch to not_valid_after_utc.
    self.valid_until = pytz.utc.localize(cert.not_valid_after)

.pybuild/cpython3_3.14/build/tests/renderers/test_ssl_consistency.py: 150 
warnings
  /usr/lib/python3/dist-packages/ripe/atlas/sagan/ssl.py:155: 
DeprecationWarning: datetime.datetime.utcnow() is deprecated and scheduled for 
removal in a future version. Use timezone-aware objects to represent datetimes 
in UTC: datetime.datetime.now(datetime.UTC).
    now = pytz.utc.localize(datetime.utcnow())

-- Docs: https://docs.pytest.org/en/stable/how-to/capture-warnings.html
=========================== short test summary info ============================
FAILED tests/commands/test_measure.py::TestMeasureCommand::test_add_arguments
========== 1 failed, 171 passed, 4 deselected, 164 warnings in 2.86s ===========
E: pybuild pybuild:485: test: plugin pyproject failed with: exit code=1: cd 
/<<PKGBUILDDIR>>/.pybuild/cpython3_3.14/build; python3.14 -m pytest tests/ -k ' 
   not test_arg_from_file and not test_arg_from_stdin and not 
test_html_documentation and not test_text_documentation '
I: pybuild base:385: cd /<<PKGBUILDDIR>>/.pybuild/cpython3_3.13/build; 
python3.13 -m pytest tests/ -k '    not test_arg_from_file and not 
test_arg_from_stdin and not test_html_documentation and not 
test_text_documentation '
============================= test session starts ==============================
platform linux -- Python 3.13.12, pytest-9.0.3, pluggy-1.6.0
rootdir: /<<PKGBUILDDIR>>
plugins: typeguard-4.4.4
collected 176 items / 4 deselected / 172 selected

tests/aggregators/test_aggregators.py ..........                         [  5%]
tests/commands/test_alias.py ...........                                 [ 12%]
tests/commands/test_base.py .....                                        [ 15%]
tests/commands/test_loading.py ..                                        [ 16%]
tests/commands/test_measure.py ..........................                [ 31%]
tests/commands/test_measurement_search.py .....                          [ 34%]
tests/commands/test_probe_search.py .............................        [ 51%]
tests/commands/test_report.py ...................                        [ 62%]
tests/helpers/test_sanitisers.py ..                                      [ 63%]
tests/helpers/test_validators.py ........                                [ 68%]
tests/renderers/test_dns_compact.py ....                                 [ 70%]
tests/renderers/test_http.py ..                                          [ 71%]
tests/renderers/test_ping.py .........                                   [ 76%]
tests/renderers/test_raw.py .                                            [ 77%]
tests/renderers/test_ssl_consistency.py ........                         [ 81%]
tests/renderers/test_traceroute_aspath.py ..                             [ 83%]
tests/test_bash_completion.py .....                                      [ 86%]
tests/test_filters.py .......                                            [ 90%]
tests/test_ipdetails.py .................                                [100%]

=============================== warnings summary ===============================
.pybuild/cpython3_3.13/build/tests/renderers/test_ssl_consistency.py::TestSSLConsistency::test_bucketize_result_cert
.pybuild/cpython3_3.13/build/tests/renderers/test_ssl_consistency.py::TestSSLConsistency::test_footer
.pybuild/cpython3_3.13/build/tests/renderers/test_ssl_consistency.py::TestSSLConsistency::test_gather_unique_certs
.pybuild/cpython3_3.13/build/tests/renderers/test_ssl_consistency.py::TestSSLConsistency::test_get_nprobes_ofpopular_cert
.pybuild/cpython3_3.13/build/tests/renderers/test_ssl_consistency.py::TestSSLConsistency::test_render_below_thershold
.pybuild/cpython3_3.13/build/tests/renderers/test_ssl_consistency.py::TestSSLConsistency::test_render_certificate
.pybuild/cpython3_3.13/build/tests/renderers/test_ssl_consistency.py::TestSSLConsistency::test_report_with_ssl_consistency_renderer
  /usr/lib/python3/dist-packages/ripe/atlas/sagan/ssl.py:72: 
CryptographyDeprecationWarning: Properties that return a naïve datetime object 
have been deprecated. Please switch to not_valid_before_utc.
    self.valid_from = pytz.utc.localize(cert.not_valid_before)

.pybuild/cpython3_3.13/build/tests/renderers/test_ssl_consistency.py::TestSSLConsistency::test_bucketize_result_cert
.pybuild/cpython3_3.13/build/tests/renderers/test_ssl_consistency.py::TestSSLConsistency::test_footer
.pybuild/cpython3_3.13/build/tests/renderers/test_ssl_consistency.py::TestSSLConsistency::test_gather_unique_certs
.pybuild/cpython3_3.13/build/tests/renderers/test_ssl_consistency.py::TestSSLConsistency::test_get_nprobes_ofpopular_cert
.pybuild/cpython3_3.13/build/tests/renderers/test_ssl_consistency.py::TestSSLConsistency::test_render_below_thershold
.pybuild/cpython3_3.13/build/tests/renderers/test_ssl_consistency.py::TestSSLConsistency::test_render_certificate
.pybuild/cpython3_3.13/build/tests/renderers/test_ssl_consistency.py::TestSSLConsistency::test_report_with_ssl_consistency_renderer
  /usr/lib/python3/dist-packages/ripe/atlas/sagan/ssl.py:73: 
CryptographyDeprecationWarning: Properties that return a naïve datetime object 
have been deprecated. Please switch to not_valid_after_utc.
    self.valid_until = pytz.utc.localize(cert.not_valid_after)

.pybuild/cpython3_3.13/build/tests/renderers/test_ssl_consistency.py: 150 
warnings
  /usr/lib/python3/dist-packages/ripe/atlas/sagan/ssl.py:155: 
DeprecationWarning: datetime.datetime.utcnow() is deprecated and scheduled for 
removal in a future version. Use timezone-aware objects to represent datetimes 
in UTC: datetime.datetime.now(datetime.UTC).
    now = pytz.utc.localize(datetime.utcnow())

-- Docs: https://docs.pytest.org/en/stable/how-to/capture-warnings.html
=============== 172 passed, 4 deselected, 164 warnings in 3.12s ================
dh_auto_test: error: pybuild --test --test-pytest -i python{version} -p "3.14 
3.13" --parallel=2 returned exit code 13
make: *** [debian/rules:14: binary] Error 25
dpkg-buildpackage: error: debian/rules binary subprocess failed with exit 
status 2
--------------------------------------------------------------------------------

Reply via email to