Skip to content

fix(ci): stop JAVA_TOOL_OPTIONS from silently killing integration tests - #718

Merged
jbachorik merged 11 commits into
mainfrom
fix/reliability
Aug 6, 2026
Merged

fix(ci): stop JAVA_TOOL_OPTIONS from silently killing integration tests#718
jbachorik merged 11 commits into
mainfrom
fix/reliability

Conversation

@jbachorik

Copy link
Copy Markdown
Collaborator

What does this PR do?:
Fixes the dd-trace-java integration-test pipeline silently dying during setup, and adds loud failure signaling for the pipeline.

  • install-prerequisites.sh / run-integration-test.sh / utils/run-chaos-harness.sh: java/jbang -version output was piped into head -N. When JAVA_TOOL_OPTIONS is set (as CI injects), the JVM prints an extra "Picked up JAVA_TOOL_OPTIONS..." line first, so head closed the pipe before the JVM finished writing, causing SIGPIPE. Under set -euo pipefail this aborted the script with no further output; in run-chaos-harness.sh (which uses set +e) it silently broke JDK-version detection instead.
  • post-pr-comment.sh: a completely empty result set (e.g. from the setup failure above) was reported as neutral "NO RESULTS" instead of a failure, so a broken pipeline produced no visible signal.
  • .gitlab-ci.yml: post-pr-comment no longer has allow_failure: true, so PR-triggered runs now fail their check when tests fail or can't run. Added a notify-slack-dd-trace-integration job that posts to Slack on failure for scheduled/main-branch runs, which have no PR to report back to.

Motivation:
Every dd-trace-java integration-test CI run was dying silently right after jbang installation, with no error message, due to the JAVA_TOOL_OPTIONS/SIGPIPE interaction above. Failures were also invisible: the jobs are allow_failure: true and no Slack notification was wired up.

Additional Notes:
None.

How to test the change?:
Reproduced the original failure locally by re-running install-prerequisites.sh with JAVA_TOOL_OPTIONS set and set -euo pipefail, confirming it aborted; confirmed the fixed script now runs to completion. Reproduced the run-chaos-harness.sh JDK-version-detection bug the same way and confirmed ACTIVE_MAJOR now resolves correctly. Validated all edited YAML/shell files parse/lint cleanly.

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: N/A

Unsure? Have a question? Request a review!

head-truncated `java`/`jbang -version` pipelines died via SIGPIPE+pipefail
once JAVA_TOOL_OPTIONS injected an extra output line, aborting the
integration-test setup scripts with no log output. Also wire up loud
failure reporting: PR runs now fail the check via post-pr-comment, and
scheduled/main runs post to Slack.

Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
@jbachorik jbachorik added the AI label Aug 5, 2026
Copilot AI review requested due to automatic review settings August 5, 2026 08:49

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Copilot was unable to review this pull request because the user who requested the review has reached their quota limit.

@dd-octo-sts

dd-octo-sts Bot commented Aug 5, 2026

Copy link
Copy Markdown
Contributor

Scan-Build Report

User:runner@runnervmvrwv9
Working Directory:/home/runner/work/java-profiler/java-profiler/ddprof-lib/src/test/make
Command Line:make -j4 all
Clang Version:Ubuntu clang version 18.1.3 (1ubuntu1)
Date:Thu Aug 6 08:28:38 2026

Bug Summary

Bug TypeQuantityDisplay?
All Bugs1
Logic error
Dereference of null pointer1

Reports

Bug Group Bug Type ▾ File Function/Method Line Path Length
Logic errorDereference of null pointerprofiler.hfindLibraryByAddress51713

@dd-octo-sts

dd-octo-sts Bot commented Aug 5, 2026

Copy link
Copy Markdown
Contributor

CI Test Results

Run: #31084916912 | Commit: 34e0a82 | Duration: 14m 1s (longest job)

All 32 test jobs passed

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

Summary: Total: 32 | Passed: 32 | Failed: 0


Updated: 2026-08-06 09:54:24 UTC

@dd-octo-sts

dd-octo-sts Bot commented Aug 5, 2026

Copy link
Copy Markdown
Contributor

Benchmark Results (commit bad3083)

Pipeline: https://gitlab.ddbuild.io/DataDog/apm-reliability/benchmarking-platform/-/pipelines/129086946 Commit: bad3083e254c88bb2984543e255aeaec1b3dcfe9

⚠️ Significant outliers

  • 🔴 future-genetic (JDK 21): runtime +3.1% (2121→2187 ms)
Runtime details (per benchmark × JDK)
Benchmark JDK Latest Dev Δ (dev vs latest) Issues L/D
akka-uct 21 ✅ 10203 ms (21 iters) ✅ 10161 ms (21 iters) ≈ -0.4% (±10.1%) — / —
akka-uct 25 ✅ 8801 ms (24 iters) ✅ 8777 ms (24 iters) ≈ -0.3% (±8.9%) — / —
finagle-chirper 21 ✅ 5956 ms (33 iters) ✅ 5969 ms (33 iters) ≈ +0.2% (±25.5%) ⚠️ W:3 / ⚠️ W:3
fj-kmeans 21 ✅ 2833 ms (66 iters) ✅ 2841 ms (66 iters) ≈ +0.3% (±2.7%) — / —
fj-kmeans 25 ✅ 2819 ms (66 iters) ✅ 2806 ms (66 iters) ≈ -0.5% (±2.6%) — / —
future-genetic 21 ✅ 2121 ms (87 iters) ✅ 2187 ms (85 iters) 🔴 +3.1% — / —
future-genetic 25 ✅ 1937 ms (96 iters) ✅ 1942 ms (96 iters) ≈ +0.3% (±2.6%) — / —
naive-bayes 21 ✅ 1242 ms (137 iters) ✅ 1240 ms (137 iters) ≈ -0.2% (±32.6%) — / —
naive-bayes 25 ✅ 1020 ms (168 iters) ✅ 1022 ms (167 iters) ≈ +0.2% (±31.8%) — / —
reactors 21 ✅ 16424 ms (15 iters) ✅ 15881 ms (15 iters) ≈ -3.3% (±7.3%) — / —
reactors 25 ✅ 18308 ms (15 iters) ✅ 18403 ms (15 iters) ≈ +0.5% (±4.8%) — / —
Internal counter details (ddprof)

ddprof internal counters, latest / dev (✅ = 0, · = unavailable):

Benchmark JDK Dropped rec Dropped jvmti Dropped trace Skipped WC AGCT fail Unwind fail
akka-uct 21 ✅ / ✅ ✅ / ✅ 1 / 2 2037 / 1983 ✅ / ✅ ✅ / ✅
akka-uct 25 ✅ / ✅ ✅ / ✅ 1 / 1 2103 / 2256 ✅ / ✅ ✅ / ✅
finagle-chirper 21 ✅ / ✅ ✅ / ✅ 3 / 2 8340 / 8793 ✅ / ✅ ✅ / ✅
finagle-chirper 25 ✅ / ✅ ✅ / ✅ 3 / 1 8325 / 8223 ✅ / ✅ ✅ / ✅
fj-kmeans 21 ✅ / ✅ ✅ / ✅ 2 / 3 1272 / 1274 ✅ / ✅ ✅ / ✅
fj-kmeans 25 ✅ / ✅ ✅ / ✅ 3 / 1 1279 / 1251 ✅ / ✅ ✅ / ✅
future-genetic 21 ✅ / ✅ ✅ / ✅ ✅ / 1 2957 / 2976 ✅ / ✅ ✅ / ✅
future-genetic 25 ✅ / ✅ ✅ / ✅ 1 / 1 2863 / 2999 ✅ / ✅ ✅ / ✅
naive-bayes 21 ✅ / ✅ ✅ / ✅ 3 / 7 3500 / 3481 ✅ / ✅ ✅ / ✅
naive-bayes 25 ✅ / ✅ ✅ / ✅ 2 / 3 3513 / 3526 ✅ / ✅ ✅ / ✅
reactors 21 ✅ / ✅ ✅ / ✅ ✅ / ✅ 1767 / 1529 ✅ / ✅ ✅ / ✅
reactors 25 ✅ / ✅ ✅ / ✅ 1 / ✅ 1901 / 1873 ✅ / ✅ ✅ / ✅

@dd-octo-sts

dd-octo-sts Bot commented Aug 5, 2026

Copy link
Copy Markdown
Contributor

Benchmark Results (commit fcdac3c)

Pipeline: https://gitlab.ddbuild.io/DataDog/apm-reliability/benchmarking-platform/-/pipelines/129091769 Commit: fcdac3c4eafa524f580ee672e3d46ff6b2fa1ed2

⚠️ Significant outliers

  • 🔴 future-genetic (JDK 21): runtime +4.6% (2075→2171 ms)
  • 🔴 future-genetic (JDK 25): runtime +3.5% (1931→1999 ms)
Runtime details (per benchmark × JDK)
Benchmark JDK Latest Dev Δ (dev vs latest) Issues L/D
akka-uct 21 ✅ 10226 ms (21 iters) ✅ 10197 ms (21 iters) ≈ -0.3% (±10%) — / —
akka-uct 25 ✅ 8803 ms (24 iters) ✅ 8746 ms (24 iters) ≈ -0.6% (±9.1%) — / —
finagle-chirper 21 ✅ 5904 ms (33 iters) ✅ 5944 ms (33 iters) ≈ +0.7% (±25.5%) ⚠️ W:4 / ⚠️ W:4
finagle-chirper 25 ✅ 5423 ms (36 iters) ✅ 5363 ms (36 iters) ≈ -1.1% (±22.9%) ⚠️ W:3 / ⚠️ W:4
fj-kmeans 21 ✅ 2746 ms (68 iters) ✅ 2812 ms (66 iters) ≈ +2.4% (±2.6%) — / —
fj-kmeans 25 ✅ 2835 ms (66 iters) ✅ 2849 ms (66 iters) ≈ +0.5% (±2.5%) — / —
future-genetic 21 ✅ 2075 ms (89 iters) ✅ 2171 ms (86 iters) 🔴 +4.6% — / —
future-genetic 25 ✅ 1931 ms (96 iters) ✅ 1999 ms (93 iters) 🔴 +3.5% — / —
naive-bayes 25 ✅ 1019 ms (167 iters) ✅ 1023 ms (167 iters) ≈ +0.4% (±31.8%) — / —
reactors 21 ✅ 15959 ms (15 iters) ✅ 16611 ms (15 iters) ≈ +4.1% (±7.1%) — / —
reactors 25 ✅ 18652 ms (15 iters) ✅ 18523 ms (15 iters) ≈ -0.7% (±4.8%) — / —
Internal counter details (ddprof)

ddprof internal counters, latest / dev (✅ = 0, · = unavailable):

Benchmark JDK Dropped rec Dropped jvmti Dropped trace Skipped WC AGCT fail Unwind fail
akka-uct 21 ✅ / ✅ ✅ / ✅ 3 / ✅ 1933 / 1952 ✅ / ✅ ✅ / ✅
akka-uct 25 ✅ / ✅ ✅ / ✅ ✅ / 1 2266 / 2350 ✅ / ✅ ✅ / ✅
finagle-chirper 21 ✅ / ✅ ✅ / ✅ 3 / 2 8731 / 8716 ✅ / ✅ ✅ / ✅
finagle-chirper 25 ✅ / ✅ ✅ / ✅ 3 / ✅ 8103 / 8079 ✅ / ✅ ✅ / ✅
fj-kmeans 21 ✅ / ✅ ✅ / ✅ 2 / 1 1285 / 1250 ✅ / ✅ ✅ / ✅
fj-kmeans 25 ✅ / ✅ ✅ / ✅ 2 / 5 1287 / 1295 ✅ / ✅ ✅ / ✅
future-genetic 21 ✅ / ✅ ✅ / ✅ ✅ / 3 2926 / 3001 ✅ / ✅ ✅ / ✅
future-genetic 25 ✅ / ✅ ✅ / ✅ 1 / ✅ 2877 / 2858 ✅ / ✅ ✅ / ✅
naive-bayes 21 ✅ / ✅ ✅ / ✅ ✅ / ✅ ✅ / ✅ ✅ / ✅ ✅ / ✅
naive-bayes 25 ✅ / ✅ ✅ / ✅ 2 / 3 3456 / 3490 ✅ / ✅ ✅ / ✅
reactors 21 ✅ / ✅ ✅ / ✅ ✅ / 1 1592 / 1739 ✅ / ✅ ✅ / ✅
reactors 25 ✅ / ✅ ✅ / ✅ 1 / 2 1908 / 1824 ✅ / ✅ ✅ / ✅

jbachorik and others added 2 commits August 5, 2026 13:01
A skipped JFR conformance check (e.g. JDK 25 unavailable) was reported
as VALIDATION_SKIPPED with exit 0, letting integration tests appear to
pass even though no conformance check actually ran.

Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
CI runners can't reach Maven Central directly, so jbang fails to
resolve io.btrace:jafar-shell. Route it through MAVEN_REPOSITORY_PROXY,
the same internal proxy Gradle already uses.

Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
Copilot AI review requested due to automatic review settings August 5, 2026 11:01

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Copilot was unable to review this pull request because the user who requested the review has reached their quota limit.

@dd-octo-sts

dd-octo-sts Bot commented Aug 5, 2026

Copy link
Copy Markdown
Contributor

Benchmark Results (commit deadb9f)

Pipeline: https://gitlab.ddbuild.io/DataDog/apm-reliability/benchmarking-platform/-/pipelines/129110779 Commit: deadb9f0810b659822c046ae99dac422ab1f062e

⚠️ Significant outliers

  • 🔴 future-genetic (JDK 21): runtime +4.8% (2066→2166 ms)
Runtime details (per benchmark × JDK)
Benchmark JDK Latest Dev Δ (dev vs latest) Issues L/D
finagle-chirper 21 ✅ 6029 ms (33 iters) ✅ 6008 ms (33 iters) ≈ -0.3% (±25.5%) ⚠️ W:3 / ⚠️ W:3
finagle-chirper 25 ✅ 5404 ms (36 iters) ✅ 5425 ms (36 iters) ≈ +0.4% (±23.4%) ⚠️ W:3 / ⚠️ W:3
fj-kmeans 21 ✅ 2822 ms (66 iters) ✅ 2816 ms (66 iters) ≈ -0.2% (±2.5%) — / —
fj-kmeans 25 ✅ 2831 ms (66 iters) ✅ 2848 ms (66 iters) ≈ +0.6% (±2.6%) — / —
future-genetic 21 ✅ 2066 ms (90 iters) ✅ 2166 ms (85 iters) 🔴 +4.8% — / —
naive-bayes 21 ✅ 1267 ms (135 iters) ✅ 1232 ms (139 iters) ≈ -2.8% (±31.8%) — / —
naive-bayes 25 ✅ 1016 ms (168 iters) ✅ 1027 ms (167 iters) ≈ +1.1% (±32%) — / —
reactors 25 ✅ 18731 ms (15 iters) ✅ 18318 ms (15 iters) ≈ -2.2% (±3.8%) — / —
Internal counter details (ddprof)

ddprof internal counters, latest / dev (✅ = 0, · = unavailable):

Benchmark JDK Dropped rec Dropped jvmti Dropped trace Skipped WC AGCT fail Unwind fail
finagle-chirper 21 ✅ / ✅ ✅ / ✅ 3 / 3 8233 / 8441 ✅ / ✅ ✅ / ✅
finagle-chirper 25 ✅ / ✅ ✅ / ✅ 2 / ✅ 8150 / 8150 ✅ / ✅ ✅ / ✅
fj-kmeans 21 ✅ / ✅ ✅ / ✅ ✅ / 2 1250 / 1257 ✅ / ✅ ✅ / ✅
fj-kmeans 25 ✅ / ✅ ✅ / ✅ 4 / 2 1298 / 1289 ✅ / ✅ ✅ / ✅
future-genetic 21 ✅ / ✅ ✅ / ✅ 5 / 1 2973 / 2939 ✅ / ✅ ✅ / ✅
naive-bayes 21 ✅ / ✅ ✅ / ✅ 5 / 4 3511 / 3503 ✅ / ✅ ✅ / ✅
naive-bayes 25 ✅ / ✅ ✅ / ✅ 1 / 2 3492 / 3486 ✅ / ✅ ✅ / ✅
reactors 25 ✅ / ✅ ✅ / ✅ 1 / ✅ 1884 / 1794 ✅ / ✅ ✅ / ✅

Copilot AI review requested due to automatic review settings August 5, 2026 11:47

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Copilot was unable to review this pull request because the user who requested the review has reached their quota limit.

jbachorik and others added 2 commits August 5, 2026 13:54
The job's needs never included prepare:start, so it never received
DDPROF_COMMIT_BRANCH via dotenv and exited 0 before checking any test
results. Also replace the pr-commenter/benchmarking-platform clone
(broken: wrong repo path, needs public GitHub egress) with the
existing dd-octo-sts based upsert-github-pr-comment.sh used elsewhere
in this repo, and make the failure exit unconditional on posting.

Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
The pre-warm check skipped all JFR validation whenever the optional
jfr-shell-jafar/jfr-shell-jdk backend plugins failed to resolve. That
backend system uses its own embedded resolver, separate from jbang's
--repos, so it can't be routed through the Maven proxy and can fail
even when jafar-shell itself resolves fine. It doesn't matter: the
validation script only uses jafar-shell's bundled parser (open/show),
which never touches the backend system. Verified locally that
validation passes end-to-end with the backend plugins entirely
unresolvable. Only skip now if jfr-shell itself fails to start.

Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
Copilot AI review requested due to automatic review settings August 5, 2026 11:58

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Copilot was unable to review this pull request because the user who requested the review has reached their quota limit.

@dd-octo-sts

dd-octo-sts Bot commented Aug 5, 2026

Copy link
Copy Markdown
Contributor

All 40 integration tests passed

📊 Dashboard · 👷 Pipeline · 📦 da00902c

@dd-octo-sts

dd-octo-sts Bot commented Aug 5, 2026

Copy link
Copy Markdown
Contributor

Benchmark Results (commit 2b2deda)

Pipeline: https://gitlab.ddbuild.io/DataDog/apm-reliability/benchmarking-platform/-/pipelines/129121848 Commit: 2b2dedacf4f1a6a14dcc9bb28e9a5132bbcf9286

⚠️ Significant outliers

  • 🟢 future-genetic (JDK 25): runtime -4.4% (1987→1900 ms)
Runtime details (per benchmark × JDK)
Benchmark JDK Latest Dev Δ (dev vs latest) Issues L/D
akka-uct 21 ✅ 10321 ms (21 iters) ✅ 10219 ms (21 iters) ≈ -1% (±10.8%) — / —
akka-uct 25 ✅ 8814 ms (24 iters) ✅ 8818 ms (24 iters) ≈ +0% (±9.2%) — / —
finagle-chirper 21 ✅ 5969 ms (33 iters) ✅ 5972 ms (33 iters) ≈ +0.1% (±25.6%) ⚠️ W:3 / ⚠️ W:3
finagle-chirper 25 ✅ 5368 ms (36 iters) ✅ 5395 ms (36 iters) ≈ +0.5% (±23.7%) ⚠️ W:3 / ⚠️ W:3
fj-kmeans 21 ✅ 2818 ms (66 iters) ✅ 2824 ms (66 iters) ≈ +0.2% (±2.5%) — / —
fj-kmeans 25 ✅ 2743 ms (69 iters) ✅ 2813 ms (66 iters) ≈ +2.6% (±2.6%) — / —
future-genetic 21 ✅ 2069 ms (90 iters) ✅ 2113 ms (88 iters) ≈ +2.1% (±2.5%) — / —
future-genetic 25 ✅ 1987 ms (93 iters) ✅ 1900 ms (97 iters) 🟢 -4.4% — / —
naive-bayes 21 ✅ 1275 ms (134 iters) ✅ 1250 ms (136 iters) ≈ -2% (±32.7%) — / —
naive-bayes 25 ✅ 1006 ms (170 iters) ✅ 1011 ms (169 iters) ≈ +0.5% (±31.5%) — / —
reactors 21 ✅ 15382 ms (16 iters) ✅ 15610 ms (16 iters) ≈ +1.5% (±5.1%) — / —
reactors 25 ✅ 18466 ms (15 iters) ✅ 18308 ms (15 iters) ≈ -0.9% (±4.9%) — / —
Internal counter details (ddprof)

ddprof internal counters, latest / dev (✅ = 0, · = unavailable):

Benchmark JDK Dropped rec Dropped jvmti Dropped trace Skipped WC AGCT fail Unwind fail
akka-uct 21 ✅ / ✅ ✅ / ✅ 2 / ✅ 2017 / 1995 ✅ / ✅ ✅ / ✅
akka-uct 25 ✅ / ✅ ✅ / ✅ 1 / 1 2285 / 2307 ✅ / ✅ ✅ / ✅
finagle-chirper 21 ✅ / ✅ ✅ / ✅ 4 / 2 8273 / 8257 ✅ / ✅ ✅ / ✅
finagle-chirper 25 ✅ / ✅ ✅ / ✅ 2 / 3 8335 / 8346 ✅ / ✅ ✅ / ✅
fj-kmeans 21 ✅ / ✅ ✅ / ✅ 5 / 3 1251 / 1254 ✅ / ✅ ✅ / ✅
fj-kmeans 25 ✅ / ✅ ✅ / ✅ ✅ / 2 1252 / 1267 ✅ / ✅ ✅ / ✅
future-genetic 21 ✅ / ✅ ✅ / ✅ 1 / ✅ 3031 / 3002 ✅ / ✅ ✅ / ✅
future-genetic 25 ✅ / ✅ ✅ / ✅ 1 / 1 2914 / 2876 ✅ / ✅ ✅ / ✅
naive-bayes 21 ✅ / ✅ ✅ / ✅ 8 / 7 3516 / 3464 ✅ / ✅ ✅ / ✅
naive-bayes 25 ✅ / ✅ ✅ / ✅ 5 / 5 3491 / 3523 ✅ / ✅ ✅ / ✅
reactors 21 ✅ / ✅ ✅ / ✅ ✅ / 1 1838 / 1845 ✅ / ✅ ✅ / ✅
reactors 25 ✅ / ✅ ✅ / ✅ ✅ / 1 1848 / 1773 ✅ / ✅ ✅ / ✅

jfr-shell hard-fails a query for an event type absent from the recording's
metadata instead of returning zero, cascading into undefined-variable errors.
Precompute type presence via `jfr summary` and skip guarded queries
accordingly. Also fix the datadog.EndpointEvent -> datadog.Endpoint typo and
silence `uptime: command not found` when it's unavailable.
Copilot AI review requested due to automatic review settings August 5, 2026 13:50

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Copilot was unable to review this pull request because the user who requested the review has reached their quota limit.

@datadog-datadog-us1-prod

datadog-datadog-us1-prod Bot commented Aug 5, 2026

Copy link
Copy Markdown

Pipelines

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

@dd-octo-sts

dd-octo-sts Bot commented Aug 5, 2026

Copy link
Copy Markdown
Contributor

Benchmark Results (commit 6f88e7b)

Pipeline: https://gitlab.ddbuild.io/DataDog/apm-reliability/benchmarking-platform/-/pipelines/129156211 Commit: 6f88e7b6d09f93b2c397fae42b056a5022e496ac

⚠️ Significant outliers

  • 🔴 future-genetic (JDK 21): runtime +6.6% (2071→2207 ms)
  • 🟢 future-genetic (JDK 25): runtime -2.8% (2010→1953 ms)
  • 🔴 reactors (JDK 21): runtime +9.8% (15232→16725 ms)
Runtime details (per benchmark × JDK)
Benchmark JDK Latest Dev Δ (dev vs latest) Issues L/D
akka-uct 21 ✅ 10219 ms (21 iters) ✅ 10186 ms (21 iters) ≈ -0.3% (±11.1%) — / —
akka-uct 25 ✅ 8790 ms (24 iters) ✅ 8879 ms (24 iters) ≈ +1% (±9.8%) — / —
finagle-chirper 21 ✅ 5919 ms (33 iters) ✅ 5949 ms (33 iters) ≈ +0.5% (±25.3%) ⚠️ W:3 / ⚠️ W:3
finagle-chirper 25 ✅ 5386 ms (36 iters) ✅ 5396 ms (36 iters) ≈ +0.2% (±23.2%) ⚠️ W:3 / ⚠️ W:3
fj-kmeans 21 ✅ 2836 ms (66 iters) ✅ 2815 ms (66 iters) ≈ -0.7% (±2.5%) — / —
fj-kmeans 25 ✅ 2833 ms (66 iters) ✅ 2830 ms (66 iters) ≈ -0.1% (±2.5%) — / —
future-genetic 21 ✅ 2071 ms (89 iters) ✅ 2207 ms (85 iters) 🔴 +6.6% — / —
future-genetic 25 ✅ 2010 ms (93 iters) ✅ 1953 ms (95 iters) 🟢 -2.8% — / —
naive-bayes 21 ✅ 1255 ms (136 iters) ✅ 1286 ms (134 iters) ≈ +2.5% (±32.9%) — / —
naive-bayes 25 ✅ 1019 ms (168 iters) ✅ 1025 ms (167 iters) ≈ +0.6% (±31.7%) — / —
reactors 21 ✅ 15232 ms (15 iters) ✅ 16725 ms (15 iters) 🔴 +9.8% — / —
reactors 25 ✅ 18622 ms (15 iters) ✅ 18587 ms (15 iters) ≈ -0.2% (±3.8%) — / —
Internal counter details (ddprof)

ddprof internal counters, latest / dev (✅ = 0, · = unavailable):

Benchmark JDK Dropped rec Dropped jvmti Dropped trace Skipped WC AGCT fail Unwind fail
akka-uct 21 ✅ / ✅ ✅ / ✅ 1 / 2 1905 / 1876 ✅ / ✅ ✅ / ✅
akka-uct 25 ✅ / ✅ ✅ / ✅ 4 / 2 2402 / 2252 ✅ / ✅ ✅ / ✅
finagle-chirper 21 ✅ / ✅ ✅ / ✅ 2 / 4 8945 / 8625 ✅ / ✅ ✅ / ✅
finagle-chirper 25 ✅ / ✅ ✅ / ✅ 2 / ✅ 8294 / 8537 ✅ / ✅ ✅ / ✅
fj-kmeans 21 ✅ / ✅ ✅ / ✅ 3 / 2 1284 / 1270 ✅ / ✅ ✅ / ✅
fj-kmeans 25 ✅ / ✅ ✅ / ✅ 2 / ✅ 1282 / 1275 ✅ / ✅ ✅ / ✅
future-genetic 21 ✅ / ✅ ✅ / ✅ 1 / 2 2890 / 3095 ✅ / ✅ ✅ / ✅
future-genetic 25 ✅ / ✅ ✅ / ✅ 1 / 3 2973 / 2977 ✅ / ✅ ✅ / ✅
naive-bayes 21 ✅ / ✅ ✅ / ✅ 1 / 2 3509 / 3533 ✅ / ✅ ✅ / ✅
naive-bayes 25 ✅ / ✅ ✅ / ✅ 1 / 2 3481 / 3481 ✅ / ✅ ✅ / ✅
reactors 21 ✅ / ✅ ✅ / ✅ 1 / ✅ 1454 / 1741 ✅ / ✅ ✅ / ✅
reactors 25 ✅ / ✅ ✅ / ✅ 1 / ✅ 1876 / 1894 ✅ / ✅ ✅ / ✅

…pe presence detection

Stock jfr summary misparses ddprof's multi-chunk JFR output and silently
reports datadog.* event types as unregistered even when real events are
present, causing false VALIDATION_FAILED results in CI.
Copilot AI review requested due to automatic review settings August 5, 2026 15:00

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Copilot was unable to review this pull request because the user who requested the review has reached their quota limit.

…uery

groupBy(...) | top(5, by=sum(weight)) isn't valid JfrPath grammar (by=
expects a plain field, not a nested aggregate call) and threw a parse
error on every run. Sort within groupBy via sortBy=value instead.
Copilot AI review requested due to automatic review settings August 5, 2026 15:05

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Copilot was unable to review this pull request because the user who requested the review has reached their quota limit.

@dd-octo-sts

dd-octo-sts Bot commented Aug 5, 2026

Copy link
Copy Markdown
Contributor

Benchmark Results (commit 32a6229)

Pipeline: https://gitlab.ddbuild.io/DataDog/apm-reliability/benchmarking-platform/-/pipelines/129181687 Commit: 32a622939804ab5e934ab0e81a062a2055f33320

⚠️ Significant outliers

  • 🔴 future-genetic (JDK 21): runtime +3.9% (2038→2117 ms)
Runtime details (per benchmark × JDK)
Benchmark JDK Latest Dev Δ (dev vs latest) Issues L/D
akka-uct 21 ✅ 10298 ms (21 iters) ✅ 10212 ms (21 iters) ≈ -0.8% (±10.3%) — / —
akka-uct 25 ✅ 8847 ms (24 iters) ✅ 8839 ms (24 iters) ≈ -0.1% (±8.9%) — / —
finagle-chirper 21 ✅ 5873 ms (33 iters) ✅ 5879 ms (33 iters) ≈ +0.1% (±24.8%) ⚠️ W:3 / ⚠️ W:3
finagle-chirper 25 ✅ 5430 ms (36 iters) ✅ 5436 ms (36 iters) ≈ +0.1% (±24.2%) ⚠️ W:3 / ⚠️ W:3
fj-kmeans 21 ✅ 2840 ms (66 iters) ✅ 2831 ms (66 iters) ≈ -0.3% (±2.5%) — / —
future-genetic 21 ✅ 2038 ms (90 iters) ✅ 2117 ms (88 iters) 🔴 +3.9% — / —
future-genetic 25 ✅ 1992 ms (94 iters) ✅ 2018 ms (92 iters) ≈ +1.3% (±2.7%) — / —
naive-bayes 21 ✅ 1280 ms (134 iters) ✅ 1267 ms (134 iters) ≈ -1% (±32.5%) — / —
naive-bayes 25 ✅ 1019 ms (168 iters) ✅ 988 ms (173 iters) ≈ -3% (±31.2%) — / —
reactors 21 ✅ 16267 ms (15 iters) ✅ 15484 ms (15 iters) ≈ -4.8% (±7.2%) — / —
reactors 25 ✅ 18278 ms (15 iters) ✅ 18623 ms (15 iters) ≈ +1.9% (±5.3%) — / —
Internal counter details (ddprof)

ddprof internal counters, latest / dev (✅ = 0, · = unavailable):

Benchmark JDK Dropped rec Dropped jvmti Dropped trace Skipped WC AGCT fail Unwind fail
akka-uct 21 ✅ / ✅ ✅ / ✅ 1 / 1 1984 / 2047 ✅ / ✅ ✅ / ✅
akka-uct 25 ✅ / ✅ ✅ / ✅ 1 / ✅ 2399 / 2196 ✅ / ✅ ✅ / ✅
finagle-chirper 21 ✅ / ✅ ✅ / ✅ 1 / 1 8513 / 8239 ✅ / ✅ ✅ / ✅
finagle-chirper 25 ✅ / ✅ ✅ / ✅ 3 / ✅ 8312 / 8679 ✅ / ✅ ✅ / ✅
fj-kmeans 21 ✅ / ✅ ✅ / ✅ 7 / 2 1300 / 1269 ✅ / ✅ ✅ / ✅
fj-kmeans 25 ✅ / ✅ ✅ / ✅ ✅ / 2 1279 / 1289 ✅ / ✅ ✅ / ✅
future-genetic 21 ✅ / ✅ ✅ / ✅ ✅ / 3 2917 / 2999 ✅ / ✅ ✅ / ✅
future-genetic 25 ✅ / ✅ ✅ / ✅ 1 / 1 2996 / 2948 ✅ / ✅ ✅ / ✅
naive-bayes 21 ✅ / ✅ ✅ / ✅ 2 / 6 3470 / 3473 ✅ / ✅ ✅ / ✅
naive-bayes 25 ✅ / ✅ ✅ / ✅ 5 / 2 3482 / 3478 ✅ / ✅ ✅ / ✅
reactors 21 ✅ / ✅ ✅ / ✅ 2 / ✅ 1582 / 1548 ✅ / ✅ ✅ / ✅
reactors 25 ✅ / ✅ ✅ / ✅ 1 / ✅ 1843 / 1894 ✅ / ✅ ✅ / ✅

@jbachorik
jbachorik marked this pull request as ready for review August 6, 2026 08:06
@jbachorik
jbachorik requested a review from a team as a code owner August 6, 2026 08:06

@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: 32a6229398

ℹ️ 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 thread .gitlab/dd-trace-integration/post-pr-comment.sh Outdated
…t pipeline

set -e was aborting post-pr-comment.sh before the real test-outcome exit code
was reached whenever the GitHub API call failed, masking passing test runs.

Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
Copilot AI review requested due to automatic review settings August 6, 2026 08:26

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Copilot was unable to review this pull request because the user who requested the review has reached their quota limit.

@dd-octo-sts

dd-octo-sts Bot commented Aug 6, 2026

Copy link
Copy Markdown
Contributor

Benchmark Results (commit da00902)

Pipeline: https://gitlab.ddbuild.io/DataDog/apm-reliability/benchmarking-platform/-/pipelines/129343192 Commit: da00902c07d9e903ed7cef23c2a8c2b9a1b479c6

✅ Within expected boundaries

No significant runtime deltas (all within run-to-run noise) and no internal-counter outliers.

Runtime details (per benchmark × JDK)
Benchmark JDK Latest Dev Δ (dev vs latest) Issues L/D
akka-uct 21 ✅ 10141 ms (21 iters) ✅ 10150 ms (21 iters) ≈ +0.1% (±9.7%) — / —
akka-uct 25 ✅ 8853 ms (24 iters) ✅ 8739 ms (24 iters) ≈ -1.3% (±9%) — / —
finagle-chirper 21 ✅ 5945 ms (33 iters) ✅ 5948 ms (33 iters) ≈ +0.1% (±25.9%) ⚠️ W:3 / ⚠️ W:3
finagle-chirper 25 ✅ 5449 ms (36 iters) ✅ 5391 ms (36 iters) ≈ -1.1% (±23.3%) ⚠️ W:3 / ⚠️ W:3
fj-kmeans 21 ✅ 2827 ms (66 iters) ✅ 2851 ms (66 iters) ≈ +0.8% (±2.5%) — / —
fj-kmeans 25 ✅ 2781 ms (68 iters) ✅ 2840 ms (66 iters) ≈ +2.1% (±2.7%) — / —
future-genetic 21 ✅ 2090 ms (89 iters) ✅ 2067 ms (89 iters) ≈ -1.1% (±2.5%) — / —
future-genetic 25 ✅ 1938 ms (95 iters) ✅ 1930 ms (96 iters) ≈ -0.4% (±2.5%) — / —
naive-bayes 21 ✅ 1263 ms (135 iters) ✅ 1261 ms (136 iters) ≈ -0.2% (±32.6%) — / —
naive-bayes 25 ✅ 971 ms (175 iters) ✅ 999 ms (171 iters) ≈ +2.9% (±32.2%) — / —
reactors 21 ✅ 15558 ms (15 iters) ✅ 15536 ms (15 iters) ≈ -0.1% (±7.1%) — / —
Internal counter details (ddprof)

ddprof internal counters, latest / dev (✅ = 0, · = unavailable):

Benchmark JDK Dropped rec Dropped jvmti Dropped trace Skipped WC AGCT fail Unwind fail
akka-uct 21 ✅ / ✅ ✅ / ✅ 1 / 3 1916 / 1960 ✅ / ✅ ✅ / ✅
akka-uct 25 ✅ / ✅ ✅ / ✅ 4 / 3 2111 / 2347 ✅ / ✅ ✅ / ✅
finagle-chirper 21 ✅ / ✅ ✅ / ✅ 5 / 4 8340 / 8189 ✅ / ✅ ✅ / ✅
finagle-chirper 25 ✅ / ✅ ✅ / ✅ 1 / ✅ 8385 / 8404 ✅ / ✅ ✅ / ✅
fj-kmeans 21 ✅ / ✅ ✅ / ✅ ✅ / 1 1286 / 1279 ✅ / ✅ ✅ / ✅
fj-kmeans 25 ✅ / ✅ ✅ / ✅ 3 / 2 1293 / 1276 ✅ / ✅ ✅ / ✅
future-genetic 21 ✅ / ✅ ✅ / ✅ 1 / 1 2996 / 2930 ✅ / ✅ ✅ / ✅
future-genetic 25 ✅ / ✅ ✅ / ✅ 3 / 1 2867 / 2882 ✅ / ✅ ✅ / ✅
naive-bayes 21 ✅ / ✅ ✅ / ✅ 3 / 6 3510 / 3497 ✅ / ✅ ✅ / ✅
naive-bayes 25 ✅ / ✅ ✅ / ✅ 5 / 10 3443 / 3481 ✅ / ✅ ✅ / ✅
reactors 21 ✅ / ✅ ✅ / ✅ 1 / 1 1626 / 1476 ✅ / ✅ ✅ / ✅
reactors 25 ✅ / ✅ ✅ / ✅ 2 / ✅ 1847 / 1818 ✅ / ✅ ✅ / ✅

@jbachorik
jbachorik merged commit 623dc35 into main Aug 6, 2026
185 of 188 checks passed
@jbachorik
jbachorik deleted the fix/reliability branch August 6, 2026 09:54
@github-actions github-actions Bot added this to the 1.49.0 milestone Aug 6, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants