Skip to content

Replace logger calls with Console.WriteLine for user-facing messages #5497

Replace logger calls with Console.WriteLine for user-facing messages

Replace logger calls with Console.WriteLine for user-facing messages #5497

Re-run triggered December 11, 2025 20:28
Status Success
Total duration 31m 7s
Artifacts 18

buildandtest.yml

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

Annotations

32 warnings
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: 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: 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: 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: 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: 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-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-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: 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-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: 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-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-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-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: 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: 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: 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: 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)

Artifacts

Produced during runtime
Name Size Digest
dotnet-results-Client-ubuntu-latest-net10.0-Release
7.61 MB
sha256:0ed8fe5bca82159e84549a677b0d243b0a28cf111bed86d8a75dbd266a69c20b
dotnet-results-Client-windows-latest-net10.0-Release
8.18 MB
sha256:21fd5cd01ad084f2ed167ab36353c6044e5b6cdeaee745e696e06818a3ec9a41
dotnet-results-Client.ComplexTypes-ubuntu-latest-net10.0-Release
7.14 MB
sha256:c9fa01e25eb27c7b7c521173679901a3970ccf7661259820bed4a0db4a56de47
dotnet-results-Client.ComplexTypes-windows-latest-net10.0-Release
7.14 MB
sha256:5c392734262fa67b1057fe800825598d308d5ec18cdf513e7bb0b548b0e67ac7
dotnet-results-Configuration-ubuntu-latest-net10.0-Release
993 KB
sha256:610413a4ed53498a224e1593c8b483b02a1cfce776728a48a3c011e582848366
dotnet-results-Configuration-windows-latest-net10.0-Release
994 KB
sha256:455f7b820446d33e3154383592ce1cd16e61cb927d0ffe1c5f71710aa9dc1159
dotnet-results-Core-ubuntu-latest-net10.0-Release
3 MB
sha256:e565d36c70c87ebc70f955aba2a323f20b9c4b5cd6a43c0e1abe9ddaa94160d8
dotnet-results-Core-windows-latest-net10.0-Release
3.01 MB
sha256:64310ddf83173e8eddfab5ad231e720f8a834e15fa2792673d747746466ca16c
dotnet-results-Gds-ubuntu-latest-net10.0-Release
2.24 MB
sha256:7a59c345ac7944f463f53ef11129310c6e1335d34d40eb19817203cc14b73fe6
dotnet-results-Gds-windows-latest-net10.0-Release
2.31 MB
sha256:bf408f0582d4c42dc2096f5c7a21064347aaf0ab66da26b1ab67900f6646c1aa
dotnet-results-PubSub-ubuntu-latest-net10.0-Release
61.2 MB
sha256:0e290433326b48628f3ccb8eefa26358f1b1767bbaebc5ea6072f82e1bb5110f
dotnet-results-PubSub-windows-latest-net10.0-Release
64.1 MB
sha256:c8e91d41b4af5f665b657f3ea14d292afe2654ddd4d36a81554cde0c9ddb6d03
dotnet-results-Security.Certificates-ubuntu-latest-net10.0-Release
956 KB
sha256:86e4ae39bde81e3176aae75adcbaadab84c3a3b9c809a26ef894e762fbe43871
dotnet-results-Security.Certificates-windows-latest-net10.0-Release
954 KB
sha256:9922ddb7da724c7ce3ada395c10cac1f5dba6754d5da6a77842ff661456fcf98
dotnet-results-Server-ubuntu-latest-net10.0-Release
2.06 MB
sha256:7f8987b3f94b44eb821e451a2d5a0c90b4148e0dcd29a2713ac40bed44bfc51b
dotnet-results-Server-windows-latest-net10.0-Release
2.17 MB
sha256:6fd4a123781ee49742d53000d3f37156d669574a8449e185ac768213de69bc13
dotnet-results-Types-ubuntu-latest-net10.0-Release
522 KB
sha256:05d278ec8496da08ce2faae1c6730dda7f8167650f166394bf4410dddf86f6b6
dotnet-results-Types-windows-latest-net10.0-Release
523 KB
sha256:4b6d79e7c0560defb2828fa7c45d0fec0c416d2f59d7bd7a331b915e3fe2135d