AppImage 0.19.17349 - Test Framework test errors

Having trouble installing or compiling FreeCAD? Get help here.
Forum rules
Be nice to others! Respect the FreeCAD code of conduct!
User avatar
Kunda1
Veteran
Posts: 13434
Joined: Thu Jan 05, 2017 9:03 pm

AppImage 0.19.17349 - Test Framework test errors

Post by Kunda1 »

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
Alone you go faster. Together we go farther
Please mark thread [Solved]
Want to contribute back to FC? Checkout:
'good first issues' | Open TODOs and FIXMEs | How to Help FreeCAD | How to report Bugs
User avatar
looo
Veteran
Posts: 3941
Joined: Mon Nov 11, 2013 5:29 pm

Re: AppImage 0.19.17349 - Test Framework test errors

Post by looo »

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

Re: AppImage 0.19.17349 - Test Framework test errors

Post by Kunda1 »

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)
Alone you go faster. Together we go farther
Please mark thread [Solved]
Want to contribute back to FC? Checkout:
'good first issues' | Open TODOs and FIXMEs | How to Help FreeCAD | How to report Bugs
User avatar
looo
Veteran
Posts: 3941
Joined: Mon Nov 11, 2013 5:29 pm

Re: AppImage 0.19.17349 - Test Framework test errors

Post by looo »

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
Veteran
Posts: 13434
Joined: Thu Jan 05, 2017 9:03 pm

Re: AppImage 0.19.17349 - Test Framework test errors

Post by Kunda1 »

bernd wrote:
@bernd can you reproduce the FEM test issues?
Alone you go faster. Together we go farther
Please mark thread [Solved]
Want to contribute back to FC? Checkout:
'good first issues' | Open TODOs and FIXMEs | How to Help FreeCAD | How to report Bugs
triplus
Veteran
Posts: 9471
Joined: Mon Dec 12, 2011 4:45 pm

Re: AppImage 0.19.17349 - Test Framework test errors

Post by triplus »

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

Re: AppImage 0.19.17349 - Test Framework test errors

Post by Kunda1 »

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)
Alone you go faster. Together we go farther
Please mark thread [Solved]
Want to contribute back to FC? Checkout:
'good first issues' | Open TODOs and FIXMEs | How to Help FreeCAD | How to report Bugs
triplus
Veteran
Posts: 9471
Joined: Mon Dec 12, 2011 4:45 pm

Re: AppImage 0.19.17349 - Test Framework test errors

Post by triplus »

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

Re: AppImage 0.19.17349 - Test Framework test errors

Post by Kunda1 »

triplus wrote: Tue Aug 27, 2019 1:38 pm Great, will take a closer look over the weekend.
Much thanks
Alone you go faster. Together we go farther
Please mark thread [Solved]
Want to contribute back to FC? Checkout:
'good first issues' | Open TODOs and FIXMEs | How to Help FreeCAD | How to report Bugs
triplus
Veteran
Posts: 9471
Joined: Mon Dec 12, 2011 4:45 pm

Re: AppImage 0.19.17349 - Test Framework test errors

Post by triplus »

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:
Post Reply