Bug#975092: python-meshio: autopkgtest regression on armhf and i386: KeyError: 'uint32'
Paul Gevers
elbrus at debian.org
Wed Nov 18 20:51:13 GMT 2020
Source: python-meshio
Version: 4.3.5-1
X-Debbugs-CC: debian-ci at lists.debian.org
Severity: serious
User: debian-ci at lists.debian.org
Usertags: regression
Dear maintainer(s),
With a recent upload of python-meshio the autopkgtest of python-meshio
fails in testing when that autopkgtest is run with the binary packages
of python-meshio from unstable. It passes when run with only packages
from testing. In tabular form:
pass fail
python-meshio from testing 4.3.5-1
versioned deps [0] from testing from unstable
all others from testing from testing
I copied some of the output at the bottom of this report.
Currently this regression is blocking the migration to testing [1]. Can
you please investigate the situation and fix it?
More information about this bug and the reason for filing it can be found on
https://wiki.debian.org/ContinuousIntegration/RegressionEmailInformation
Paul
[0] You can see what packages were added from the second line of the log
file quoted below. The migration software adds source package from
unstable to the list if they are needed to install packages from
python-meshio/4.3.5-1. I.e. due to versioned dependencies or
breaks/conflicts.
[1] https://qa.debian.org/excuses.php?package=python-meshio
https://ci.debian.net/data/autopkgtest/testing/armhf/p/python-meshio/8257367/log.gz
=================================== FAILURES
===================================
____________________________ test_xdmf3[XML-mesh4]
_____________________________
mesh = <meshio mesh object>
Number of points: 9
Number of cells:
triangle6: 2
data_format = 'XML'
@pytest.mark.parametrize("mesh", test_set_full)
@pytest.mark.parametrize("data_format", ["XML", "Binary", "HDF"])
def test_xdmf3(mesh, data_format):
def write(*args, **kwargs):
return meshio.xdmf.write(*args, data_format=data_format,
**kwargs)
> helpers.write_read(write, meshio.xdmf.read, mesh, 1.0e-14)
test/test_xdmf.py:42:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
_ _ _ _
test/helpers.py:347: in write_read
writer(p, input_mesh)
test/test_xdmf.py:40: in write
return meshio.xdmf.write(*args, data_format=data_format, **kwargs)
/usr/lib/python3/dist-packages/meshio/xdmf/main.py:530: in write
XdmfWriter(*args, **kwargs)
/usr/lib/python3/dist-packages/meshio/xdmf/main.py:351: in __init__
self.cells(mesh.cells, grid)
/usr/lib/python3/dist-packages/meshio/xdmf/main.py:431: in cells
data_item.text = self.numpy_to_xml_string(cells[0].data)
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
_ _ _ _
self = <meshio.xdmf.main.XdmfWriter object at 0xf4d7b898>
data = array([[0, 1, 2, 3, 4, 5],
[1, 6, 2, 8, 7, 4]], dtype=uint32)
def numpy_to_xml_string(self, data):
if self.data_format == "XML":
s = BytesIO()
> fmt = dtype_to_format_string[data.dtype.name]
E KeyError: 'uint32'
/usr/lib/python3/dist-packages/meshio/xdmf/main.py:362: KeyError
____________________________ test_xdmf3[XML-mesh6]
_____________________________
mesh = <meshio mesh object>
Number of points: 13
Number of cells:
quad8: 2
data_format = 'XML'
@pytest.mark.parametrize("mesh", test_set_full)
@pytest.mark.parametrize("data_format", ["XML", "Binary", "HDF"])
def test_xdmf3(mesh, data_format):
def write(*args, **kwargs):
return meshio.xdmf.write(*args, data_format=data_format,
**kwargs)
> helpers.write_read(write, meshio.xdmf.read, mesh, 1.0e-14)
test/test_xdmf.py:42:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
_ _ _ _
test/helpers.py:347: in write_read
writer(p, input_mesh)
test/test_xdmf.py:40: in write
return meshio.xdmf.write(*args, data_format=data_format, **kwargs)
/usr/lib/python3/dist-packages/meshio/xdmf/main.py:530: in write
XdmfWriter(*args, **kwargs)
/usr/lib/python3/dist-packages/meshio/xdmf/main.py:351: in __init__
self.cells(mesh.cells, grid)
/usr/lib/python3/dist-packages/meshio/xdmf/main.py:431: in cells
data_item.text = self.numpy_to_xml_string(cells[0].data)
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
_ _ _ _
self = <meshio.xdmf.main.XdmfWriter object at 0xf4f76ad8>
data = array([[ 0, 1, 2, 3, 4, 5, 6, 7],
[ 1, 8, 9, 2, 10, 11, 12, 5]], dtype=uint32)
def numpy_to_xml_string(self, data):
if self.data_format == "XML":
s = BytesIO()
> fmt = dtype_to_format_string[data.dtype.name]
E KeyError: 'uint32'
/usr/lib/python3/dist-packages/meshio/xdmf/main.py:362: KeyError
____________________________ test_xdmf3[XML-mesh8]
_____________________________
mesh = <meshio mesh object>
Number of points: 5
Number of cells:
tetra: 2
data_format = 'XML'
@pytest.mark.parametrize("mesh", test_set_full)
@pytest.mark.parametrize("data_format", ["XML", "Binary", "HDF"])
def test_xdmf3(mesh, data_format):
def write(*args, **kwargs):
return meshio.xdmf.write(*args, data_format=data_format,
**kwargs)
> helpers.write_read(write, meshio.xdmf.read, mesh, 1.0e-14)
test/test_xdmf.py:42:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
_ _ _ _
test/helpers.py:347: in write_read
writer(p, input_mesh)
test/test_xdmf.py:40: in write
return meshio.xdmf.write(*args, data_format=data_format, **kwargs)
/usr/lib/python3/dist-packages/meshio/xdmf/main.py:530: in write
XdmfWriter(*args, **kwargs)
/usr/lib/python3/dist-packages/meshio/xdmf/main.py:351: in __init__
self.cells(mesh.cells, grid)
/usr/lib/python3/dist-packages/meshio/xdmf/main.py:431: in cells
data_item.text = self.numpy_to_xml_string(cells[0].data)
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
_ _ _ _
self = <meshio.xdmf.main.XdmfWriter object at 0xf4f2e4f0>
data = array([[0, 1, 2, 4],
[0, 2, 3, 4]], dtype=uint32)
def numpy_to_xml_string(self, data):
if self.data_format == "XML":
s = BytesIO()
> fmt = dtype_to_format_string[data.dtype.name]
E KeyError: 'uint32'
/usr/lib/python3/dist-packages/meshio/xdmf/main.py:362: KeyError
____________________________ test_xdmf3[XML-mesh9]
_____________________________
mesh = <meshio mesh object>
Number of points: 10
Number of cells:
tetra10: 1
data_format = 'XML'
@pytest.mark.parametrize("mesh", test_set_full)
@pytest.mark.parametrize("data_format", ["XML", "Binary", "HDF"])
def test_xdmf3(mesh, data_format):
def write(*args, **kwargs):
return meshio.xdmf.write(*args, data_format=data_format,
**kwargs)
> helpers.write_read(write, meshio.xdmf.read, mesh, 1.0e-14)
test/test_xdmf.py:42:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
_ _ _ _
test/helpers.py:347: in write_read
writer(p, input_mesh)
test/test_xdmf.py:40: in write
return meshio.xdmf.write(*args, data_format=data_format, **kwargs)
/usr/lib/python3/dist-packages/meshio/xdmf/main.py:530: in write
XdmfWriter(*args, **kwargs)
/usr/lib/python3/dist-packages/meshio/xdmf/main.py:351: in __init__
self.cells(mesh.cells, grid)
/usr/lib/python3/dist-packages/meshio/xdmf/main.py:431: in cells
data_item.text = self.numpy_to_xml_string(cells[0].data)
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
_ _ _ _
self = <meshio.xdmf.main.XdmfWriter object at 0xf4f76e68>
data = array([[0, 1, 2, 3, 4, 5, 6, 7, 8, 9]], dtype=uint32)
def numpy_to_xml_string(self, data):
if self.data_format == "XML":
s = BytesIO()
> fmt = dtype_to_format_string[data.dtype.name]
E KeyError: 'uint32'
/usr/lib/python3/dist-packages/meshio/xdmf/main.py:362: KeyError
____________________________ test_xdmf3[XML-mesh10]
____________________________
mesh = <meshio mesh object>
Number of points: 8
Number of cells:
hexahedron: 1
data_format = 'XML'
@pytest.mark.parametrize("mesh", test_set_full)
@pytest.mark.parametrize("data_format", ["XML", "Binary", "HDF"])
def test_xdmf3(mesh, data_format):
def write(*args, **kwargs):
return meshio.xdmf.write(*args, data_format=data_format,
**kwargs)
> helpers.write_read(write, meshio.xdmf.read, mesh, 1.0e-14)
test/test_xdmf.py:42:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
_ _ _ _
test/helpers.py:347: in write_read
writer(p, input_mesh)
test/test_xdmf.py:40: in write
return meshio.xdmf.write(*args, data_format=data_format, **kwargs)
/usr/lib/python3/dist-packages/meshio/xdmf/main.py:530: in write
XdmfWriter(*args, **kwargs)
/usr/lib/python3/dist-packages/meshio/xdmf/main.py:351: in __init__
self.cells(mesh.cells, grid)
/usr/lib/python3/dist-packages/meshio/xdmf/main.py:431: in cells
data_item.text = self.numpy_to_xml_string(cells[0].data)
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
_ _ _ _
self = <meshio.xdmf.main.XdmfWriter object at 0xf4f76418>
data = array([[0, 1, 2, 3, 4, 5, 6, 7]], dtype=uint32)
def numpy_to_xml_string(self, data):
if self.data_format == "XML":
s = BytesIO()
> fmt = dtype_to_format_string[data.dtype.name]
E KeyError: 'uint32'
/usr/lib/python3/dist-packages/meshio/xdmf/main.py:362: KeyError
____________________________ test_xdmf3[XML-mesh11]
____________________________
mesh = <meshio mesh object>
Number of points: 20
Number of cells:
hexahedron20: 1
data_format = 'XML'
@pytest.mark.parametrize("mesh", test_set_full)
@pytest.mark.parametrize("data_format", ["XML", "Binary", "HDF"])
def test_xdmf3(mesh, data_format):
def write(*args, **kwargs):
return meshio.xdmf.write(*args, data_format=data_format,
**kwargs)
> helpers.write_read(write, meshio.xdmf.read, mesh, 1.0e-14)
test/test_xdmf.py:42:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
_ _ _ _
test/helpers.py:347: in write_read
writer(p, input_mesh)
test/test_xdmf.py:40: in write
return meshio.xdmf.write(*args, data_format=data_format, **kwargs)
/usr/lib/python3/dist-packages/meshio/xdmf/main.py:530: in write
XdmfWriter(*args, **kwargs)
/usr/lib/python3/dist-packages/meshio/xdmf/main.py:351: in __init__
self.cells(mesh.cells, grid)
/usr/lib/python3/dist-packages/meshio/xdmf/main.py:431: in cells
data_item.text = self.numpy_to_xml_string(cells[0].data)
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
_ _ _ _
self = <meshio.xdmf.main.XdmfWriter object at 0xf4f2e5e0>
data = array([[ 0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13,
14, 15,
16, 17, 18, 19]], dtype=uint32)
def numpy_to_xml_string(self, data):
if self.data_format == "XML":
s = BytesIO()
> fmt = dtype_to_format_string[data.dtype.name]
E KeyError: 'uint32'
/usr/lib/python3/dist-packages/meshio/xdmf/main.py:362: KeyError
===================== 6 failed, 556 passed in 5.83 seconds
=====================
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 488 bytes
Desc: OpenPGP digital signature
URL: <http://alioth-lists.debian.net/pipermail/debian-science-maintainers/attachments/20201118/809b59fd/attachment.sig>
More information about the debian-science-maintainers
mailing list