View Issue Details

IDProjectCategoryView StatusLast Update
0005389Compliance Test Tool (CTT) Unified Architecture1 - Script Issuepublic2020-05-22 14:39
ReporterMartin Lang Assigned ToSebastian Allmendinger  
PrioritynormalSeverityminorReproducibilityalways
Status closedResolutionfixed 
OSWindows 10 
Fixed in Version1.03.341.396 
Summary0005389: Base Information/Base Info Core Structure/001.js complains about missing ServerDiagnostics Nodes
Description

Used CTT version 1.3.341.390
The script throws an error (not warning) if a server does not support ServerDiagnostics and do not expose the Mandatory variable node ServerDiagnosticsSummary and SubscriptionDiagnosticsArray since these are mandatory in the ObjectType. (Why not SessionsDiagnosticsSummary too? It's a mandatory Object)
This true, if the EnableFlag variable is true.

UA Spec Part 5, 1.04 defines:
When diagnostics are turned off, the Server can return Bad_NodeIdUnknown for all static diagnostic Nodes except the EnabledFlag Property. Dynamic diagnostic Nodes (such as the Session Nodes) will not appear in the AddressSpace. If collection of diagnostic information is not supported at all, the EnabledFlag Property will be read only.

IMHO if the EnabledFlag is false no one of the mandatory Variables and Object nodes must be available in the address space.

Steps To Reproduce
  • start server with EnabledFlag=false
  • EnabledFlag is the only Variable/Object beneath the ServerDiagnostics (i=2274) object.
  • run script
TagsNo tags attached.
Files Affected

Relationships

has duplicate 0005514 closedSebastian Allmendinger Base Info Core Structure : 001.js Server Node: expects ServerDiagnostics object nodes whereas EnabledFlag is False and ReadOnly 

Activities

Paul Hunkar

2020-01-27 15:14

administrator   ~0011475

For 1.04 this needs to be updated (note: it is correct behavior in 1.03)

Sebastian Allmendinger

2020-05-08 15:14

developer   ~0012039

Per Errata 1.03.1 this particular part of the specification has been updated as mentioned in the description.
Because of that the test script has been updated to treat the static nodes of the ServerDiagnostics as optional in case that the value of the EnabledFlag is False.
Note: The TypeDefinition is not affected by this change.

Paul Hunkar

2020-05-22 14:39

administrator   ~0012099

reviewed in CMP call

Issue History

Date Modified Username Field Change
2020-01-21 10:19 Martin Lang New Issue
2020-01-27 15:13 Paul Hunkar Assigned To => Alexander Allmendinger
2020-01-27 15:13 Paul Hunkar Status new => assigned
2020-01-27 15:14 Paul Hunkar Note Added: 0011475
2020-05-08 15:07 Sebastian Allmendinger Relationship added has duplicate 0005514
2020-05-08 15:14 Sebastian Allmendinger Assigned To Alexander Allmendinger => Sebastian Allmendinger
2020-05-08 15:14 Sebastian Allmendinger Status assigned => resolved
2020-05-08 15:14 Sebastian Allmendinger Resolution open => fixed
2020-05-08 15:14 Sebastian Allmendinger Fixed in Version => 1.03.341.396
2020-05-08 15:14 Sebastian Allmendinger Note Added: 0012039
2020-05-22 14:39 Paul Hunkar Status resolved => closed
2020-05-22 14:39 Paul Hunkar Note Added: 0012099