View Issue Details

IDProjectCategoryView StatusLast Update
0005669Compliance Test Tool (CTT) Unified Architecture2 - CTT Binarypublic2021-07-09 15:07
ReporterPaul Hunkar Assigned ToSebastian Allmendinger  
PriorityhighSeveritymajorReproducibilityalways
Status closedResolutionfixed 
Product Version1.04.09.394 
Fixed in Version1.03.341.399 
Summary0005669: 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_4 And Attribute_write_index_test_5:
It is failing while writing to Array of Variant. We 1D Array of variant which has 10 entries. In which 5th and 10th elements are of
type qualified name. Looks like CTT is passing NULL value to that. I am not sure why (in other test, I could see Qualified name was
sent properly for the same array). SDK is returning the error code for that. It looks like CTT is not able identify the qualified name
type.

Attribute_write_value_test_17_packet_65 and Attribute_write_value_test_18_packet_10:
[AA]: This also appears to be the problem regarding QualifiedNames

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.

TagsNo tags attached.
Files Affected

Activities

Paul Hunkar

2020-05-27 16:56

administrator   ~0012124

from investigation the problem is:
In the used library function the CTT is using an “=” operator which is not defined for QualifiedNames and therefore it ends up being NULL.

This is an issue that was broken out from 5654 (original submitter)

Sebastian Allmendinger

2021-07-08 05:49

developer   ~0014662

After incrementing a variant array or matrix, the CTT set the value of some DataTypes to NULL.
For some DataTypes the current implementation converted the passed Variant into a new object of the specific DataType or simply created a new one. This works fine for all DataTypes (array and matrix) expect for Variants.
The function has been updated, so that the variable "val" will always be a variant after the increment (as it is already the case for almost all DataTypes ).

Paul Hunkar

2021-07-09 15:07

administrator   ~0014675

review in cmp call, agreed to changes and closed

Issue History

Date Modified Username Field Change
2020-05-27 16:54 Paul Hunkar New Issue
2020-05-27 16:54 Paul Hunkar Issue generated from: 0005654
2020-05-27 16:56 Paul Hunkar Note Added: 0012124
2020-05-27 16:57 Paul Hunkar Additional Information Updated
2020-05-27 16:57 Paul Hunkar Assigned To => Alexander Allmendinger
2020-05-27 16:57 Paul Hunkar Status new => assigned
2020-05-27 17:09 Paul Hunkar Description Updated
2021-07-08 05:49 Sebastian Allmendinger Assigned To Alexander Allmendinger => Sebastian Allmendinger
2021-07-08 05:49 Sebastian Allmendinger Status assigned => resolved
2021-07-08 05:49 Sebastian Allmendinger Resolution open => fixed
2021-07-08 05:49 Sebastian Allmendinger Fixed in Version => 1.03.341.399
2021-07-08 05:49 Sebastian Allmendinger Note Added: 0014662
2021-07-09 15:07 Paul Hunkar Status resolved => closed
2021-07-09 15:07 Paul Hunkar Note Added: 0014675