View Issue Details

IDProjectCategoryView StatusLast Update
0008709CTT UA Scripts1 - Script Issuepublic2023-02-18 16:35
ReporterPaul Hunkar Assigned ToSebastian Allmendinger  
PrioritynormalSeveritytrivialReproducibilityalways
Status assignedResolutionopen 
Product Version1.04.500 
Target Version1.04.503 
Summary0008709: Session Services / Session Minimum 50 Parallel / 001.js + 002.js fail with Standard 2017 UA Server profile
Description

All "Session Services / Session Minimum 50 Parallel" tests fail when executing the "Standard 2017 UA Server" profile or the "Session Services" test selected by that profile.

Steps To Reproduce

Start the OpcUa server and the CTT
Run all test as selecting with the "Standard 2017 UA Server" profile

or

Start the OpcUa server and the CTT
selected ther Session Services tests of the "Standard 2017 UA Server" profile only
Run the tests

Additional Information

The testing tool leaves multiple sessions open. Due to that, the maximum number of parallel sessions is exceeded:

  • when executing the "standard 2017 UA Server" profile -> always
  • when running the "Session Services" only -> the tests succeed on the first start but fail if the tests are executed again.
TagsNo tags attached.
Attached Files
CTT Test Tool.7z (490,930 bytes)
Files Affected

Relationships

related to 0008427 closedSebastian Allmendinger Session Services / Session Minimum 50 Parallel / 001.js + 002.js fail with Standard 2017 UA Server profile 

Activities

Sebastian Allmendinger

2023-02-18 16:33

developer   ~0018748

We did not find any problems with these test scripts in our tests/code review. It may be related to some special behavior in the server or it requires a specific configuration of the CTT.
Is it possible to share the CTT configuration and the server to reproduce the issue in the Certification lab? If so, please send an email to:
certification@allmendinger.de

Sebastian Allmendinger

2023-02-18 16:33

developer   ~0018752

In the test script for Session Base/Err-001 the CTT only closed the Secure Channel but left the session open.
In Session Minimum 1/001, the CTT did not close a Secure Channel.

Both test scripts have been updated to close the created session/secure channel.

Hans Berende

2023-02-18 16:33

reporter   ~0018753

I noticed, that when (one of the test in) <Address Space Model>/<Address SPace Atomicity> is excuted, a session remains open although the connection is closed. On my machine it is always session UaCttSession_3.
When one of the tests in <Monitored Item Services>/<Monitor Items Deadband Filter> testing the deadbandAbsolute (006 - 009) fail, sessions remain open as well.

Is it possible, that more tests have a simular behaviour?

Please note, that all "DoS attack #2; consume SecureChannels, but CreateSessions in some."-test in the respective Conformance Unit sets (Security Basic 128Rsa15, Security Basic 256Sha256 etc.) fail due to this behaviour.

Hans Berende

2023-02-18 16:33

reporter   ~0018754

NOTE that this previous requires a server that is setup to support less than 95 connections.

Paul Hunkar

2023-02-18 16:35

administrator   ~0018755

This clone is to cover reviewing additional script to see if any other also miss closing items

Issue History

Date Modified Username Field Change
2023-02-18 16:33 Paul Hunkar New Issue
2023-02-18 16:33 Paul Hunkar Status new => assigned
2023-02-18 16:33 Paul Hunkar Assigned To => Sebastian Allmendinger
2023-02-18 16:33 Paul Hunkar Issue generated from: 0008427
2023-02-18 16:33 Paul Hunkar Note Added: 0018748
2023-02-18 16:33 Paul Hunkar Note Added: 0018752
2023-02-18 16:33 Paul Hunkar Note Added: 0018753
2023-02-18 16:33 Paul Hunkar Note Added: 0018754
2023-02-18 16:33 Paul Hunkar Relationship added related to 0008427
2023-02-18 16:35 Paul Hunkar Note Added: 0018755