Skip to content

Fix cron job ITs by using jdk17 as the runtime_jdk#17544

Merged
abhishekrb19 merged 3 commits intoapache:masterfrom
Akshat-Jain:fix-cron-job-its
Dec 6, 2024
Merged

Fix cron job ITs by using jdk17 as the runtime_jdk#17544
abhishekrb19 merged 3 commits intoapache:masterfrom
Akshat-Jain:fix-cron-job-its

Conversation

@Akshat-Jain
Copy link
Copy Markdown
Contributor

Description

Since #17466, the cron job ITs have been broken because they use runtime_jdk: 21.0.4: https://github.com/apache/druid/actions/runs/12078401498/job/33683001077.

Error:

$DRUID_INTEGRATION_TEST_JVM_RUNTIME is set with value 21.0.4
Invalid JVM Runtime given. Stopping

This is because docker_build_containers.sh is checking for Java version 21, but we are using 21.0.4, and hence it errors out.

Adding 21.0.4 in the if-condition won't help, since there's no openjdk:21.0.4-slim-buster image.

This PR changes runtime_jdk to 17 to fix the cron job ITs for now. We can revisit this later on exploring other possible options for which docker image to use for 21.0.4.


This PR has:

  • been self-reviewed.
  • added documentation for new or modified features or behaviors.
  • a release note entry in the PR description.
  • added Javadocs for most classes and all non-trivial methods. Linked related entities via Javadoc links.
  • added or updated version, license, or notice information in licenses.yaml
  • added comments explaining the "why" and the intent of the code wherever would not be obvious for an unfamiliar reader.
  • added unit tests or modified existing tests to cover new code paths, ensuring the threshold for code coverage is met.
  • added integration tests.
  • been tested in a test Druid cluster.

@github-actions github-actions Bot added the GHA label Dec 6, 2024
Comment thread .github/workflows/cron-job-its.yml
Copy link
Copy Markdown
Contributor

@abhishekrb19 abhishekrb19 left a comment

Choose a reason for hiding this comment

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

thanks!

@abhishekrb19 abhishekrb19 merged commit b114807 into apache:master Dec 6, 2024
@adarshsanjeev adarshsanjeev added this to the 32.0.0 milestone Jan 16, 2025
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.

3 participants