Skip to content

create a proper fix #5691

create a proper fix

create a proper fix #5691

Triggered via push January 14, 2026 10:57
Status Failure
Total duration 1h 53m 54s
Artifacts 18

buildandtest.yml

on: push
Matrix: build-and-test
Fit to window
Zoom out
Zoom in

Annotations

2 errors and 48 warnings
test-ubuntu-latest-Server
Process completed with exit code 1.
test-windows-latest-Server
Process completed with exit code 1.
test-ubuntu-latest-Security.Certificates: Tests/Opc.Ua.Security.Certificates.Tests/Pkcs10CertificationRequestTests.cs#L313
Prefer 'static readonly' fields over constant array arguments if the called method is called repeatedly and is not mutating the passed array (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1861)
test-ubuntu-latest-Security.Certificates: Tests/Opc.Ua.Security.Certificates.Tests/Pkcs10CertificationRequestTests.cs#L313
Prefer 'static readonly' fields over constant array arguments if the called method is called repeatedly and is not mutating the passed array (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1861)
test-ubuntu-latest-PubSub: Libraries/Opc.Ua.PubSub/Transport/MqttPubSubConnection.cs#L260
Change type of variable 'publisherClient' from 'MQTTnet.IMqttClient' to 'MQTTnet.MqttClient' for improved performance (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1859)
test-ubuntu-latest-PubSub: Libraries/Opc.Ua.PubSub/Transport/MqttPubSubConnection.cs#L266
'publisherClient != null' is always 'true'. Remove or refactor the condition(s) to avoid dead code. (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1508)
test-ubuntu-latest-PubSub: Libraries/Opc.Ua.PubSub/Transport/MqttPubSubConnection.cs#L260
Change type of variable 'publisherClient' from 'MQTTnet.IMqttClient' to 'MQTTnet.MqttClient' for improved performance (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1859)
test-ubuntu-latest-PubSub: Libraries/Opc.Ua.PubSub/Transport/MqttPubSubConnection.cs#L266
'publisherClient != null' is always 'true'. Remove or refactor the condition(s) to avoid dead code. (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1508)
test-windows-latest-Security.Certificates: Tests/Opc.Ua.Security.Certificates.Tests/Pkcs10CertificationRequestTests.cs#L313
Prefer 'static readonly' fields over constant array arguments if the called method is called repeatedly and is not mutating the passed array (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1861)
test-windows-latest-Security.Certificates: Tests/Opc.Ua.Security.Certificates.Tests/Pkcs10CertificationRequestTests.cs#L313
Prefer 'static readonly' fields over constant array arguments if the called method is called repeatedly and is not mutating the passed array (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1861)
test-ubuntu-latest-Client.ComplexTypes: Tests/Opc.Ua.Security.Certificates.Tests/Pkcs10CertificationRequestTests.cs#L313
Prefer 'static readonly' fields over constant array arguments if the called method is called repeatedly and is not mutating the passed array (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1861)
test-ubuntu-latest-Client.ComplexTypes: Libraries/Opc.Ua.Server/Configuration/ConfigurationNodeManager.cs#L396
In member void ConfigurationNodeManager.HasApplicationSecureAdminAccess(ISystemContext context, CertificateStoreIdentifier _), change parameter name _ to trustedStore in order to match the identifier as it has been declared in void IConfigurationNodeManager.HasApplicationSecureAdminAccess(ISystemContext context, CertificateStoreIdentifier trustedStore) (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1725)
test-ubuntu-latest-Client.ComplexTypes: Tests/Opc.Ua.Security.Certificates.Tests/Pkcs10CertificationRequestTests.cs#L313
Prefer 'static readonly' fields over constant array arguments if the called method is called repeatedly and is not mutating the passed array (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1861)
test-ubuntu-latest-Client.ComplexTypes: Libraries/Opc.Ua.Server/Configuration/ConfigurationNodeManager.cs#L396
In member void ConfigurationNodeManager.HasApplicationSecureAdminAccess(ISystemContext context, CertificateStoreIdentifier _), change parameter name _ to trustedStore in order to match the identifier as it has been declared in void IConfigurationNodeManager.HasApplicationSecureAdminAccess(ISystemContext context, CertificateStoreIdentifier trustedStore) (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1725)
test-ubuntu-latest-Core: Tests/Opc.Ua.Security.Certificates.Tests/Pkcs10CertificationRequestTests.cs#L313
Prefer 'static readonly' fields over constant array arguments if the called method is called repeatedly and is not mutating the passed array (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1861)
test-ubuntu-latest-Core: Tests/Opc.Ua.Security.Certificates.Tests/Pkcs10CertificationRequestTests.cs#L313
Prefer 'static readonly' fields over constant array arguments if the called method is called repeatedly and is not mutating the passed array (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1861)
test-windows-latest-Client.ComplexTypes: Libraries/Opc.Ua.Server/Configuration/ConfigurationNodeManager.cs#L396
In member void ConfigurationNodeManager.HasApplicationSecureAdminAccess(ISystemContext context, CertificateStoreIdentifier _), change parameter name _ to trustedStore in order to match the identifier as it has been declared in void IConfigurationNodeManager.HasApplicationSecureAdminAccess(ISystemContext context, CertificateStoreIdentifier trustedStore) (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1725)
test-windows-latest-Client.ComplexTypes: Tests/Opc.Ua.Security.Certificates.Tests/Pkcs10CertificationRequestTests.cs#L313
Prefer 'static readonly' fields over constant array arguments if the called method is called repeatedly and is not mutating the passed array (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1861)
test-windows-latest-Client.ComplexTypes: Libraries/Opc.Ua.Server/Configuration/ConfigurationNodeManager.cs#L396
In member void ConfigurationNodeManager.HasApplicationSecureAdminAccess(ISystemContext context, CertificateStoreIdentifier _), change parameter name _ to trustedStore in order to match the identifier as it has been declared in void IConfigurationNodeManager.HasApplicationSecureAdminAccess(ISystemContext context, CertificateStoreIdentifier trustedStore) (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1725)
test-windows-latest-Client.ComplexTypes: Tests/Opc.Ua.Security.Certificates.Tests/Pkcs10CertificationRequestTests.cs#L313
Prefer 'static readonly' fields over constant array arguments if the called method is called repeatedly and is not mutating the passed array (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1861)
test-windows-latest-PubSub: Libraries/Opc.Ua.PubSub/Transport/MqttPubSubConnection.cs#L260
Change type of variable 'publisherClient' from 'MQTTnet.IMqttClient' to 'MQTTnet.MqttClient' for improved performance (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1859)
test-windows-latest-PubSub: Libraries/Opc.Ua.PubSub/Transport/MqttPubSubConnection.cs#L266
'publisherClient != null' is always 'true'. Remove or refactor the condition(s) to avoid dead code. (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1508)
test-windows-latest-PubSub: Libraries/Opc.Ua.PubSub/Transport/MqttPubSubConnection.cs#L260
Change type of variable 'publisherClient' from 'MQTTnet.IMqttClient' to 'MQTTnet.MqttClient' for improved performance (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1859)
test-windows-latest-PubSub: Libraries/Opc.Ua.PubSub/Transport/MqttPubSubConnection.cs#L266
'publisherClient != null' is always 'true'. Remove or refactor the condition(s) to avoid dead code. (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1508)
test-windows-latest-Core: Tests/Opc.Ua.Security.Certificates.Tests/Pkcs10CertificationRequestTests.cs#L313
Prefer 'static readonly' fields over constant array arguments if the called method is called repeatedly and is not mutating the passed array (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1861)
test-windows-latest-Core: Tests/Opc.Ua.Security.Certificates.Tests/Pkcs10CertificationRequestTests.cs#L313
Prefer 'static readonly' fields over constant array arguments if the called method is called repeatedly and is not mutating the passed array (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1861)
test-ubuntu-latest-Server: Libraries/Opc.Ua.Server/Configuration/ConfigurationNodeManager.cs#L396
In member void ConfigurationNodeManager.HasApplicationSecureAdminAccess(ISystemContext context, CertificateStoreIdentifier _), change parameter name _ to trustedStore in order to match the identifier as it has been declared in void IConfigurationNodeManager.HasApplicationSecureAdminAccess(ISystemContext context, CertificateStoreIdentifier trustedStore) (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1725)
test-ubuntu-latest-Server: Tests/Opc.Ua.Security.Certificates.Tests/Pkcs10CertificationRequestTests.cs#L313
Prefer 'static readonly' fields over constant array arguments if the called method is called repeatedly and is not mutating the passed array (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1861)
test-ubuntu-latest-Server: Libraries/Opc.Ua.Server/Configuration/ConfigurationNodeManager.cs#L396
In member void ConfigurationNodeManager.HasApplicationSecureAdminAccess(ISystemContext context, CertificateStoreIdentifier _), change parameter name _ to trustedStore in order to match the identifier as it has been declared in void IConfigurationNodeManager.HasApplicationSecureAdminAccess(ISystemContext context, CertificateStoreIdentifier trustedStore) (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1725)
test-ubuntu-latest-Server: Tests/Opc.Ua.Security.Certificates.Tests/Pkcs10CertificationRequestTests.cs#L313
Prefer 'static readonly' fields over constant array arguments if the called method is called repeatedly and is not mutating the passed array (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1861)
test-ubuntu-latest-Gds: Tests/Opc.Ua.Security.Certificates.Tests/Pkcs10CertificationRequestTests.cs#L313
Prefer 'static readonly' fields over constant array arguments if the called method is called repeatedly and is not mutating the passed array (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1861)
test-ubuntu-latest-Gds: Libraries/Opc.Ua.Server/Configuration/ConfigurationNodeManager.cs#L396
In member void ConfigurationNodeManager.HasApplicationSecureAdminAccess(ISystemContext context, CertificateStoreIdentifier _), change parameter name _ to trustedStore in order to match the identifier as it has been declared in void IConfigurationNodeManager.HasApplicationSecureAdminAccess(ISystemContext context, CertificateStoreIdentifier trustedStore) (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1725)
test-ubuntu-latest-Gds: Tests/Opc.Ua.Security.Certificates.Tests/Pkcs10CertificationRequestTests.cs#L313
Prefer 'static readonly' fields over constant array arguments if the called method is called repeatedly and is not mutating the passed array (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1861)
test-ubuntu-latest-Gds: Libraries/Opc.Ua.Server/Configuration/ConfigurationNodeManager.cs#L396
In member void ConfigurationNodeManager.HasApplicationSecureAdminAccess(ISystemContext context, CertificateStoreIdentifier _), change parameter name _ to trustedStore in order to match the identifier as it has been declared in void IConfigurationNodeManager.HasApplicationSecureAdminAccess(ISystemContext context, CertificateStoreIdentifier trustedStore) (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1725)
test-windows-latest-Gds: Tests/Opc.Ua.Security.Certificates.Tests/Pkcs10CertificationRequestTests.cs#L313
Prefer 'static readonly' fields over constant array arguments if the called method is called repeatedly and is not mutating the passed array (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1861)
test-windows-latest-Gds: Libraries/Opc.Ua.Server/Configuration/ConfigurationNodeManager.cs#L396
In member void ConfigurationNodeManager.HasApplicationSecureAdminAccess(ISystemContext context, CertificateStoreIdentifier _), change parameter name _ to trustedStore in order to match the identifier as it has been declared in void IConfigurationNodeManager.HasApplicationSecureAdminAccess(ISystemContext context, CertificateStoreIdentifier trustedStore) (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1725)
test-windows-latest-Gds: Tests/Opc.Ua.Security.Certificates.Tests/Pkcs10CertificationRequestTests.cs#L313
Prefer 'static readonly' fields over constant array arguments if the called method is called repeatedly and is not mutating the passed array (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1861)
test-windows-latest-Gds: Libraries/Opc.Ua.Server/Configuration/ConfigurationNodeManager.cs#L396
In member void ConfigurationNodeManager.HasApplicationSecureAdminAccess(ISystemContext context, CertificateStoreIdentifier _), change parameter name _ to trustedStore in order to match the identifier as it has been declared in void IConfigurationNodeManager.HasApplicationSecureAdminAccess(ISystemContext context, CertificateStoreIdentifier trustedStore) (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1725)
test-windows-latest-Server: Libraries/Opc.Ua.Server/Configuration/ConfigurationNodeManager.cs#L396
In member void ConfigurationNodeManager.HasApplicationSecureAdminAccess(ISystemContext context, CertificateStoreIdentifier _), change parameter name _ to trustedStore in order to match the identifier as it has been declared in void IConfigurationNodeManager.HasApplicationSecureAdminAccess(ISystemContext context, CertificateStoreIdentifier trustedStore) (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1725)
test-windows-latest-Server: Tests/Opc.Ua.Security.Certificates.Tests/Pkcs10CertificationRequestTests.cs#L313
Prefer 'static readonly' fields over constant array arguments if the called method is called repeatedly and is not mutating the passed array (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1861)
test-windows-latest-Server: Libraries/Opc.Ua.Server/Configuration/ConfigurationNodeManager.cs#L396
In member void ConfigurationNodeManager.HasApplicationSecureAdminAccess(ISystemContext context, CertificateStoreIdentifier _), change parameter name _ to trustedStore in order to match the identifier as it has been declared in void IConfigurationNodeManager.HasApplicationSecureAdminAccess(ISystemContext context, CertificateStoreIdentifier trustedStore) (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1725)
test-windows-latest-Server: Tests/Opc.Ua.Security.Certificates.Tests/Pkcs10CertificationRequestTests.cs#L313
Prefer 'static readonly' fields over constant array arguments if the called method is called repeatedly and is not mutating the passed array (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1861)
test-ubuntu-latest-Client: Libraries/Opc.Ua.Server/Configuration/ConfigurationNodeManager.cs#L396
In member void ConfigurationNodeManager.HasApplicationSecureAdminAccess(ISystemContext context, CertificateStoreIdentifier _), change parameter name _ to trustedStore in order to match the identifier as it has been declared in void IConfigurationNodeManager.HasApplicationSecureAdminAccess(ISystemContext context, CertificateStoreIdentifier trustedStore) (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1725)
test-ubuntu-latest-Client: Tests/Opc.Ua.Security.Certificates.Tests/Pkcs10CertificationRequestTests.cs#L313
Prefer 'static readonly' fields over constant array arguments if the called method is called repeatedly and is not mutating the passed array (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1861)
test-ubuntu-latest-Client: Libraries/Opc.Ua.Server/Configuration/ConfigurationNodeManager.cs#L396
In member void ConfigurationNodeManager.HasApplicationSecureAdminAccess(ISystemContext context, CertificateStoreIdentifier _), change parameter name _ to trustedStore in order to match the identifier as it has been declared in void IConfigurationNodeManager.HasApplicationSecureAdminAccess(ISystemContext context, CertificateStoreIdentifier trustedStore) (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1725)
test-ubuntu-latest-Client: Tests/Opc.Ua.Security.Certificates.Tests/Pkcs10CertificationRequestTests.cs#L313
Prefer 'static readonly' fields over constant array arguments if the called method is called repeatedly and is not mutating the passed array (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1861)
test-windows-latest-Client: Tests/Opc.Ua.Security.Certificates.Tests/Pkcs10CertificationRequestTests.cs#L313
Prefer 'static readonly' fields over constant array arguments if the called method is called repeatedly and is not mutating the passed array (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1861)
test-windows-latest-Client: Libraries/Opc.Ua.Server/Configuration/ConfigurationNodeManager.cs#L396
In member void ConfigurationNodeManager.HasApplicationSecureAdminAccess(ISystemContext context, CertificateStoreIdentifier _), change parameter name _ to trustedStore in order to match the identifier as it has been declared in void IConfigurationNodeManager.HasApplicationSecureAdminAccess(ISystemContext context, CertificateStoreIdentifier trustedStore) (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1725)
test-windows-latest-Client: Tests/Opc.Ua.Security.Certificates.Tests/Pkcs10CertificationRequestTests.cs#L313
Prefer 'static readonly' fields over constant array arguments if the called method is called repeatedly and is not mutating the passed array (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1861)
test-windows-latest-Client: Libraries/Opc.Ua.Server/Configuration/ConfigurationNodeManager.cs#L396
In member void ConfigurationNodeManager.HasApplicationSecureAdminAccess(ISystemContext context, CertificateStoreIdentifier _), change parameter name _ to trustedStore in order to match the identifier as it has been declared in void IConfigurationNodeManager.HasApplicationSecureAdminAccess(ISystemContext context, CertificateStoreIdentifier trustedStore) (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1725)

Artifacts

Produced during runtime
Name Size Digest
dotnet-results-Client-ubuntu-latest-net10.0-Release
8.46 MB
sha256:24dee1fc6c422e24f2b6693ae317b9289aad9f97bf7ca747cc50c5f6dba04402
dotnet-results-Client-windows-latest-net10.0-Release
8.62 MB
sha256:c1124b1209c5a027b32e22b935f7e49548ac793056cb8e95497d566da909f6dc
dotnet-results-Client.ComplexTypes-ubuntu-latest-net10.0-Release
7.17 MB
sha256:bbd24fad1ebc525b1bb544a6a9e26a4a767252680c5b1bb8991c78729ca98858
dotnet-results-Client.ComplexTypes-windows-latest-net10.0-Release
7.58 MB
sha256:c0e33d351ea72c941dda01685198f0b16cf977e4f75749aba94787c168ea8dea
dotnet-results-Configuration-ubuntu-latest-net10.0-Release
996 KB
sha256:9746be9790d47e2d20d725945f51b4b47b45579042795cb08c863a47c9d78dea
dotnet-results-Configuration-windows-latest-net10.0-Release
996 KB
sha256:1931c6c6c6669df1c23be08267c2e8a92655290072fd90157d97d5ac7f775bd0
dotnet-results-Core-ubuntu-latest-net10.0-Release
3 MB
sha256:38af56db94d38ead15f7c402cc92d7e65b819b199edb21a272142f0c47fc2c26
dotnet-results-Core-windows-latest-net10.0-Release
3.01 MB
sha256:1db99b9a5fd6d42b78671c1de16827701741a622691b5a20f251daeb63655a69
dotnet-results-Gds-ubuntu-latest-net10.0-Release
2.26 MB
sha256:20120f5791fa948c65dc3480c4ef5e80650eb34fc5f3ba5b547818d722429549
dotnet-results-Gds-windows-latest-net10.0-Release
2.33 MB
sha256:94160c0c11b7e364bd67e8fec0460d99715d938cf4faadcf54d8fc17c2b281a2
dotnet-results-PubSub-ubuntu-latest-net10.0-Release
61.2 MB
sha256:68c4af056a5316eebed3c2e4eb7f91cea9999672780319d802ccfb61e85fc1ff
dotnet-results-PubSub-windows-latest-net10.0-Release
64.1 MB
sha256:9d950f824dad6f6ac60fc77407ef06e77eda3eb8ca96e9fe79acd73e52cfdb47
dotnet-results-Security.Certificates-ubuntu-latest-net10.0-Release
956 KB
sha256:679fdc29eb3f253c4570aa1fa3719c58d02b53761fc4706da1f0b988ea9da841
dotnet-results-Security.Certificates-windows-latest-net10.0-Release
954 KB
sha256:34f027810177f0e23c9f6cb0084ead384b62a5a459b419ea5cb6c2907fda76f8
dotnet-results-Server-ubuntu-latest-net10.0-Release
2.15 MB
sha256:9881af8ac712f09bed71e8e40e4901bab87ea81c1afb28528ac8f12ca8872702
dotnet-results-Server-windows-latest-net10.0-Release
2.2 MB
sha256:077f55e8253cb456aabc41c5d162b6405fc10de04171424f566d113642d221f3
dotnet-results-Types-ubuntu-latest-net10.0-Release
523 KB
sha256:188a1a1400f393ba06a8eb244dc21b5b8779f9dcb3d7bbde0792ccff8126fa0f
dotnet-results-Types-windows-latest-net10.0-Release
523 KB
sha256:06b63316c3438019481964869a3ff7f121399b5846562b96cc1c8960607c15e9