Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

OpenJDK Update (April 2023 Patch releases) #7344

Merged
merged 1 commit into from
Jun 1, 2023

Conversation

reta
Copy link
Collaborator

@reta reta commented May 1, 2023

Description

OpenJDK Update (April 2023 Patch releases): OpenJDK 20.0.1 / 17.0.7+7 / 11.0.19+7

Related Issues

Resolves #[7252], depends on opensearch-project/opensearch-build#3457

Check List

  • New functionality includes testing.
    • All tests pass
  • New functionality has been documented.
    • New functionality has javadoc added
  • Commits are signed per the DCO using --signoff
  • Commit changes are listed out in CHANGELOG.md file (See: Changelog)

By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.
For more information on following Developer Certificate of Origin and signing off your commits, please check here.

@reta
Copy link
Collaborator Author

reta commented May 1, 2023

Keeping a draft for now, Linux/ppc64le is not yet released

@reta reta added the dependencies Pull requests that update a dependency file label May 1, 2023
@github-actions
Copy link
Contributor

github-actions bot commented May 1, 2023

Gradle Check (Jenkins) Run Completed with:

@github-actions
Copy link
Contributor

github-actions bot commented May 1, 2023

Gradle Check (Jenkins) Run Completed with:

@github-actions
Copy link
Contributor

github-actions bot commented May 2, 2023

Gradle Check (Jenkins) Run Completed with:

@github-actions
Copy link
Contributor

github-actions bot commented May 5, 2023

Gradle Check (Jenkins) Run Completed with:

@github-actions
Copy link
Contributor

Gradle Check (Jenkins) Run Completed with:

@github-actions
Copy link
Contributor

Gradle Check (Jenkins) Run Completed with:

@peterzhuamazon
Copy link
Member

Still waiting: https://adoptium.net/temurin/releases/?version=20

@reta
Copy link
Collaborator Author

reta commented May 29, 2023

@dblock @peterzhuamazon not so good news [1], the Linux/ppc64le, Linux/s390x, Linux/arm32 and AIX/ppc64 won't be released for 20.0.1+9, I will try to preserve the older one for those while moving everything else to JDK-20.0.1+9

[1] adoptium/temurin-build#3371

@github-actions
Copy link
Contributor

Gradle Check (Jenkins) Run Completed with:

@github-actions
Copy link
Contributor

Gradle Check (Jenkins) Run Completed with:

@github-actions
Copy link
Contributor

Gradle Check (Jenkins) Run Completed with:

@github-actions
Copy link
Contributor

Gradle Check (Jenkins) Run Completed with:

@github-actions
Copy link
Contributor

Gradle Check (Jenkins) Run Completed with:

  • RESULT: UNSTABLE ❕
  • TEST FAILURES:
      1 org.opensearch.search.backpressure.SearchBackpressureIT.testSearchTaskCancellationWithHighCpu

@codecov
Copy link

codecov bot commented May 29, 2023

Codecov Report

Merging #7344 (43a1831) into main (4df347c) will decrease coverage by 0.04%.
The diff coverage is 25.00%.

@@             Coverage Diff              @@
##               main    #7344      +/-   ##
============================================
- Coverage     70.81%   70.78%   -0.04%     
+ Complexity    56242    56238       -4     
============================================
  Files          4687     4687              
  Lines        266231   266241      +10     
  Branches      39095    39096       +1     
============================================
- Hits         188540   188448      -92     
- Misses        61685    61816     +131     
+ Partials      16006    15977      -29     
Impacted Files Coverage Δ
.../java/org/opensearch/gradle/JdkDownloadPlugin.java 37.50% <0.00%> (+1.23%) ⬆️
...a/org/opensearch/gradle/test/DistroTestPlugin.java 0.00% <ø> (ø)
.../opensearch/common/util/concurrent/BaseFuture.java 62.71% <ø> (ø)
.../java/org/opensearch/gradle/VersionProperties.java 53.06% <28.57%> (-8.05%) ⬇️

... and 478 files with indirect coverage changes

@reta reta marked this pull request as ready for review May 29, 2023 21:22
@reta reta requested a review from dbwiddis as a code owner May 29, 2023 21:22
@reta
Copy link
Collaborator Author

reta commented May 30, 2023

@dblock mind checking this one? I would like to publish new Apache Lucene snaphots after with:

@peterzhuamazon
Copy link
Member

So @reta how do we move forward at this point?
Switch back to nightly builds of 20?
Thanks.

@reta
Copy link
Collaborator Author

reta commented May 31, 2023

Switch back to nightly builds of 20?

@peterzhuamazon yes, when it is merged, we could use JDK-20 in 3.0.0 manifest

@reta
Copy link
Collaborator Author

reta commented Jun 1, 2023

@dblock @andrross mind taking a look? thank you

Signed-off-by: Andriy Redko <andriy.redko@aiven.io>
@github-actions
Copy link
Contributor

github-actions bot commented Jun 1, 2023

Gradle Check (Jenkins) Run Completed with:

  • RESULT: UNSTABLE ❕
  • TEST FAILURES:
      1 org.opensearch.search.backpressure.SearchBackpressureIT.testSearchTaskCancellationWithHighCpu
      1 org.opensearch.indices.replication.SegmentReplicationRelocationIT.testFlushAfterRelocation

@reta reta merged commit ecd0879 into opensearch-project:main Jun 1, 2023
@dhrubo-os
Copy link

dhrubo-os commented Jun 9, 2023

Just curious to know why are we updating to Java 20, when most updated gradle version 8.1.1 doesn't have support for it yet?

https://docs.gradle.org/current/userguide/compatibility.html

@reta
Copy link
Collaborator Author

reta commented Jun 9, 2023

Just curious to know why are we updating to Java 20, when most updated gradle version 8.1.1 doesn't have support for it yet?

@dhrubo-os 8.1.x supports JDK-20, there are issues with Kotlin DSL (afaik, [1]) which we are not affecting us anyhow

[1] gradle/gradle#23488

shiv0408 pushed a commit to Gaurav614/OpenSearch that referenced this pull request Apr 25, 2024
Signed-off-by: Andriy Redko <andriy.redko@aiven.io>
Signed-off-by: Shivansh Arora <hishiv@amazon.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
dependencies Pull requests that update a dependency file
Projects
None yet
Development

Successfully merging this pull request may close these issues.

6 participants