Skip to content

Deduplicate GitLab test job templates - #12199

Open
AlexeyKuznetsov-DD wants to merge 1 commit into
masterfrom
alexeyk/deduplicate-arm64-gitlab-tests
Open

Deduplicate GitLab test job templates#12199
AlexeyKuznetsov-DD wants to merge 1 commit into
masterfrom
alexeyk/deduplicate-arm64-gitlab-tests

Conversation

@AlexeyKuznetsov-DD

Copy link
Copy Markdown
Contributor

What Does This Do

  • Extracts shared GitLab test-job setup into .test_job_common for AMD64 and ARM64 jobs.
  • Deduplicates the test-agent service configuration used by both architectures.
  • Keeps ARM64 jobs gated on the AMD64 build job without downloading its platform-specific artifacts.
  • Keeps the ARM64 default JVM subset manual on feature branches while retaining the full ARM64 matrix on merge queue and master.

Motivation

The ARM64 test templates duplicated most of the AMD64 Gradle setup, scripts, report collection, artifacts, retries, and test-agent configuration. That duplication made the architectures prone to drifting whenever shared CI setup changed and made rebases unnecessarily conflict-prone.

Sharing the common template keeps both architectures aligned. The AMD64 build gate also avoids spending ARM64 runner capacity on commits that do not compile.

Additional Notes

  • ARM64 jobs remain non-blocking while stability data is collected.
  • IBM Java 8 remains excluded because no ARM64 image is available; Oracle Java 8 remains excluded because it is too flaky for CI.
  • Relevant precedents: #11364, #11470, and #11835.
  • Validation: local YAML parsing and git diff --check passed; the repository commit hook completed its Gradle/Spotless checks successfully (6,534 tasks).

Contributor Checklist

Jira ticket: N/A

@AlexeyKuznetsov-DD AlexeyKuznetsov-DD added comp: tooling Build & Tooling type: refactoring tag: no release notes Changes to exclude from release notes tag: ai generated Largely based on code generated by an AI or LLM labels Aug 12, 2026 — with ChatGPT Codex Connector
@AlexeyKuznetsov-DD AlexeyKuznetsov-DD self-assigned this Aug 12, 2026
@AlexeyKuznetsov-DD
AlexeyKuznetsov-DD marked this pull request as ready for review August 12, 2026 14:45
@AlexeyKuznetsov-DD
AlexeyKuznetsov-DD requested review from a team as code owners August 12, 2026 14:45
@datadog-prod-us1-3

datadog-prod-us1-3 Bot commented Aug 12, 2026

Copy link
Copy Markdown

🎯 Code Coverage (details)
Patch Coverage: 100.00%
Overall Coverage: 57.94% (-0.02%)

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

@dd-octo-sts

dd-octo-sts Bot commented Aug 12, 2026

Copy link
Copy Markdown
Contributor

🟢 Java Benchmark SLOs — All performance SLOs passed

Suite Status
Startup 🟢 pass

SLO thresholds are defined here based on automatically generated metrics. A warning is raised when results are within 5% of the threshold.

PR vs. master results
Scenario Candidate master Δ (95% CI of mean)
startup:insecure-bank:iast:Agent 14.02 s 14.05 s [-1.0%; +0.4%] (no difference)
startup:insecure-bank:tracing:Agent 12.90 s 13.02 s [-1.6%; -0.3%] (maybe better)
startup:petclinic:appsec:Agent 16.94 s 16.23 s [+0.1%; +8.7%] (maybe worse)
startup:petclinic:iast:Agent 16.90 s 16.94 s [-1.2%; +0.7%] (no difference)
startup:petclinic:profiling:Agent 16.64 s 16.77 s [-2.0%; +0.5%] (no difference)
startup:petclinic:sca:Agent 16.80 s 16.50 s [+1.0%; +2.6%] (maybe worse)
startup:petclinic:tracing:Agent 15.72 s 16.10 s [-6.4%; +1.7%] (no difference)

Commit: e243804b · CI Pipeline · Benchmarking Platform UI


Load and DaCapo benchmarks can be triggered manually in the GitLab pipeline. Results will appear in the Benchmarking Platform UI after completion.

@datadog-prod-us1-3 datadog-prod-us1-3 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.

Datadog Autotest: PASS

More details

Expanded job behavior preserves AMD64 and ARM64 architecture contracts, including test-agent checks, coverage composition, JVM exclusions, manual feature-branch rules, and the intended artifact-free ARM64 build gate.

Was this helpful? React 👍 or 👎

📊 Validated against 6 scenarios · Open Bits AI session

🤖 Datadog Autotest · Commit e243804 · What is Autotest? · @DataDog review to ask questions · Any feedback? Reach out in #autotest

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

Labels

comp: tooling Build & Tooling tag: ai generated Largely based on code generated by an AI or LLM tag: no release notes Changes to exclude from release notes type: refactoring

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant