View Issue Details

IDProjectCategoryView StatusLast Update
0007523CTT UA Scripts1 - Script Issuepublic2023-02-18 06:13
ReporterYoshiaki Ogawa Assigned ToSebastian Allmendinger  
PrioritynormalSeverityminorReproducibilityalways
Status closedResolutionfixed 
Target Version1.03.502Fixed in Version1.03.502 
Summary0007523: CTT-Allows Bad_IdentityTokenRejected errors returned by the server in Session Services / Session Base / Err-009.js
Description

If the OPC UA server does not allow anonymous connections
An error occurs in Session Services / Session Base / Err-009.js of CTT.

Specifically, an error will occur if Bad_IdentityTokenRejected is returned as the processing result of the server.
This is because we only expect Bad_IdentityTokenInvalid as a test.

If the connection can be recognized as a user ID token but is anonymous, it is appropriate to return Bad_IdentityTokenRejected.
Therefore, we believe that both errors are valid in the tests on this part and that both error values should be tolerated.

Additional Information

I pointed out this problem based on the following exchange with Alexander who inquired before.


Sent: Thursday, July 29, 2021 2:17 AM
Subject: RE: Reminder: RE: [unified #19722] Re: CTT fails in SDK Ver1.7.4. (Both CTT 1.03 and 1.04)

We are going to change the script included in the CTT to also accept Bad_IdentityTokenRejected as from a tooling perspective we cannot determine whether a IdentityToken is supported or just disabled. Could you please create a Mantis Issue in our bug tracking at mantis.opcfoundation.org so we can change the script accordingly.

Unfortunately this also reduced the coverage of the testing. We are going to address this by manually executing this test case for every product being certified. In a manual test we can verify whether an Identity Token is not supported or just disabled and with this knowledge really do this test.

TagsNo tags attached.
Files Affected

/maintree/Session Services/Session Base/Test Cases/Err-009.js

Activities

Paul Hunkar

2022-02-03 16:05

administrator   ~0015909

Push to later release (since manual option is available)
Only test script needs to be update (no test case changes) manual can tell the difference, script needs to allow more

Paul Hunkar

2022-08-05 14:27

administrator   ~0017303

allow both

Sebastian Allmendinger

2022-12-19 11:14

developer   ~0018321

The test script has been updated to also allow BadIdentityTokenRejected.

Paul Hunkar

2023-02-18 06:13

administrator   ~0018744

Reviewed in call (2023-02-10) agreed to changes, closed issue

Issue History

Date Modified Username Field Change
2022-01-07 04:46 Yoshiaki Ogawa New Issue
2022-02-03 16:03 Paul Hunkar Assigned To => Alexander Allmendinger
2022-02-03 16:03 Paul Hunkar Status new => assigned
2022-02-03 16:05 Paul Hunkar Status assigned => acknowledged
2022-02-03 16:05 Paul Hunkar Note Added: 0015909
2022-08-05 14:27 Paul Hunkar Status acknowledged => assigned
2022-08-05 14:27 Paul Hunkar Note Added: 0017303
2022-08-25 03:09 Paul Hunkar Project Compliance Test Tool (CTT) Unified Architecture => CTT UA Scripts
2022-12-19 11:12 Sebastian Allmendinger Files Affected => /maintree/Session Services/Session Base/Test Cases/Err-009.js
2022-12-19 11:14 Sebastian Allmendinger Assigned To Alexander Allmendinger => Sebastian Allmendinger
2022-12-19 11:14 Sebastian Allmendinger Status assigned => resolved
2022-12-19 11:14 Sebastian Allmendinger Resolution open => fixed
2022-12-19 11:14 Sebastian Allmendinger Note Added: 0018321
2023-02-18 06:12 Paul Hunkar Fixed in Version => 1.03.502
2023-02-18 06:12 Paul Hunkar Target Version => 1.03.502
2023-02-18 06:13 Paul Hunkar Status resolved => closed
2023-02-18 06:13 Paul Hunkar Note Added: 0018744