make[1]: Entering directory '/<<PKGBUILDDIR>>'fromtimestamp(timestamp, datetime.UTC).
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.
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
tags -1 ftbfsBug #1067308 [src:python-meshplex] 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
Sysop: | Keyop |
---|---|
Location: | Huddersfield, West Yorkshire, UK |
Users: | 297 |
Nodes: | 16 (2 / 14) |
Uptime: | 09:31:47 |
Calls: | 6,666 |
Files: | 12,213 |
Messages: | 5,336,273 |