View Issue Details

IDProjectCategoryView StatusLast Update
0004147Compliance Test Tool (CTT) Unified Architecture1 - Script Issuepublic2019-08-16 15:27
ReporterBernd Edlinger Assigned ToAlexander Allmendinger  
PrioritynormalSeverityminorReproducibilityhave not tried
Status closedResolutionfixed 
PlatformPCOSWindowsOS Version8.1
Product Version1.03.340.380 
Target Version1.03Fixed in Version1.03.341.381 
Summary0004147: PostTestFunctions cause timeouts
Description

If you have the following selection
Base Info ValueAsText
Security Basic 128Rsa15 or Security Basic 256Sha256
View Services

and one of the Security Basic CUs is skipped, because the server
does not have the right security profile.

Then the View Services become extremely slow and fail because session breaks.

The problem is in part that Security Basic initialize.js is executed,
but the cleanup.js is not executed.
the initialize.js contains this:

// we NEED a secure channel 128Rsa15 for this CU!
if( epSecureEncrypt === null && epSecureSign === null ) {
addSkipped( "Secure endpoint using 128Rsa15 not found!" );
stopCurrentUnit();
}

Test.PostTestFunctions.push( postTestDelay );

function postTestDelay() {
UaDateTime.CountDown( { Seconds: 6, Message: "before invoking next script..." } )
}

while cleanup.js contains this (but is not executed):

Test.PostTestFunctions = [];

Workarounds:
1) Do not execute Base Info ValueAsText
2) Execute additionally Subscription Base/001.js

it is clear how 2) works, because it always executes it's cleanup.js

it is not clear to us how 1) works.

TagsNo tags attached.
Files Affected

Activities

Alexander Allmendinger

2018-03-01 16:37

developer   ~0008903

Compliance Group Meeting: Alexander verifies the behavior with some servers to find the reason for the slow responses and session breaks.

Alexander Allmendinger

2018-07-27 11:58

developer   ~0009232

The PostTestFunctions weren't removed when skipping the test cases and therefore were executed after each test case later on. In order to prevent the issue the script is now only adding the delay, if the server does support the SecurityPolicies.

Paul Hunkar

2019-08-16 15:27

administrator   ~0010785

Reviewed in CMP call

Issue History

Date Modified Username Field Change
2018-02-01 14:16 Bernd Edlinger New Issue
2018-02-01 14:17 Bernd Edlinger Description Updated
2018-03-01 16:37 Alexander Allmendinger Note Added: 0008903
2018-03-01 16:37 Alexander Allmendinger Assigned To => Alexander Allmendinger
2018-03-01 16:37 Alexander Allmendinger Status new => assigned
2018-03-01 16:37 Alexander Allmendinger Target Version => 1.03
2018-03-01 16:38 Alexander Allmendinger Target Version 1.03 =>
2018-07-27 11:58 Alexander Allmendinger Note Added: 0009232
2018-07-27 11:58 Alexander Allmendinger Status assigned => resolved
2018-07-27 11:58 Alexander Allmendinger Fixed in Version => 1.03.341.381
2018-07-27 11:58 Alexander Allmendinger Resolution open => fixed
2019-01-28 14:10 Paul Hunkar Category Script Issue => 1 - Script Issue
2019-08-16 15:27 Paul Hunkar Status resolved => closed
2019-08-16 15:27 Paul Hunkar Note Added: 0010785
2019-08-16 15:27 Paul Hunkar Target Version => 1.03