Bug#1067308: python-meshplex: FTBFS: dh_auto_test: error: pybuild --test --test-pytest -i python{version} -p "3.12 3.11" --test-args=--ignore-glob=\*test_io\* returned exit code 13

Lucas Nussbaum lucas at debian.org
Wed Mar 20 21:01:23 GMT 2024


Source: python-meshplex
Version: 0.17.1-2
Severity: serious
Justification: FTBFS
Tags: trixie sid ftbfs
User: lucas at debian.org
Usertags: ftbfs-20240319 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>>'
> MPLBACKEND=Agg  dh_auto_test -- --test-args="--ignore-glob=*test_io*"
> I: pybuild base:305: cd /<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_meshplex/build; python3.12 -m pytest --ignore-glob=*test_io*
> ============================= test session starts ==============================
> platform linux -- Python 3.12.2, pytest-8.1.1, pluggy-1.4.0
> rootdir: /<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_meshplex/build
> configfile: pyproject.toml
> collected 112 items
> 
> tests/mesh_tri/test_curl.py .                                            [  0%]
> tests/mesh_tri/test_edge_flip.py ..............                          [ 13%]
> tests/mesh_tri/test_genus.py .                                           [ 14%]
> tests/mesh_tri/test_mesh_tri.py ......................                   [ 33%]
> tests/mesh_tri/test_plot.py ..                                           [ 35%]
> tests/mesh_tri/test_remove_points.py .                                   [ 36%]
> tests/test_ce_ratios.py ....                                             [ 40%]
> tests/test_cell_partitions.py ....                                       [ 43%]
> tests/test_circumcenters.py ....                                         [ 47%]
> tests/test_compute_cell_values.py .                                      [ 48%]
> tests/test_control_volume_centroids.py ...                               [ 50%]
> tests/test_control_volumes.py .....                                      [ 55%]
> tests/test_create_facets.py s...                                         [ 58%]
> tests/test_degenerate.py ....                                            [ 62%]
> tests/test_gh_issues.py ..                                               [ 64%]
> tests/test_heights.py ...                                                [ 66%]
> tests/test_mesh_line.py .                                                [ 67%]
> tests/test_mesh_tetra.py .........s                                      [ 76%]
> tests/test_remove_cells.py ....F......                                   [ 86%]
> tests/test_signed_area.py ........                                       [ 93%]
> tests/test_subdomain.py ...                                              [ 96%]
> tests/test_volumes.py ....                                               [100%]
> 
> =================================== FAILURES ===================================
> __________________________ test_remove_cells_boundary __________________________
> 
>     def test_remove_cells_boundary():
>         mesh = get_mesh1()
>     
>         assert np.all(mesh.is_boundary_point == [True, True, True, True, False])
>         assert np.all(mesh.is_boundary_facet_local[0] == [False, False, False, False])
>         assert np.all(mesh.is_boundary_facet_local[1] == [False, False, False, True])
>         assert np.all(mesh.is_boundary_facet_local[2] == [True, True, True, False])
>         assert np.all(
>             mesh.is_boundary_facet == [True, True, False, True, False, True, False, False]
>         )
>         assert np.all(mesh.is_boundary_cell)
>         assert np.all(mesh.facets_cells_idx == [0, 1, 0, 2, 1, 3, 2, 3])
>         # cell id:
>         assert np.all(mesh.facets_cells["boundary"][1] == [0, 3, 1, 2])
>         # local edge:
>         assert np.all(mesh.facets_cells["boundary"][2] == [2, 1, 2, 2])
>         # cell id:
> >       assert np.all(
>             mesh.facets_cells["interior"][1:3].T == [[0, 3], [0, 1], [1, 2], [2, 3]]
>         )
> E       assert False
> E        +  where False = <function all at 0x7f0554eebb30>(array([[3, 0]...      [2, 3]]) == [[0, 3], [0, ...1, 2], [2, 3]]
> E        +    where <function all at 0x7f0554eebb30> = np.all
> E           
> E           Use -v to get more diff)
> 
> tests/test_remove_cells.py:104: AssertionError
> =============================== warnings summary ===============================
> tests/mesh_tri/test_edge_flip.py::test_flip_same_edge_twice
>   /usr/lib/python3/dist-packages/dateutil/tz/tz.py:37: DeprecationWarning: datetime.datetime.utcfromtimestamp() is deprecated and scheduled for removal in a future version. Use timezone-aware objects to represent datetimes in UTC: datetime.datetime.fromtimestamp(timestamp, datetime.UTC).
>     EPOCH = datetime.datetime.utcfromtimestamp(0)
> 
> tests/mesh_tri/test_mesh_tri.py: 1 warning
> tests/mesh_tri/test_remove_points.py: 1 warning
> tests/test_remove_cells.py: 10 warnings
>   /<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_meshplex/build/meshplex/_mesh.py:260: RuntimeWarning: invalid value encountered in divide
>     self._cv_centroids = (integral_p.T / cv).T
> 
> -- Docs: https://docs.pytest.org/en/stable/how-to/capture-warnings.html
> =========================== short test summary info ============================
> FAILED tests/test_remove_cells.py::test_remove_cells_boundary - assert False
> ============ 1 failed, 109 passed, 2 skipped, 13 warnings in 4.50s =============
> E: pybuild pybuild:389: test: plugin pyproject failed with: exit code=1: cd /<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_meshplex/build; python3.12 -m pytest --ignore-glob=*test_io*
> I: pybuild base:305: cd /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_meshplex/build; python3.11 -m pytest --ignore-glob=*test_io*
> ============================= test session starts ==============================
> platform linux -- Python 3.11.8, pytest-8.1.1, pluggy-1.4.0
> rootdir: /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_meshplex/build
> configfile: pyproject.toml
> collected 112 items
> 
> tests/mesh_tri/test_curl.py .                                            [  0%]
> tests/mesh_tri/test_edge_flip.py ..............                          [ 13%]
> tests/mesh_tri/test_genus.py .                                           [ 14%]
> tests/mesh_tri/test_mesh_tri.py ......................                   [ 33%]
> tests/mesh_tri/test_plot.py ..                                           [ 35%]
> tests/mesh_tri/test_remove_points.py .                                   [ 36%]
> tests/test_ce_ratios.py ....                                             [ 40%]
> tests/test_cell_partitions.py ....                                       [ 43%]
> tests/test_circumcenters.py ....                                         [ 47%]
> tests/test_compute_cell_values.py .                                      [ 48%]
> tests/test_control_volume_centroids.py ...                               [ 50%]
> tests/test_control_volumes.py .....                                      [ 55%]
> tests/test_create_facets.py s...                                         [ 58%]
> tests/test_degenerate.py ....                                            [ 62%]
> tests/test_gh_issues.py ..                                               [ 64%]
> tests/test_heights.py ...                                                [ 66%]
> tests/test_mesh_line.py .                                                [ 67%]
> tests/test_mesh_tetra.py .........s                                      [ 76%]
> tests/test_remove_cells.py ....F......                                   [ 86%]
> tests/test_signed_area.py ........                                       [ 93%]
> tests/test_subdomain.py ...                                              [ 96%]
> tests/test_volumes.py ....                                               [100%]
> 
> =================================== FAILURES ===================================
> __________________________ test_remove_cells_boundary __________________________
> 
>     def test_remove_cells_boundary():
>         mesh = get_mesh1()
>     
>         assert np.all(mesh.is_boundary_point == [True, True, True, True, False])
>         assert np.all(mesh.is_boundary_facet_local[0] == [False, False, False, False])
>         assert np.all(mesh.is_boundary_facet_local[1] == [False, False, False, True])
>         assert np.all(mesh.is_boundary_facet_local[2] == [True, True, True, False])
>         assert np.all(
>             mesh.is_boundary_facet == [True, True, False, True, False, True, False, False]
>         )
>         assert np.all(mesh.is_boundary_cell)
>         assert np.all(mesh.facets_cells_idx == [0, 1, 0, 2, 1, 3, 2, 3])
>         # cell id:
>         assert np.all(mesh.facets_cells["boundary"][1] == [0, 3, 1, 2])
>         # local edge:
>         assert np.all(mesh.facets_cells["boundary"][2] == [2, 1, 2, 2])
>         # cell id:
> >       assert np.all(
>             mesh.facets_cells["interior"][1:3].T == [[0, 3], [0, 1], [1, 2], [2, 3]]
>         )
> E       assert False
> E        +  where False = <function all at 0x7f45b656d9b0>(array([[3, 0]...      [2, 3]]) == [[0, 3], [0, ...1, 2], [2, 3]]
> E        +    where <function all at 0x7f45b656d9b0> = np.all
> E           
> E           Use -v to get more diff)
> 
> tests/test_remove_cells.py:104: AssertionError
> =============================== warnings summary ===============================
> tests/mesh_tri/test_mesh_tri.py: 1 warning
> tests/mesh_tri/test_remove_points.py: 1 warning
> tests/test_remove_cells.py: 10 warnings
>   /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_meshplex/build/meshplex/_mesh.py:260: RuntimeWarning: invalid value encountered in divide
>     self._cv_centroids = (integral_p.T / cv).T
> 
> -- Docs: https://docs.pytest.org/en/stable/how-to/capture-warnings.html
> =========================== short test summary info ============================
> FAILED tests/test_remove_cells.py::test_remove_cells_boundary - assert False
> ============ 1 failed, 109 passed, 2 skipped, 12 warnings in 4.17s =============
> E: pybuild pybuild:389: test: plugin pyproject failed with: exit code=1: cd /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_meshplex/build; python3.11 -m pytest --ignore-glob=*test_io*
> dh_auto_test: error: pybuild --test --test-pytest -i python{version} -p "3.12 3.11" --test-args=--ignore-glob=\*test_io\* returned exit code 13


The full build log is available from:
http://qa-logs.debian.net/2024/03/19/python-meshplex_0.17.1-2_unstable.log

All bugs filed during this archive rebuild are listed at:
https://bugs.debian.org/cgi-bin/pkgreport.cgi?tag=ftbfs-20240319;users=lucas@debian.org
or:
https://udd.debian.org/bugs/?release=na&merged=ign&fnewerval=7&flastmodval=7&fusertag=only&fusertagtag=ftbfs-20240319&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 debian-science-maintainers mailing list