View Issue Details

IDProjectCategoryView StatusLast Update
0005646Compliance Test Tool (CTT) Unified Architecture1 - Script Issuepublic2020-07-03 15:36
ReporterMatti Siponen Assigned ToSebastian Allmendinger  
PrioritynormalSeverityminorReproducibilityalways
Status closedResolutionfixed 
Product Version1.04.09.394 
Fixed in Version1.03.341.396 
Summary0005646: Data Access / Data Access PercentDeadBand / 016.js and 017.js rounding errors when EURange is short
Description

When these test scripts interact with a AnalogItemType Node with EURange [20,40], InstrumentRange[0,100] and Int32 DataType, the CTT writes Values where the difference between the new and the old Value is large enough to trigger DataChange Notification, but as the CTT is expecting just a keep alive Notifications and reports an error. When the EURange is changed to [-50,50], these test scripts generate more reasonable Values, suggesting that there is something wrong with how the CTT calculates Values to be used in these test scripts when the EURange is very short.

Steps To Reproduce

When Server Test > NodeIds > Static > DA Profile > AnalogType > Int32 is configured with a Node that has EURange [-50,50] and no InstrumentRange, these tests pass without errors.

When Server Test > NodeIds > Static > DA Profile > AnalogType > Int32 is configured with a Node that has EURange [20,40] and InstrumentRange [0,100], Test 4 of 016.js changes the Value from 31 to 35 generating an unexpected DataChange Notification and an Error and Test 4 of 017.js changes the Value from 31 to 34 also generating an unexpected DataChange Notification and an Error.

TagsNo tags attached.
Files Affected

Activities

Sebastian Allmendinger

2020-06-04 14:26

developer   ~0012181

The calculation of the values used for testing in these test scripts was wrong and there was an issue in a library function that may return an invalid range for the values to be generated. In addition rounding was not intended so that values were written which migth generated an unexpected DataChangeNotification.

Paul Hunkar

2020-07-03 15:36

administrator   ~0012536

reviewed in CMP call

Issue History

Date Modified Username Field Change
2020-05-14 11:22 Matti Siponen New Issue
2020-05-15 17:51 Paul Hunkar Assigned To => Alexander Allmendinger
2020-05-15 17:51 Paul Hunkar Status new => assigned
2020-06-02 14:10 Sebastian Allmendinger Assigned To Alexander Allmendinger => Sebastian Allmendinger
2020-06-04 14:26 Sebastian Allmendinger Status assigned => resolved
2020-06-04 14:26 Sebastian Allmendinger Resolution open => fixed
2020-06-04 14:26 Sebastian Allmendinger Fixed in Version => 1.03.341.396
2020-06-04 14:26 Sebastian Allmendinger Note Added: 0012181
2020-07-03 15:36 Paul Hunkar Status resolved => closed
2020-07-03 15:36 Paul Hunkar Note Added: 0012536