So as the title says we have a failing tests in the wild:
Code: Select all
======================================================================
ERROR: test_tetra10_yml (femtest.testmesh.TestMeshEleTetra10)
----------------------------------------------------------------------
Traceback (most recent call last):
File "C:\Users\travis\build\FreeCAD\FreeCAD\build\Mod\Fem\femtest\testmesh.py"
, line 474, in test_tetra10_yml
write(self.femmesh, outfile)
File "C:\Users\travis\build\FreeCAD\FreeCAD\build\Mod\Fem\feminout\importYamlJ
sonMesh.py", line 203, in write
mesh_data = importToolsFem.make_dict_from_femmesh(fem_mesh)
File "C:\Users\travis\build\FreeCAD\FreeCAD\build\Mod\Fem\feminout\importTools
Fem.py", line 288, in make_dict_from_femmesh
for e in femmesh.Edges:
AttributeError: 'str' object has no attribute 'Edges'
======================================================================
FAIL: test_1_static_analysis (femtest.testccxtools.TestCcxTools)
----------------------------------------------------------------------
Traceback (most recent call last):
File "C:\Users\travis\build\FreeCAD\FreeCAD\build\Mod\Fem\femtest\testccxtools
.py", line 220, in test_1_static_analysis
"ccxtools write_inp_file test failed.\n{}".format(ret)
AssertionError: 'Comparing C:/Users/travis/build/FreeCAD/FreeCAD/build/Mod\\Fem\
\femtest\\testfiles\\ccx\\cube_static.inp to C:\\Users\\travis\\AppData\\Local\\
Temp\\FEM_unittests\\FEM_ccx_static\\Mesh.inp failed!\n--- \n+++ \n@@ -590,0 +59
1,5 @@\n+** outputs --> dat file\n+** reaction forces for Constraint fixed\n+*NO
DE PRINT, NSET=FemConstraintFixed, TOTALS=ONLY\n+RF\n+\n' is not false : ccxtool
s write_inp_file test failed.
Comparing C:/Users/travis/build/FreeCAD/FreeCAD/build/Mod\Fem\femtest\testfiles\
ccx\cube_static.inp to C:\Users\travis\AppData\Local\Temp\FEM_unittests\FEM_ccx_
static\Mesh.inp failed!
---
+++
@@ -590,0 +591,5 @@
+** outputs --> dat file
+** reaction forces for Constraint fixed
+*NODE PRINT, NSET=FemConstraintFixed, TOTALS=ONLY
+RF
+
======================================================================
FAIL: test_2_static_multiple_material (femtest.testccxtools.TestCcxTools)
----------------------------------------------------------------------
Traceback (most recent call last):
File "C:\Users\travis\build\FreeCAD\FreeCAD\build\Mod\Fem\femtest\testccxtools
.py", line 408, in test_2_static_multiple_material
"ccxtools write_inp_file test failed.\n{}".format(ret)
AssertionError: 'Comparing C:/Users/travis/build/FreeCAD/FreeCAD/build/Mod\\Fem\
\femtest\\testfiles\\ccx\\multimat.inp to C:\\Users\\travis\\AppData\\Local\\Tem
p\\FEM_unittests\\FEM_ccx_multimat/Mesh.inp failed!\n--- \n+++ \n@@ -1282,0 +128
3,5 @@\n+** outputs --> dat file\n+** reaction forces for Constraint fixed\n+*NO
DE PRINT, NSET=ConstraintFixed, TOTALS=ONLY\n+RF\n+\n' is not false : ccxtools w
rite_inp_file test failed.
Comparing C:/Users/travis/build/FreeCAD/FreeCAD/build/Mod\Fem\femtest\testfiles\
ccx\multimat.inp to C:\Users\travis\AppData\Local\Temp\FEM_unittests\FEM_ccx_mul
timat/Mesh.inp failed!
---
+++
@@ -1282,0 +1283,5 @@
+** outputs --> dat file
+** reaction forces for Constraint fixed
+*NODE PRINT, NSET=ConstraintFixed, TOTALS=ONLY
+RF
+
======================================================================
FAIL: test_3_freq_analysis (femtest.testccxtools.TestCcxTools)
----------------------------------------------------------------------
Traceback (most recent call last):
File "C:\Users\travis\build\FreeCAD\FreeCAD\build\Mod\Fem\femtest\testccxtools
.py", line 524, in test_3_freq_analysis
"ccxtools write_inp_file test failed.\n{}".format(ret)
AssertionError: 'Comparing C:/Users/travis/build/FreeCAD/FreeCAD/build/Mod\\Fem\
\femtest\\testfiles\\ccx\\cube_frequency.inp to C:\\Users\\travis\\AppData\\Loca
l\\Temp\\FEM_unittests\\FEM_ccx_frequency\\Mesh.inp failed!\n--- \n+++ \n@@ -464
,0 +465,2 @@\n+** outputs --> dat file\n+** reaction forces for Constraint fixed
\n' is not false : ccxtools write_inp_file test failed.
Comparing C:/Users/travis/build/FreeCAD/FreeCAD/build/Mod\Fem\femtest\testfiles\
ccx\cube_frequency.inp to C:\Users\travis\AppData\Local\Temp\FEM_unittests\FEM_c
cx_frequency\Mesh.inp failed!
---
+++
@@ -464,0 +465,2 @@
+** outputs --> dat file
+** reaction forces for Constraint fixed
======================================================================
FAIL: test_4_thermomech_analysis (femtest.testccxtools.TestCcxTools)
----------------------------------------------------------------------
Traceback (most recent call last):
File "C:\Users\travis\build\FreeCAD\FreeCAD\build\Mod\Fem\femtest\testccxtools
.py", line 756, in test_4_thermomech_analysis
"ccxtools write_inp_file test failed.\n{}".format(ret)
AssertionError: 'Comparing C:/Users/travis/build/FreeCAD/FreeCAD/build/Mod\\Fem\
\femtest\\testfiles\\ccx\\spine_thermomech.inp to C:\\Users\\travis\\AppData\\Lo
cal\\Temp\\FEM_unittests\\FEM_ccx_thermomech\\Mesh.inp failed!\n--- \n+++ \n@@ -
199,0 +200,5 @@\n+** outputs --> dat file\n+** reaction forces for Constraint fi
xed\n+*NODE PRINT, NSET=FemConstraintFixed, TOTALS=ONLY\n+RF\n+\n' is not false
: ccxtools write_inp_file test failed.
Comparing C:/Users/travis/build/FreeCAD/FreeCAD/build/Mod\Fem\femtest\testfiles\
ccx\spine_thermomech.inp to C:\Users\travis\AppData\Local\Temp\FEM_unittests\FEM
_ccx_thermomech\Mesh.inp failed!
---
+++
@@ -199,0 +200,5 @@
+** outputs --> dat file
+** reaction forces for Constraint fixed
+*NODE PRINT, NSET=FemConstraintFixed, TOTALS=ONLY
+RF
+
======================================================================
FAIL: test_solver_framework (femtest.testsolverframework.TestSolverFrameWork)
----------------------------------------------------------------------
Traceback (most recent call last):
File "C:\Users\travis\build\FreeCAD\FreeCAD\build\Mod\Fem\femtest\testsolverfr
amework.py", line 178, in test_solver_framework
self.assertFalse(ret, "ccxtools write_inp_file test failed.\n{}".format(ret)
)
AssertionError: 'Comparing C:/Users/travis/build/FreeCAD/FreeCAD/build/Mod\\Fem\
\femtest\\testfiles\\ccx\\cube_static.inp to C:\\Users\\travis\\AppData\\Local\\
Temp\\FEM_unittests\\FEM_solverframework\\Mesh.inp failed!\n--- \n+++ \n@@ -590,
0 +591,5 @@\n+** outputs --> dat file\n+** reaction forces for Constraint fixed\
n+*NODE PRINT, NSET=FemConstraintFixed, TOTALS=ONLY\n+RF\n+\n' is not false : cc
xtools write_inp_file test failed.
Comparing C:/Users/travis/build/FreeCAD/FreeCAD/build/Mod\Fem\femtest\testfiles\
ccx\cube_static.inp to C:\Users\travis\AppData\Local\Temp\FEM_unittests\FEM_solv
erframework\Mesh.inp failed!
---
+++
@@ -590,0 +591,5 @@
+** outputs --> dat file
+** reaction forces for Constraint fixed
+*NODE PRINT, NSET=FemConstraintFixed, TOTALS=ONLY
+RF
+
----------------------------------------------------------------------
Ran 334 tests in 32.523s
FAILED (failures=5, errors=1)
bernd wrote: ping