View Issue Details

IDProjectCategoryView StatusLast Update
0007770CTT UA Scripts1 - Script Issuepublic2024-04-17 12:31
ReporterOctavia Stan Assigned ToArchie Miller  
PrioritynormalSeverityminorReproducibilityalways
Status closedResolutionfixed 
Fixed in Version1.04.508 
Summary0007770: Aggregates - Non-deterministic behavior for Aggregate tests
Description

The scripts Err-002, Err-003 and Err-004 fail when more than one Aggregates CU is selected and it happens only from the second one to bottom in the order of execution.

Steps To Reproduce
  1. Open a CTT Server project and connect to a OPC UA Server that supports Average, Minimum, Maximum aggregates
  2. Configure at least one node in NodeIds-Static-HA Profile-Aggregates (tested with integer or double)

a. Execute only the Aggregate - Minimum tests they all pass (except Err-005 mentioned in ticket 7769).
b. Check also Aggregate- Average (it lies before the Aggregate - Minimum in the CU list) and then execute the tests -> the Err-002, Err-003 and Err-004 fail.
c. If only Aggregate - Minimum tests are executed again they they all pass (except Err-005 mentioned above).

This is true also for other aggregates not only Minimum and occurs only when there is more than one aggregate cu selected at a time and it does not happen for the first selected aggregates CU.

TagsAggregates, HA
Files Affected

/library/ServiceBased/AttributeServiceSet/HistoryRead/HAAggregateHelper.js

Activities

Archie Miller

2024-04-04 15:08

administrator   ~0021086

Item FirstValueInHistory was null on the items themselves, as that is only built when the Raw Data Cache is built, but the items are recreated for each conformance unit, and don't have FirstValueInHistory.

Fix is to get the start time from the raw data cache instead of the undefined FirstValueInHistory

Paul Hunkar

2024-04-17 12:31

administrator   ~0021131

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

Issue History

Date Modified Username Field Change
2022-02-23 17:03 Octavia Stan New Issue
2022-02-23 17:09 Octavia Stan Tag Attached: Aggregates
2022-02-23 17:09 Octavia Stan Tag Attached: HA
2022-02-25 17:00 Paul Hunkar Assigned To => Archie Miller
2022-02-25 17:00 Paul Hunkar Status new => assigned
2022-08-02 20:04 Paul Hunkar Project Compliance Test Tool (CTT) Unified Architecture => CTT UA Scripts
2024-04-04 15:08 Archie Miller Product Version 1.04.09.398 =>
2024-04-04 15:08 Archie Miller Files Affected => /library/ServiceBased/AttributeServiceSet/HistoryRead/HAAggregateHelper.js
2024-04-04 15:08 Archie Miller Status assigned => resolved
2024-04-04 15:08 Archie Miller Resolution open => fixed
2024-04-04 15:08 Archie Miller Note Added: 0021086
2024-04-17 12:31 Paul Hunkar Status resolved => closed
2024-04-17 12:31 Paul Hunkar Fixed in Version => 1.04.508
2024-04-17 12:31 Paul Hunkar Note Added: 0021131