Archived issue #0026491
Incorrect OCAF format management
Description
If you use the DRAW command Open, it uses CDF_Session object to obtain the application to open the document. CDF_Session object is a singleton that has the method SetCurrentApplication to set the application to be used for document management. This method is called from TDocStd_Application (root of all OCAF application classes) constructor.
It means that the application for opening OCAF document is always the last created one. They are created at the time of a certain plugin loading. So the order of loaded plugins defines the behavior.
It is not correct. It should be possible to define the correct application to load document either automatically or manually initializing CDF_Session object with the correct application.
It means that the application for opening OCAF document is always the last created one. They are created at the time of a certain plugin loading. So the order of loaded plugins defines the behavior.
It is not correct. It should be possible to define the correct application to load document either automatically or manually initializing CDF_Session object with the correct application.
Steps to reproduce
The following example shows the problem with BinOcaf format.
1. Case of failure:
Run Draw session
pload OCAFKERNEL DATAEXCHANGE
SetApp Std
Open Attachment 1 (CBF) D
2. Case of success:
Run Draw session
pload DATAEXCHANGE OCAFKERNEL
SetApp Std
Open Attachment 1 (CBF) D
1. Case of failure:
Run Draw session
pload OCAFKERNEL DATAEXCHANGE
SetApp Std
Open Attachment 1 (CBF) D
2. Case of success:
Run Draw session
pload DATAEXCHANGE OCAFKERNEL
SetApp Std
Open Attachment 1 (CBF) D
Additional information
Now OCAF application should be set explicitly using the new command SetAppStd.
This command uses single parameter - application type. At the moment 4 types are supported:
- Std for AppStd_Application;
- StdL for AppStdL_Application;
- XCAF for XCAFApp_Application;
- TObj for TObj_Application
This command uses single parameter - application type. At the moment 4 types are supported:
- Std for AppStd_Application;
- StdL for AppStdL_Application;
- XCAF for XCAFApp_Application;
- TObj for TObj_Application
Public activity
60 archived notes
Participants are labeled by their role within this record.
Branch [archived branch] has been created by Participant.
[revision removed]
Detailed log of new commits:
Author: szy
Date: Wed Sep 23 12:40:54 2015 +0300
26491: Incorrect OCAF format management. EXTERNLIB file.
Author: szy
Date: Wed Sep 23 12:29:53 2015 +0300
26491: Incorrect OCAF format management. Cxx files.
[revision removed]
Detailed log of new commits:
Author: szy
Date: Wed Sep 23 12:40:54 2015 +0300
26491: Incorrect OCAF format management. EXTERNLIB file.
Author: szy
Date: Wed Sep 23 12:29:53 2015 +0300
26491: Incorrect OCAF format management. Cxx files.
The problem is fixed in branch CR26491.
New Draw command 'SetApp appType' is added.
The 'appType' = {Std, StdL, XCAF, TObj} - current acceptable types of application.
Additional command 'CheckApp' is defined to check current application type (if set).
Now after loading a requred component by command 'pload ...' it is necessary
to set desirable application using Draw command 'SetApp <type>'
Review it, please.
szy
New Draw command 'SetApp appType' is added.
The 'appType' = {Std, StdL, XCAF, TObj} - current acceptable types of application.
Additional command 'CheckApp' is defined to check current application type (if set).
Now after loading a requred component by command 'pload ...' it is necessary
to set desirable application using Draw command 'SetApp <type>'
Review it, please.
szy
Branch [archived branch] has been updated forcibly by Participant.
[revision removed]
[revision removed]
Dear BugMaster,
Branch CR26491 was rebased on branch IR-2015-09-24 of occt git-repository.
[revision removed]
Branch CR26491 was rebased on branch IR-2015-09-24 of occt git-repository.
[revision removed]
Dear BugMaster,
Branch CR26491 from occt git-repository (and IR-2015-09-24 from products git-repository) was compiled on Linux, MacOS and Windows platforms and tested on Release mode.
[revision removed]
Number of compiler warnings:
occt component :
Linux: 13 (13 on IR-2015-09-24)
Windows: 0 (0 on master)
products component :
Linux: 39 (39 on master)
Windows: 0 (0 on master)
Regressions/Differences/Improvements:
An exception was caught [revision removed] : Standard_DomainError: DDocStd::Find no applicative session
http://occt-tests/CR26491-master-occt-64/Debian70-64/summary.html
http://occt-tests/CR26491-master-occt-64/Windows-64-VC10/summary.html
http://occt-tests/CR26491-master-products-64/Debian70-64/summary.html
http://occt-tests/CR26491-master-products-64/Windows-64-VC10/summary.html
Testing cases:
Testing on Linux:
occt component :
Total MEMORY difference: 60583479 / 59878929 [+1.18%]
Total CPU difference: 13708.99000000015 / 13791.230000000136 [-0.60%]
products component :
Total MEMORY difference: 14806207 / 14799033 [+0.05%]
Total CPU difference: 4700.369999999996 / 4609.640000000002 [+1.97%]
Testing on Windows:
occt component :
Total MEMORY difference: 34465104 / 34478928 [-0.04%]
Total CPU difference: 12254.377753199657 / 12133.601778999637 [+1.00%]
products component :
Total MEMORY difference: 9603443 / 9555747 [+0.50%]
Total CPU difference: 3352.867092599973 / 3347.3602572999757 [+0.16%]
Branch CR26491 from occt git-repository (and IR-2015-09-24 from products git-repository) was compiled on Linux, MacOS and Windows platforms and tested on Release mode.
[revision removed]
Number of compiler warnings:
occt component :
Linux: 13 (13 on IR-2015-09-24)
Windows: 0 (0 on master)
products component :
Linux: 39 (39 on master)
Windows: 0 (0 on master)
Regressions/Differences/Improvements:
An exception was caught [revision removed] : Standard_DomainError: DDocStd::Find no applicative session
http://occt-tests/CR26491-master-occt-64/Debian70-64/summary.html
http://occt-tests/CR26491-master-occt-64/Windows-64-VC10/summary.html
http://occt-tests/CR26491-master-products-64/Debian70-64/summary.html
http://occt-tests/CR26491-master-products-64/Windows-64-VC10/summary.html
Testing cases:
Testing on Linux:
occt component :
Total MEMORY difference: 60583479 / 59878929 [+1.18%]
Total CPU difference: 13708.99000000015 / 13791.230000000136 [-0.60%]
products component :
Total MEMORY difference: 14806207 / 14799033 [+0.05%]
Total CPU difference: 4700.369999999996 / 4609.640000000002 [+1.97%]
Testing on Windows:
occt component :
Total MEMORY difference: 34465104 / 34478928 [-0.04%]
Total CPU difference: 12254.377753199657 / 12133.601778999637 [+1.00%]
products component :
Total MEMORY difference: 9603443 / 9555747 [+0.50%]
Total CPU difference: 3352.867092599973 / 3347.3602572999757 [+0.16%]
Dear szy,
Branch [archived branch] has been rejected due to:
- regressions/differences/improvements
Branch [archived branch] has been rejected due to:
- regressions/differences/improvements
Branch [archived branch] has been updated forcibly by Participant.
[revision removed]
[revision removed]
Scripts are fixed.
Reviewed.
To be tested.
To be tested.
Branch [archived branch] has been updated forcibly by Participant.
[revision removed]
[revision removed]
Dear BugMaster,
Branch CR26491 was rebased on current master of occt git-repository.
[revision removed]
Branch CR26491 was rebased on current master of occt git-repository.
[revision removed]
Dear BugMaster,
Branch CR26491 from occt git-repository (and master from products git-repository) was compiled on Linux, MacOS and Windows platforms and tested on Release mode.
[revision removed]
Number of compiler warnings:
occt component :
Linux: 13 (13 on master)
Windows: 0 (0 on master)
products component :
Linux: 39 (39 on master)
Windows: 0 (0 on master)
Regressions/Differences/Improvements:
http://occt-tests/CR26491-master-occt-64/Debian70-64/summary.html
http://occt-tests/CR26491-master-occt-64/Windows-64-VC10/summary.html
bugs xde bug533, bug22962
xml ocaf_xml A1, A2, A3, A4, A5, A6, A7, A8, A9, B1, B2, B3, B4, B5, B6, B7, B8, B9, C1, C2, C3, C4, C5, C6, C7, C8, C9, D1, D2, D3, D4, D5, D6
An exception was caught [revision removed] : Standard_DomainError: DDocStd::Find no applicative session
http://occt-tests/CR26491-master-products-64/Debian70-64/summary.html
http://occt-tests/CR26491-master-products-64/Windows-64-VC10/summary.html
Testing cases:
http://occt-tests/CR26491-master-occt-64/Debian70-64/bugs/caf/bug26491_1.html
http://occt-tests/CR26491-master-occt-64/Windows-64-VC10/bugs/caf/bug26491_1.html
bugs caf bug26491_1: OK
http://occt-tests/CR26491-master-occt-64/Debian70-64/bugs/caf/bug26491_2.html
http://occt-tests/CR26491-master-occt-64/Windows-64-VC10/bugs/caf/bug26491_2.html
bugs caf bug26491_2: OK
Testing on Linux:
occt component :
Total MEMORY difference: 93380754 / 93255799 [+0.13%]
Total CPU difference: 19583.879999999193 / 19751.759999999238 [-0.85%]
products component :
Total MEMORY difference: 14826380 / 14802852 [+0.16%]
Total CPU difference: 4968.149999999981 / 4610.430000000002 [+7.76%]
Testing on Windows:
occt component :
Total MEMORY difference: 57919477 / 57916991 [+0.00%]
Total CPU difference: 18012.04706109907 / 17722.88360749908 [+1.63%]
products component :
Total MEMORY difference: 9609884 / 9562193 [+0.50%]
Total CPU difference: 3276.7386045999774 / 3348.8890670999754 [-2.15%]
There are following differences in images found by testdiff.
http://occt-tests/CR26491-master-occt-64/Debian70-64/diff-Debian70-64.html
http://occt-tests/CR26491-master-occt-64/Windows-64-VC10/diff-Windows-64-VC10.html
IMAGE demo samples pencil: pencil.png differs
Branch CR26491 from occt git-repository (and master from products git-repository) was compiled on Linux, MacOS and Windows platforms and tested on Release mode.
[revision removed]
Number of compiler warnings:
occt component :
Linux: 13 (13 on master)
Windows: 0 (0 on master)
products component :
Linux: 39 (39 on master)
Windows: 0 (0 on master)
Regressions/Differences/Improvements:
http://occt-tests/CR26491-master-occt-64/Debian70-64/summary.html
http://occt-tests/CR26491-master-occt-64/Windows-64-VC10/summary.html
bugs xde bug533, bug22962
xml ocaf_xml A1, A2, A3, A4, A5, A6, A7, A8, A9, B1, B2, B3, B4, B5, B6, B7, B8, B9, C1, C2, C3, C4, C5, C6, C7, C8, C9, D1, D2, D3, D4, D5, D6
An exception was caught [revision removed] : Standard_DomainError: DDocStd::Find no applicative session
http://occt-tests/CR26491-master-products-64/Debian70-64/summary.html
http://occt-tests/CR26491-master-products-64/Windows-64-VC10/summary.html
Testing cases:
http://occt-tests/CR26491-master-occt-64/Debian70-64/bugs/caf/bug26491_1.html
http://occt-tests/CR26491-master-occt-64/Windows-64-VC10/bugs/caf/bug26491_1.html
bugs caf bug26491_1: OK
http://occt-tests/CR26491-master-occt-64/Debian70-64/bugs/caf/bug26491_2.html
http://occt-tests/CR26491-master-occt-64/Windows-64-VC10/bugs/caf/bug26491_2.html
bugs caf bug26491_2: OK
Testing on Linux:
occt component :
Total MEMORY difference: 93380754 / 93255799 [+0.13%]
Total CPU difference: 19583.879999999193 / 19751.759999999238 [-0.85%]
products component :
Total MEMORY difference: 14826380 / 14802852 [+0.16%]
Total CPU difference: 4968.149999999981 / 4610.430000000002 [+7.76%]
Testing on Windows:
occt component :
Total MEMORY difference: 57919477 / 57916991 [+0.00%]
Total CPU difference: 18012.04706109907 / 17722.88360749908 [+1.63%]
products component :
Total MEMORY difference: 9609884 / 9562193 [+0.50%]
Total CPU difference: 3276.7386045999774 / 3348.8890670999754 [-2.15%]
There are following differences in images found by testdiff.
http://occt-tests/CR26491-master-occt-64/Debian70-64/diff-Debian70-64.html
http://occt-tests/CR26491-master-occt-64/Windows-64-VC10/diff-Windows-64-VC10.html
IMAGE demo samples pencil: pencil.png differs
Branch [archived branch] has been updated by Participant.
[revision removed]
Detailed log of new commits:
Author: mkv
Date: Tue Sep 29 18:25:28 2015 +0300
Test cases for issue CR26491
[revision removed]
Detailed log of new commits:
Author: mkv
Date: Tue Sep 29 18:25:28 2015 +0300
Test cases for issue CR26491
Dear szy,
Branch [archived branch] has been rejected due to:
- regressions/differences/improvements
- differences in images
Branch [archived branch] has been rejected due to:
- regressions/differences/improvements
- differences in images
Dear szy,
could you please review following test case
bugs caf bug26491_1, bug26491_2
could you please review following test case
bugs caf bug26491_1, bug26491_2
Branch [archived branch] has been updated by Participant.
[revision removed]
Detailed log of new commits:
Author: szy
Date: Wed Sep 30 16:57:03 2015 +0300
26491: Incorrect OCAF format management. Scripts fixing + Draw command messaging improvement.
Author: szy
Date: Wed Sep 30 15:01:39 2015 +0300
Merge branch 'CR26491' of git.dev.opencascade.org:occt into CR26491
Author: szy
Date: Mon Sep 28 18:39:30 2015 +0300
26491: Incorrect OCAF format management. Fixing testing scripts & small improvement of Draw command.
Author: szy
Date: Wed Sep 23 12:40:54 2015 +0300
26491: Incorrect OCAF format management. EXTERNLIB file.
Author: szy
Date: Wed Sep 23 12:29:53 2015 +0300
26491: Incorrect OCAF format management. Cxx files.
[revision removed]
Detailed log of new commits:
Author: szy
Date: Wed Sep 30 16:57:03 2015 +0300
26491: Incorrect OCAF format management. Scripts fixing + Draw command messaging improvement.
Author: szy
Date: Wed Sep 30 15:01:39 2015 +0300
Merge branch 'CR26491' of git.dev.opencascade.org:occt into CR26491
Author: szy
Date: Mon Sep 28 18:39:30 2015 +0300
26491: Incorrect OCAF format management. Fixing testing scripts & small improvement of Draw command.
Author: szy
Date: Wed Sep 23 12:40:54 2015 +0300
26491: Incorrect OCAF format management. EXTERNLIB file.
Author: szy
Date: Wed Sep 23 12:29:53 2015 +0300
26491: Incorrect OCAF format management. Cxx files.
Scripts modified (added new command 'SetApp' provided before in reproducer).
Patch integrated in branch.
Patch integrated in branch.
Reviewed.
Dear BugMaster,
Branch CR26491 from occt git-repository (and master from products git-repository) was compiled on Linux, MacOS and Windows platforms and tested on Release mode.
[revision removed]
Number of compiler warnings:
occt component :
Linux: 13 (13 on master)
Windows: 0 (0 on master)
products component :
Linux: 39 (39 on master)
Windows: 0 (0 on master)
Regressions/Differences/Improvements:
Failed:
http://occt-tests/CR26491-master-occt-64/Debian70-64/summary.html
http://occt-tests/CR26491-master-occt-64/Windows-64-VC10/summary.html
bugs xde bug533, bug22962
xml ocaf_xml A1, A2, A3, A4, A5, A6, A7, A8, A9, B1, B2, B3, B4, B5, B6, B7, B8, B9, C1, C2, C3, C4, C5, C6, C7, C8, C9, D1, D2, D3, D4, D5, D6
An exception was caught [revision removed] : Standard_DomainError: DDocStd::Find no applicative session
http://occt-tests/CR26491-master-products-64/Debian70-64/summary.html
http://occt-tests/CR26491-master-products-64/Windows-64-VC10/summary.html
Testing cases:
http://occt-tests/CR26491-master-occt-64/Debian70-64/bugs/caf/bug26491_1.html
http://occt-tests/CR26491-master-occt-64/Windows-64-VC10/bugs/caf/bug26491_1.html
bugs caf bug26491_1: OK
http://occt-tests/CR26491-master-occt-64/Debian70-64/bugs/caf/bug26491_2.html
http://occt-tests/CR26491-master-occt-64/Windows-64-VC10/bugs/caf/bug26491_2.html
bugs caf bug26491_2: OK
Testing on Linux:
occt component :
Total MEMORY difference: 93649970 / 93202304 [+0.48%]
Total CPU difference: 19490.48999999942 / 19497.09999999922 [-0.03%]
products component :
Total MEMORY difference: 14841580 / 14786852 [+0.37%]
Total CPU difference: 4725.070000000006 / 4606.060000000003 [+2.58%]
Testing on Windows:
occt component :
Total MEMORY difference: 57923545 / 57916747 [+0.01%]
Total CPU difference: 18811.396185099085 / 17722.805606999078 [+6.14%]
products component :
Total MEMORY difference: 9498358 / 9450676 [+0.50%]
Total CPU difference: 3503.673259299973 / 3144.371756099977 [+11.43%]
There are following differences in images found by testdiff.
http://occt-tests/CR26491-master-occt-64/Debian70-64/diff-Debian70-64.html
http://occt-tests/CR26491-master-occt-64/Windows-64-VC10/diff-Windows-64-VC10.html
IMAGE demo samples pencil: pencil.png differs
Branch CR26491 from occt git-repository (and master from products git-repository) was compiled on Linux, MacOS and Windows platforms and tested on Release mode.
[revision removed]
Number of compiler warnings:
occt component :
Linux: 13 (13 on master)
Windows: 0 (0 on master)
products component :
Linux: 39 (39 on master)
Windows: 0 (0 on master)
Regressions/Differences/Improvements:
Failed:
http://occt-tests/CR26491-master-occt-64/Debian70-64/summary.html
http://occt-tests/CR26491-master-occt-64/Windows-64-VC10/summary.html
bugs xde bug533, bug22962
xml ocaf_xml A1, A2, A3, A4, A5, A6, A7, A8, A9, B1, B2, B3, B4, B5, B6, B7, B8, B9, C1, C2, C3, C4, C5, C6, C7, C8, C9, D1, D2, D3, D4, D5, D6
An exception was caught [revision removed] : Standard_DomainError: DDocStd::Find no applicative session
http://occt-tests/CR26491-master-products-64/Debian70-64/summary.html
http://occt-tests/CR26491-master-products-64/Windows-64-VC10/summary.html
Testing cases:
http://occt-tests/CR26491-master-occt-64/Debian70-64/bugs/caf/bug26491_1.html
http://occt-tests/CR26491-master-occt-64/Windows-64-VC10/bugs/caf/bug26491_1.html
bugs caf bug26491_1: OK
http://occt-tests/CR26491-master-occt-64/Debian70-64/bugs/caf/bug26491_2.html
http://occt-tests/CR26491-master-occt-64/Windows-64-VC10/bugs/caf/bug26491_2.html
bugs caf bug26491_2: OK
Testing on Linux:
occt component :
Total MEMORY difference: 93649970 / 93202304 [+0.48%]
Total CPU difference: 19490.48999999942 / 19497.09999999922 [-0.03%]
products component :
Total MEMORY difference: 14841580 / 14786852 [+0.37%]
Total CPU difference: 4725.070000000006 / 4606.060000000003 [+2.58%]
Testing on Windows:
occt component :
Total MEMORY difference: 57923545 / 57916747 [+0.01%]
Total CPU difference: 18811.396185099085 / 17722.805606999078 [+6.14%]
products component :
Total MEMORY difference: 9498358 / 9450676 [+0.50%]
Total CPU difference: 3503.673259299973 / 3144.371756099977 [+11.43%]
There are following differences in images found by testdiff.
http://occt-tests/CR26491-master-occt-64/Debian70-64/diff-Debian70-64.html
http://occt-tests/CR26491-master-occt-64/Windows-64-VC10/diff-Windows-64-VC10.html
IMAGE demo samples pencil: pencil.png differs
Dear szy,
Branch has been rejected due to:
- regressions/differences/improvements
- differences in images
Branch has been rejected due to:
- regressions/differences/improvements
- differences in images
Branch [archived branch] has been updated by Participant.
[revision removed]
Detailed log of new commits:
Author: szy
Date: Wed Dec 30 15:52:39 2015 +0300
0026491: Incorrect OCAF format management (fix of the last regressions)
[revision removed]
Detailed log of new commits:
Author: szy
Date: Wed Dec 30 15:52:39 2015 +0300
0026491: Incorrect OCAF format management (fix of the last regressions)
Regressions resolved:
1) bugs xde bug533, bug22962
==> Both are fixed
2) xml ocaf_xml A1, A2, A3, A4, A5, A6, A7, A8, A9, B1, B2, B3, B4, B5, B6, B7, B8, B9, C1, C2, C3, C4, C5, C6, C7, C8, C9, D1, D2, D3, D4, D5, D6
==> All are fixed
1) bugs xde bug533, bug22962
==> Both are fixed
2) xml ocaf_xml A1, A2, A3, A4, A5, A6, A7, A8, A9, B1, B2, B3, B4, B5, B6, B7, B8, B9, C1, C2, C3, C4, C5, C6, C7, C8, C9, D1, D2, D3, D4, D5, D6
==> All are fixed
Can be tested.
The branch must be squashed to single commit with appropriate description.
Dear szy,
could you please rebase branch CR26491 on current master, there are conflict files.
could you please rebase branch CR26491 on current master, there are conflict files.
Branch [archived branch] has been created by Participant.
[revision removed]
Detailed log of new commits:
Author: szy
Date: Tue Jan 12 17:28:09 2016 +0300
26491: Incorrect OCAF format management
[revision removed]
Detailed log of new commits:
Author: szy
Date: Tue Jan 12 17:28:09 2016 +0300
26491: Incorrect OCAF format management
Merged in one patch and rebased.
Test, please.
Dear BugMaster,
Branch CR26491_1 from occt git-repository (and master from products git-repository) was compiled on Linux, MacOS and Windows platforms and tested on Release mode.
[revision removed]
Number of compiler warnings:
occt component :
Linux: 0 (0 on master)
Windows: 0 (0 on master)
MacOS : 134 (134 on master)
products component :
Linux: 37 (37 on master)
Windows: 0 (0 on master)
Regressions/Differences/Improvements:
http://occt-tests/CR26491-1-master-occt-64/Debian70-64/summary.html
http://occt-tests/CR26491-1-master-occt-64/Windows-64-VC10/summary.html
Failed:
bugs modalg_6 bug26576_1, bug26576_2, bug26576_3
gdt export A1, A2, A3, A4, A5
gdt import A1, A2, A3, A4, A5
http://occt-tests/CR26491-1-master-products-64/Debian70-64/summary.html
http://occt-tests/CR26491-1-master-products-64/Windows-64-VC10/summary.html
Testing cases:
http://occt-tests/CR26491-1-master-occt-64/Debian70-64/bugs/caf/bug26491_1.html
bugs caf bug26491_1: OK
http://occt-tests/CR26491-1-master-occt-64/Debian70-64/bugs/caf/bug26491_2.html
bugs caf bug26491_2: OK
There are no differences in images found by testdiff.
Branch CR26491_1 from occt git-repository (and master from products git-repository) was compiled on Linux, MacOS and Windows platforms and tested on Release mode.
[revision removed]
Number of compiler warnings:
occt component :
Linux: 0 (0 on master)
Windows: 0 (0 on master)
MacOS : 134 (134 on master)
products component :
Linux: 37 (37 on master)
Windows: 0 (0 on master)
Regressions/Differences/Improvements:
http://occt-tests/CR26491-1-master-occt-64/Debian70-64/summary.html
http://occt-tests/CR26491-1-master-occt-64/Windows-64-VC10/summary.html
Failed:
bugs modalg_6 bug26576_1, bug26576_2, bug26576_3
gdt export A1, A2, A3, A4, A5
gdt import A1, A2, A3, A4, A5
http://occt-tests/CR26491-1-master-products-64/Debian70-64/summary.html
http://occt-tests/CR26491-1-master-products-64/Windows-64-VC10/summary.html
Testing cases:
http://occt-tests/CR26491-1-master-occt-64/Debian70-64/bugs/caf/bug26491_1.html
bugs caf bug26491_1: OK
http://occt-tests/CR26491-1-master-occt-64/Debian70-64/bugs/caf/bug26491_2.html
bugs caf bug26491_2: OK
There are no differences in images found by testdiff.
Branch [archived branch] has been updated by Participant.
[revision removed]
Detailed log of new commits:
Author: mkv
Date: Thu Jan 14 15:16:27 2016 +0300
Test cases for issue CR26491
[revision removed]
Detailed log of new commits:
Author: mkv
Date: Thu Jan 14 15:16:27 2016 +0300
Test cases for issue CR26491
Dear szy,
Branch [archived branch] has been rejected due to:
- regressions/differences/improvements
Branch [archived branch] has been rejected due to:
- regressions/differences/improvements
Branch [archived branch] has been updated by Participant.
[revision removed]
Detailed log of new commits:
Author: szy
Date: Tue Jan 19 17:51:39 2016 +0300
26491: Incorrect OCAF format management (fix for additional test cases)
[revision removed]
Detailed log of new commits:
Author: szy
Date: Tue Jan 19 17:51:39 2016 +0300
26491: Incorrect OCAF format management (fix for additional test cases)
Fixed.
Now testgrids for modalg_6 and gdt export / gdt import are OK.
Now testgrids for modalg_6 and gdt export / gdt import are OK.
Test, please.
Branch [archived branch] has been updated forcibly by Participant.
[revision removed]
[revision removed]
Dear BugMaster,
Branch CR26491_1 was rebased on current master of occt git-repository.
[revision removed]
Branch CR26491_1 was rebased on current master of occt git-repository.
[revision removed]
Dear BugMaster,
Branch CR26491_1 from occt git-repository (and master from products git-repository) was compiled on Linux, MacOS and Windows platforms and tested on Release mode.
[revision removed]
Number of compiler warnings:
occt component :
Linux: 0 (0 on master)
Windows: 0 (0 on master)
MacOS : 7 (7 on master)
products component :
Linux: 36 (36 on master)
Windows: 0 (0 on master)
Regressions/Differences/Improvements:
http://occt-tests/CR26491-1-master-products-64/Debian70-64/summary.html
http://occt-tests/CR26491-1-master-products-64/Windows-64-VC10/summary.html
Testing cases:
http://occt-tests/CR26491-1-master-occt-64/Debian70-64/bugs/caf/bug26491_1.html
http://occt-tests/CR26491-1-master-occt-64/Windows-64-VC10/bugs/caf/bug26491_1.html
bugs caf bug26491_1: OK
http://occt-tests/CR26491-1-master-occt-64/Debian70-64/bugs/caf/bug26491_2.html
http://occt-tests/CR26491-1-master-occt-64/Windows-64-VC10/bugs/caf/bug26491_2.html
bugs caf bug26491_2: OK
Testing on Linux:
occt component :
Total MEMORY difference: 89567196 / 89167104 [+0.45%]
Total CPU difference: 18920.849999999824 / 19385.940000000006 [-2.40%]
products component :
Total MEMORY difference: 14103236 / 13983982 [+0.85%]
Total CPU difference: 5475.549999999995 / 4770.099999999986 [+14.79%]
Testing on Windows:
occt component :
Total MEMORY difference: 57243670 / 56950817 [+0.51%]
Total CPU difference: 17756.923025698914 / 17628.674603598854 [+0.73%]
products component :
Total MEMORY difference: 9470701 / 9387172 [+0.89%]
Total CPU difference: 3229.173899699979 / 3294.8503206999776 [-1.99%]
There are following differences in images found by testdiff.
http://occt-tests/CR26491-1-master-occt-64/Debian70-64/diff-Debian70-64.html
http://occt-tests/CR26491-1-master-occt-64/Windows-64-VC10/diff-Windows-64-VC10.html
IMAGE demo samples pencil: pencil.png differs
Branch CR26491_1 from occt git-repository (and master from products git-repository) was compiled on Linux, MacOS and Windows platforms and tested on Release mode.
[revision removed]
Number of compiler warnings:
occt component :
Linux: 0 (0 on master)
Windows: 0 (0 on master)
MacOS : 7 (7 on master)
products component :
Linux: 36 (36 on master)
Windows: 0 (0 on master)
Regressions/Differences/Improvements:
http://occt-tests/CR26491-1-master-products-64/Debian70-64/summary.html
http://occt-tests/CR26491-1-master-products-64/Windows-64-VC10/summary.html
Testing cases:
http://occt-tests/CR26491-1-master-occt-64/Debian70-64/bugs/caf/bug26491_1.html
http://occt-tests/CR26491-1-master-occt-64/Windows-64-VC10/bugs/caf/bug26491_1.html
bugs caf bug26491_1: OK
http://occt-tests/CR26491-1-master-occt-64/Debian70-64/bugs/caf/bug26491_2.html
http://occt-tests/CR26491-1-master-occt-64/Windows-64-VC10/bugs/caf/bug26491_2.html
bugs caf bug26491_2: OK
Testing on Linux:
occt component :
Total MEMORY difference: 89567196 / 89167104 [+0.45%]
Total CPU difference: 18920.849999999824 / 19385.940000000006 [-2.40%]
products component :
Total MEMORY difference: 14103236 / 13983982 [+0.85%]
Total CPU difference: 5475.549999999995 / 4770.099999999986 [+14.79%]
Testing on Windows:
occt component :
Total MEMORY difference: 57243670 / 56950817 [+0.51%]
Total CPU difference: 17756.923025698914 / 17628.674603598854 [+0.73%]
products component :
Total MEMORY difference: 9470701 / 9387172 [+0.89%]
Total CPU difference: 3229.173899699979 / 3294.8503206999776 [-1.99%]
There are following differences in images found by testdiff.
http://occt-tests/CR26491-1-master-occt-64/Debian70-64/diff-Debian70-64.html
http://occt-tests/CR26491-1-master-occt-64/Windows-64-VC10/diff-Windows-64-VC10.html
IMAGE demo samples pencil: pencil.png differs
Dear szy,
Branch [archived branch] has been rejected due to:
- regressions/differences/improvements
- differences in images
Branch [archived branch] has been rejected due to:
- regressions/differences/improvements
- differences in images
Branch [archived branch] has been created by Participant.
[revision removed]
Detailed log of new commits:
Author: szy
Date: Wed Jun 8 15:34:38 2016 +0300
26491: Incorrect OCAF format management - rebased.
[revision removed]
Detailed log of new commits:
Author: szy
Date: Wed Jun 8 15:34:38 2016 +0300
26491: Incorrect OCAF format management - rebased.
Branch is re-based on current master ==> CR26491_2.
Retest it, please.
Retest it, please.
CR26491_2 can be tested.
Branch [archived branch] has been updated by Participant.
[revision removed]
Detailed log of new commits:
Author: szy
Date: Wed Jun 8 18:55:39 2016 +0300
26491: Incorrect OCAF format management. Correction of scripts.
[revision removed]
Detailed log of new commits:
Author: szy
Date: Wed Jun 8 18:55:39 2016 +0300
26491: Incorrect OCAF format management. Correction of scripts.
Dear BugMaster,
Branch CR26491_2 from occt git-repository (and master from products git-repository) was compiled on Linux, MacOS and Windows platforms and tested on Release mode.
[revision removed]
Number of compiler warnings:
occt component :
Linux: 0 (0 on master)
Windows: 0 (0 on master)
MacOS : 0 (0 on master)
products component :
Linux: 72 (72 on master)
Windows: 4 (4 on master)
MacOS : 1131
Regressions/Differences/Improvements:
http://occt-tests/CR26491-2-master-OCCT/Debian70-64/summary.html
http://occt-tests/CR26491-2-master-OCCT/Windows-64-VC10/summary.html
An exception was caught 0x24fb220 : Standard_DomainError: DDocStd::Find no applicative session
http://occt-tests/CR26491-2-master-Products/Debian70-64/summary.html
http://occt-tests/CR26491-2-master-Products/Windows-64-VC10/summary.html
An exception was caught [revision removed] : Standard_DomainError: DDocStd::Find no applicative session
Testing cases:
http://occt-tests/CR26491-2-master-OCCT/Debian70-64/bugs/caf/bug26491_1.html
http://occt-tests/CR26491-2-master-OCCT/Windows-64-VC10/bugs/caf/bug26491_1.html
bugs caf bug26491_1: OK
http://occt-tests/CR26491-2-master-OCCT/Debian70-64/bugs/caf/bug26491_2.html
http://occt-tests/CR26491-2-master-OCCT/Windows-64-VC10/bugs/caf/bug26491_2.html
bugs caf bug26491_2: OK
Branch CR26491_2 from occt git-repository (and master from products git-repository) was compiled on Linux, MacOS and Windows platforms and tested on Release mode.
[revision removed]
Number of compiler warnings:
occt component :
Linux: 0 (0 on master)
Windows: 0 (0 on master)
MacOS : 0 (0 on master)
products component :
Linux: 72 (72 on master)
Windows: 4 (4 on master)
MacOS : 1131
Regressions/Differences/Improvements:
http://occt-tests/CR26491-2-master-OCCT/Debian70-64/summary.html
http://occt-tests/CR26491-2-master-OCCT/Windows-64-VC10/summary.html
An exception was caught 0x24fb220 : Standard_DomainError: DDocStd::Find no applicative session
http://occt-tests/CR26491-2-master-Products/Debian70-64/summary.html
http://occt-tests/CR26491-2-master-Products/Windows-64-VC10/summary.html
An exception was caught [revision removed] : Standard_DomainError: DDocStd::Find no applicative session
Testing cases:
http://occt-tests/CR26491-2-master-OCCT/Debian70-64/bugs/caf/bug26491_1.html
http://occt-tests/CR26491-2-master-OCCT/Windows-64-VC10/bugs/caf/bug26491_1.html
bugs caf bug26491_1: OK
http://occt-tests/CR26491-2-master-OCCT/Debian70-64/bugs/caf/bug26491_2.html
http://occt-tests/CR26491-2-master-OCCT/Windows-64-VC10/bugs/caf/bug26491_2.html
bugs caf bug26491_2: OK
Dear szy,
Branch [archived branch] has been rejected due to:
- regressions/differences/improvements
Branch [archived branch] has been rejected due to:
- regressions/differences/improvements
Branch [archived branch] has been updated by Participant.
[revision removed]
Detailed log of new commits:
Author: szy
Date: Thu Jun 9 12:27:25 2016 +0300
26491: Incorrect OCAF format management. Correction of bugs/xde/bug22962 script.
[revision removed]
Detailed log of new commits:
Author: szy
Date: Thu Jun 9 12:27:25 2016 +0300
26491: Incorrect OCAF format management. Correction of bugs/xde/bug22962 script.
Branch [archived branch] has been updated by Participant.
[revision removed]
Detailed log of new commits:
Author: szy
Date: Thu Jun 9 14:55:03 2016 +0300
26491: Incorrect OCAF format management. OCCT testing scripts correction.
[revision removed]
Detailed log of new commits:
Author: szy
Date: Thu Jun 9 14:55:03 2016 +0300
26491: Incorrect OCAF format management. OCCT testing scripts correction.
Resolved.
1).OCCT:
All case from
"bugs / modalg_5",
"bugs / moddata_3",
"bugs / xde" - fixed.
The case "bugs / mesh / bug25378_3_3" - is not applicable.
It concerns only triangulation feature "incmesh", where OCAF is not used at all.
Besides single test like
Draw[3]> test bugs mesh bug25378_3_3 1
gives expected metrics and status OK.
But if you use 'testgrid'
Draw[4]> testgrid bugs mesh
It gives Failed status due to too much long time of triangulation.
Probably author of this script should re-check this predefined time.
See below log:
Draw[3]> test bugs mesh bug25378_3_3 1
dsetenv TEMPDIR
dsetenv TempDir
dsetenv tempdir
Executing D:/Products/OCCDEV/opencascade-dev/tests/bugs/begin...
cpulimit 1000
dversion
Open CASCADE Technology 7.0.1.dev
TBB enabled (HAVE_TBB)
GL2PS enabled (HAVE_GL2PS)
FreeImage enabled (HAVE_FREEIMAGE)
OpenCL disabled
VTK disabled
Exceptions disabled (No_Exception)
Compiler: MS Visual C++ 10.0 (_MSC_FULL_VER = 160040219)
Architecture: AMD64
OS: Windows
Executing D:/Products/OCCDEV/opencascade-dev/tests/bugs/mesh/bug25378_3_3...
============
CR25378
============
brestore //VIRTEX/dn43/occt_tests_data/private/customers/CFturbo/bug25378_Blower_good.brep n
n
trinfo b
This shape contains 3707 triangles.
1877 nodes.
Maximal deflection 2.2442921509627798
tclean b
incmesh b 0.001
Incremental Mesh, multi-threading OFF
Meshing statuses: NoError
t_001=14
trinfo b
This shape contains 169445 triangles.
84914 nodes.
Maximal deflection 0.0025649900894438001
dversion
Open CASCADE Technology 7.0.1.dev
TBB enabled (HAVE_TBB)
GL2PS enabled (HAVE_GL2PS)
FreeImage enabled (HAVE_FREEIMAGE)
OpenCL disabled
VTK disabled
Exceptions disabled (No_Exception)
Compiler: MS Visual C++ 10.0 (_MSC_FULL_VER = 160040219)
Architecture: AMD64
OS: Windows
dversion
Open CASCADE Technology 7.0.1.dev
TBB enabled (HAVE_TBB)
GL2PS enabled (HAVE_GL2PS)
FreeImage enabled (HAVE_FREEIMAGE)
OpenCL disabled
VTK disabled
Exceptions disabled (No_Exception)
Compiler: MS Visual C++ 10.0 (_MSC_FULL_VER = 160040219)
Architecture: AMD64
OS: Windows
Improvement. 3. Time of building of triangulation , 14 seconds, is less than expected time - 20 seconds
Executing D:/Products/OCCDEV/opencascade-dev/tests/bugs/end...
TEST COMPLETED
MEMORY DELTA: 0 KiB
TOTAL CPU TIME: 14 sec
2) Products
All test cases corrected (added new command 'SetApp')
Branch - CR26491_3
1).OCCT:
All case from
"bugs / modalg_5",
"bugs / moddata_3",
"bugs / xde" - fixed.
The case "bugs / mesh / bug25378_3_3" - is not applicable.
It concerns only triangulation feature "incmesh", where OCAF is not used at all.
Besides single test like
Draw[3]> test bugs mesh bug25378_3_3 1
gives expected metrics and status OK.
But if you use 'testgrid'
Draw[4]> testgrid bugs mesh
It gives Failed status due to too much long time of triangulation.
Probably author of this script should re-check this predefined time.
See below log:
Draw[3]> test bugs mesh bug25378_3_3 1
dsetenv TEMPDIR
dsetenv TempDir
dsetenv tempdir
Executing D:/Products/OCCDEV/opencascade-dev/tests/bugs/begin...
cpulimit 1000
dversion
Open CASCADE Technology 7.0.1.dev
TBB enabled (HAVE_TBB)
GL2PS enabled (HAVE_GL2PS)
FreeImage enabled (HAVE_FREEIMAGE)
OpenCL disabled
VTK disabled
Exceptions disabled (No_Exception)
Compiler: MS Visual C++ 10.0 (_MSC_FULL_VER = 160040219)
Architecture: AMD64
OS: Windows
Executing D:/Products/OCCDEV/opencascade-dev/tests/bugs/mesh/bug25378_3_3...
============
CR25378
============
brestore //VIRTEX/dn43/occt_tests_data/private/customers/CFturbo/bug25378_Blower_good.brep n
n
trinfo b
This shape contains 3707 triangles.
1877 nodes.
Maximal deflection 2.2442921509627798
tclean b
incmesh b 0.001
Incremental Mesh, multi-threading OFF
Meshing statuses: NoError
t_001=14
trinfo b
This shape contains 169445 triangles.
84914 nodes.
Maximal deflection 0.0025649900894438001
dversion
Open CASCADE Technology 7.0.1.dev
TBB enabled (HAVE_TBB)
GL2PS enabled (HAVE_GL2PS)
FreeImage enabled (HAVE_FREEIMAGE)
OpenCL disabled
VTK disabled
Exceptions disabled (No_Exception)
Compiler: MS Visual C++ 10.0 (_MSC_FULL_VER = 160040219)
Architecture: AMD64
OS: Windows
dversion
Open CASCADE Technology 7.0.1.dev
TBB enabled (HAVE_TBB)
GL2PS enabled (HAVE_GL2PS)
FreeImage enabled (HAVE_FREEIMAGE)
OpenCL disabled
VTK disabled
Exceptions disabled (No_Exception)
Compiler: MS Visual C++ 10.0 (_MSC_FULL_VER = 160040219)
Architecture: AMD64
OS: Windows
Improvement. 3. Time of building of triangulation , 14 seconds, is less than expected time - 20 seconds
Executing D:/Products/OCCDEV/opencascade-dev/tests/bugs/end...
TEST COMPLETED
MEMORY DELTA: 0 KiB
TOTAL CPU TIME: 14 sec
2) Products
All test cases corrected (added new command 'SetApp')
Branch - CR26491_3
Reviewed, can be tested.
Dear BugMaster,
corrected test cases from CR26491_2 and CR26491_3 branches are retested.
Regressions/Differences/Improvements:
http://occt-tests/CR26491-2-master-Products/Debian70-64/summary.html
http://occt-tests/CR26491-2-master-Products/Windows-64-VC10/summary.html
Improvements:
omf caf A5
Failed:
emesh bugs bug22791_1, bug22791_2, bug22791_3, bug22791_4, bug22791_5, bug22791_6
Testing cases:
http://occt-tests/CR26491-2-master-OCCT/Debian70-64/bugs/caf/bug26491_1.html
http://occt-tests/CR26491-2-master-OCCT/Windows-64-VC10/bugs/caf/bug26491_1.html
bugs caf bug26491_1: OK
http://occt-tests/CR26491-2-master-OCCT/Debian70-64/bugs/caf/bug26491_2.html
http://occt-tests/CR26491-2-master-OCCT/Windows-64-VC10/bugs/caf/bug26491_2.html
bugs caf bug26491_2: OK
Testing on Linux:
occt component :
Total MEMORY difference: 89314950 / 88735119 [+0.65%]
Total CPU difference: 19468.300000000116 / 19850.60999999993 [-1.93%]
products component :
Total MEMORY difference: 27567419 / 27587787 [-0.07%]
Total CPU difference: 5026.409999999991 / 5161.799999999994 [-2.62%]
Testing on Windows:
occt component :
Total MEMORY difference: 55988521 / 55967213 [+0.04%]
Total CPU difference: 18353.86085219878 / 18470.736801398853 [-0.63%]
products component :
Total MEMORY difference: 18775596 / 18696023 [+0.43%]
Total CPU difference: 4900.209811399946 / 5027.069824599947 [-2.52%]
There are following differences in images found by testdiff.
http://occt-tests/CR26491-2-master-OCCT/Debian70-64/diff-Debian70-64.html
http://occt-tests/CR26491-2-master-OCCT/Windows-64-VC10/diff-Windows-64-VC10.html
IMAGE demo samples pencil: pencil.png differs
corrected test cases from CR26491_2 and CR26491_3 branches are retested.
Regressions/Differences/Improvements:
http://occt-tests/CR26491-2-master-Products/Debian70-64/summary.html
http://occt-tests/CR26491-2-master-Products/Windows-64-VC10/summary.html
Improvements:
omf caf A5
Failed:
emesh bugs bug22791_1, bug22791_2, bug22791_3, bug22791_4, bug22791_5, bug22791_6
Testing cases:
http://occt-tests/CR26491-2-master-OCCT/Debian70-64/bugs/caf/bug26491_1.html
http://occt-tests/CR26491-2-master-OCCT/Windows-64-VC10/bugs/caf/bug26491_1.html
bugs caf bug26491_1: OK
http://occt-tests/CR26491-2-master-OCCT/Debian70-64/bugs/caf/bug26491_2.html
http://occt-tests/CR26491-2-master-OCCT/Windows-64-VC10/bugs/caf/bug26491_2.html
bugs caf bug26491_2: OK
Testing on Linux:
occt component :
Total MEMORY difference: 89314950 / 88735119 [+0.65%]
Total CPU difference: 19468.300000000116 / 19850.60999999993 [-1.93%]
products component :
Total MEMORY difference: 27567419 / 27587787 [-0.07%]
Total CPU difference: 5026.409999999991 / 5161.799999999994 [-2.62%]
Testing on Windows:
occt component :
Total MEMORY difference: 55988521 / 55967213 [+0.04%]
Total CPU difference: 18353.86085219878 / 18470.736801398853 [-0.63%]
products component :
Total MEMORY difference: 18775596 / 18696023 [+0.43%]
Total CPU difference: 4900.209811399946 / 5027.069824599947 [-2.52%]
There are following differences in images found by testdiff.
http://occt-tests/CR26491-2-master-OCCT/Debian70-64/diff-Debian70-64.html
http://occt-tests/CR26491-2-master-OCCT/Windows-64-VC10/diff-Windows-64-VC10.html
IMAGE demo samples pencil: pencil.png differs
Dear szy,
Branch [archived branch] has been rejected due to:
- regressions/differences/improvements
- differences in images
Branch [archived branch] has been rejected due to:
- regressions/differences/improvements
- differences in images
Branch [archived branch] has been updated by Participant.
[revision removed]
Detailed log of new commits:
Author: szy
Date: Tue Jun 14 16:53:37 2016 +0300
26491: Incorrect OCAF format management. Correction of testing scripts (samples\tcl\pencil.tcl)
[revision removed]
Detailed log of new commits:
Author: szy
Date: Tue Jun 14 16:53:37 2016 +0300
26491: Incorrect OCAF format management. Correction of testing scripts (samples\tcl\pencil.tcl)
Fixed.
Don't forget CR26491_3 from Products too.
Don't forget CR26491_3 from Products too.
Reviewed.
Dear BugMaster,
corrected test cases from CR26491_2 and CR26491_3 branches are retested.
Now its are OK.
corrected test cases from CR26491_2 and CR26491_3 branches are retested.
Now its are OK.
Dear BugMaster,
Branches CR26491_2 and CR26491_3 are TESTED.
Branches CR26491_2 and CR26491_3 are TESTED.
Branch [archived branch] has been deleted by Participant.
[revision removed]
[revision removed]
Branch [archived branch] has been deleted by Participant.
[revision removed]
[revision removed]
Branch [archived branch] has been deleted by Participant.
[revision removed]
[revision removed]
The problem of loading OCAF documents should be eliminated by fix for #0025812. However, CDF_Session singleton and application stored in it are still alive -- they are called by some functions to get some defaults (search for "CurrentApplication"). This seems to be useless, to be checked and cleared.
Related records