Skip to content

[otlp] Add mTLS Support for OTLP Exporter #7179

[otlp] Add mTLS Support for OTLP Exporter

[otlp] Add mTLS Support for OTLP Exporter #7179

Triggered via pull request February 24, 2025 15:02
Status Failure
Total duration 6m 19s
Artifacts

ci.yml

on: pull_request
detect-changes
11s
detect-changes
lint-misspell-sanitycheck  /  run-misspell
7s
lint-misspell-sanitycheck / run-misspell
lint-misspell-sanitycheck  /  run-sanitycheck
6s
lint-misspell-sanitycheck / run-sanitycheck
Matrix: build-test-project-experimental / build-test
Matrix: build-test-project-stable / build-test
Matrix: build-test-solution / build-test
Waiting for pending jobs
Matrix: build-test-unstable-core / build-test
Waiting for pending jobs
Matrix: concurrency-tests / run-concurrency-tests
Waiting for pending jobs
Matrix: otlp-integration-test
Matrix: verify-aot-compat / run-verify-aot-compat
Matrix: w3c-trace-context-integration-test
lint-dotnet-format  /  run-dotnet-format-stable
4m 49s
lint-dotnet-format / run-dotnet-format-stable
lint-dotnet-format  /  run-dotnet-format-experimental
4m 14s
lint-dotnet-format / run-dotnet-format-experimental
validate-packages  /  run-package-validation-stable
2m 50s
validate-packages / run-package-validation-stable
validate-packages  /  run-package-validation-experimental
2m 47s
validate-packages / run-package-validation-experimental
generate-docs  /  run-docfx-build
2m 31s
generate-docs / run-docfx-build
lint-md  /  run-markdownlint
lint-md / run-markdownlint
build-test
1s
build-test
Fit to window
Zoom out
Zoom in

Annotations

145 errors and 20 warnings
otlp-integration-test (net8.0)
Process completed with exit code 17.
otlp-integration-test (net9.0)
Process completed with exit code 17.
build-test-project-experimental / build-test (ubuntu-22.04, net8.0): src/OpenTelemetry.Exporter.OpenTelemetryProtocol/OtlpExporterOptionsExtensions.cs#L51
Possible null reference argument for parameter 'rootCertificates' in 'SslCredentials.SslCredentials(string rootCertificates, KeyCertificatePair keyCertificatePair)'.
build-test-project-experimental / build-test (ubuntu-22.04, net8.0): src/OpenTelemetry.Exporter.OpenTelemetryProtocol/OtlpExporterOptionsExtensions.cs#L60
Possible null reference argument for parameter 'rootCertificates' in 'SslCredentials.SslCredentials(string rootCertificates)'.
build-test-project-experimental / build-test (ubuntu-22.04, net8.0): src/OpenTelemetry.Exporter.OpenTelemetryProtocol/OtlpExporterOptions.cs#L273
'X509ChainPolicy' does not contain a definition for 'TrustMode' and no accessible extension method 'TrustMode' accepting a first argument of type 'X509ChainPolicy' could be found (are you missing a using directive or an assembly reference?)
build-test-project-experimental / build-test (ubuntu-22.04, net8.0): src/OpenTelemetry.Exporter.OpenTelemetryProtocol/OtlpExporterOptions.cs#L274
'X509ChainPolicy' does not contain a definition for 'CustomTrustStore' and no accessible extension method 'CustomTrustStore' accepting a first argument of type 'X509ChainPolicy' could be found (are you missing a using directive or an assembly reference?)
build-test-project-experimental / build-test (ubuntu-22.04, net9.0): src/OpenTelemetry.Exporter.OpenTelemetryProtocol/OtlpExporterOptionsExtensions.cs#L51
Possible null reference argument for parameter 'rootCertificates' in 'SslCredentials.SslCredentials(string rootCertificates, KeyCertificatePair keyCertificatePair)'.
build-test-project-experimental / build-test (ubuntu-22.04, net9.0): src/OpenTelemetry.Exporter.OpenTelemetryProtocol/OtlpExporterOptionsExtensions.cs#L60
Possible null reference argument for parameter 'rootCertificates' in 'SslCredentials.SslCredentials(string rootCertificates)'.
build-test-project-experimental / build-test (ubuntu-22.04, net9.0): src/OpenTelemetry.Exporter.OpenTelemetryProtocol/OtlpExporterOptions.cs#L273
'X509ChainPolicy' does not contain a definition for 'TrustMode' and no accessible extension method 'TrustMode' accepting a first argument of type 'X509ChainPolicy' could be found (are you missing a using directive or an assembly reference?)
build-test-project-experimental / build-test (ubuntu-22.04, net9.0): src/OpenTelemetry.Exporter.OpenTelemetryProtocol/OtlpExporterOptions.cs#L274
'X509ChainPolicy' does not contain a definition for 'CustomTrustStore' and no accessible extension method 'CustomTrustStore' accepting a first argument of type 'X509ChainPolicy' could be found (are you missing a using directive or an assembly reference?)
build-test-project-stable / build-test (ubuntu-22.04, net8.0): src/OpenTelemetry.Exporter.OpenTelemetryProtocol/OtlpExporterOptionsExtensions.cs#L51
Possible null reference argument for parameter 'rootCertificates' in 'SslCredentials.SslCredentials(string rootCertificates, KeyCertificatePair keyCertificatePair)'.
build-test-project-stable / build-test (ubuntu-22.04, net8.0): src/OpenTelemetry.Exporter.OpenTelemetryProtocol/OtlpExporterOptionsExtensions.cs#L60
Possible null reference argument for parameter 'rootCertificates' in 'SslCredentials.SslCredentials(string rootCertificates)'.
build-test-project-stable / build-test (ubuntu-22.04, net8.0): src/OpenTelemetry.Exporter.OpenTelemetryProtocol/OtlpExporterOptions.cs#L269
'HttpClientHandler' does not contain a definition for 'ServerCertificateCustomValidationCallback' and no accessible extension method 'ServerCertificateCustomValidationCallback' accepting a first argument of type 'HttpClientHandler' could be found (are you missing a using directive or an assembly reference?)
build-test-project-stable / build-test (ubuntu-22.04, net8.0): src/OpenTelemetry.Exporter.OpenTelemetryProtocol/OtlpExporterOptions.cs#L286
'HttpClientHandler' does not contain a definition for 'ClientCertificates' and no accessible extension method 'ClientCertificates' accepting a first argument of type 'HttpClientHandler' could be found (are you missing a using directive or an assembly reference?)
build-test-project-stable / build-test (ubuntu-22.04, net9.0): src/OpenTelemetry.Exporter.OpenTelemetryProtocol/OtlpExporterOptionsExtensions.cs#L51
Possible null reference argument for parameter 'rootCertificates' in 'SslCredentials.SslCredentials(string rootCertificates, KeyCertificatePair keyCertificatePair)'.
build-test-project-stable / build-test (ubuntu-22.04, net9.0): src/OpenTelemetry.Exporter.OpenTelemetryProtocol/OtlpExporterOptionsExtensions.cs#L60
Possible null reference argument for parameter 'rootCertificates' in 'SslCredentials.SslCredentials(string rootCertificates)'.
build-test-project-stable / build-test (ubuntu-22.04, net9.0): src/OpenTelemetry.Exporter.OpenTelemetryProtocol/OtlpExporterOptions.cs#L273
'X509ChainPolicy' does not contain a definition for 'TrustMode' and no accessible extension method 'TrustMode' accepting a first argument of type 'X509ChainPolicy' could be found (are you missing a using directive or an assembly reference?)
build-test-project-stable / build-test (ubuntu-22.04, net9.0): src/OpenTelemetry.Exporter.OpenTelemetryProtocol/OtlpExporterOptions.cs#L274
'X509ChainPolicy' does not contain a definition for 'CustomTrustStore' and no accessible extension method 'CustomTrustStore' accepting a first argument of type 'X509ChainPolicy' could be found (are you missing a using directive or an assembly reference?)
build-test-project-experimental / build-test (ubuntu-22.04-arm, net9.0): src/OpenTelemetry.Exporter.OpenTelemetryProtocol/OtlpExporterOptionsExtensions.cs#L51
Possible null reference argument for parameter 'rootCertificates' in 'SslCredentials.SslCredentials(string rootCertificates, KeyCertificatePair keyCertificatePair)'.
build-test-project-experimental / build-test (ubuntu-22.04-arm, net9.0): src/OpenTelemetry.Exporter.OpenTelemetryProtocol/OtlpExporterOptionsExtensions.cs#L60
Possible null reference argument for parameter 'rootCertificates' in 'SslCredentials.SslCredentials(string rootCertificates)'.
build-test-project-experimental / build-test (ubuntu-22.04-arm, net9.0): src/OpenTelemetry.Exporter.OpenTelemetryProtocol/OtlpExporterOptions.cs#L269
'HttpClientHandler' does not contain a definition for 'ServerCertificateCustomValidationCallback' and no accessible extension method 'ServerCertificateCustomValidationCallback' accepting a first argument of type 'HttpClientHandler' could be found (are you missing a using directive or an assembly reference?)
build-test-project-experimental / build-test (ubuntu-22.04-arm, net9.0): src/OpenTelemetry.Exporter.OpenTelemetryProtocol/OtlpExporterOptions.cs#L286
'HttpClientHandler' does not contain a definition for 'ClientCertificates' and no accessible extension method 'ClientCertificates' accepting a first argument of type 'HttpClientHandler' could be found (are you missing a using directive or an assembly reference?)
validate-packages / run-package-validation-experimental: src/OpenTelemetry.Exporter.OpenTelemetryProtocol/OtlpExporterOptionsExtensions.cs#L51
Possible null reference argument for parameter 'rootCertificates' in 'SslCredentials.SslCredentials(string rootCertificates, KeyCertificatePair keyCertificatePair)'.
validate-packages / run-package-validation-experimental: src/OpenTelemetry.Exporter.OpenTelemetryProtocol/OtlpExporterOptionsExtensions.cs#L60
Possible null reference argument for parameter 'rootCertificates' in 'SslCredentials.SslCredentials(string rootCertificates)'.
validate-packages / run-package-validation-experimental: src/OpenTelemetry.Exporter.OpenTelemetryProtocol/OtlpExporterOptions.cs#L273
'X509ChainPolicy' does not contain a definition for 'TrustMode' and no accessible extension method 'TrustMode' accepting a first argument of type 'X509ChainPolicy' could be found (are you missing a using directive or an assembly reference?)
validate-packages / run-package-validation-experimental: src/OpenTelemetry.Exporter.OpenTelemetryProtocol/OtlpExporterOptions.cs#L274
'X509ChainPolicy' does not contain a definition for 'CustomTrustStore' and no accessible extension method 'CustomTrustStore' accepting a first argument of type 'X509ChainPolicy' could be found (are you missing a using directive or an assembly reference?)
validate-packages / run-package-validation-stable: src/OpenTelemetry.Exporter.OpenTelemetryProtocol/OtlpExporterOptionsExtensions.cs#L51
Possible null reference argument for parameter 'rootCertificates' in 'SslCredentials.SslCredentials(string rootCertificates, KeyCertificatePair keyCertificatePair)'.
validate-packages / run-package-validation-stable: src/OpenTelemetry.Exporter.OpenTelemetryProtocol/OtlpExporterOptionsExtensions.cs#L60
Possible null reference argument for parameter 'rootCertificates' in 'SslCredentials.SslCredentials(string rootCertificates)'.
validate-packages / run-package-validation-stable: src/OpenTelemetry.Exporter.OpenTelemetryProtocol/OtlpExporterOptions.cs#L266
The name 'X509Certificate2' does not exist in the current context
validate-packages / run-package-validation-stable: src/OpenTelemetry.Exporter.OpenTelemetryProtocol/OtlpExporterOptions.cs#L273
'X509ChainPolicy' does not contain a definition for 'TrustMode' and no accessible extension method 'TrustMode' accepting a first argument of type 'X509ChainPolicy' could be found (are you missing a using directive or an assembly reference?)
validate-packages / run-package-validation-stable: src/OpenTelemetry.Exporter.OpenTelemetryProtocol/OtlpExporterOptions.cs#L273
The name 'X509ChainTrustMode' does not exist in the current context
validate-packages / run-package-validation-stable: src/OpenTelemetry.Exporter.OpenTelemetryProtocol/OtlpExporterOptions.cs#L274
'X509ChainPolicy' does not contain a definition for 'CustomTrustStore' and no accessible extension method 'CustomTrustStore' accepting a first argument of type 'X509ChainPolicy' could be found (are you missing a using directive or an assembly reference?)
validate-packages / run-package-validation-stable: src/OpenTelemetry.Exporter.OpenTelemetryProtocol/OtlpExporterOptions.cs#L285
The name 'X509Certificate2' does not exist in the current context
build-test-project-stable / build-test (ubuntu-22.04-arm, net9.0): src/OpenTelemetry.Exporter.OpenTelemetryProtocol/OtlpExporterOptionsExtensions.cs#L51
Possible null reference argument for parameter 'rootCertificates' in 'SslCredentials.SslCredentials(string rootCertificates, KeyCertificatePair keyCertificatePair)'.
build-test-project-stable / build-test (ubuntu-22.04-arm, net9.0): src/OpenTelemetry.Exporter.OpenTelemetryProtocol/OtlpExporterOptionsExtensions.cs#L60
Possible null reference argument for parameter 'rootCertificates' in 'SslCredentials.SslCredentials(string rootCertificates)'.
build-test-project-stable / build-test (ubuntu-22.04-arm, net9.0): src/OpenTelemetry.Exporter.OpenTelemetryProtocol/OtlpExporterOptions.cs#L273
'X509ChainPolicy' does not contain a definition for 'TrustMode' and no accessible extension method 'TrustMode' accepting a first argument of type 'X509ChainPolicy' could be found (are you missing a using directive or an assembly reference?)
build-test-project-stable / build-test (ubuntu-22.04-arm, net9.0): src/OpenTelemetry.Exporter.OpenTelemetryProtocol/OtlpExporterOptions.cs#L274
'X509ChainPolicy' does not contain a definition for 'CustomTrustStore' and no accessible extension method 'CustomTrustStore' accepting a first argument of type 'X509ChainPolicy' could be found (are you missing a using directive or an assembly reference?)
build-test-project-experimental / build-test (windows-latest, net9.0): src/OpenTelemetry.Exporter.OpenTelemetryProtocol/OtlpExporterOptionsExtensions.cs#L51
Possible null reference argument for parameter 'rootCertificates' in 'SslCredentials.SslCredentials(string rootCertificates, KeyCertificatePair keyCertificatePair)'.
build-test-project-experimental / build-test (windows-latest, net9.0): src/OpenTelemetry.Exporter.OpenTelemetryProtocol/OtlpExporterOptionsExtensions.cs#L60
Possible null reference argument for parameter 'rootCertificates' in 'SslCredentials.SslCredentials(string rootCertificates)'.
build-test-project-experimental / build-test (windows-latest, net9.0): src/OpenTelemetry.Exporter.OpenTelemetryProtocol/OtlpExporterOptions.cs#L269
'HttpClientHandler' does not contain a definition for 'ServerCertificateCustomValidationCallback' and no accessible extension method 'ServerCertificateCustomValidationCallback' accepting a first argument of type 'HttpClientHandler' could be found (are you missing a using directive or an assembly reference?)
build-test-project-experimental / build-test (windows-latest, net9.0): src/OpenTelemetry.Exporter.OpenTelemetryProtocol/OtlpExporterOptions.cs#L286
'HttpClientHandler' does not contain a definition for 'ClientCertificates' and no accessible extension method 'ClientCertificates' accepting a first argument of type 'HttpClientHandler' could be found (are you missing a using directive or an assembly reference?)
build-test-project-stable / build-test (windows-latest, net8.0): src/OpenTelemetry.Exporter.OpenTelemetryProtocol/OtlpExporterOptionsExtensions.cs#L51
Possible null reference argument for parameter 'rootCertificates' in 'SslCredentials.SslCredentials(string rootCertificates, KeyCertificatePair keyCertificatePair)'.
build-test-project-stable / build-test (windows-latest, net8.0): src/OpenTelemetry.Exporter.OpenTelemetryProtocol/OtlpExporterOptionsExtensions.cs#L60
Possible null reference argument for parameter 'rootCertificates' in 'SslCredentials.SslCredentials(string rootCertificates)'.
build-test-project-stable / build-test (windows-latest, net8.0): src/OpenTelemetry.Exporter.OpenTelemetryProtocol/OtlpExporterOptions.cs#L269
'HttpClientHandler' does not contain a definition for 'ServerCertificateCustomValidationCallback' and no accessible extension method 'ServerCertificateCustomValidationCallback' accepting a first argument of type 'HttpClientHandler' could be found (are you missing a using directive or an assembly reference?)
build-test-project-stable / build-test (windows-latest, net8.0): src/OpenTelemetry.Exporter.OpenTelemetryProtocol/OtlpExporterOptions.cs#L286
'HttpClientHandler' does not contain a definition for 'ClientCertificates' and no accessible extension method 'ClientCertificates' accepting a first argument of type 'HttpClientHandler' could be found (are you missing a using directive or an assembly reference?)
lint-dotnet-format / run-dotnet-format-experimental
Process completed with exit code 1.
build-test-project-experimental / build-test (windows-latest, net8.0): src/OpenTelemetry.Exporter.OpenTelemetryProtocol/OtlpExporterOptionsExtensions.cs#L51
Possible null reference argument for parameter 'rootCertificates' in 'SslCredentials.SslCredentials(string rootCertificates, KeyCertificatePair keyCertificatePair)'.
build-test-project-experimental / build-test (windows-latest, net8.0): src/OpenTelemetry.Exporter.OpenTelemetryProtocol/OtlpExporterOptionsExtensions.cs#L60
Possible null reference argument for parameter 'rootCertificates' in 'SslCredentials.SslCredentials(string rootCertificates)'.
build-test-project-experimental / build-test (windows-latest, net8.0): src/OpenTelemetry.Exporter.OpenTelemetryProtocol/OtlpExporterOptions.cs#L269
'HttpClientHandler' does not contain a definition for 'ServerCertificateCustomValidationCallback' and no accessible extension method 'ServerCertificateCustomValidationCallback' accepting a first argument of type 'HttpClientHandler' could be found (are you missing a using directive or an assembly reference?)
build-test-project-experimental / build-test (windows-latest, net8.0): src/OpenTelemetry.Exporter.OpenTelemetryProtocol/OtlpExporterOptions.cs#L286
'HttpClientHandler' does not contain a definition for 'ClientCertificates' and no accessible extension method 'ClientCertificates' accepting a first argument of type 'HttpClientHandler' could be found (are you missing a using directive or an assembly reference?)
build-test-project-experimental / build-test (windows-latest, net462): src/OpenTelemetry.Exporter.OpenTelemetryProtocol/OtlpExporterOptionsExtensions.cs#L51
Possible null reference argument for parameter 'rootCertificates' in 'SslCredentials.SslCredentials(string rootCertificates, KeyCertificatePair keyCertificatePair)'.
build-test-project-experimental / build-test (windows-latest, net462): src/OpenTelemetry.Exporter.OpenTelemetryProtocol/OtlpExporterOptionsExtensions.cs#L60
Possible null reference argument for parameter 'rootCertificates' in 'SslCredentials.SslCredentials(string rootCertificates)'.
build-test-project-experimental / build-test (windows-latest, net462): src/OpenTelemetry.Exporter.OpenTelemetryProtocol/OtlpExporterOptions.cs#L269
'HttpClientHandler' does not contain a definition for 'ServerCertificateCustomValidationCallback' and no accessible extension method 'ServerCertificateCustomValidationCallback' accepting a first argument of type 'HttpClientHandler' could be found (are you missing a using directive or an assembly reference?)
build-test-project-experimental / build-test (windows-latest, net462): src/OpenTelemetry.Exporter.OpenTelemetryProtocol/OtlpExporterOptions.cs#L286
'HttpClientHandler' does not contain a definition for 'ClientCertificates' and no accessible extension method 'ClientCertificates' accepting a first argument of type 'HttpClientHandler' could be found (are you missing a using directive or an assembly reference?)
build-test-project-stable / build-test (windows-latest, net462): src/OpenTelemetry.Exporter.OpenTelemetryProtocol/OtlpExporterOptionsExtensions.cs#L51
Possible null reference argument for parameter 'rootCertificates' in 'SslCredentials.SslCredentials(string rootCertificates, KeyCertificatePair keyCertificatePair)'.
build-test-project-stable / build-test (windows-latest, net462): src/OpenTelemetry.Exporter.OpenTelemetryProtocol/OtlpExporterOptionsExtensions.cs#L60
Possible null reference argument for parameter 'rootCertificates' in 'SslCredentials.SslCredentials(string rootCertificates)'.
build-test-project-stable / build-test (windows-latest, net462): src/OpenTelemetry.Exporter.OpenTelemetryProtocol/OtlpExporterOptions.cs#L269
'HttpClientHandler' does not contain a definition for 'ServerCertificateCustomValidationCallback' and no accessible extension method 'ServerCertificateCustomValidationCallback' accepting a first argument of type 'HttpClientHandler' could be found (are you missing a using directive or an assembly reference?)
build-test-project-stable / build-test (windows-latest, net462): src/OpenTelemetry.Exporter.OpenTelemetryProtocol/OtlpExporterOptions.cs#L286
'HttpClientHandler' does not contain a definition for 'ClientCertificates' and no accessible extension method 'ClientCertificates' accepting a first argument of type 'HttpClientHandler' could be found (are you missing a using directive or an assembly reference?)
lint-dotnet-format / run-dotnet-format-stable
Process completed with exit code 1.
build-test-project-stable / build-test (windows-latest, net9.0): src/OpenTelemetry.Exporter.OpenTelemetryProtocol/OtlpExporterOptionsExtensions.cs#L51
Possible null reference argument for parameter 'rootCertificates' in 'SslCredentials.SslCredentials(string rootCertificates, KeyCertificatePair keyCertificatePair)'.
build-test-project-stable / build-test (windows-latest, net9.0): src/OpenTelemetry.Exporter.OpenTelemetryProtocol/OtlpExporterOptionsExtensions.cs#L60
Possible null reference argument for parameter 'rootCertificates' in 'SslCredentials.SslCredentials(string rootCertificates)'.
build-test-project-stable / build-test (windows-latest, net9.0): src/OpenTelemetry.Exporter.OpenTelemetryProtocol/OtlpExporterOptions.cs#L269
'HttpClientHandler' does not contain a definition for 'ServerCertificateCustomValidationCallback' and no accessible extension method 'ServerCertificateCustomValidationCallback' accepting a first argument of type 'HttpClientHandler' could be found (are you missing a using directive or an assembly reference?)
build-test-project-stable / build-test (windows-latest, net9.0): src/OpenTelemetry.Exporter.OpenTelemetryProtocol/OtlpExporterOptions.cs#L286
'HttpClientHandler' does not contain a definition for 'ClientCertificates' and no accessible extension method 'ClientCertificates' accepting a first argument of type 'HttpClientHandler' could be found (are you missing a using directive or an assembly reference?)
build-test
Process completed with exit code 1.