Skip to content

Fix GraalVM native smoke-test OOM and configured MASS Gradle download for arm64.#11698

Open
AlexeyKuznetsov-DD wants to merge 8 commits into
masterfrom
alexeyk/fixed-graalvm-arm64-ci-build
Open

Fix GraalVM native smoke-test OOM and configured MASS Gradle download for arm64.#11698
AlexeyKuznetsov-DD wants to merge 8 commits into
masterfrom
alexeyk/fixed-graalvm-arm64-ci-build

Conversation

@AlexeyKuznetsov-DD

@AlexeyKuznetsov-DD AlexeyKuznetsov-DD commented Jun 22, 2026

Copy link
Copy Markdown
Contributor

What Does This Do

  • Move test_smoke_graalvm (amd64) and test_smoke_graalvm_arm64 to tier_l (20 GiB) — both build two native images concurrently and peaked at the old 16 GiB limit.
  • Cap the quarkus native-image heap with quarkus.native.native-image-xmx=4g (mirrors spring's -Xmx4096M; quarkus was uncapped at ~75% of the container).
  • Bound native-image parallelism on CI (-H:NumberOfThreads / -J-XX:ActiveProcessorCount, tied to KUBERNETES_CPU_REQUEST) — the container has a CPU request but no limit, so native-image otherwise sizes threads to the whole host.
  • Configured the Gradle distribution download through the MASS cache for arm64.

Motivation

test_smoke_graalvm_arm64 (graalvm21/graalvm25) was failing with exit code 137 — OOMKilled. The job builds the spring-boot-3.0-native and quarkus-native images concurrently in one 16 GiB container:

Additional Notes

  • Build-time/CI-only change — no production code touched.
  • Validated: all six GraalVm jobs (17/21/25 × amd64/arm64) pass first-try.

@AlexeyKuznetsov-DD AlexeyKuznetsov-DD self-assigned this Jun 22, 2026
@AlexeyKuznetsov-DD AlexeyKuznetsov-DD added type: enhancement Enhancements and improvements tag: no release notes Changes to exclude from release notes labels Jun 22, 2026
@datadog-official

datadog-official Bot commented Jun 22, 2026

Copy link
Copy Markdown
Contributor

Pipelines

Fix all issues with BitsAI

⚠️ Warnings

🚦 1 Pipeline job failed

DataDog/apm-reliability/dd-trace-java | test_smoke_arm64: [11, 5/8]   View in Datadog   GitLab

Useful? React with 👍 / 👎

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

@dd-octo-sts

dd-octo-sts Bot commented Jun 22, 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 13.95 s 13.91 s [-0.5%; +1.1%] (no difference)
startup:insecure-bank:tracing:Agent 12.91 s 12.98 s [-1.2%; +0.1%] (no difference)
startup:petclinic:appsec:Agent 16.84 s 16.67 s [+0.0%; +2.0%] (maybe worse)
startup:petclinic:iast:Agent 16.38 s 16.92 s [-7.4%; +0.9%] (no difference)
startup:petclinic:profiling:Agent 16.84 s 16.95 s [-2.0%; +0.6%] (no difference)
startup:petclinic:sca:Agent 16.81 s 16.69 s [-0.2%; +1.6%] (no difference)
startup:petclinic:tracing:Agent 16.06 s 16.06 s [-0.8%; +0.9%] (no difference)

Commit: 5eb421a8 · 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.

@AlexeyKuznetsov-DD AlexeyKuznetsov-DD changed the title Cap quarkus-native native-image builder heap to fix arm64 OOM. Fixed graal VM OOM under arm64. Jun 22, 2026
@AlexeyKuznetsov-DD AlexeyKuznetsov-DD changed the title Fixed graal VM OOM under arm64. Fix GraalVM native smoke-test OOM and configured MASS Gradle download for arm64. Jun 23, 2026
@AlexeyKuznetsov-DD AlexeyKuznetsov-DD marked this pull request as ready for review June 23, 2026 02:26
@AlexeyKuznetsov-DD AlexeyKuznetsov-DD requested review from a team as code owners June 23, 2026 02:26
@AlexeyKuznetsov-DD AlexeyKuznetsov-DD requested review from ValentinZakharov and randomanderson and removed request for a team June 23, 2026 02:26
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

tag: no release notes Changes to exclude from release notes type: enhancement Enhancements and improvements

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant