View Issue Details

IDProjectCategoryView StatusLast Update
0004102Compliance Test Tool (CTT) Unified Architecture1 - Script Issuepublic2019-08-09 17:57
ReporterBernd Edlinger Assigned ToAlexander Allmendinger  
PrioritynormalSeverityminorReproducibilityhave not tried
Status closedResolutionfixed 
PlatformPCOSWindowsOS Version8.1
Product Version1.03.340.378 
Target Version1.03Fixed in Version1.03.341.390 
Summary0004102: View Services/View RegisterNodes/Err-004.js exceedes encoding limiits
Description

RegisterNodes: Should return non-existent NodeIds when the 500 nodes do not exist.
Error -> registerNodes() returned failed
-> function: Test574Err004
file: C:/temp/CTT_1.3.340.378/NanoServer/maintree/View Services/View RegisterNodes/Test Cases/Err-004.js
line: 28

This test case does not care about the max. array size in our nano Server.

Note: the message does not print the return code BadEncodingLimitsExceeded.

addError( "registerNodes() returned failed", uaStatus );

this should be Changed to:

addError( "registerNodes() returned failed: " + uaStatus, uaStatus );

other scripts have similar addError w/o Status code.

TagsNo tags attached.
Attached Files
Files Affected

Activities

Paul Hunkar

2018-01-05 14:55

administrator   ~0008815

two issues in this one Mantis:

the script should check the array limits and skip test if not supported.

the second issues on error reporting should be broken out into it's own issue and applied in more general terms.

Alexander Allmendinger

2018-08-06 16:15

developer   ~0009270

Script is now also allowing a BadEncodingLimitsExceeded as well as handling the StatusCode accordingly.

The CTT can't make use of the max. array size, because there is now way for a client to determine that limitation. Please note that the MaxArraySize in the ServerCapabilities Object is only intended for the limits of Variables not of the Server implementation itself.

Bernd Edlinger

2019-02-26 08:00

reporter   ~0009945

The 500 items exceed the Stack Encoding Limits.
Therefore the session is closed with
registerNodes() returned failedBadEncodingLimitsExceeded (0x80080000)
function: Test574Err004
file: C:/temp/uaToolkitEmbedded_1.20.0/CTT/nano/maintree/View Services/View RegisterNodes/Test Cases/Err-004.js
line: 28
function:
file: C:/temp/uaToolkitEmbedded_1.20.0/CTT/nano/library/Base/safeInvoke.js
line: 95
function:
file: C:/temp/uaToolkitEmbedded_1.20.0/CTT/nano/maintree/View Services/View RegisterNodes/Test Cases/Err-004.js
line: 33

Alexander Allmendinger

2019-03-16 15:09

developer   ~0010056

The script is now trying to connect to the server again, in case of an error message.
Unfortunately the CTT currently doesn't implement an opportunity to reuse the still available session after the reconnect. But this is a general issue which I created a separate MantisIssue (Id=4683) in order to implement a global reusable solution.
Fix is available in (1.03.341.386)

Bernd Edlinger

2019-04-15 18:43

reporter   ~0010194

not fixed in 1.3.341.389
still:
Error: RegisterNodes failed with unexpected ServiceResult: BadEncodingLimitsExceeded (0x80080000)

(there is an improvement, since a new session is opened, the following test cases usually work)

Randy Armstrong

2019-04-15 18:47

administrator   ~0010195

This is a test.

screenshot.jpg (391,754 bytes)

Alexander Allmendinger

2019-07-26 17:22

developer   ~0010627

Removed duplicated check.
The error code is already checked in the Helper and therefore we do not need to do that in the script again.

Paul Hunkar

2019-08-09 17:57

administrator   ~0010750

Review in CMP call

error text has been updated (just not noted in solution)

Issue History

Date Modified Username Field Change
2017-12-14 17:58 Bernd Edlinger New Issue
2018-01-05 14:52 Paul Hunkar Assigned To => Alexander Allmendinger
2018-01-05 14:52 Paul Hunkar Status new => assigned
2018-01-05 14:55 Paul Hunkar Note Added: 0008815
2018-01-05 14:55 Paul Hunkar Target Version => 1.03
2018-01-05 14:56 Paul Hunkar Issue cloned: 0004114
2018-08-06 16:15 Alexander Allmendinger Note Added: 0009270
2018-08-06 16:15 Alexander Allmendinger Status assigned => resolved
2018-08-06 16:15 Alexander Allmendinger Fixed in Version => 1.03.341.381
2018-08-06 16:15 Alexander Allmendinger Resolution open => fixed
2019-01-28 14:10 Paul Hunkar Category Script Issue => 1 - Script Issue
2019-02-26 08:00 Bernd Edlinger Status resolved => feedback
2019-02-26 08:00 Bernd Edlinger Resolution fixed => reopened
2019-02-26 08:00 Bernd Edlinger Note Added: 0009945
2019-03-16 15:09 Alexander Allmendinger Status feedback => resolved
2019-03-16 15:09 Alexander Allmendinger Resolution reopened => fixed
2019-03-16 15:09 Alexander Allmendinger Fixed in Version 1.03.341.381 => 1.03.341.384
2019-03-16 15:09 Alexander Allmendinger Note Added: 0010056
2019-04-15 18:43 Bernd Edlinger Status resolved => feedback
2019-04-15 18:43 Bernd Edlinger Resolution fixed => reopened
2019-04-15 18:43 Bernd Edlinger Note Added: 0010194
2019-04-15 18:47 Randy Armstrong File Added: screenshot.jpg
2019-04-15 18:47 Randy Armstrong Note Added: 0010195
2019-04-19 15:45 Paul Hunkar Status feedback => assigned
2019-07-26 17:22 Alexander Allmendinger Status assigned => resolved
2019-07-26 17:22 Alexander Allmendinger Resolution reopened => fixed
2019-07-26 17:22 Alexander Allmendinger Fixed in Version 1.03.341.384 => 1.03.341.390
2019-07-26 17:22 Alexander Allmendinger Note Added: 0010627
2019-08-09 17:57 Paul Hunkar Status resolved => closed
2019-08-09 17:57 Paul Hunkar Note Added: 0010750