Skip to content

[CTT] Test Case Monitored Item Services -> Monitor MinQueueSize_02 -> TetsCase 9 fails for XMLElement #3500

@romanett

Description

@romanett

This test case fails because the Server is not able to correctly set the Overflow Bit for Scalar XmlElement.

When enqueuing the value the overflow element is not set:

[14:51:21 VRB] WRITE: NodeId=ns=2;s=Scalar_Static_UtcTime Value=28.01.2026 13:51:20 Range=null
[14:51:21 VRB] RECEIVED VALUE[23] Value=28.01.2026 13:51:20
[14:51:21 VRB] QUEUE VALUE[23]: Value=28.01.2026 13:51:20 CODE=0<00000000> OVERFLOW=True
[14:51:21 VRB] WRITE: NodeId=ns=2;s=Scalar_Static_XmlElement Value=<time>2026-01-26T13:51:20.911Z</time> Range=null
[14:51:21 VRB] RECEIVED VALUE[24] Value=<time>2026-01-26T13:51:20.911Z</time>
[14:51:21 VRB] ENQUEUE VALUE: Value=<time>2026-01-26T13:51:20.911Z</time>
[14:51:21 VRB] QUEUE VALUE[24]: Value=<time>2026-01-26T13:51:20.911Z</time> CODE=0<00000000> OVERFLOW=False
[14:51:21 VRB] WRITE: NodeId=ns=2;s=Scalar_Static_Variant Value=<time>2026-01-26T13:51:20.911Z</time> Range=null
[14:51:21 VRB] RECEIVED VALUE[25] Value=<time>2026-01-26T13:51:20.911Z</time>
[14:51:21 VRB] QUEUE VALUE[25]: Value=<time>2026-01-26T13:51:20.911Z</time> CODE=0<00000000> OVERFLOW=True
The SECOND value written (<time>2026-01-26T13:51:20.103Z</time>) for Nodeld 'ns=2;s=Scalar_Static_XmlElement (Setting: /Server
Test/Nodelds/Static/All Profiles/Scalar/XmlElement') was received in a DataChange. DiscardOldest=FALSE is not compliant.
The SECOND value should have been deleted leaving the first value and the latest value in the queue.
Expected other than << time>2026-01-26T13:51:20.514Z</time>> but got << time>2026-01-26T13:51:20.514Z</time>>.
[14:51:22 VRB] DEQUEUE VALUE: Value=26.01.2026 13:51:20 CODE=0<00000000> OVERFLOW=False
[14:51:22 VRB] DEQUEUE VALUE: Value=28.01.2026 13:51:20 CODE=1152<00000480> OVERFLOW=True
[14:51:22 VRB] DEQUEUE VALUE: Value=<time>2026-01-26T13:51:20.103Z</time> CODE=0<00000000> OVERFLOW=False
[14:51:22 VRB] DEQUEUE VALUE: Value=<time>2026-01-26T13:51:20.911Z</time> CODE=1152<00000480> OVERFLOW=True
[14:51:22 VRB] DEQUEUE VALUE: Value=1 CODE=0<00000000> OVERFLOW=False
[14:51:22 VRB] DEQUEUE VALUE: Value=3 CODE=1152<00000480> OVERFLOW=True
[14:51:22 VRB] DEQUEUE VALUE: Value=<time>2026-01-26T13:51:20.514Z</time> CODE=0<00000000> OVERFLOW=False
[14:51:22 VRB] DEQUEUE VALUE: Value=<time>2026-01-26T13:51:20.911Z</time> CODE=0<00000000> OVERFLOW=False

Metadata

Metadata

Assignees

Labels

complianceAn issue was found which is not compliant with the OPC UA specification.

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions