Skip to content

NCO-44: Add GHA pipelines for building and testing PRs #6

NCO-44: Add GHA pipelines for building and testing PRs

NCO-44: Add GHA pipelines for building and testing PRs #6

Triggered via pull request September 23, 2025 12:08
@emilienbevemilienbev
synchronize #31
NCO-44
Status Failure
Total duration 2m 8s
Artifacts 1

build-and-test.yml

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

Annotations

5 errors, 21 warnings, and 1 notice
Build and Unit Tests (windows-latest)
Process completed with exit code 1.
Build and Unit Tests (windows-latest): tests/Couchbase.Analytics.FunctionalTests/Internal/AnalyticsServiceTests.cs#L65
Consider calling ConfigureAwait on the awaited task (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca2007)
Build and Unit Tests (windows-latest): tests/Couchbase.Analytics.FunctionalTests/Internal/AnalyticsServiceTests.cs#L48
Consider calling ConfigureAwait on the awaited task (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca2007)
Build and Unit Tests (windows-latest): tests/Couchbase.Analytics.FunctionalTests/Internal/AnalyticsServiceTests.cs#L65
Consider calling ConfigureAwait on the awaited task (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca2007)
Build and Unit Tests (windows-latest): tests/Couchbase.Analytics.FunctionalTests/Internal/AnalyticsServiceTests.cs#L48
Consider calling ConfigureAwait on the awaited task (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca2007)
Build and Unit Tests (ubuntu-latest): src/Couchbase.Analytics/Query/QueryMetaData.cs#L30
Non-nullable property 'Warnings' must contain a non-null value when exiting constructor. Consider adding the 'required' modifier or declaring the property as nullable.
Build and Unit Tests (ubuntu-latest): src/Couchbase.Analytics/Query/QueryMetaData.cs#L28
Non-nullable property 'Metrics' must contain a non-null value when exiting constructor. Consider adding the 'required' modifier or declaring the property as nullable.
Build and Unit Tests (ubuntu-latest): src/Couchbase.Analytics/Query/QueryMetrics.cs#L55
Non-nullable property 'BufferCacheHitRatio' must contain a non-null value when exiting constructor. Consider adding the 'required' modifier or declaring the property as nullable.
Build and Unit Tests (ubuntu-latest): src/Couchbase.Analytics/Query/QueryWarning.cs#L26
Non-nullable property 'Message' must contain a non-null value when exiting constructor. Consider adding the 'required' modifier or declaring the property as nullable.
Build and Unit Tests (ubuntu-latest): src/Couchbase.Analytics/Exceptions/AnalyticsException.cs#L40
'Exception.Exception(SerializationInfo, StreamingContext)' is obsolete: 'This API supports obsolete formatter-based serialization. It should not be called or extended by application code.' (https://aka.ms/dotnet-warnings/SYSLIB0051)
Build and Unit Tests (ubuntu-latest): src/Couchbase.Analytics/Certificates/CertificateValidation.cs#L222
Possible null reference argument for parameter 'certificates' in 'void X509Certificate2Collection.AddRange(X509Certificate2Collection certificates)'.
Build and Unit Tests (ubuntu-latest): src/Couchbase.Analytics/Certificates/CertificateValidation.cs#L218
Possible null reference argument for parameter 's' in 'byte[] Encoding.GetBytes(string s)'.
Build and Unit Tests (ubuntu-latest): src/Couchbase.Analytics/Certificates/CertificateValidation.cs#L213
Possible null reference argument for parameter 'fileName' in 'X509Certificate2.X509Certificate2(string fileName)'.
Build and Unit Tests (ubuntu-latest): src/Couchbase.Analytics/Cluster.cs#L107
Cannot convert null literal to non-nullable reference type.
Build and Unit Tests (windows-latest)
No files were found with the provided path: TestResults. No artifacts will be uploaded.
Build and Unit Tests (windows-latest): src/Couchbase.Analytics/Query/QueryWarning.cs#L26
Non-nullable property 'Message' must contain a non-null value when exiting constructor. Consider adding the 'required' modifier or declaring the property as nullable.
Build and Unit Tests (windows-latest): src/Couchbase.Analytics/Results/AnalyticsResultBase.cs#L41
Non-nullable property 'Errors' must contain a non-null value when exiting constructor. Consider adding the 'required' modifier or declaring the property as nullable.
Build and Unit Tests (windows-latest): src/Couchbase.Analytics/Results/AnalyticsResultBase.cs#L41
Non-nullable property 'MetaData' must contain a non-null value when exiting constructor. Consider adding the 'required' modifier or declaring the property as nullable.
Build and Unit Tests (windows-latest): src/Couchbase.Analytics/Results/AnalyticsResultBase.cs#L41
Non-nullable property 'Rows' must contain a non-null value when exiting constructor. Consider adding the 'required' modifier or declaring the property as nullable.
Build and Unit Tests (windows-latest): src/Couchbase.Analytics/Results/BlockingAnalyticsResult.cs#L48
This async method lacks 'await' operators and will run synchronously. Consider using the 'await' operator to await non-blocking API calls, or 'await Task.Run(...)' to do CPU-bound work on a background thread.
Build and Unit Tests (windows-latest): src/Couchbase.Analytics/Cluster.cs#L107
Cannot convert null literal to non-nullable reference type.
Build and Unit Tests (windows-latest): src/Couchbase.Analytics/Certificates/CertificateValidation.cs#L222
Possible null reference argument for parameter 'certificates' in 'void X509Certificate2Collection.AddRange(X509Certificate2Collection certificates)'.
Build and Unit Tests (windows-latest): src/Couchbase.Analytics/Certificates/CertificateValidation.cs#L218
Possible null reference argument for parameter 's' in 'byte[] Encoding.GetBytes(string s)'.
Build and Unit Tests (windows-latest): src/Couchbase.Analytics/Certificates/CertificateValidation.cs#L213
Possible null reference argument for parameter 'fileName' in 'X509Certificate2.X509Certificate2(string fileName)'.
Build and Unit Tests (windows-latest)
The windows-latest label will migrate from Windows Server 2022 to Windows Server 2025 beginning September 2, 2025. For more information see https://github.com/actions/runner-images/issues/12677

Artifacts

Produced during runtime
Name Size Digest
unit-test-results-ubuntu-latest Expired
24.6 KB
sha256:eeded8c9fffb7d33bffcb1ca295792e08dc4de85402f086b97fcc734583ecef8