View Issue Details
ID | Project | Category | View Status | Date Submitted | Last Update |
---|---|---|---|---|---|
0005646 | Compliance Test Tool (CTT) Unified Architecture | 1 - Script Issue | public | 2020-05-14 11:22 | 2020-07-03 15:36 |
Reporter | Matti Siponen | Assigned To | Sebastian Allmendinger | ||
Priority | normal | Severity | minor | Reproducibility | always |
Status | closed | Resolution | fixed | ||
Product Version | 1.04.09.394 | ||||
Fixed in Version | 1.03.341.396 | ||||
Summary | 0005646: 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. | ||||
Tags | No tags attached. | ||||
Files Affected | |||||
|
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. |
|
reviewed in CMP call |
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 |