View Issue Details

IDProjectCategoryView StatusLast Update
0005670Compliance Test Tool (CTT) Unified Architecture2 - CTT Binarypublic2021-07-09 15:29
ReporterPaul Hunkar Assigned ToAlexander Allmendinger  
PriorityhighSeveritymajorReproducibilityalways
Status closedResolutionno change required 
Product Version1.04.09.394 
Summary0005670: Multi dimension array related!
Description

As multi-dimensional array is supported now we started testing with that. To keep things simpler first, we configured only one 2 dimensional byte array, with the value like below:
Value Rank: 2
Array Dimensions 2*5 (Rows : 2, Columns: 5)
Values:
1 2 3 4 5
6 7 8 9 10

From my understanding of the spec, if only one element, Say 2nd element from the 2nd row then index range which will be passed is [1,1].

I have captured only those failed test cases and attached the CTT results so that it can be viewed in the CTT. As well as I have captured the wireshark.

Following test cases are failing:
Attribute_write_index_test_7 and Attribute_write_index_test_8:
It looks similar to Attribute_read_test_32
Monitored_Item_Value_Change_Test_42:
This is related to Attribute_read_test_32, monitoring different index but expecting a different one.

Steps To Reproduce

Create the 2 dimensional array and configure in CTT and run the Attribute services.

Additional Information

Please find the attached wire shark captures and Test result.

Responses from Alex in the mail conversation:

TagsNo tags attached.
Files Affected

Activities

Paul Hunkar

2020-05-27 17:00

administrator   ~0012125

This issue is a clone of 5654 (original submitter) -broke out from multiple issues in one mantis issue

Paul Hunkar

2020-05-27 17:08

administrator   ~0012126

From initial investigation - This looks like a problem with IndexRanges on behalf of Multi-Dimensional Byte Arrays. The demo servers of the other SDK
vendors do not have such nodes, so we weren’t able to test the scripts for this case. From checking the Wireshark telegrams and
messages in the CTT it looks like the CTT converts the ByteArray to a length of 0, which causes the compare to fail

Sebastian Allmendinger

2021-07-08 06:35

developer   ~0014663

After further investigation on this issue, a wrong behavior of the tested server was identified.
The CTT could not correctly process the received values of the server because the server returned single elements of a matrix encoded as an array instead of a matrix.
Reporter and CMPWG agreed that the behavior needs to be corrected in the server and not in the CTT. Therefore no change is necessary.

Paul Hunkar

2021-07-09 15:29

administrator   ~0014680

review in cmp call, agreed no change and closed

Issue History

Date Modified Username Field Change
2020-05-27 16:59 Paul Hunkar New Issue
2020-05-27 16:59 Paul Hunkar Issue generated from: 0005654
2020-05-27 17:00 Paul Hunkar Note Added: 0012125
2020-05-27 17:08 Paul Hunkar Description Updated
2020-05-27 17:08 Paul Hunkar Additional Information Updated
2020-05-27 17:08 Paul Hunkar Note Added: 0012126
2020-05-27 17:08 Paul Hunkar Assigned To => Alexander Allmendinger
2020-05-27 17:08 Paul Hunkar Status new => assigned
2021-07-08 06:35 Sebastian Allmendinger Status assigned => resolved
2021-07-08 06:35 Sebastian Allmendinger Resolution open => no change required
2021-07-08 06:35 Sebastian Allmendinger Note Added: 0014663
2021-07-09 15:29 Paul Hunkar Status resolved => closed
2021-07-09 15:29 Paul Hunkar Note Added: 0014680