View Issue Details

IDProjectCategoryView StatusLast Update
0007856CTT UA Scripts1 - Script Issuepublic2022-11-22 13:37
ReporterA. Riedel Assigned ToYannik Klaass  
PrioritynormalSeverityminorReproducibilityhave not tried
Status closedResolutionfixed 
Fixed in Version1.03.501 
Summary0007856: Sessions not getting closed in Address Space Atomicity and Attribute Write StatusCode & Timestamp
Description

Some sessions created by the CTT are not being closed after the CU is done:

  • In Address Space Model / Address Space Atomicity: No Test.Disconnect() is called in cleanup.js, therefore the session stays open until SessionTimeout
  • In Attribute Services / Attribute Write StatusCode & Timestamp: initialize.js calls Test.Connect() twice (line 23 and 35), so Test.Disconnect() in cleanup cannot close one of the created sessions anymore

These "rogue" sessions are a problem if a server only supports a small number of sessions and can lead to test fails with BadTooManySessions (e.g. Base Info Diagnostics / 019.js)

TagsNo tags attached.
Files Affected

/maintree/Address Space Model/Address Space Atomicity/Test Cases/cleanup.js
/maintree/Security/Security User Anonymous/Test Cases/Err-001.js
/maintree/Attribute Services/Attribute Write StatusCode & TimeStamp/Test Cases/initialize.js

Relationships

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

Activities

Yannik Klaass

2022-04-20 08:32

developer   ~0016600

Added missing Test.Disconnect() in cleanup of Address Space Atomicity and removed second Test.Connect() in Attribute Write StatusCode & TimeStamp / initialize in updated version.

Furthermore Security User Anonymous / Err-001 called Test.Connect() at the end of the script, but the CU is intended to connect and disconnect per testcase. A reconnect at the end will therefore not be closed afterwards, so the Test.Connect() at the end of this script has been removed along with this mantis.

Paul Hunkar

2022-10-06 16:10

administrator   ~0017968

reviewed changes in call, agreed to changes and closed issue

Issue History

Date Modified Username Field Change
2022-03-10 14:17 A. Riedel New Issue
2022-03-24 15:55 Paul Hunkar Assigned To => Alexander Allmendinger
2022-03-24 15:55 Paul Hunkar Status new => assigned
2022-03-29 12:01 Yannik Klaass Assigned To Alexander Allmendinger => Yannik Klaass
2022-04-20 08:32 Yannik Klaass Status assigned => resolved
2022-04-20 08:32 Yannik Klaass Resolution open => fixed
2022-04-20 08:32 Yannik Klaass Note Added: 0016600
2022-08-02 20:03 Paul Hunkar Project Compliance Test Tool (CTT) Unified Architecture => CTT UA Scripts
2022-08-02 20:23 Paul Hunkar Project CTT UA Scripts => .NET API
2022-08-02 20:23 Paul Hunkar Category 1 - Script Issue => Api Change
2022-08-04 14:24 Paul Hunkar Project .NET API => Compliance Test Tool (CTT) Unified Architecture
2022-10-06 16:09 Paul Hunkar Project Compliance Test Tool (CTT) Unified Architecture => CTT UA Scripts
2022-10-06 16:09 Paul Hunkar Category Api Change => 1 - Script Issue
2022-10-06 16:09 Paul Hunkar Fixed in Version => 1.03.501
2022-10-06 16:10 Paul Hunkar Files Affected => /maintree/Address Space Model/Address Space Atomicity/Test Cases/cleanup.js
/maintree/Security/Security User Anonymous/Test Cases/Err-001.js
/maintree/Attribute Services/Attribute Write StatusCode & TimeStamp/Test Cases/initialize.js
2022-10-06 16:10 Paul Hunkar Status resolved => closed
2022-10-06 16:10 Paul Hunkar Note Added: 0017968
2022-11-22 13:37 Sebastian Allmendinger Relationship added related to 0008427