AppImage 0.19.17349 - Test Framework test errors

Having trouble installing or compiling FreeCAD? Get help here.
User avatar
Kunda1
Posts: 4755
Joined: Thu Jan 05, 2017 9:03 pm

AppImage 0.19.17349 - Test Framework test errors

Postby Kunda1 » Mon Jul 15, 2019 10:59 am

Ran Test Framework on the following FC version and found 3 errors:
OS: Manjaro Linux (XFCE/xfce)
Word size of OS: 64-bit
Word size of FreeCAD: 64-bit
Version: 0.19.17349 (Git) AppImage
Build type: Release
Branch: master
Hash: 7eccda34d090ab641b29fa4be24c515cfa39c601
Python version: 3.7.3
Qt version: 5.9.7
Coin version: 4.0.0a
OCC version: 7.3.0
Locale: English/UnitedStates (en_US)
Traceback (most recent call last):
File "/tmp/.mount_FreeCADoqw5c/usr/lib/python3.7/unittest/case.py", line 59, in testPartExecutor
yield
File "/tmp/.mount_FreeCADoqw5c/usr/lib/python3.7/unittest/case.py", line 615, in run
testMethod()
File "/tmp/.mount_FreeCADoqw5c/usr/Mod/Fem/femtest/testsolverframework.py", line 232, in test_solver_framework
ret = testtools.compare_files(startinfo_given, startinfo_totest)
File "/tmp/.mount_FreeCADoqw5c/usr/Mod/Fem/femtest/utilstest.py", line 180, in compare_files
file2 = open(file_name2, 'r')
FileNotFoundError: [Errno 2] No such file or directory: '/tmp/FEM_unittests/FEM_solverframework/ELMERSOLVER_STARTINFO'
Traceback (most recent call last):
File "/tmp/.mount_FreeCADoqw5c/usr/lib/python3.7/unittest/case.py", line 59, in testPartExecutor
yield
File "/tmp/.mount_FreeCADoqw5c/usr/lib/python3.7/unittest/case.py", line 615, in run
testMethod()
File "/tmp/.mount_FreeCADoqw5c/usr/Mod/PartDesign/TestPartDesignGui.py", line 202, in testMoveSingleFeature
self.assertEqual(len(self.BodySource.Group), 0, "Source body feature count is wrong")
File "/tmp/.mount_FreeCADoqw5c/usr/lib/python3.7/unittest/case.py", line 839, in assertEqual
assertion_func(first, second, msg=msg)
File "/tmp/.mount_FreeCADoqw5c/usr/lib/python3.7/unittest/case.py", line 832, in _baseAssertEqual
raise self.failureException(msg)
AssertionError: 1 != 0 : Source body feature count is wrong
Traceback (most recent call last):
File "/tmp/.mount_FreeCADoqw5c/usr/lib/python3.7/unittest/case.py", line 59, in testPartExecutor
yield
File "/tmp/.mount_FreeCADoqw5c/usr/lib/python3.7/unittest/case.py", line 615, in run
testMethod()
File "/tmp/.mount_FreeCADoqw5c/usr/Mod/PartDesign/TestPartDesignGui.py", line 145, in testRefuseToMoveSingleFeature
self.assertEqual(len(self.BodySource.Group), 3, "Source body feature count is wrong")
File "/tmp/.mount_FreeCADoqw5c/usr/lib/python3.7/unittest/case.py", line 839, in assertEqual
assertion_func(first, second, msg=msg)
File "/tmp/.mount_FreeCADoqw5c/usr/lib/python3.7/unittest/case.py", line 832, in _baseAssertEqual
raise self.failureException(msg)
AssertionError: 4 != 3 : Source body feature count is wrong
Want to contribute back to FC? Checkout:
#lowhangingfruit | Use the Source, Luke. | How to Help FreeCAD | How to report FC bugs and features
looo
Posts: 2655
Joined: Mon Nov 11, 2013 5:29 pm

Re: AppImage 0.19.17349 - Test Framework test errors

Postby looo » Tue Jul 16, 2019 1:56 pm

is this still valid for the latest available build (17360)? I skipped tests for one of the earlier builds.
User avatar
Kunda1
Posts: 4755
Joined: Thu Jan 05, 2017 9:03 pm

Re: AppImage 0.19.17349 - Test Framework test errors

Postby Kunda1 » Tue Jul 16, 2019 3:10 pm

looo wrote:
Tue Jul 16, 2019 1:56 pm
is this still valid for the latest available build (17360)? I skipped tests for one of the earlier builds.
Yes, can reproduce them on
OS: Manjaro Linux (XFCE/xfce)
Word size of OS: 64-bit
Word size of FreeCAD: 64-bit
Version: 0.19.17360 (Git) AppImage
Build type: Release
Branch: master
Hash: 348160d4ea970f5f6d0850272c04800c0222c8ba
Python version: 3.7.3
Qt version: 5.9.7
Coin version: 4.0.0a
OCC version: 7.3.0
Locale: English/UnitedStates (en_US)
Want to contribute back to FC? Checkout:
#lowhangingfruit | Use the Source, Luke. | How to Help FreeCAD | How to report FC bugs and features
looo
Posts: 2655
Joined: Mon Nov 11, 2013 5:29 pm

Re: AppImage 0.19.17349 - Test Framework test errors

Postby looo » Tue Jul 16, 2019 7:49 pm

For me everything is green:

OS: Ubuntu 18.04.2 LTS (ubuntu:GNOME/ubuntu)
Word size of OS: 64-bit
Word size of FreeCAD: 64-bit
Version: 0.19.17360 (Git) AppImage
Build type: Release
Branch: master
Hash: 348160d4ea970f5f6d0850272c04800c0222c8ba
Python version: 3.7.3
Qt version: 5.9.7
Coin version: 4.0.0a
OCC version: 7.3.0
Locale: German/Germany (de_DE)
User avatar
Kunda1
Posts: 4755
Joined: Thu Jan 05, 2017 9:03 pm

Re: AppImage 0.19.17349 - Test Framework test errors

Postby Kunda1 » Tue Jul 23, 2019 10:42 pm

bernd wrote:
@bernd can you reproduce the FEM test issues?
Want to contribute back to FC? Checkout:
#lowhangingfruit | Use the Source, Luke. | How to Help FreeCAD | How to report FC bugs and features