Bug#941585: python-meshio: FTBFS / autopkgtest failure on i386
Graham Inggs
ginggs at debian.org
Wed Oct 2 13:20:44 BST 2019
Source: python-meshio
Version: 3.1.1-1
Tags: ftbfs
User: debian-ci at lists.debian.org
Usertags: issue
Hi Maintainer
Since the upload of python-meshio 3.1.1-1, autopkgtests have been
failing on i386 in Ubuntu with the errors below.
This also appears as a FTBFS on Debian's reproducible builds [1].
Could this test be made more tolerant?
Regards
Graham
[1]
https://tests.reproducible-builds.org/debian/history/i386/python-meshio.html
___________ test_reference_file[False-rbc_001.vtk-0.00031280518-996]
___________
filename =
'/build/1st/python-meshio-3.1.5/.pybuild/cpython3_3.7_meshio/build/test/meshes/vtk/rbc_001.vtk'
ref_sum = 0.00031280518, ref_num_cells = 996, write_binary = False
@pytest.mark.parametrize(
"filename, ref_sum, ref_num_cells", [("rbc_001.vtk",
0.00031280518, 996)]
)
@pytest.mark.parametrize("write_binary", [False, True])
def test_reference_file(filename, ref_sum, ref_num_cells,
write_binary):
this_dir = os.path.dirname(os.path.abspath(__file__))
filename = os.path.join(this_dir, "meshes", "vtk", filename)
mesh = meshio.read(filename)
tol = 1.0e-2
s = numpy.sum(mesh.points)
> assert abs(s - ref_sum) < tol * ref_sum
E assert 7.111583398513818e-06 < (0.01 * 0.00031280518)
E + where 7.111583398513818e-06 = abs((0.0003056936 -
0.00031280518))
test/test_vtk.py:59: AssertionError
___________ test_reference_file[True-rbc_001.vtk-0.00031280518-996]
____________
filename =
'/build/1st/python-meshio-3.1.5/.pybuild/cpython3_3.7_meshio/build/test/meshes/vtk/rbc_001.vtk'
ref_sum = 0.00031280518, ref_num_cells = 996, write_binary = True
@pytest.mark.parametrize(
"filename, ref_sum, ref_num_cells", [("rbc_001.vtk",
0.00031280518, 996)]
)
@pytest.mark.parametrize("write_binary", [False, True])
def test_reference_file(filename, ref_sum, ref_num_cells,
write_binary):
this_dir = os.path.dirname(os.path.abspath(__file__))
filename = os.path.join(this_dir, "meshes", "vtk", filename)
mesh = meshio.read(filename)
tol = 1.0e-2
s = numpy.sum(mesh.points)
> assert abs(s - ref_sum) < tol * ref_sum
E assert 7.111583398513818e-06 < (0.01 * 0.00031280518)
E + where 7.111583398513818e-06 = abs((0.0003056936 -
0.00031280518))
test/test_vtk.py:59: AssertionError
More information about the debian-science-maintainers
mailing list