View Issue Details

IDProjectCategoryView StatusLast Update
0006005Compliance Test Tool (CTT) Unified Architecture1 - Script Issuepublic2021-07-02 15:56
ReporterAhmed Ansari Assigned ToPaul Hunkar  
PriorityhighSeverityminorReproducibilityalways
Status closedResolutionduplicate 
Summary0006005: Failing write tests on a read only OPC UA Server
Description

Following CTT tests fail on a READ-ONLY OPC UA server on returning BadNotWritable on Write request, however they should be skipped:

Conformance Units > Base Information > Base Info Diagnostics > 12.js
Conformance Units > Base Information > Base Info Diagnostics > 13.js
Conformance Units > Base Information > Base Info Diagnostics > 15.js

Conformance Units > Monitored Item Services > Monitor Basic > Err-043.js
Conformance Units > Monitored Item Services > Monitor Value Change > 024.js, 026.js, 028.js, 036.js, Err-001.js
Conformance Units > Monitored Item Services > Monitored Items Deadband Filter > 007.js, 008.js, 009.js, Err-003.js, Err-005.js
Conformance Units > Monitored Item Services > Monitor MinQueueSize_02 > 002.js
Conformance Units > Monitored Item Services > Monitor MinQueueSize_05 > initialize.js, 002.js, 003.js, 004.js, 005.js
Conformance Units > Monitored Item Services > Monitor Triggering > 018.js

Conformance Units > Subscription Services > Subscription Minimum 02 > initialize.js
Conformance Units > Subscription Services > Subscription Minimum 05 > initialize.js
Conformance Units > Subscription Services > Subscription Publish Min 02 > initialize.js
Conformance Units > Subscription Services > Subscription Publish Min 05 > initialize.js
Conformance Units > Subscription Services > Subscription Publish Min 10 > initialize.js

afterTest.js also fails on BadNotWritable status but works for BadUserAccessDenied. It should also skip write tests on BadNotWritable status.

Note: BadWriteNotSupported and BadUserAccessDenied give the same result.

TagsNo tags attached.
Files Affected

Relationships

duplicate of 0007047 closedYannik Klaass CTT UA Scripts Failing write tests on a read only OPC UA Server 

Activities

Paul Hunkar

2020-10-02 16:00

administrator   ~0013012

read only server are being worked on - to better support in the automated tool. the test lab will manually handle them.

Camille Guérin

2021-03-11 13:57

reporter   ~0014033

I also have the issue with Monitor Item Services / Monitor Value Change / 036.js and Err-001.js

Test.Execute() encounted an unexpected error:
message:Result of expression near '...tampsToReturn.Both )[0]...' [null] is not an object.
lineNumber:11
sourceId:343612616
fileName:C:/Users/cguerin/Desktop/Embedded/OPCUA_1_4_9/maintree/Monitored Item Services/Monitor Value Change/Test Cases/036.js
expressionBeginOffset:870
expressionCaretOffset:870
expressionEndOffset:870
name:TypeError

The issue appears since the test settings have no Array configured.
The issue only appears when running the test as part of a profile (Embedded 2017 UA Server Profile)
When those tests are run alone, on errors

Issue History

Date Modified Username Field Change
2020-09-16 12:43 Ahmed Ansari New Issue
2020-09-18 09:36 Ahmed Ansari Issue cloned: 0006037
2020-10-02 16:00 Paul Hunkar Assigned To => Paul Hunkar
2020-10-02 16:00 Paul Hunkar Status new => acknowledged
2020-10-02 16:00 Paul Hunkar Note Added: 0013012
2021-03-11 13:57 Camille Guérin Note Added: 0014033
2021-07-02 15:56 Paul Hunkar Status acknowledged => closed
2021-07-02 15:56 Paul Hunkar Resolution open => duplicate
2021-07-02 15:56 Paul Hunkar Relationship added duplicate of 0007047