Bug#947058: pygalmesh: autopkgtest failure on arm64 (and ppc64el, s390x)

Graham Inggs ginggs at debian.org
Mon Dec 30 14:26:32 GMT 2019


Control: reopen -1

Hi Drew

The test gets a little further [1], and now fails at:

___________________________________ test_inr ___________________________________

    def test_inr():
        this_dir = os.path.dirname(os.path.abspath(__file__))
        mesh = pygalmesh.generate_from_inr(
            os.path.join(this_dir, "meshes", "skull_2.9.inr"),
cell_size=5.0, verbose=False
        )

        tol = 2.0e-3
        ref = [2.031053e02, 3.739508e01, 2.425594e02, 2.558910e01,
2.300883e02, 1.775010e00]
        assert abs(max(mesh.points[:, 0]) - ref[0]) < tol * ref[0]
        assert abs(min(mesh.points[:, 0]) - ref[1]) < tol * ref[1]
        assert abs(max(mesh.points[:, 1]) - ref[2]) < tol * ref[2]
        assert abs(min(mesh.points[:, 1]) - ref[3]) < tol * ref[3]
        assert abs(max(mesh.points[:, 2]) - ref[4]) < tol * ref[4]
        assert abs(min(mesh.points[:, 2]) - ref[5]) < tol * ref[5]

        vol = sum(helpers.compute_volumes(mesh.points, mesh.cells["tetra"]))
        ref = 2.725335e06
>       assert abs(vol - ref) < ref * 1.0e-3
E       assert 4425.526206357405 < (2725335.0 * 0.001)
E        +  where 4425.526206357405 = abs((2729760.5262063574 - 2725335.0))

test/test_inr.py:24: AssertionError

Regards
Graham


[1] https://ci.debian.net/data/autopkgtest/testing/arm64/p/pygalmesh/3810331/log.gz



More information about the debian-science-maintainers mailing list