FreeCAD/FreeCAD

CAM: Test needs to be revised to include 'Refining' of the compound edges so it doesn't matter which config files are used to run the tests

Open

#21,074 建立於 2025年4月30日

在 GitHub 查看
 (18 留言) (0 反應) (0 負責人)C++ (5,550 fork)batch import
Good first issueMod: CAMMod: TestPackaging/buildingStatus: ConfirmedStatus: Stale

倉庫指標

Star
 (30,913 star)
PR 合併指標
 (平均合併 24天 7小時) (30 天內合併 217 個 PR)

描述

Is there an existing issue for this?

  • I have searched the existing issues

Problem description

current master build fails one unit . This is not seen when running latest AppImage.

FreeCAD_weekly-builds-41138-conda-Linux-x86_64-py311.AppImage -t CAMTests.TestPathThreadMillingGenerator
FreeCAD 1.1.0, Libs: 1.1.0devR41138 (Git)
(C) 2001-2025 FreeCAD contributors
FreeCAD is free and open-source software licensed under the terms of LGPL2+ license.

User path has changed to ~/.local/share/FreeCAD/. Please move user modules and macros
                                                                                                                                                                                   
----------------------------------------------------------------------
Ran 7 tests in 0.0233s

OK
System exit
$  FreeCAD  -t parttests.TopoShapeTest.TopoShapeTest.testPartCompoundCut2
FreeCAD 1.1.0, Libs: 1.1.0devR41480 (Git)
(C) 2001-2025 FreeCAD contributors
FreeCAD is free and open-source software licensed under the terms of LGPL2+ license.

User path has changed to ~/.local/share/FreeCAD/. Please move user modules and macros
FAILED: testPartCompoundCut2 (parttests.TopoShapeTest.TopoShapeTest.testPartCompoundCut2)                                                                                          
Traceback (most recent call last):
  File "/usr/lib64/python3.12/unittest/case.py", line 58, in testPartExecutor
    yield
  File "/usr/lib64/python3.12/unittest/case.py", line 634, in run
    self._callTestMethod(testMethod)
  File "/usr/lib64/python3.12/unittest/case.py", line 589, in _callTestMethod
    if method() is not None:
       ^^^^^^^^
  File "~/freecad-build-master/Mod/Part/parttests/TopoShapeTest.py", line 807, in testPartCompoundCut2
    self.assertEqual(len(cut1.ElementReverseMap.keys()),len(refkeys))
AssertionError: 64 != 47


----------------------------------------------------------------------
Ran 1 tests in 0.307s

FAILED (failures=1)
System exit
                                           

Full version info

OS: Fedora Linux 40 (Forty) (LXQt/lxqt/xcb)
Architecture: x86_64
Version: 1.1.0dev.41480 (Git)
Build date: 2025/04/29 12:20:12
Build type: Release
Branch: main
Hash: 1bf21f85bd51f9347aa3ba99994fe1d4f3cb4e92
Python 3.12.9, Qt 6.8.2, Coin 4.0.2, Vtk 9.2.6, boost 1_83, Eigen3 3.4.0, PySide 
shiboken , SMESH 7.7.1.0, xerces-c 3.2.5, OCC 7.6.3
Locale: English/United Kingdom (en_GB)
Stylesheet/Theme/QtStyle: FreeCAD Light.qss/FreeCAD Light/
Logical DPI/Physical DPI/Pixel Ratio: 96/98.4815/1

Subproject(s) affected?

None

Anything else?

No response

Code of Conduct

  • I agree to follow this project's Code of Conduct

貢獻者指南