View Issue Details
ID | Project | Category | View Status | Date Submitted | Last Update |
---|---|---|---|---|---|
0006341 | Compliance Test Tool (CTT) Unified Architecture | 1 - Script Issue | public | 2021-01-11 16:05 | 2021-03-26 14:18 |
Reporter | Emil Söder | Assigned To | Sebastian Allmendinger | ||
Priority | normal | Severity | major | Reproducibility | always |
Status | closed | Resolution | fixed | ||
OS | - | OS Version | - | ||
Product Version | 1.04.09.396 | ||||
Fixed in Version | 1.03.341.398 | ||||
Summary | 0006341: Attribute Write Values TC 03&05: error when DUT not support Null ByteString. | ||||
Description | Tests: DUT setup values: Note: Null ByteString is not supported by the DUT. When running TC 03 the CTT tests to write Null ByteString 5 times and the DUT answer with BadWriteNotSupported (0x80730000). Then the test is trying to verify the previously written value but since the DUT not accepted the value, there is a missmatch and the CTT raises an error with the following text: "Expected a value that was previously written. According to the specification a write should return after the write operation has been completed otherwise the server needs to return a Good_CompletesAsynchronously.". Should not the test take into account that there may not be support for null bytestring in the same way it is handled in test case 06* (question mark symbol and the text "Server indicate a lack of support for the requested write operation..." )? When running TC 05 the CTT tests to write a Null ByteString and the DUT answer with BadWriteNotSupported (0x80730000). The CTT raises an error because it expected Good (0x00000000) or BadOutOfRange (0x803c0000). Should not the test take into account that there may not be support for null bytestring in the same way it is handled in test case 06* (question mark symbol and the text "Server indicate a lack of support for the requested write operation..." ) and a check against BadWriteNotSupported (0x80730000) instead of BadOutOfRange (0x803c0000)? *Test case 06 - Write max value of each supported data type. | ||||
Steps To Reproduce | Run the following testcases on a DUT that does not support null ByteString: Attribute Services --> Attribute Write Values: | ||||
Tags | No tags attached. | ||||
Files Affected | |||||
has duplicate | 0004376 | closed | Sebastian Allmendinger | Attribute Write Values/003.js - DataType ByteString script tries to write NULL |
|
A server supporting ByteStrings is required to support NULL values for it. This is important because in OPC UA a NULL ByteString is often used to reset elements. Therefore the server needs to be updated to support this. Anyway, the script also need to be enhanced to handle this case and print an appropriate error text instead of ignoring the Bad_WriteNotSupported. |
|
Several issues have been identified. |
|
Reviewed in CMP call - Agreed to changes and closed |
Date Modified | Username | Field | Change |
---|---|---|---|
2021-01-11 16:05 | Emil Söder | New Issue | |
2021-01-13 18:50 | Alexander Allmendinger | Assigned To | => Alexander Allmendinger |
2021-01-13 18:50 | Alexander Allmendinger | Status | new => assigned |
2021-01-13 18:56 | Alexander Allmendinger | Note Added: 0013518 | |
2021-01-15 10:47 | Sebastian Allmendinger | Assigned To | Alexander Allmendinger => Sebastian Allmendinger |
2021-01-18 07:03 | Sebastian Allmendinger | Relationship added | duplicate of 0004376 |
2021-01-18 09:09 | Sebastian Allmendinger | Status | assigned => resolved |
2021-01-18 09:09 | Sebastian Allmendinger | Resolution | open => fixed |
2021-01-18 09:09 | Sebastian Allmendinger | Fixed in Version | => 1.03.341.398 |
2021-01-18 09:09 | Sebastian Allmendinger | Note Added: 0013533 | |
2021-02-24 19:13 | Alexander Allmendinger | Relationship replaced | has duplicate 0004376 |
2021-03-26 14:18 | Paul Hunkar | Status | resolved => closed |
2021-03-26 14:18 | Paul Hunkar | Note Added: 0014081 |