Skip to content

Run JDK 21 workflows with 21.0.4.#17458

Merged
gianm merged 3 commits intoapache:masterfrom
gianm:jdk21-pin-version
Nov 7, 2024
Merged

Run JDK 21 workflows with 21.0.4.#17458
gianm merged 3 commits intoapache:masterfrom
gianm:jdk21-pin-version

Conversation

@gianm
Copy link
Copy Markdown
Contributor

@gianm gianm commented Nov 7, 2024

To work around #17429, run our JDK 21 workflows with version 21.0.4. It does not appear to have this problem.

To work around apache#17429, run our JDK 21 workflows with
version 21.0.4. It does not appear to have this problem.
Comment thread .github/workflows/standard-its.yml Outdated
fail-fast: false
matrix:
jdk: [8, 17, 21]
jdk: ['8', '17', '21.0.4']
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.

May want to update this check as well with the more specific 21.0.4 JDK version - https://github.com/apache/druid/blob/master/integration-tests/script/docker_build_containers.sh#L29

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

that image is not affected as its runs a pretty old version:

savara:~$ docker run --rm -it openjdk:21-slim-buster /bin/bash -c 'java -version'
openjdk version "21-ea" 2023-09-19
OpenJDK Runtime Environment (build 21-ea+26-2328)
OpenJDK 64-Bit Server VM (build 21-ea+26-2328, mixed mode, sharing)

I don't see any more recent images here

so I think we should leave this as-is for now...

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

I've unpatched this file for now - wdyt?

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

Sounds OK to me.

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.

Sounds reasonable to me

@gianm
Copy link
Copy Markdown
Contributor Author

gianm commented Nov 7, 2024

The JDK 21 unit tests passed. I've added some comments to link back to #17429 and pushed again. If they pass again, that's a good sign, and I'll merge this.

@gianm gianm merged commit d816216 into apache:master Nov 7, 2024
@gianm gianm deleted the jdk21-pin-version branch November 7, 2024 18:53
jtuglu1 pushed a commit to jtuglu1/druid that referenced this pull request Nov 20, 2024
* Run JDK 21 workflows with 21.0.4.

To work around apache#17429, run our JDK 21 workflows with
version 21.0.4. It does not appear to have this problem.

* Undo changes in standard-its.yml

* Add comments.

---------

Co-authored-by: Zoltan Haindrich <kirk@rxd.hu>
clintropolis pushed a commit to clintropolis/druid that referenced this pull request Nov 22, 2024
* Run JDK 21 workflows with 21.0.4.

To work around apache#17429, run our JDK 21 workflows with
version 21.0.4. It does not appear to have this problem.

* Undo changes in standard-its.yml

* Add comments.

---------

Co-authored-by: Zoltan Haindrich <kirk@rxd.hu>
clintropolis added a commit that referenced this pull request Nov 22, 2024
* Run JDK 21 workflows with 21.0.4.

To work around #17429, run our JDK 21 workflows with
version 21.0.4. It does not appear to have this problem.

* Undo changes in standard-its.yml

* Add comments.

---------

Co-authored-by: Gian Merlino <gianmerlino@gmail.com>
Co-authored-by: Zoltan Haindrich <kirk@rxd.hu>
@adarshsanjeev adarshsanjeev added this to the 32.0.0 milestone Jan 16, 2025
gianm added a commit to gianm/druid that referenced this pull request Feb 3, 2025
clintropolis pushed a commit that referenced this pull request Feb 3, 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.

5 participants