AppImage 0.19.17349 - Test Framework test errors

Having trouble installing or compiling FreeCAD? Get help here.
User avatar
Kunda1
Posts: 5947
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: 2965
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.
please help with my conda-packaging efforts: https://liberapay.com/looooo/
User avatar
Kunda1
Posts: 5947
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: 2965
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)
please help with my conda-packaging efforts: https://liberapay.com/looooo/
User avatar
Kunda1
Posts: 5947
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
triplus
Posts: 8802
Joined: Mon Dec 12, 2011 4:45 pm

Re: AppImage 0.19.17349 - Test Framework test errors

Postby triplus » Sun Aug 25, 2019 10:52 pm

Is this still an issue, and if yes, is it specific to AppImage?
User avatar
Kunda1
Posts: 5947
Joined: Thu Jan 05, 2017 9:03 pm

Re: AppImage 0.19.17349 - Test Framework test errors

Postby Kunda1 » Tue Aug 27, 2019 12:09 am

Just ran test framework on latest appimage
results: https://pastebin.com/F0GbNfza

OS: Manjaro Linux (XFCE/xfce)
Word size of OS: 64-bit
Word size of FreeCAD: 64-bit
Version: 0.19.17798 (Git) AppImage
Build type: Release
Branch: master
Hash: 7e60631239109c632a8f6cca83f6e7e5502e43a1
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
triplus
Posts: 8802
Joined: Mon Dec 12, 2011 4:45 pm

Re: AppImage 0.19.17349 - Test Framework test errors

Postby triplus » Tue Aug 27, 2019 1:38 pm

Great, will take a closer look over the weekend.
User avatar
Kunda1
Posts: 5947
Joined: Thu Jan 05, 2017 9:03 pm

Re: AppImage 0.19.17349 - Test Framework test errors

Postby Kunda1 » Tue Aug 27, 2019 5:23 pm

triplus wrote:
Tue Aug 27, 2019 1:38 pm
Great, will take a closer look over the weekend.
Much thanks
Want to contribute back to FC? Checkout:
#lowhangingfruit | Use the Source, Luke. | How to Help FreeCAD | How to report FC bugs and features
triplus
Posts: 8802
Joined: Mon Dec 12, 2011 4:45 pm

Re: AppImage 0.19.17349 - Test Framework test errors

Postby triplus » Sat Oct 05, 2019 3:13 pm

There was one SSL related issue detected in the log file, mentioned here:

https://forum.freecadweb.org/viewtopic. ... 79#p338679

This issue was AppImage specific and it should be fixed now. Other issues are more or less related to external modules and are likely not related to AppImage. Like CADExchanger module, missing import FreeCAD statement. But i couldn't reproduce it, therefore you might have an older version of the module installed. Part-o-magic likely newer was tested in Test framework environment, hence a few errors.
DeepSOIC wrote: