MantisBT
Mantis Bug Tracker Workflow

View Issue Details Jump to Notes ] Issue History ] Print ]
IDProjectCategoryView StatusDate SubmittedLast Update
0029181Open CASCADE[OCCT] TOOLS:Jenkins Certification Toolpublic2017-10-04 11:162018-11-20 22:55
Reporterkgv 
Assigned Toapn 
PrioritynormalSeverityfeature 
StatusassignedResolutionopen 
PlatformOSOS Version
Product Version 
Target Version[OCCT] 7.4.0*Fixed in Version 
Summary0029181: Jenkins Certification Tool - testing with enabled exceptions (undefined No_Exception)
DescriptionCurrently, OCCT certification is done for Release builds only.
This means, that No_Exception is always defined and issues like out-of-range access within NCollection classes might remain unnoticed.

It is proposed to extend certification with safe-checks enabled (at least, weekly).
This might be done in following ways:
- Testing Debug builds.
  Debug build enables full set of safety checks, including OCCT exceptions (No_Exception), OCCT debug assertions and also debug assertions within C++ STL templates.
- Testing Release builds with No_Exception undefined.
- Testing Release builds with No_Exception undefined and also enabled OCCT debug assertions + something extra.

Testing Debug builds might be tricky, because disabling code optimizations dramatically reduce execution performance - so apart from overall execution time, this might reveal issues with cpulimit configuration.
Also, debug assertions might lead to hanging testing.

So, it might be reasonable to preparing a special build configuration with compiler optimization turned on, but also with auxiliary exceptions/asserts - so that testing will be done in reasonable time with additional verification results.
TagsNo tags attached.
Test case number
Attached Files

- Relationships
related to 0029161newkgv Open CASCADE Coding Rules - No_Exception is defined within packages ElSLib, HLRAlgo, HLRBRep, Intrv even for Debug target 
related to 0023547closedabv Open CASCADE Tests failures in debug mode 
related to 0026598feedbackabv Open CASCADE Some test cases fail if macros OCCT_DEBUG is enabled 
related to 0028608newabv Open CASCADE Exceptions appear in test cases if macros OCCT_DEBUG is enabled 
related to 0023540closedbugmaster Open CASCADE Tests 3rdparty export fail in Debug mode 
related to 0024442assignedgka Open CASCADE Regression in DEBUG mode in test case de iges_2 B1 
related to 0030344verifiedbugmaster Open CASCADE Coding Rules - suppress GCC compiler warnings -Wstrict-overflow on Standard_OutOfRange_Raise_if 
related to 0023838newjgv Community Standard_OutOfRange in Geom_OffsetSurface::LocalDN (called by BRepFill_PipeShell) 
related to 0030345verifiedbugmaster Open CASCADE [REGRESSION] Mesh, BRepMesh_CurveTessellator - GCPnts_TangentialDeflection throws Standard_ConstructionError 
related to 0026034assignedmsv Community Result of revolution aborts the bopcheck if translated 
related to 0030346assignedifv Open CASCADE Modeling Algorithms - BRepPrimAPI_MakeRevol throws "BRepSweep_Translation::MakeEmptyVertex" 
related to 0030234verifiedbugmaster Community BRepMesh_IncrementalMesh fail to discretize some zero-length free edges 
related to 0030347verifiedbugmaster Open CASCADE [REGRESSION] Mesh, BRepMesh_ModelPostProcessor - NCollection_Array1 throws Standard_RangeError 
related to 0030348verifiedbugmaster Open CASCADE Shape Healing - ShapeFix_Wire::FixEdgeCurves() throws Standard_OutOfRange exception 

-  Notes
(0071549)
bugmaster (administrator)
2017-10-16 17:36

OCCT has been compiled with removing from occt_defs_flags.cmake string

set (CMAKE_CXX_FLAGS_RELEASE "${CMAKE_CXX_FLAGS_RELEASE} -DNo_Exception")
set (CMAKE_C_FLAGS_RELEASE "${CMAKE_C_FLAGS_RELEASE} -DNo_Exception")

Result of testing is crash all test cases

http://jenkins-test-10.nnov.opencascade.com/job/master-master-no-exception-OCCT-Windows-64-VC10-opt-test/HTML_Report/ [^]

http://jenkins-test-10.nnov.opencascade.com/job/master-master-no-exception-OCCT-Debian70-64-opt-test/HTML_Report/ [^]
(0080755)
git (administrator)
2018-11-06 15:20

Branch CR29181 has been created by kgv.

SHA-1: e1151c398f6922f41eb46abc2b5473888c1b1872


Detailed log of new commits:

Author: kgv
Date: Tue Nov 6 15:19:06 2018 +0300

    0029181: Jenkins Certification Tool - testing with enabled exceptions (undefined No_Exception)
(0081102)
git (administrator)
2018-11-15 09:10

Branch CR29181_1 has been created by kgv.

SHA-1: 8141a23560e41cdd75b2c07732df4b956b1c9541


Detailed log of new commits:

Author: kgv
Date: Tue Nov 6 15:19:06 2018 +0300

    0029181: Jenkins Certification Tool - testing with enabled exceptions (undefined No_Exception)
(0081106)
kgv (developer)
2018-11-15 12:57

Dear bugmaster,

could you please extend CMake procedure with the flag making No_Exception macros conditional for Release builds (enabled by default)?
Please base the patch on current branch CR29181_1 (with reverted changes in CMake scripts).

With this, this option should be also added to Jenkins config (e.g. in similar way as we have USE_GLES2), also disabled by default

After that, it is proposed performing tests weekly on IR to detect possible regressions before integrating new patches.

After last integrations, the following issues remain (failing with No_Exception defined):
Failed
bugs modalg_7 	bug23838 	bug26034
bugs moddata_2 	bug65
bugs vis 	bug79 	bug24396
de step_2 	B6


The bugs should be reported for remaining issues (if not registered already).

- Issue History
Date Modified Username Field Change
2017-10-04 11:16 kgv New Issue
2017-10-04 11:16 kgv Assigned To => bugmaster
2017-10-04 11:17 kgv Relationship added related to 0028194
2017-10-04 11:18 kgv Relationship added related to 0029161
2017-10-04 11:18 kgv Relationship added related to 0029039
2017-10-04 11:19 kgv Relationship added related to 0024199
2017-10-04 11:20 kgv Relationship added related to 0025172
2017-10-04 11:20 kgv Relationship added related to 0023547
2017-10-04 11:20 kgv Relationship added related to 0026598
2017-10-04 11:21 kgv Relationship added related to 0028608
2017-10-04 11:21 kgv Relationship added related to 0024462
2017-10-04 11:21 kgv Relationship added related to 0023540
2017-10-04 11:23 kgv Relationship added related to 0024442
2017-10-04 11:23 kgv Relationship added related to 0024243
2017-10-16 17:36 bugmaster Note Added: 0071549
2017-10-16 17:36 bugmaster Assigned To bugmaster => kgv
2017-10-16 17:36 bugmaster Status new => feedback
2018-11-06 15:20 git Note Added: 0080755
2018-11-06 15:48 kgv Relationship added related to 0030344
2018-11-06 17:25 kgv Relationship added related to 0023838
2018-11-06 17:45 kgv Relationship added related to 0030345
2018-11-06 17:53 kgv Relationship added related to 0026034
2018-11-06 18:05 kgv Relationship added related to 0030346
2018-11-06 18:10 kgv Relationship added related to 0030234
2018-11-06 18:42 kgv Relationship added related to 0030347
2018-11-06 19:48 kgv Relationship added related to 0030348
2018-11-15 09:10 git Note Added: 0081102
2018-11-15 12:57 kgv Note Added: 0081106
2018-11-15 12:57 kgv Assigned To kgv => apn
2018-11-15 12:57 kgv Status feedback => assigned
2018-11-20 22:55 kgv Relationship added parent of 0030380


Copyright © 2000 - 2018 MantisBT Team
Powered by Mantis Bugtracker