Skip to content

Refactor ExpandedNodeId InternalTryParse to avoid creating object in …

38c62d6
Select commit
Loading
Failed to load commit list.
Merged

Add TryParse methods to NodeId and ExpandedNodeId #3302

Refactor ExpandedNodeId InternalTryParse to avoid creating object in …
38c62d6
Select commit
Loading
Failed to load commit list.
Azure Pipelines / OPCFoundation.UA-.NETStandard succeeded Nov 1, 2025 in 9m 50s

Build #1.5.377.61-preview+38c62d637f had test failures

Details

Tests

  • Failed: 9 (0.01%, 9 new, 0 recurring)
  • Passed: 152,383 (98.62%)
  • Other: 2,118 (1.37%)
  • Total: 154,510

Annotations

Check failure on line 1 in Opc.Ua.Gds.Tests.PushTest("EccBrainpoolP384r1ApplicationCertific...",i=23541,"http://opcfoundation.org/UA/SecurityP...",System.Security.Cryptography.ECCurve).UpdateCertificateNewKeyPairPFXAsync

See this annotation in the file changed.

@azure-pipelines azure-pipelines / OPCFoundation.UA-.NETStandard

Opc.Ua.Gds.Tests.PushTest("EccBrainpoolP384r1ApplicationCertific...",i=23541,"http://opcfoundation.org/UA/SecurityP...",System.Security.Cryptography.ECCurve).UpdateCertificateNewKeyPairPFXAsync

Opc.Ua.ServiceResultException : BadSecurityChecksFailed 'Error received from remote host: Could not verify security on OpenSecureChannel request.'
Raw output
   at Opc.Ua.Bindings.ChannelAsyncOperation`1.<EndAsync>d__12.MoveNext() in /_/Stack/Opc.Ua.Core/Stack/Tcp/ChannelAsyncOperation.cs:line 300
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
   at Opc.Ua.Bindings.UaSCUaBinaryClientChannel.<ConnectAsync>d__2.MoveNext() in /_/Stack/Opc.Ua.Core/Stack/Tcp/UaSCBinaryClientChannel.cs:line 199
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
   at Opc.Ua.Bindings.UaSCUaBinaryTransportChannel.<OpenInternalAsync>d__29.MoveNext() in /_/Stack/Opc.Ua.Core/Stack/Tcp/UaSCBinaryTransportChannel.cs:line 328
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
   at Opc.Ua.ClientChannelManager.<CreateUaBinaryChannelAsync>d__7.MoveNext() in /_/Stack/Opc.Ua.Core/Stack/Client/ClientChannelManager.cs:line 243
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
   at Opc.Ua.Client.Session.<CreateChannelAsync>d__150.MoveNext() in /_/Libraries/Opc.Ua.Client/Session/Session.cs:line 1247
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
   at Opc.Ua.Client.Session.<CreateAsync>d__151.MoveNext() in /_/Libraries/Opc.Ua.Client/Session/Session.cs:line 1290
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
   at Opc.Ua.Client.DefaultSessionFactory.<CreateAsync>d__12.MoveNext() in /_/Libraries/Opc.Ua.Client/Session/Factory/DefaultSessionFactory.cs:line 107
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
   at Opc.Ua.Gds.Client.ServerPushConfigurationClient.<ConnectInternalAsync>d__86.MoveNext() in /_/Libraries/Opc.Ua.Gds.Client.Common/ServerPushConfigurationClient.cs:line 1176
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
   at Opc.Ua.Gds.Client.ServerPushConfigurationClient.<ConnectAsync>d__59.MoveNext() in /_/Libraries/Opc.Ua.Gds.Client.Common/ServerPushConfigurationClient.cs:line 342
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
   at Opc.Ua.Gds.Tests.ServerConfigurationPushTestClient.<ConnectAsync>d__34.MoveNext() in /_/Tests/Opc.Ua.Gds.Tests/ServerConfigurationPushTestClient.cs:line 243
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
   at Opc.Ua.Gds.Tests.PushTest.<ConnectPushClientAsync>d__35.MoveNext() in /_/Tests/Opc.Ua.Gds.Tests/PushTest.cs:line 980
--- End of stack trace from previous location where exception was thro

Check failure on line 1 in Opc.Ua.Gds.Tests.PushTest("EccBrainpoolP384r1ApplicationCertific...",i=23541,"http://opcfoundation.org/UA/SecurityP...",System.Security.Cryptography.ECCurve).UpdateCertificateNewKeyPairPEMAsync

See this annotation in the file changed.

@azure-pipelines azure-pipelines / OPCFoundation.UA-.NETStandard

Opc.Ua.Gds.Tests.PushTest("EccBrainpoolP384r1ApplicationCertific...",i=23541,"http://opcfoundation.org/UA/SecurityP...",System.Security.Cryptography.ECCurve).UpdateCertificateNewKeyPairPEMAsync

Opc.Ua.ServiceResultException : BadSecurityChecksFailed 'Error received from remote host: Could not verify security on OpenSecureChannel request.'
Raw output
   at Opc.Ua.Bindings.ChannelAsyncOperation`1.<EndAsync>d__12.MoveNext() in /_/Stack/Opc.Ua.Core/Stack/Tcp/ChannelAsyncOperation.cs:line 300
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
   at Opc.Ua.Bindings.UaSCUaBinaryClientChannel.<ConnectAsync>d__2.MoveNext() in /_/Stack/Opc.Ua.Core/Stack/Tcp/UaSCBinaryClientChannel.cs:line 199
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
   at Opc.Ua.Bindings.UaSCUaBinaryTransportChannel.<OpenInternalAsync>d__29.MoveNext() in /_/Stack/Opc.Ua.Core/Stack/Tcp/UaSCBinaryTransportChannel.cs:line 328
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
   at Opc.Ua.ClientChannelManager.<CreateUaBinaryChannelAsync>d__7.MoveNext() in /_/Stack/Opc.Ua.Core/Stack/Client/ClientChannelManager.cs:line 243
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
   at Opc.Ua.Client.Session.<CreateChannelAsync>d__150.MoveNext() in /_/Libraries/Opc.Ua.Client/Session/Session.cs:line 1247
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
   at Opc.Ua.Client.Session.<CreateAsync>d__151.MoveNext() in /_/Libraries/Opc.Ua.Client/Session/Session.cs:line 1290
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
   at Opc.Ua.Client.DefaultSessionFactory.<CreateAsync>d__12.MoveNext() in /_/Libraries/Opc.Ua.Client/Session/Factory/DefaultSessionFactory.cs:line 107
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
   at Opc.Ua.Gds.Client.ServerPushConfigurationClient.<ConnectInternalAsync>d__86.MoveNext() in /_/Libraries/Opc.Ua.Gds.Client.Common/ServerPushConfigurationClient.cs:line 1176
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
   at Opc.Ua.Gds.Client.ServerPushConfigurationClient.<ConnectAsync>d__59.MoveNext() in /_/Libraries/Opc.Ua.Gds.Client.Common/ServerPushConfigurationClient.cs:line 342
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
   at Opc.Ua.Gds.Tests.ServerConfigurationPushTestClient.<ConnectAsync>d__34.MoveNext() in /_/Tests/Opc.Ua.Gds.Tests/ServerConfigurationPushTestClient.cs:line 243
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
   at Opc.Ua.Gds.Tests.PushTest.<ConnectPushClientAsync>d__35.MoveNext() in /_/Tests/Opc.Ua.Gds.Tests/PushTest.cs:line 980
--- End of stack trace from previous location where exception was thro

Check failure on line 1 in Opc.Ua.Gds.Tests.PushTest("EccBrainpoolP384r1ApplicationCertific...",i=23541,"http://opcfoundation.org/UA/SecurityP...",System.Security.Cryptography.ECCurve).GetCertificatesAsync

See this annotation in the file changed.

@azure-pipelines azure-pipelines / OPCFoundation.UA-.NETStandard

Opc.Ua.Gds.Tests.PushTest("EccBrainpoolP384r1ApplicationCertific...",i=23541,"http://opcfoundation.org/UA/SecurityP...",System.Security.Cryptography.ECCurve).GetCertificatesAsync

Opc.Ua.ServiceResultException : BadSecurityChecksFailed 'Error received from remote host: Could not verify security on OpenSecureChannel request.'
Raw output
   at Opc.Ua.Bindings.ChannelAsyncOperation`1.<EndAsync>d__12.MoveNext() in /_/Stack/Opc.Ua.Core/Stack/Tcp/ChannelAsyncOperation.cs:line 300
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
   at Opc.Ua.Bindings.UaSCUaBinaryClientChannel.<ConnectAsync>d__2.MoveNext() in /_/Stack/Opc.Ua.Core/Stack/Tcp/UaSCBinaryClientChannel.cs:line 199
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
   at Opc.Ua.Bindings.UaSCUaBinaryTransportChannel.<OpenInternalAsync>d__29.MoveNext() in /_/Stack/Opc.Ua.Core/Stack/Tcp/UaSCBinaryTransportChannel.cs:line 328
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
   at Opc.Ua.ClientChannelManager.<CreateUaBinaryChannelAsync>d__7.MoveNext() in /_/Stack/Opc.Ua.Core/Stack/Client/ClientChannelManager.cs:line 243
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
   at Opc.Ua.Client.Session.<CreateChannelAsync>d__150.MoveNext() in /_/Libraries/Opc.Ua.Client/Session/Session.cs:line 1247
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
   at Opc.Ua.Client.Session.<CreateAsync>d__151.MoveNext() in /_/Libraries/Opc.Ua.Client/Session/Session.cs:line 1290
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
   at Opc.Ua.Client.DefaultSessionFactory.<CreateAsync>d__12.MoveNext() in /_/Libraries/Opc.Ua.Client/Session/Factory/DefaultSessionFactory.cs:line 107
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
   at Opc.Ua.Gds.Client.ServerPushConfigurationClient.<ConnectInternalAsync>d__86.MoveNext() in /_/Libraries/Opc.Ua.Gds.Client.Common/ServerPushConfigurationClient.cs:line 1176
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
   at Opc.Ua.Gds.Client.ServerPushConfigurationClient.<ConnectAsync>d__59.MoveNext() in /_/Libraries/Opc.Ua.Gds.Client.Common/ServerPushConfigurationClient.cs:line 342
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
   at Opc.Ua.Gds.Tests.ServerConfigurationPushTestClient.<ConnectAsync>d__34.MoveNext() in /_/Tests/Opc.Ua.Gds.Tests/ServerConfigurationPushTestClient.cs:line 243
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
   at Opc.Ua.Gds.Tests.PushTest.<ConnectPushClientAsync>d__35.MoveNext() in /_/Tests/Opc.Ua.Gds.Tests/PushTest.cs:line 980
--- End of stack trace from previous location where exception was thro

Check failure on line 1 in Opc.Ua.Gds.Tests.PushTest("EccBrainpoolP384r1ApplicationCertific...",i=23541,"http://opcfoundation.org/UA/SecurityP...",System.Security.Cryptography.ECCurve).UpdateCertificateSelfSignedPEMAsync

See this annotation in the file changed.

@azure-pipelines azure-pipelines / OPCFoundation.UA-.NETStandard

Opc.Ua.Gds.Tests.PushTest("EccBrainpoolP384r1ApplicationCertific...",i=23541,"http://opcfoundation.org/UA/SecurityP...",System.Security.Cryptography.ECCurve).UpdateCertificateSelfSignedPEMAsync

Opc.Ua.ServiceResultException : BadSecurityChecksFailed 'Error received from remote host: Could not verify security on OpenSecureChannel request.'
Raw output
   at Opc.Ua.Bindings.ChannelAsyncOperation`1.<EndAsync>d__12.MoveNext() in /_/Stack/Opc.Ua.Core/Stack/Tcp/ChannelAsyncOperation.cs:line 300
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
   at Opc.Ua.Bindings.UaSCUaBinaryClientChannel.<ConnectAsync>d__2.MoveNext() in /_/Stack/Opc.Ua.Core/Stack/Tcp/UaSCBinaryClientChannel.cs:line 199
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
   at Opc.Ua.Bindings.UaSCUaBinaryTransportChannel.<OpenInternalAsync>d__29.MoveNext() in /_/Stack/Opc.Ua.Core/Stack/Tcp/UaSCBinaryTransportChannel.cs:line 328
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
   at Opc.Ua.ClientChannelManager.<CreateUaBinaryChannelAsync>d__7.MoveNext() in /_/Stack/Opc.Ua.Core/Stack/Client/ClientChannelManager.cs:line 243
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
   at Opc.Ua.Client.Session.<CreateChannelAsync>d__150.MoveNext() in /_/Libraries/Opc.Ua.Client/Session/Session.cs:line 1247
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
   at Opc.Ua.Client.Session.<CreateAsync>d__151.MoveNext() in /_/Libraries/Opc.Ua.Client/Session/Session.cs:line 1290
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
   at Opc.Ua.Client.DefaultSessionFactory.<CreateAsync>d__12.MoveNext() in /_/Libraries/Opc.Ua.Client/Session/Factory/DefaultSessionFactory.cs:line 107
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
   at Opc.Ua.Gds.Client.ServerPushConfigurationClient.<ConnectInternalAsync>d__86.MoveNext() in /_/Libraries/Opc.Ua.Gds.Client.Common/ServerPushConfigurationClient.cs:line 1176
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
   at Opc.Ua.Gds.Client.ServerPushConfigurationClient.<ConnectAsync>d__59.MoveNext() in /_/Libraries/Opc.Ua.Gds.Client.Common/ServerPushConfigurationClient.cs:line 342
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
   at Opc.Ua.Gds.Tests.ServerConfigurationPushTestClient.<ConnectAsync>d__34.MoveNext() in /_/Tests/Opc.Ua.Gds.Tests/ServerConfigurationPushTestClient.cs:line 243
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
   at Opc.Ua.Gds.Tests.PushTest.<ConnectPushClientAsync>d__35.MoveNext() in /_/Tests/Opc.Ua.Gds.Tests/PushTest.cs:line 980
--- End of stack trace from previous location where exception was thro