Bug#920525: freecad: autopkgtest failure

Matthias Klose doko at debian.org
Sun Jan 27 07:38:04 GMT 2019


> From what I can see, I think the test itself passes, but it outputs
> stuff to stderr, which causes autopkgtest to consider it as a failure.

worked around by
http://launchpadlibrarian.net/408472848/freecad_0.17+dfsg1-7_0.17+dfsg1-7ubuntu1.diff.gz

however the tests still fail on i386 and s390x (regressions from the previous
version), seen at

https://objectstorage.prodstack4-5.canonical.com/v1/AUTH_77e2ada1e7a84929a74ba3b87153c0ac/autopkgtest-disco/disco/i386/f/freecad/20190126_205423_961b9@/log.gz
======================================================================
FAIL: testSimpleAdditiveLoftCase (PartDesignTests.TestLoft.TestLoft)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/usr/share/freecad/Mod/PartDesign/PartDesignTests/TestLoft.py", line 48,
in testSimpleAdditiveLoftCase
    self.assertAlmostEqual(self.AdditiveLoft.Shape.Volume, 1)
AssertionError: 0.49999999999999994 != 1 within 7 places

======================================================================
FAIL: testSimpleSubtractiveLoftCase (PartDesignTests.TestLoft.TestLoft)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/usr/share/freecad/Mod/PartDesign/PartDesignTests/TestLoft.py", line 77,
in testSimpleSubtractiveLoftCase
    self.assertAlmostEqual(self.SubtractiveLoft.Shape.Volume, 1)
AssertionError: 2.0 != 1 within 7 places

----------------------------------------------------------------------
Ran 266 tests in 23.295s

FAILED (failures=2)



and
https://objectstorage.prodstack4-5.canonical.com/v1/AUTH_77e2ada1e7a84929a74ba3b87153c0ac/autopkgtest-disco/disco/s390x/f/freecad/20190126_205754_961b9@/log.gz

Save FreeCAD file for thermomech analysis to
/tmp/FEM_unittests/FEM_ccx_Flow1D_thermomech/Flow1D_thermomech.fcstd...
--------------- End of FEM tests FLow 1D thermomech analysis ---------------
ok
test_mesh_seg2_python (femtest.testmesh.FemMeshTest) ... ok
test_mesh_seg3_python (femtest.testmesh.FemMeshTest) ... Program received signal
SIGSEGV, Segmentation fault.
#0  [0x3ffd1af9af6]
#1  0x3ff72d87274 in DriverUNV_R_SMDS_Mesh::Perform() from
/usr/lib/freecad/lib/libDriverUNV.so+0x123c
#2  0x3ff77fa8dcc in SMESH_Mesh::UNVToMesh(char const*) from
/usr/lib/freecad/lib/libSMESH.so+0x13c
#3  0x3ff78952efa in Fem::FemMesh::read(char const*) from
/usr/lib/freecad/lib/Fem.so+0xc2
#4  0x3ff7898d234 in Fem::Module::read(Py::Tuple const&) from
/usr/lib/freecad/lib/Fem.so+0xac
#5  0x3ff7898cd36 in Fem::Module::invoke_method_varargs(void*, Py::Tuple const&)
from /usr/lib/freecad/lib/Fem.so+0x4e
#6  /usr/lib/freecad/lib/libFreeCADBase.so(method_varargs_call_handler+0x1b4)
[0x3ff7edfe4a4]
#7  /usr/lib/s390x-linux-gnu/libpython2.7.so.1.0(PyEval_EvalFrameEx+0x92ea)
[0x3ff7ea2d462]
#8  /usr/lib/s390x-linux-gnu/libpython2.7.so.1.0(PyEval_EvalFrameEx+0x9bc8)
[0x3ff7ea2dd40]
#9  /usr/lib/s390x-linux-gnu/libpython2.7.so.1.0(PyEval_EvalCodeEx+0x8c8)
[0x3ff7ea237e0]
#10  /usr/lib/s390x-linux-gnu/libpython2.7.so.1.0(+0x1b4668) [0x3ff7eab4668]
#11  /usr/lib/s390x-linux-gnu/libpython2.7.so.1.0(PyObject_Call+0x5c)
[0x3ff7eae35e4]
#12  /usr/lib/s390x-linux-gnu/libpython2.7.so.1.0(PyEval_EvalFrameEx+0x1356)
[0x3ff7ea254ce]
#13  /usr/lib/s390x-linux-gnu/libpython2.7.so.1.0(PyEval_EvalCodeEx+0x8c8)
[0x3ff7ea237e0]
#14  /usr/lib/s390x-linux-gnu/libpython2.7.so.1.0(+0x1b4554) [0x3ff7eab4554]
#15  /usr/lib/s390x-linux-gnu/libpython2.7.so.1.0(PyObject_Call+0x5c)
[0x3ff7eae35e4]
#16  /usr/lib/s390x-linux-gnu/libpython2.7.so.1.0(+0x1cdfc2) [0x3ff7eacdfc2]
#17  /usr/lib/s390x-linux-gnu/libpython2.7.so.1.0(PyObject_Call+0x5c)
[0x3ff7eae35e4]
#18  /usr/lib/s390x-linux-gnu/libpython2.7.so.1.0(+0x17644e) [0x3ff7ea7644e]
#19  /usr/lib/s390x-linux-gnu/libpython2.7.so.1.0(PyObject_Call+0x5c)
[0x3ff7eae35e4]
#20  /usr/lib/s390x-linux-gnu/libpython2.7.so.1.0(PyEval_EvalFrameEx+0x34b0)
[0x3ff7ea27628]
#21  /usr/lib/s390x-linux-gnu/libpython2.7.so.1.0(PyEval_EvalCodeEx+0x8c8)
[0x3ff7ea237e0]
#22  /usr/lib/s390x-linux-gnu/libpython2.7.so.1.0(+0x1b4668) [0x3ff7eab4668]
#23  /usr/lib/s390x-linux-gnu/libpython2.7.so.1.0(PyObject_Call+0x5c)
[0x3ff7eae35e4]
#24  /usr/lib/s390x-linux-gnu/libpython2.7.so.1.0(PyEval_EvalFrameEx+0x1356)
[0x3ff7ea254ce]
#25  /usr/lib/s390x-linux-gnu/libpython2.7.so.1.0(PyEval_EvalCodeEx+0x8c8)
[0x3ff7ea237e0]
#26  /usr/lib/s390x-linux-gnu/libpython2.7.so.1.0(+0x1b4554) [0x3ff7eab4554]
#27  /usr/lib/s390x-linux-gnu/libpython2.7.so.1.0(PyObject_Call+0x5c)
[0x3ff7eae35e4]
#28  /usr/lib/s390x-linux-gnu/libpython2.7.so.1.0(+0x1cdfc2) [0x3ff7eacdfc2]
#29  /usr/lib/s390x-linux-gnu/libpython2.7.so.1.0(PyObject_Call+0x5c)
[0x3ff7eae35e4]
#30  /usr/lib/s390x-linux-gnu/libpython2.7.so.1.0(+0x17644e) [0x3ff7ea7644e]
#31  /usr/lib/s390x-linux-gnu/libpython2.7.so.1.0(PyObject_Call+0x5c)
[0x3ff7eae35e4]
#32  /usr/lib/s390x-linux-gnu/libpython2.7.so.1.0(PyEval_EvalFrameEx+0x34b0)
[0x3ff7ea27628]
#33  /usr/lib/s390x-linux-gnu/libpython2.7.so.1.0(PyEval_EvalCodeEx+0x8c8)
[0x3ff7ea237e0]
#34  /usr/lib/s390x-linux-gnu/libpython2.7.so.1.0(+0x1b4668) [0x3ff7eab4668]
#35  /usr/lib/s390x-linux-gnu/libpython2.7.so.1.0(PyObject_Call+0x5c)
[0x3ff7eae35e4]
#36  /usr/lib/s390x-linux-gnu/libpython2.7.so.1.0(PyEval_EvalFrameEx+0x1356)
[0x3ff7ea254ce]
#37  /usr/lib/s390x-linux-gnu/libpython2.7.so.1.0(PyEval_EvalCodeEx+0x8c8)
[0x3ff7ea237e0]
#38  /usr/lib/s390x-linux-gnu/libpython2.7.so.1.0(+0x1b4554) [0x3ff7eab4554]
ok
test_mesh_tetra10 (femtest.testmesh.FemMeshTest) ... tetra10export tests.

Found: nodes
Found: elements
imported mesh: 10 nodes, 0 HEXA8, 0 PENTA6, 0 TETRA4, 1 TETRA10, 0 PENTA15
imported mesh: 0 HEXA20, 0 TRIA3, 0 TRIA6, 0 QUAD4, 0 QUAD8, 0 SEG2, 0 SEG3
Found: nodes
Found: elements
imported mesh: 10 nodes, 0 HEXA8, 0 PENTA6, 0 TETRA4, 1 TETRA10, 0 PENTA15
imported mesh: 0 HEXA20, 0 TRIA3, 0 TRIA6, 0 QUAD4, 0 QUAD8, 0 SEG2, 0 SEG3
#39  /usr/lib/s390x-linux-gnu/libpython2.7.so.1.0(PyObject_Call+0x5c)
[0x3ff7eae35e4]
#40  /usr/lib/s390x-linux-gnu/libpython2.7.so.1.0(+0x1cdfc2) [0x3ff7eacdfc2]
#41  /usr/lib/s390x-linux-gnu/libpython2.7.so.1.0(PyObject_Call+0x5c)
[0x3ff7eae35e4]
#42  /usr/lib/s390x-linux-gnu/libpython2.7.so.1.0(+0x17644e) [0x3ff7ea7644e]
#43  /usr/lib/s390x-linux-gnu/libpython2.7.so.1.0(PyObject_Call+0x5c)
[0x3ff7eae35e4]
#44  /usr/lib/s390x-linux-gnu/libpython2.7.so.1.0(PyEval_EvalFrameEx+0x34b0)
[0x3ff7ea27628]
#45  /usr/lib/s390x-linux-gnu/libpython2.7.so.1.0(PyEval_EvalCodeEx+0x8c8)
[0x3ff7ea237e0]
#46  /usr/lib/s390x-linux-gnu/libpython2.7.so.1.0(+0x1b4668) [0x3ff7eab4668]
#47  /usr/lib/s390x-linux-gnu/libpython2.7.so.1.0(PyObject_Call+0x5c)
[0x3ff7eae35e4]
#48  /usr/lib/s390x-linux-gnu/libpython2.7.so.1.0(PyEval_EvalFrameEx+0x1356)
[0x3ff7ea254ce]
#49  /usr/lib/s390x-linux-gnu/libpython2.7.so.1.0(PyEval_EvalCodeEx+0x8c8)
[0x3ff7ea237e0]
#50  /usr/lib/s390x-linux-gnu/libpython2.7.so.1.0(+0x1b4554) [0x3ff7eab4554]
#51  /usr/lib/s390x-linux-gnu/libpython2.7.so.1.0(PyObject_Call+0x5c)
[0x3ff7eae35e4]
#52  /usr/lib/s390x-linux-gnu/libpython2.7.so.1.0(+0x1cdfc2) [0x3ff7eacdfc2]
#53  /usr/lib/s390x-linux-gnu/libpython2.7.so.1.0(PyObject_Call+0x5c)
[0x3ff7eae35e4]
#54  /usr/lib/s390x-linux-gnu/libpython2.7.so.1.0(+0x17644e) [0x3ff7ea7644e]
#55  /usr/lib/s390x-linux-gnu/libpython2.7.so.1.0(PyObject_Call+0x5c)
[0x3ff7eae35e4]
#56  /usr/lib/s390x-linux-gnu/libpython2.7.so.1.0(PyEval_EvalFrameEx+0x34b0)
[0x3ff7ea27628]
#57  /usr/lib/s390x-linux-gnu/libpython2.7.so.1.0(PyEval_EvalFrameEx+0x9bc8)
[0x3ff7ea2dd40]
#58  /usr/lib/s390x-linux-gnu/libpython2.7.so.1.0(PyEval_EvalFrameEx+0x9bc8)
[0x3ff7ea2dd40]
#59  /usr/lib/s390x-linux-gnu/libpython2.7.so.1.0(PyEval_EvalCodeEx+0x8c8)
[0x3ff7ea237e0]
#60  /usr/lib/s390x-linux-gnu/libpython2.7.so.1.0(PyEval_EvalCode+0x38)
[0x3ff7ea24020]
#61  /usr/lib/s390x-linux-gnu/libpython2.7.so.1.0(PyRun_StringFlags+0x8a)
[0x3ff7e9f8642]
#62  0x3ff7ee3804e in Base::InterpreterSingleton::runString[abi:cxx11](char
const*) from /usr/lib/freecad/lib/libFreeCADBase.so+0x76
#63  0x3ff7f194fd4 in App::Application::runApplication() from
/usr/lib/freecad/lib/libFreeCADApp.so+0x16c
#64  freecadcmd(main+0x1ae) [0x2aa3c201fae]
#65  /lib/s390x-linux-gnu/libc.so.6(__libc_start_main+0x10a) [0x3ff7e4a4172]
#66  freecadcmd(+0x25dc) [0x2aa3c2025dc]
#67  [(nil)]



More information about the debian-science-maintainers mailing list