Skip to content

Fix java9 module smoke test jlink on Gradle 9.5.1 - #11489

Merged
gh-worker-dd-mergequeue-cf854d[bot] merged 2 commits into
masterfrom
bdu/gradle9-java9-modules-jlink
May 28, 2026
Merged

Fix java9 module smoke test jlink on Gradle 9.5.1#11489
gh-worker-dd-mergequeue-cf854d[bot] merged 2 commits into
masterfrom
bdu/gradle9-java9-modules-jlink

Conversation

@bric3

@bric3bric3 commented May 28, 2026

Copy link
Copy Markdown
Contributor

What Does This Do

Gradle 9.x no longer resolves the bare exec {} call from the :dd-smoke-tests:java9-modules:testdoFirst action. This moves the jlink invocation to providers.exec, keeping the custom runtime-image setup on a Gradle-supported execution API.

Part of #10402 and #11272.

Motivation

Compatibility for Gradle 9.

Additional Notes

Validation used while preparing this branch:

  • ./gradlew :dd-smoke-tests:java9-modules:test -PtestJvm=11
  • ./gradlew :dd-smoke-tests:java9-modules:test -PtestJvm=17
  • ./gradlew :dd-smoke-tests:java9-modules:test -PtestJvm=21

Contributor Checklist

  • Format the title according to the contribution guidelines
  • Assign the type: and (comp: or inst:) labels in addition to any other useful labels
  • Avoid using close, fix, or any linking keywords when referencing an issue
    Use solves instead, and assign the PR milestone to the issue
  • Update the CODEOWNERS file on source file addition, migration, or deletion
  • Update public documentation with any new configuration flags or behaviors
  • Add your completed PR to the merge queue by commenting /merge. You can also:
    • Customize the commit message associated with the merge with /merge --commit-message "..."
    • Remove your PR from the merge queue with /merge -c
    • Skip all merge queue checks with /merge -f --reason "reason"; please use this judiciously, as some checks do not run at the PR-level
    • Get more information in this doc

Jira ticket: [PROJ-IDENT]

Gradle 9.5.1 no longer resolves the bare exec method from
the java9-modules Test.doFirst action. Use ProviderFactory.exec
to run jlink through Gradle's provider API so the smoke test
works on the Gradle 9.5.1 CI pipeline.
@bric3bric3 added type: bug fix Bug fix comp: tooling Build & Tooling tag: no release notes Changes to exclude from release notes tag: ai generated Largely based on code generated by an AI or LLM labels May 28, 2026 — with ChatGPT Codex Connector
This was referenced May 28, 2026
@bric3
bric3 marked this pull request as ready for review May 28, 2026 13:04
@bric3
bric3 requested a review from a team as a code ownerMay 28, 2026 13:04
@bric3
bric3 requested a review from mhliddMay 28, 2026 13:04
@dd-octo-sts

dd-octo-stsBot commented May 28, 2026

Copy link
Copy Markdown
Contributor

🟢 Java Benchmark SLOs — All performance SLOs passed

SuiteStatus
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

Startup Time

ScenarioThis PRmasterChange
insecure-bank / iast13,946 ms13,901 ms+0.3%
insecure-bank / tracing12,856 ms12,953 ms-0.7%
petclinic / appsec16,537 ms16,419 ms+0.7%
petclinic / iast16,419 ms16,553 ms-0.8%
petclinic / profiling16,465 ms16,596 ms-0.8%
petclinic / tracing15,770 ms15,648 ms+0.8%

Commit:9a2a98cc · 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.

@bric3
bric3 added this pull request to the merge queueMay 28, 2026
@dd-octo-sts

Copy link
Copy Markdown
Contributor

/merge

@gh-worker-devflow-routing-ef8351

gh-worker-devflow-routing-ef8351Bot commented May 28, 2026

Copy link
Copy Markdown

View all feedbacks in Devflow UI.

2026-05-28 13:55:31 UTC ℹ️ Start processing command /merge


2026-05-28 13:55:37 UTC ℹ️ MergeQueue: pull request added to the queue

The expected merge time in master is approximately 1h (p90).


2026-05-28 15:56:14 UTCMergeQueue: The build pipeline has timeout

The merge request has been interrupted because the build 106114704890939053 took longer than expected. The current limit for the base branch 'master' is 120 minutes.

@github-merge-queue
github-merge-queueBot removed this pull request from the merge queue due to failed status checks May 28, 2026
@bric3

Copy link
Copy Markdown
ContributorAuthor

/merge

@gh-worker-devflow-routing-ef8351

gh-worker-devflow-routing-ef8351Bot commented May 28, 2026

Copy link
Copy Markdown

View all feedbacks in Devflow UI.

2026-05-28 16:16:04 UTC ℹ️ Start processing command /merge


2026-05-28 16:16:09 UTC ℹ️ MergeQueue: pull request added to the queue

The expected merge time in master is approximately 1h (p90).


2026-05-28 17:02:03 UTCMergeQueue: This merge request was updated

This PR is rejected because it was updated

@datadog-prod-us1-3

This comment has been minimized.

@bric3
bric3 added this pull request to the merge queueMay 28, 2026
@github-merge-queue
github-merge-queueBot removed this pull request from the merge queue due to failed status checks May 28, 2026
@dd-octo-sts

Copy link
Copy Markdown
Contributor

/merge

@gh-worker-devflow-routing-ef8351

gh-worker-devflow-routing-ef8351Bot commented May 28, 2026

Copy link
Copy Markdown

View all feedbacks in Devflow UI.

2026-05-28 19:21:01 UTC ℹ️ Start processing command /merge


2026-05-28 19:21:06 UTC ℹ️ MergeQueue: pull request added to the queue

The expected merge time in master is approximately 1h (p90).


2026-05-28 20:29:38 UTC ℹ️ MergeQueue: This merge request was merged

@gh-worker-dd-mergequeue-cf854d
gh-worker-dd-mergequeue-cf854dBot merged commit 672972d into masterMay 28, 2026
758 of 761 checks passed
@gh-worker-dd-mergequeue-cf854d
gh-worker-dd-mergequeue-cf854dBot deleted the bdu/gradle9-java9-modules-jlink branch May 28, 2026 20:29
@github-actionsgithub-actionsBot added this to the 1.63.0 milestone May 28, 2026
Sign up for freeto join this conversation on GitHub. Already have an account? Sign in to comment

Labels

comp: toolingBuild & Toolingtag: ai generatedLargely based on code generated by an AI or LLMtag: no release notesChanges to exclude from release notestype: bug fixBug fix

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants

@bric3@AlexeyKuznetsov-DD