Bug#1066789: pycoast: FTBFS: dh_auto_test: error: pybuild --test --test-pytest -i python{version} -p "3.12 3.11" returned exit code 13

Lucas Nussbaum lucas at debian.org
Wed Mar 13 14:58:32 GMT 2024


Source: pycoast
Version: 1.7.0+dfsg-1
Severity: serious
Justification: FTBFS
Tags: trixie sid ftbfs
User: lucas at debian.org
Usertags: ftbfs-20240313 ftbfs-trixie

Hi,

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


Relevant part (hopefully):
> make[1]: Entering directory '/<<PKGBUILDDIR>>'
> I: pybuild base:305: echo /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_pycoast/build
> env PYTHONPATH=/<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_pycoast/build \
> http_proxy='http://127.0.0.1:9/' https_proxy='https://127.0.0.1:9/' \
> LC_ALL=C.UTF-8 LANGUAGE=C.UTF-8 \
> sphinx-build -N -E -T -b html docs/source /<<PKGBUILDDIR>>/.pybuild/docs/html
> Running Sphinx v7.2.6
> making output directory... done
> loading intersphinx inventory from https://docs.python.org/3/objects.inv...
> loading intersphinx inventory from https://docs.scipy.org/doc/numpy/objects.inv...
> loading intersphinx inventory from https://docs.scipy.org/doc/scipy/reference/objects.inv...
> loading intersphinx inventory from https://xarray.pydata.org/en/stable/objects.inv...
> loading intersphinx inventory from https://dask.pydata.org/en/latest/objects.inv...
> loading intersphinx inventory from https://pyresample.readthedocs.io/en/stable/objects.inv...
> WARNING: failed to reach any of the inventories with the following issues:
> intersphinx inventory 'https://docs.scipy.org/doc/numpy/objects.inv' not fetchable due to <class 'requests.exceptions.ProxyError'>: HTTPSConnectionPool(host='docs.scipy.org', port=443): Max retries exceeded with url: /doc/numpy/objects.inv (Caused by ProxyError('Cannot connect to proxy.', NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f1c7d566910>: Failed to establish a new connection: [Errno 111] Connection refused')))
> loading intersphinx inventory from https://trollsift.readthedocs.io/en/stable/objects.inv...
> loading intersphinx inventory from https://trollimage.readthedocs.io/en/stable/objects.inv...
> WARNING: failed to reach any of the inventories with the following issues:
> intersphinx inventory 'https://docs.python.org/3/objects.inv' not fetchable due to <class 'requests.exceptions.ProxyError'>: HTTPSConnectionPool(host='docs.python.org', port=443): Max retries exceeded with url: /3/objects.inv (Caused by ProxyError('Cannot connect to proxy.', NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f1c7d567250>: 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://pyresample.readthedocs.io/en/stable/objects.inv' not fetchable due to <class 'requests.exceptions.ProxyError'>: HTTPSConnectionPool(host='pyresample.readthedocs.io', port=443): Max retries exceeded with url: /en/stable/objects.inv (Caused by ProxyError('Cannot connect to proxy.', NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f1c7d57d4d0>: 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://trollsift.readthedocs.io/en/stable/objects.inv' not fetchable due to <class 'requests.exceptions.ProxyError'>: HTTPSConnectionPool(host='trollsift.readthedocs.io', port=443): Max retries exceeded with url: /en/stable/objects.inv (Caused by ProxyError('Cannot connect to proxy.', NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f1c7d57fa90>: 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.scipy.org/doc/scipy/reference/objects.inv' not fetchable due to <class 'requests.exceptions.ProxyError'>: HTTPSConnectionPool(host='docs.scipy.org', port=443): Max retries exceeded with url: /doc/scipy/reference/objects.inv (Caused by ProxyError('Cannot connect to proxy.', NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f1c7d586210>: 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://dask.pydata.org/en/latest/objects.inv' not fetchable due to <class 'requests.exceptions.ProxyError'>: HTTPSConnectionPool(host='dask.pydata.org', port=443): Max retries exceeded with url: /en/latest/objects.inv (Caused by ProxyError('Cannot connect to proxy.', NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f1c7d566910>: Failed to establish a new connection: [Errno 111] Connection refused')))
> loading intersphinx inventory from https://pillow.readthedocs.io/en/stable/objects.inv...
> WARNING: failed to reach any of the inventories with the following issues:
> intersphinx inventory 'https://pillow.readthedocs.io/en/stable/objects.inv' not fetchable due to <class 'requests.exceptions.ProxyError'>: HTTPSConnectionPool(host='pillow.readthedocs.io', port=443): Max retries exceeded with url: /en/stable/objects.inv (Caused by ProxyError('Cannot connect to proxy.', NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f1c7d587010>: 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://trollimage.readthedocs.io/en/stable/objects.inv' not fetchable due to <class 'requests.exceptions.ProxyError'>: HTTPSConnectionPool(host='trollimage.readthedocs.io', port=443): Max retries exceeded with url: /en/stable/objects.inv (Caused by ProxyError('Cannot connect to proxy.', NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f1c7d545b90>: 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://xarray.pydata.org/en/stable/objects.inv' not fetchable due to <class 'requests.exceptions.ProxyError'>: HTTPSConnectionPool(host='xarray.pydata.org', port=443): Max retries exceeded with url: /en/stable/objects.inv (Caused by ProxyError('Cannot connect to proxy.', NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f1c7d57f210>: Failed to establish a new connection: [Errno 111] Connection refused')))
> Creating file /<<PKGBUILDDIR>>/docs/source/api/pycoast.rst.
> Creating file /<<PKGBUILDDIR>>/docs/source/api/pycoast.conftest.rst.
> Creating file /<<PKGBUILDDIR>>/docs/source/api/pycoast.cw_agg.rst.
> Creating file /<<PKGBUILDDIR>>/docs/source/api/pycoast.cw_base.rst.
> Creating file /<<PKGBUILDDIR>>/docs/source/api/pycoast.cw_pil.rst.
> Creating file /<<PKGBUILDDIR>>/docs/source/api/pycoast.tests.rst.
> Creating file /<<PKGBUILDDIR>>/docs/source/api/pycoast.tests.test_pycoast.rst.
> Creating file /<<PKGBUILDDIR>>/docs/source/api/modules.rst.
> building [mo]: targets for 0 po files that are out of date
> writing output... 
> building [html]: targets for 10 source files that are out of date
> updating environment: [new config] 18 added, 0 changed, 0 removed
> reading sources... [  6%] api/modules
> reading sources... [ 11%] api/pycoast
> reading sources... [ 17%] api/pycoast.conftest
> reading sources... [ 22%] api/pycoast.cw_agg
> reading sources... [ 28%] api/pycoast.cw_base
> reading sources... [ 33%] api/pycoast.cw_pil
> reading sources... [ 39%] api/pycoast.tests
> reading sources... [ 44%] api/pycoast.tests.test_pycoast
> reading sources... [ 50%] config
> reading sources... [ 56%] graticule
> reading sources... [ 61%] high_quality_contours
> reading sources... [ 67%] index
> reading sources... [ 72%] installation
> reading sources... [ 78%] points
> reading sources... [ 83%] polygons_and_lines
> reading sources... [ 89%] shapefiles
> reading sources... [ 94%] test
> reading sources... [100%] usage
> 
> looking for now-outdated files... none found
> pickling environment... done
> checking consistency... done
> preparing documents... done
> copying assets... copying static files... done
> copying extra files... done
> done
> writing output... [  6%] api/modules
> writing output... [ 11%] api/pycoast
> writing output... [ 17%] api/pycoast.conftest
> writing output... [ 22%] api/pycoast.cw_agg
> writing output... [ 28%] api/pycoast.cw_base
> writing output... [ 33%] api/pycoast.cw_pil
> writing output... [ 39%] api/pycoast.tests
> writing output... [ 44%] api/pycoast.tests.test_pycoast
> writing output... [ 50%] config
> writing output... [ 56%] graticule
> writing output... [ 61%] high_quality_contours
> writing output... [ 67%] index
> writing output... [ 72%] installation
> writing output... [ 78%] points
> writing output... [ 83%] polygons_and_lines
> writing output... [ 89%] shapefiles
> writing output... [ 94%] test
> writing output... [100%] usage
> 
> generating indices... genindex py-modindex done
> writing additional pages... search done
> copying images... [  8%] images/euro_grid.png
> copying images... [ 15%] images/euro_grid_agg.png
> copying images... [ 23%] images/grid_geos_agg.png
> copying images... [ 31%] images/nh_grid_coarse_agg.png
> copying images... [ 38%] images/geos_coast_agg.png
> copying images... [ 46%] images/euro_coast_agg.png
> copying images... [ 54%] images/nh_points_agg.png
> copying images... [ 62%] images/nh_polygons_agg.png
> copying images... [ 69%] images/nh_polygons_lines_agg.png
> copying images... [ 77%] images/brazil_shapefiles_agg.png
> copying images... [ 85%] images/BMNG_clouds_201109181715_areaT2.png
> copying images... [ 92%] images/euro_coast.png
> copying images... [100%] images/geos_coast.png
> 
> dumping search index in English (code: en)... done
> dumping object inventory... done
> build succeeded, 9 warnings.
> 
> The HTML pages are in .pybuild/docs/html.
> rm -f -r /<<PKGBUILDDIR>>/.pybuild/docs/html/.doctrees
> rm -f -r /<<PKGBUILDDIR>>/.pybuild/docs/html/_images
> make[1]: Leaving directory '/<<PKGBUILDDIR>>'
>    dh_auto_test -O--buildsystem=pybuild
> I: pybuild base:305: cd /<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_pycoast/build; python3.12 -m pytest -k "not test_add_shapefile_shapes and not test_add_shapefile_shapes_agg and not test_add_shapefiles_from_dict_agg and not test_add_shapefiles_from_dict_pil and not test_add_one_shapefile_from_cfg_agg and not test_add_one_shapefile_from_cfg_pil and not test_add_points_pil and not test_config_file_points_and_borders_pil and not test_add_cities_pil and not test_add_cities_cfg_pil and not test_add_cities_from_dict_pil and not test_add_grid_from_dict_pil and not test_shapes[cw_pil-western_shapes_pil.png-area_def0-specific_kwargs0] and not test_shapes[cw_pil-eastern_shapes_pil.png-area_def1-specific_kwargs1] and not test_no_scratch[cw_pil-no_h_scratch_pil.png-shape0-area_def0-specific_kwargs0] and not test_no_scratch[cw_pil-no_v_scratch_pil.png-shape1-area_def1-specific_kwargs1]" /<<PKGBUILDDIR>>/pycoast/tests
> ============================= test session starts ==============================
> platform linux -- Python 3.12.2, pytest-8.0.2, pluggy-1.4.0
> rootdir: /<<PKGBUILDDIR>>
> plugins: lazy-fixture-0.6.3
> collected 0 items / 1 error
> 
> ==================================== ERRORS ====================================
> ________________ ERROR collecting pycoast/tests/test_pycoast.py ________________
> /usr/lib/python3/dist-packages/pluggy/_hooks.py:501: in __call__
>     return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult)
> /usr/lib/python3/dist-packages/pluggy/_manager.py:119: in _hookexec
>     return self._inner_hookexec(hook_name, methods, kwargs, firstresult)
> /usr/lib/python3/dist-packages/_pytest/python.py:278: in pytest_pycollect_makeitem
>     return list(collector._genfunctions(name, obj))
> /usr/lib/python3/dist-packages/_pytest/python.py:507: in _genfunctions
>     self.ihook.pytest_generate_tests.call_extra(methods, dict(metafunc=metafunc))
> /usr/lib/python3/dist-packages/pluggy/_hooks.py:562: in call_extra
>     return self._hookexec(self.name, hookimpls, kwargs, firstresult)
> /usr/lib/python3/dist-packages/pluggy/_manager.py:119: in _hookexec
>     return self._inner_hookexec(hook_name, methods, kwargs, firstresult)
> /usr/lib/python3/dist-packages/pytest_lazyfixture.py:74: in pytest_generate_tests
>     normalize_metafunc_calls(metafunc, 'funcargs')
> /usr/lib/python3/dist-packages/pytest_lazyfixture.py:81: in normalize_metafunc_calls
>     calls = normalize_call(callspec, metafunc, valtype, used_keys)
> /usr/lib/python3/dist-packages/pytest_lazyfixture.py:105: in normalize_call
>     valtype_keys = set(getattr(callspec, valtype).keys()) - used_keys
> E   AttributeError: 'CallSpec2' object has no attribute 'funcargs'
> =============================== warnings summary ===============================
> ../../../../../../usr/lib/python3/dist-packages/_pytest/python.py:507
>   /usr/lib/python3/dist-packages/_pytest/python.py:507: PluggyTeardownRaisedWarning: A plugin raised an exception during an old-style hookwrapper teardown.
>   Plugin: lazy-fixture, Hook: pytest_generate_tests
>   AttributeError: 'CallSpec2' object has no attribute 'funcargs'
>   For more information see https://pluggy.readthedocs.io/en/stable/api_reference.html#pluggy.PluggyTeardownRaisedWarning
>     self.ihook.pytest_generate_tests.call_extra(methods, dict(metafunc=metafunc))
> 
> -- Docs: https://docs.pytest.org/en/stable/how-to/capture-warnings.html
> =========================== short test summary info ============================
> ERROR ../../../pycoast/tests/test_pycoast.py - AttributeError: 'CallSpec2' ob...
> !!!!!!!!!!!!!!!!!!!! Interrupted: 1 error during collection !!!!!!!!!!!!!!!!!!!!
> ========================= 1 warning, 1 error in 0.30s ==========================
> E: pybuild pybuild:389: test: plugin pyproject failed with: exit code=2: cd /<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_pycoast/build; python3.12 -m pytest -k "not test_add_shapefile_shapes and not test_add_shapefile_shapes_agg and not test_add_shapefiles_from_dict_agg and not test_add_shapefiles_from_dict_pil and not test_add_one_shapefile_from_cfg_agg and not test_add_one_shapefile_from_cfg_pil and not test_add_points_pil and not test_config_file_points_and_borders_pil and not test_add_cities_pil and not test_add_cities_cfg_pil and not test_add_cities_from_dict_pil and not test_add_grid_from_dict_pil and not test_shapes[cw_pil-western_shapes_pil.png-area_def0-specific_kwargs0] and not test_shapes[cw_pil-eastern_shapes_pil.png-area_def1-specific_kwargs1] and not test_no_scratch[cw_pil-no_h_scratch_pil.png-shape0-area_def0-specific_kwargs0] and not test_no_scratch[cw_pil-no_v_scratch_pil.png-shape1-area_def1-specific_kwargs1]" /<<PKGBUILDDIR>>/pycoast/tests
> I: pybuild base:305: cd /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_pycoast/build; python3.11 -m pytest -k "not test_add_shapefile_shapes and not test_add_shapefile_shapes_agg and not test_add_shapefiles_from_dict_agg and not test_add_shapefiles_from_dict_pil and not test_add_one_shapefile_from_cfg_agg and not test_add_one_shapefile_from_cfg_pil and not test_add_points_pil and not test_config_file_points_and_borders_pil and not test_add_cities_pil and not test_add_cities_cfg_pil and not test_add_cities_from_dict_pil and not test_add_grid_from_dict_pil and not test_shapes[cw_pil-western_shapes_pil.png-area_def0-specific_kwargs0] and not test_shapes[cw_pil-eastern_shapes_pil.png-area_def1-specific_kwargs1] and not test_no_scratch[cw_pil-no_h_scratch_pil.png-shape0-area_def0-specific_kwargs0] and not test_no_scratch[cw_pil-no_v_scratch_pil.png-shape1-area_def1-specific_kwargs1]" /<<PKGBUILDDIR>>/pycoast/tests
> ============================= test session starts ==============================
> platform linux -- Python 3.11.8, pytest-8.0.2, pluggy-1.4.0
> rootdir: /<<PKGBUILDDIR>>
> plugins: lazy-fixture-0.6.3
> collected 0 items / 1 error
> 
> ==================================== ERRORS ====================================
> ________________ ERROR collecting pycoast/tests/test_pycoast.py ________________
> /usr/lib/python3/dist-packages/pluggy/_hooks.py:501: in __call__
>     return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult)
> /usr/lib/python3/dist-packages/pluggy/_manager.py:119: in _hookexec
>     return self._inner_hookexec(hook_name, methods, kwargs, firstresult)
> /usr/lib/python3/dist-packages/_pytest/python.py:278: in pytest_pycollect_makeitem
>     return list(collector._genfunctions(name, obj))
> /usr/lib/python3/dist-packages/_pytest/python.py:507: in _genfunctions
>     self.ihook.pytest_generate_tests.call_extra(methods, dict(metafunc=metafunc))
> /usr/lib/python3/dist-packages/pluggy/_hooks.py:562: in call_extra
>     return self._hookexec(self.name, hookimpls, kwargs, firstresult)
> /usr/lib/python3/dist-packages/pluggy/_manager.py:119: in _hookexec
>     return self._inner_hookexec(hook_name, methods, kwargs, firstresult)
> /usr/lib/python3/dist-packages/pytest_lazyfixture.py:74: in pytest_generate_tests
>     normalize_metafunc_calls(metafunc, 'funcargs')
> /usr/lib/python3/dist-packages/pytest_lazyfixture.py:81: in normalize_metafunc_calls
>     calls = normalize_call(callspec, metafunc, valtype, used_keys)
> /usr/lib/python3/dist-packages/pytest_lazyfixture.py:105: in normalize_call
>     valtype_keys = set(getattr(callspec, valtype).keys()) - used_keys
> E   AttributeError: 'CallSpec2' object has no attribute 'funcargs'
> =============================== warnings summary ===============================
> ../../../../../../usr/lib/python3/dist-packages/_pytest/python.py:507
>   /usr/lib/python3/dist-packages/_pytest/python.py:507: PluggyTeardownRaisedWarning: A plugin raised an exception during an old-style hookwrapper teardown.
>   Plugin: lazy-fixture, Hook: pytest_generate_tests
>   AttributeError: 'CallSpec2' object has no attribute 'funcargs'
>   For more information see https://pluggy.readthedocs.io/en/stable/api_reference.html#pluggy.PluggyTeardownRaisedWarning
>     self.ihook.pytest_generate_tests.call_extra(methods, dict(metafunc=metafunc))
> 
> -- Docs: https://docs.pytest.org/en/stable/how-to/capture-warnings.html
> =========================== short test summary info ============================
> ERROR ../../../pycoast/tests/test_pycoast.py - AttributeError: 'CallSpec2' ob...
> !!!!!!!!!!!!!!!!!!!! Interrupted: 1 error during collection !!!!!!!!!!!!!!!!!!!!
> ========================= 1 warning, 1 error in 0.26s ==========================
> E: pybuild pybuild:389: test: plugin pyproject failed with: exit code=2: cd /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_pycoast/build; python3.11 -m pytest -k "not test_add_shapefile_shapes and not test_add_shapefile_shapes_agg and not test_add_shapefiles_from_dict_agg and not test_add_shapefiles_from_dict_pil and not test_add_one_shapefile_from_cfg_agg and not test_add_one_shapefile_from_cfg_pil and not test_add_points_pil and not test_config_file_points_and_borders_pil and not test_add_cities_pil and not test_add_cities_cfg_pil and not test_add_cities_from_dict_pil and not test_add_grid_from_dict_pil and not test_shapes[cw_pil-western_shapes_pil.png-area_def0-specific_kwargs0] and not test_shapes[cw_pil-eastern_shapes_pil.png-area_def1-specific_kwargs1] and not test_no_scratch[cw_pil-no_h_scratch_pil.png-shape0-area_def0-specific_kwargs0] and not test_no_scratch[cw_pil-no_v_scratch_pil.png-shape1-area_def1-specific_kwargs1]" /<<PKGBUILDDIR>>/pycoast/tests
> dh_auto_test: error: pybuild --test --test-pytest -i python{version} -p "3.12 3.11" returned exit code 13


The full build log is available from:
http://qa-logs.debian.net/2024/03/13/pycoast_1.7.0+dfsg-1_unstable.log

All bugs filed during this archive rebuild are listed at:
https://bugs.debian.org/cgi-bin/pkgreport.cgi?tag=ftbfs-20240313;users=lucas@debian.org
or:
https://udd.debian.org/bugs/?release=na&merged=ign&fnewerval=7&flastmodval=7&fusertag=only&fusertagtag=ftbfs-20240313&fusertaguser=lucas@debian.org&allbugs=1&cseverity=1&ctags=1&caffected=1#results

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



More information about the Pkg-grass-devel mailing list