Skip to content

Certificate manager and ref counted certificate type - #3688

Merged
marcschier merged 250 commits into
masterfrom
x509
May 12, 2026
Merged

Certificate manager and ref counted certificate type#3688
marcschier merged 250 commits into
masterfrom
x509

ci: empty commit to retrigger stuck Azure DevOps build

d2c1045
Select commit
Loading
Failed to load commit list.
Azure Pipelines / OPCFoundation.UA-.NETStandard succeeded May 12, 2026 in 11m 24s

Build #1.6.265-preview+cbd5de8e41 had test failures

Details

Tests

  • Failed: 1 (0.00%)
  • Passed: 76,634 (97.55%)
  • Other: 1,924 (2.45%)
  • Total: 78,559

Annotations

Check failure on line 1 in Opc.Ua.Core.Tests.Security.Certificates.CertificateManagerTests.GetIssuersAsyncReturnedReferencesAreCallerOwnedAndDisposable

See this annotation in the file changed.

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

Opc.Ua.Core.Tests.Security.Certificates.CertificateManagerTests.GetIssuersAsyncReturnedReferencesAreCallerOwnedAndDisposable

  Every Certificate instance materialised during GetIssuersAsync must be disposable by the caller (no orphaned refcount).
Assert.That(disposedDelta, Is.EqualTo(createdDelta))
  Expected: 2
  But was:  1
Raw output
   at Opc.Ua.Core.Tests.Security.Certificates.CertificateManagerTests.GetIssuersAsyncReturnedReferencesAreCallerOwnedAndDisposable() in /_/Tests/Opc.Ua.Core.Tests/Security/Certificates/CertificateManager/CertificateManagerTests.cs:line 538
   at NUnit.Framework.Internal.TaskAwaitAdapter.GenericAdapter`1.GetResult()
   at NUnit.Framework.Internal.AsyncToSyncAdapter.Await[TResult](TestExecutionContext context, Func`1 invoke)
   at NUnit.Framework.Internal.AsyncToSyncAdapter.Await(TestExecutionContext context, Func`1 invoke)
   at NUnit.Framework.Internal.Commands.TestMethodCommand.RunTestMethod(TestExecutionContext context)
   at NUnit.Framework.Internal.Commands.TestMethodCommand.Execute(TestExecutionContext context)
   at NUnit.Framework.Internal.Commands.BeforeAndAfterTestCommand.<>c__DisplayClass1_0.<Execute>b__0()
   at NUnit.Framework.Internal.Commands.DelegatingTestCommand.RunTestMethodInThreadAbortSafeZone(TestExecutionContext context, Action action)

1)    at Opc.Ua.Core.Tests.Security.Certificates.CertificateManagerTests.GetIssuersAsyncReturnedReferencesAreCallerOwnedAndDisposable() in /_/Tests/Opc.Ua.Core.Tests/Security/Certificates/CertificateManager/CertificateManagerTests.cs:line 538
   at System.Runtime.CompilerServices.AsyncMethodBuilderCore.Start[TStateMachine](TStateMachine& stateMachine)
   at Opc.Ua.Core.Tests.Security.Certificates.CertificateManagerTests.GetIssuersAsyncReturnedReferencesAreCallerOwnedAndDisposable()