View Issue Details

IDProjectCategoryView StatusLast Update
0008427CTT UA Scripts1 - Script Issuepublic2023-02-18 16:37
ReporterHans Berende Assigned ToSebastian Allmendinger  
PrioritynormalSeveritytrivialReproducibilityalways
Status closedResolutionfixed 
Product Version1.04.500 
Fixed in Version1.03.502 
Summary0008427: 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.
Files Affected

/maintree/Session Services/Session Base/Test Cases/Err-001.js
/maintree/Session Services/Session Minimum 1/Test Cases/001.js

Relationships

related to 0007856 closedYannik Klaass Sessions not getting closed in Address Space Atomicity and Attribute Write StatusCode & Timestamp 
related to 0008709 assignedSebastian Allmendinger Session Services / Session Minimum 50 Parallel / 001.js + 002.js fail with Standard 2017 UA Server profile 

Activities

Sebastian Allmendinger

2022-11-17 07:53

developer   ~0018159

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

2022-12-19 11:11

developer   ~0018320

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-01-04 12:27

reporter   ~0018403

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-01-04 14:22

reporter   ~0018409

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

Paul Hunkar

2023-02-18 16:37

administrator   ~0018756

The original issue was fixed and reviewed - the reopen and additional script have been moved to a cloned issue (related), allowing this set of foxes to be published in this release (cloned issue will wit for next release

Paul Hunkar

2023-02-18 16:37

administrator   ~0018757

reviewed in call, agreed to changes and closed issue

Issue History

Date Modified Username Field Change
2022-11-04 11:54 Hans Berende New Issue
2022-11-11 16:52 Paul Hunkar Assigned To => Alexander Allmendinger
2022-11-11 16:52 Paul Hunkar Status new => assigned
2022-11-17 07:53 Sebastian Allmendinger Status assigned => feedback
2022-11-17 07:53 Sebastian Allmendinger Note Added: 0018159
2022-11-22 13:06 Hans Berende Status feedback => assigned
2022-11-22 13:37 Sebastian Allmendinger Relationship added related to 0007856
2022-12-19 11:08 Sebastian Allmendinger Files Affected => /maintree/Session Services/Session Base/Test Cases/Err-001.js
/maintree/Session Services/Session Minimum 1/Test Cases/001.js
2022-12-19 11:11 Sebastian Allmendinger Assigned To Alexander Allmendinger => Sebastian Allmendinger
2022-12-19 11:11 Sebastian Allmendinger Status assigned => resolved
2022-12-19 11:11 Sebastian Allmendinger Resolution open => fixed
2022-12-19 11:11 Sebastian Allmendinger Note Added: 0018320
2023-01-04 12:27 Hans Berende Status resolved => feedback
2023-01-04 12:27 Hans Berende Resolution fixed => reopened
2023-01-04 12:27 Hans Berende Note Added: 0018403
2023-01-04 14:22 Hans Berende Note Added: 0018409
2023-01-04 14:22 Hans Berende Status feedback => assigned
2023-02-18 16:33 Paul Hunkar Issue cloned: 0008709
2023-02-18 16:33 Paul Hunkar Relationship added related to 0008709
2023-02-18 16:37 Paul Hunkar Status assigned => resolved
2023-02-18 16:37 Paul Hunkar Resolution reopened => fixed
2023-02-18 16:37 Paul Hunkar Fixed in Version => 1.03.502
2023-02-18 16:37 Paul Hunkar Note Added: 0018756
2023-02-18 16:37 Paul Hunkar Status resolved => closed
2023-02-18 16:37 Paul Hunkar Note Added: 0018757