Skip to content

[CI] Use a test matrix for the maintainer mode tests - #4806

Draft
dbarker wants to merge 1 commit into
open-telemetry:mainfrom
dbarker:ci-maintainer-matrix
Draft

dbarker wants to merge 1 commit into
open-telemetry:mainfrom
dbarker:ci-maintainer-matrix

Conversation

@dbarker

@dbarker dbarker commented Nov 23, 2026 •

Copy link
Copy Markdown
Member

Contributes to #3676

Convert the maintainer mode tests to a matrix over ABI version with preview options. Remove the one-off CMake jobs which the matrix now covers, add shared libs builds, and add gcc 11 (minimum third-party versions), gcc 15, clang 22 and C++23.

Before (main)

Maintainer mode jobs:

Compiler OS C++ Third-party abiv1 abiv1-preview abiv2 abiv2-preview
gcc 14 ubuntu-24.04 17 release Debug static, Release static Debug static, Release static
clang 18 ubuntu-24.04 14 stable Debug static
clang 18 ubuntu-24.04 17 release Debug static Debug static

One-off jobs replaced by the matrix:

Job Compiler OS C++ Third-party Components Build
cmake_test gcc 11 ubuntu-22.04 17 apt Prometheus, Zipkin, Elasticsearch Debug static
cmake_clang_yaml_config clang 18 ubuntu-24.04 17 release all, YAML configuration Debug static
cmake_with_async_export_test gcc 12 ubuntu-24.04 17 apt Prometheus, Zipkin, Elasticsearch, async export Debug static
cmake_otprotocol_test gcc 11 ubuntu-22.04 17 release OTLP Debug static
cmake_modern_protobuf_grpc_with_abseil_test gcc 13 ubuntu-24.04 14 stable OTLP Debug static
cmake_do_not_install_test gcc 11 ubuntu-22.04 17 release OTLP, async export, OTELCPP_INSTALL=OFF Debug static
cmake_otprotocol_shared_libs_with_static_grpc_test gcc 11 ubuntu-22.04 17 release OTLP Debug shared

After

Compiler OS C++ Third-party abiv1 abiv1-preview abiv2 abiv2-preview
gcc 11 ubuntu-22.04 14 minimum Debug static, Release shared
gcc 11 ubuntu-22.04 17 minimum Debug static, Release shared
gcc 14 ubuntu-24.04 17 release Debug static, Release shared
gcc 15 ubuntu-26.04 17 release Debug static, Release shared Debug static, Release shared Debug static, Release shared Debug static, Release shared
gcc 15 ubuntu-26.04 23 release Debug static, Release shared
clang 18 ubuntu-24.04 17 release Debug static, Release shared
clang 22 ubuntu-26.04 17 release Debug static, Release shared Debug static, Release shared Debug static, Release shared Debug static, Release shared
clang 22 ubuntu-26.04 23 release Debug static, Release shared

All jobs build with OTELCPP_INSTALL=OFF and run the OTLP functional test. The preview rows also run the configuration functional test.

Changes

  • Use a test matrix for the maintainer mode tests and add cmake.maintainer.test. cmake.maintainer.sync/async/abiv2.test are removed.
  • Remove the jobs now covered by the matrix:
    • cmake_test
    • cmake_clang_yaml_config
    • cmake_with_async_export_test
    • cmake_otprotocol_test
    • cmake_modern_protobuf_grpc_with_abseil_test
    • cmake_do_not_install_test
    • cmake_otprotocol_shared_libs_with_static_grpc_test
    • the commented-out arm64_test

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
dbarker force-pushed the ci-maintainer-matrix branch from 5126867 to 546a6c8 Compare November 23, 2026 02:47
@codecov

codecov Bot commented Nov 23, 2026

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 86.69%. Comparing base (e06cf6b) to head (546a6c8).

Additional details and impacted files

Impacted file tree graph

@@            Coverage Diff             @@
##             main    #4806      +/-   ##
==========================================
- Coverage   86.70%   86.69%   -0.00%     
==========================================
  Files         530      530              
  Lines       21206    21206              
==========================================
- Hits        18384    18382       -2     
- Misses       2822     2824       +2     

see 1 file with indirect coverage changes

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

This branch has not been deployed

No deployments
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant