View Issue Details

IDProjectCategoryView StatusLast Update
0006589Compliance Test Tool (CTT) Unified Architecture1 - Script Issuepublic2022-11-19 13:25
ReporterCamille Guérin Assigned ToSebastian Allmendinger  
PrioritynormalSeverityminorReproducibilityalways
Status closedResolutionfixed 
Product Version1.04.09.396 
Fixed in Version1.03.341.399 
Summary0006589: Base Information / Base Info Diagnostics / initialize.js
Description

Using the latest available CTT version on opcfoundation.org (1.4.09.396) and an OPC UA Server not supporting Diagnostics produce an error.

Error: Write().Response.Results[0] is not good: BadNotWritable (0x803b0000); (Node Setting: '')
Skipped: Diagnostics.EnabledFlag cannot be written to.
Diagnostics cannot be activated and are possibly unsupported.
Please activate manually and re-run these tests.
Aborting conformance unit.

function: checkWriteValidParameter file: C:/X/OPCUA_1_4_9/library/ServiceBased/AttributeServiceSet/Write.js line: 553
function: file: C:/X/OPCUA_1_4_9/library/ServiceBased/AttributeServiceSet/Write.js line: 120
function: file: C:/X/OPCUA_1_4_9/library/ServiceBased/AttributeServiceSet/Write.js line: 61
function: file: C:/X/OPCUA_1_4_9/maintree/Base Information/Base Info Diagnostics/Test Cases/initialize.js line: 32

if( !WriteHelper.Execute( { NodesToWrite: _enabledFlagNode, ReadVerification: false } ) ) {

TagsNo tags attached.
Files Affected

Relationships

has duplicate 0007354 closedAlexander Allmendinger CTT UA Scripts Base Info Diagnostics/initialize.js fails when Diagnistics are not implemented 

Activities

Alexander Allmendinger

2021-03-18 16:04

developer   ~0014045

In the initialize the Write does not expect the enabledFlag to not be writeable:
if( !WriteHelper.Execute( { NodesToWrite: _enabledFlagNode, ReadVerification: false, SupressErrors: true } ) ) {

This needs to be handled so it does not print an error but only skip the CU.

Sebastian Allmendinger

2021-04-08 10:23

developer   ~0014181

An updated test script has been prepared. The test script will not throw an error if the write fails with OperationResults "BadUserAccessDenied" or "BadNotWritable".

Paul Hunkar

2021-04-29 15:09

administrator   ~0014279

Reviewed in CMP call. Agreed to changes and closed

Issue History

Date Modified Username Field Change
2021-03-09 12:47 Camille Guérin New Issue
2021-03-18 16:02 Alexander Allmendinger Assigned To => Alexander Allmendinger
2021-03-18 16:02 Alexander Allmendinger Status new => assigned
2021-03-18 16:04 Alexander Allmendinger Note Added: 0014045
2021-04-08 10:23 Sebastian Allmendinger Note Added: 0014181
2021-04-08 10:25 Sebastian Allmendinger Assigned To Alexander Allmendinger => Sebastian Allmendinger
2021-04-08 10:25 Sebastian Allmendinger Status assigned => resolved
2021-04-08 10:25 Sebastian Allmendinger Resolution open => fixed
2021-04-08 10:25 Sebastian Allmendinger Fixed in Version => 1.03.341.399
2021-04-29 15:09 Paul Hunkar Status resolved => closed
2021-04-29 15:09 Paul Hunkar Note Added: 0014279
2022-11-19 13:25 Sebastian Allmendinger Relationship added has duplicate 0007354