Skip to content

feat: add matrix tests to containers#637

Open
kaahos wants to merge 3 commits into
mainfrom
pfournillon/improve-container-tests
Open

feat: add matrix tests to containers#637
kaahos wants to merge 3 commits into
mainfrom
pfournillon/improve-container-tests

Conversation

@kaahos

@kaahos kaahos commented Jul 7, 2026

Copy link
Copy Markdown
Contributor

What does this PR do?:

This PR allows to run all the CI tests matrix locally in containers.

Motivation:

Run the full CI tests matrix locally. It comes out to be easier to run full testsuite with agents and is also useful in case of infrastructure flakiness.

Additional Notes:

How to test the change?:

  • Run the testsuite

For Datadog employees:

  • If this PR touches code that signs or publishes builds or packages, or handles
    credentials of any kind, I've requested a security review (run the dd:platform-security-review
    skill, or file a request via the PSEC review form).
    bewaire also runs automatically on every PR.
  • This PR doesn't touch any of that.
  • JIRA: [JIRA-XXXX]

Unsure? Have a question? Request a review!

@dd-octo-sts

dd-octo-sts Bot commented Jul 7, 2026

Copy link
Copy Markdown
Contributor

CI Test Results

Run: #28883933977 | Commit: 685e69f | Duration: 14m 11s (longest job)

1 of 32 test jobs failed

Status Overview

JDK glibc-aarch64/debug glibc-amd64/debug musl-aarch64/debug musl-amd64/debug
8 - - -
8-ibm - - -
8-j9 - -
8-librca - -
8-orcl - - -
11 - - -
11-j9 - -
11-librca - -
17 - -
17-graal - -
17-j9 - -
17-librca - -
21 - -
21-graal - -
21-librca - -
25 - -
25-graal - -
25-librca - -

Legend: ✅ passed | ❌ failed | ⚪ skipped | 🚫 cancelled

Failed Tests

musl-amd64/debug / 17-librca

Job: View logs

No detailed failure information available. Check the job logs.

Summary: Total: 32 | Passed: 31 | Failed: 1


Updated: 2026-07-07 17:15:59 UTC

Comment thread utils/README.md Outdated
@kaahos kaahos force-pushed the pfournillon/improve-container-tests branch from 4fb3c21 to d10ab7f Compare July 7, 2026 16:43
@kaahos kaahos marked this pull request as ready for review July 7, 2026 16:58
@kaahos kaahos requested a review from a team as a code owner July 7, 2026 16:58

@chatgpt-codex-connector chatgpt-codex-connector Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

💡 Codex Review

Here are some automated review suggestions for this pull request.

Reviewed commit: 53fb055c24

ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".

Comment on lines +326 to +327
elif [[ "$libc" == "musl" && ( "$config" == "asan" || "$config" == "tsan" ) ]]; then
echo "sanitizer configs are filtered out for musl in CI"

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

P2 Badge Skip GraalVM ASan cells in the matrix

When running a matrix that includes both GraalVM and asan (for example --jdk=graal --config=asan --run or --jdk=all --config=all), these cells are marked runnable because the only sanitizer skip here is for musl. I checked .github/workflows/test_workflow.yml lines 120-124 and 435-439, and CI exits early for GraalVM+ASan due incompatible ASan shadow ranges, so the local “CI matrix” will try known-incompatible cells and fail instead of skipping them.

Useful? React with 👍 / 👎.

for jdk in "${MATRIX_JDKS[@]}"; do
for config in "${MATRIX_CONFIGS[@]}"; do
((MATRIX_TOTAL += 1))
reason=$(skip_reason "$libc" "$jdk" "$config")

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

P2 Badge Skip HotSpot 8/11 on glibc aarch64

When --arch=aarch64 --jdk=all is used, this call has no arch context and every regular JDK from expand_jdk_dimension is marked runnable, so 8 and 11 show as runnable for glibc/aarch64. I checked .github/workflows/test_workflow.yml lines 343-346, where CI excludes HotSpot 8/11 on aarch64 because they are crashy in ASGCT; the new local matrix therefore runs cells CI intentionally omits, making full-matrix runs fail or waste time on unsupported combinations.

Useful? React with 👍 / 👎.

@datadog-prod-us1-3

datadog-prod-us1-3 Bot commented Jul 7, 2026

Copy link
Copy Markdown

Pipelines

Fix all issues with BitsAI

⚠️ Warnings

🚦 3 Pipeline jobs failed

CI Run | test-matrix / test-linux-musl-amd64 (17-librca, debug)   View in Datadog   GitHub Actions

DataDog/java-profiler | reliability-chaos-aarch64: [profiler+tracer, tcmalloc, 25.0.3-tem]   View in Datadog   GitLab

DataDog/java-profiler | reliability-chaos-aarch64: [profiler, tcmalloc, 21.0.3-tem]   View in Datadog   GitLab

Useful? React with 👍 / 👎

This comment will be updated automatically if new data arrives.
🔗 Commit SHA: 53fb055 | Docs | Datadog PR Page | Give us feedback!

@dd-octo-sts

dd-octo-sts Bot commented Jul 7, 2026

Copy link
Copy Markdown
Contributor

Reliability & Chaos Results

All reliability & chaos checks passed Pipeline: https://gitlab.ddbuild.io/DataDog/java-profiler/-/pipelines/123333603

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.

2 participants