opentelemetry-cpp icon indicating copy to clipboard operation
opentelemetry-cpp copied to clipboard

Test building opentelemetry-cpp as shared libraries against shared protobuf and grpc libraries

Open dbarker opened this issue 6 months ago • 2 comments
trafficstars

Test for #3405 - This draft PR is just to demonstrate the current state of building opentelemetry-cpp shared libraries against newer versions of protobuf and grpc.

Changes

  • adds cmake install tests for
    • Building shared otel-cpp libs against static protobuf v5.27 and grpc v1.67 libs - This is known to fail tests and the otlp cmake targets do not function as expected (either segfault or just fail to export data)
    • Building shared otel-cpp libs against shared protobuf v5.27 and grpc v1.67 libs - The otlp grpc tests fail to build, but the otlp grpc cmake targets can be used in an application and work as expected.

For significant contributions please make sure you have completed the following items:

  • [ ] CHANGELOG.md updated for non-trivial changes
  • [ ] Unit tests have been added
  • [ ] Changes in public API reviewed

dbarker avatar May 20 '25 19:05 dbarker

Deploy Preview for opentelemetry-cpp-api-docs canceled.

Name Link
Latest commit cbfc058bd544badc4908f31cf6542c51eb055fcf
Latest deploy log https://app.netlify.com/projects/opentelemetry-cpp-api-docs/deploys/682cd24083e30d000887f3ef

netlify[bot] avatar May 20 '25 19:05 netlify[bot]

Codecov Report

All modified and coverable lines are covered by tests :white_check_mark:

Project coverage is 90.04%. Comparing base (29ac517) to head (cbfc058). Report is 36 commits behind head on main.

Additional details and impacted files

Impacted file tree graph

@@           Coverage Diff           @@
##             main    #3427   +/-   ##
=======================================
  Coverage   90.04%   90.04%           
=======================================
  Files         212      212           
  Lines        6937     6937           
=======================================
  Hits         6246     6246           
  Misses        691      691           
:rocket: New features to boost your workflow:
  • :snowflake: Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

codecov[bot] avatar May 20 '25 19:05 codecov[bot]

Closing this as addressed by #3435

dbarker avatar Jun 24 '25 15:06 dbarker