View Issue Details

IDProjectCategoryView StatusLast Update
0007772CTT UA Scripts1 - Script Issuepublic2024-04-17 12:30
ReporterOctavia Stan Assigned ToArchie Miller  
PrioritynormalSeverityminorReproducibilityalways
Status closedResolutionfixed 
Fixed in Version1.04.508 
Summary0007772: Aggregates - Average tests for Boolean data types try to execute and fail
Description

The CUs for Aggregates that do not support non numeric data types fail for boolean data types
If the node ids for BooleanOne and BooleanTwo are provided and execute the Average Aggregate set of tests, most of them fail but Average aggregate is not supported for Boolean data type and it shall not try to calculate Average.

Steps To Reproduce
  1. Open a CTT Server project and connect to a OPC UA Server that supports Average aggregate
    2, Configure at least the BooleanOne node in NodeIds-Static-HA Profile-Aggregates
  2. Execute CU Aggregates-Average

Most of the tests fail but the Average Aggregate does not support the boolean data type.
This is the same for other aggregates that do not support non numeric data types.

TagsAggregates, HA
Files Affected

/library/ServiceBased/AttributeServiceSet/HistoryRead/HAAggregateHelper.js
/maintree/Aggregates/Aggregate - Base/Test Cases/cleanup.js

Activities

Octavia Stan

2022-03-01 12:21

reporter   ~0016125

This is the result of running only Aggregate-Average\001-02.js test

Aggregate Average test for node ns=4;s=StaticHistoricalDataItem_HistorianBool1 Failed.
called from: D:/Projects/SVN/OpcUaNetStdSdk_CTT/src/TestApps/CTT/1.4.9.398/SoftingUASampleServer/library/ServiceBased/AttributeServiceSet/HistoryRead/HAAggregateHelper.js line: 1130
called from: D:/Projects/SVN/OpcUaNetStdSdk_CTT/src/TestApps/CTT/1.4.9.398/SoftingUASampleServer/maintree/Aggregates/Aggregate - Base/Test Cases/001-02.js line: 25
called from: D:/Projects/SVN/OpcUaNetStdSdk_CTT/src/TestApps/CTT/1.4.9.398/SoftingUASampleServer/library/Base/safeInvoke.js line: 103
called from: D:/Projects/SVN/OpcUaNetStdSdk_CTT/src/TestApps/CTT/1.4.9.398/SoftingUASampleServer/maintree/Aggregates/Aggregate - Base/Test Cases/001-02.js line: 29
Query did not result in identical readings.
called from: D:/Projects/SVN/OpcUaNetStdSdk_CTT/src/TestApps/CTT/1.4.9.398/SoftingUASampleServer/library/ServiceBased/AttributeServiceSet/HistoryRead/HAAggregateHelper.js line: 1029
called from: D:/Projects/SVN/OpcUaNetStdSdk_CTT/src/TestApps/CTT/1.4.9.398/SoftingUASampleServer/library/ServiceBased/AttributeServiceSet/HistoryRead/HAAggregateHelper.js line: 1118
called from: D:/Projects/SVN/OpcUaNetStdSdk_CTT/src/TestApps/CTT/1.4.9.398/SoftingUASampleServer/maintree/Aggregates/Aggregate - Base/Test Cases/001-02.js line: 25
called from: D:/Projects/SVN/OpcUaNetStdSdk_CTT/src/TestApps/CTT/1.4.9.398/SoftingUASampleServer/library/Base/safeInvoke.js line: 103
called from: D:/Projects/SVN/OpcUaNetStdSdk_CTT/src/TestApps/CTT/1.4.9.398/SoftingUASampleServer/maintree/Aggregates/Aggregate - Base/Test Cases/001-02.js line: 29
Aggregate Average test for node ns=4;s=StaticHistoricalDataItem_HistorianBool2 Failed.
called from: D:/Projects/SVN/OpcUaNetStdSdk_CTT/src/TestApps/CTT/1.4.9.398/SoftingUASampleServer/library/ServiceBased/AttributeServiceSet/HistoryRead/HAAggregateHelper.js line: 1130
called from: D:/Projects/SVN/OpcUaNetStdSdk_CTT/src/TestApps/CTT/1.4.9.398/SoftingUASampleServer/maintree/Aggregates/Aggregate - Base/Test Cases/001-02.js line: 25
called from: D:/Projects/SVN/OpcUaNetStdSdk_CTT/src/TestApps/CTT/1.4.9.398/SoftingUASampleServer/library/Base/safeInvoke.js line: 103
called from: D:/Projects/SVN/OpcUaNetStdSdk_CTT/src/TestApps/CTT/1.4.9.398/SoftingUASampleServer/maintree/Aggregates/Aggregate - Base/Test Cases/001-02.js line: 29

Paul Hunkar

2024-04-17 12:30

administrator   ~0021130

Reviewed change off-line - agreed to changes by all reviewers - closed issue

Issue History

Date Modified Username Field Change
2022-02-23 17:15 Octavia Stan New Issue
2022-02-23 17:15 Octavia Stan Tag Attached: Aggregates
2022-02-23 17:15 Octavia Stan Tag Attached: HA
2022-02-25 16:59 Paul Hunkar Assigned To => Archie Miller
2022-02-25 16:59 Paul Hunkar Status new => assigned
2022-03-01 12:21 Octavia Stan Note Added: 0016125
2022-08-02 20:04 Paul Hunkar Project Compliance Test Tool (CTT) Unified Architecture => CTT UA Scripts
2024-02-13 18:32 Archie Miller Status assigned => resolved
2024-02-13 18:32 Archie Miller Resolution open => fixed
2024-02-13 18:33 Archie Miller Product Version 1.04.09.398 =>
2024-02-13 18:33 Archie Miller Files Affected => /library/ServiceBased/AttributeServiceSet/HistoryRead/HAAggregateHelper.js
/maintree/Aggregates/Aggregate - Base/Test Cases/cleanup.js

2024-04-17 12:30 Paul Hunkar Status resolved => closed
2024-04-17 12:30 Paul Hunkar Fixed in Version => 1.04.508
2024-04-17 12:30 Paul Hunkar Note Added: 0021130