Repository navigation
A&C Conformance Units skipped tests in CTT #1778
Replies: 21 comments 16 replies
|
This seems to be a combination of issues.
|
|
Do you know a client where i can select the whereclauses ? For Testing because CTT seems to be a littlebit clumsy |
|
So for the other questions here is a wireshark of the A&C Acknowlege conformance tests in CTT : |
|
Oh Sorry this was my fault i had the Encryption enabled for CTT Testing (it is to hot and to late for me. ) here is it again without encryption: |
|
Here is it again this time as .zip file But as you mentioned before maybe its best when you check on your own what ctt is doing. |
|
I'm not able to make any sense of this in isolation and have no A&C implementation I could possibly test with. You're probably going to need to debug this further on your own before I can do or fix anything. |
|
I'm sorry but im stuck here do you see any problems the way i handle acknowledgeable Alarms ? |
This conversation has motivated me to start working on an A&C implementation 😅 No idea about timeline, but maybe someday it will be useful to you or others going down this path. |
|
Hi, Greetings Johann |
|
Hi this is exactly what i needed 😊 so for an array i have to loop over the e.g 2000 Points and run evaluate for every point right? I wonder if this is not too time consuming ? |
|
Thank you this helps me alot. but when it runs to new UaServerDiagnosticAlarm((UaServerDiagnosticAlarmTypeNode) node)) i get the following exception: also i had the problem that ConditionBuilder(UaNodeContext context) is package private. |
|
API extensibility improvements inspired by this conversation: |
|
Also, fwiw, the new A&C implementation in Milo does pass all of the CTT A&C conformance units I tried, but only after fixing 10+ defects in the CTT test scripts. I've reported them, but they need to be fixed and released upstream... might be a while. Given the difficulty in setting up A&C tests, which requires a bunch of application-specific setup, and the defects, it's hard to imagine many products are passing these conformance units right now... |
|
Hello you are perfect! I think i puzzled everything together now the problem was that i created my alarm before i initalized custom types now it works. But i dont see the .attach Method in my Version ? |
|
Hello Kevin, The code now looks like this: What is meant by "If you don't need your own Java class for the node, pass SystemDiagnosticAlarmTypeNode.class instead. The node still gets your custom type." can you explain further? Is it possible to provide me a full example of a custom Alarm Type implementation ? Greetings Johann |
|
Hi Kevin, thanks to your example i realized that actually i had problems (some timing issue) with the evaluation of the alarm so it wasn't fired at all 🙄. I fixed that and now i can Acknowlege my Custom Alarms 🤩. Thank you again. |







Uh oh!
There was an error while loading. Please reload this page.
Hello,
i had contact with S.Allmendinger because CTT Tool skipped some Tests regarding A&C without a cause.
He checked on my actual Implementation an send me this
"Hi Johann,
your server seems to have a problem with the WhereClause of the CTTs (or a general problem with WhereClauses). In the A&C scripts, the CTT uses a WhereClause with all AlarmTypes to filter out other events that are irrelevant for the tests. But since the server then doesn’t send any events, the test scripts are skipped.

When I adjust the script and use an empty WhereClause array (like UaExpert does, for example), the server sends the event when exporting to the OPC UA server.

If I use the original script and a set WhereClause array, the server doesn’t send any event when exporting to the OPC UA server. The PublishResponses with the message size 161 are all just empty KeepAlives."
I checked on EventFilter – OPC Unified Architecture - Part 4: Services but i dont really understand whats going on 🙄
In the Test Scenario only an ExclusiveLimitAlarmType is Triggered. What do i miss ?
my generation of eventType Node looks like this:
All reactions