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

[BUG] Gradle Check Failed on Windows due to JDK19 pulling by gradle #5188

Merged
merged 1 commit into from
Nov 10, 2022

Conversation

reta
Copy link
Collaborator

@reta reta commented Nov 9, 2022

Signed-off-by: Andriy Redko andriy.redko@aiven.io

Description

The internal plugin incorrectly assumes binaries for Windows (the issue was always present but only recently started to manifest itself because if gradle/gradle@75eb1b7

Issues Resolved

Closes #5181

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 reta added bug Something isn't working skip-changelog labels Nov 9, 2022
@reta reta requested a review from a team as a code owner November 9, 2022 22:11
build.gradle Outdated
@@ -398,6 +399,10 @@ gradle.projectsEvaluated {
allprojects {
project.tasks.withType(JavaForkOptions) {
maxHeapSize project.property('options.forkOptions.memoryMaximumSize')
// Temporary workaround to ublock the builds (see https://github.com/gradle/gradle/issues/22659)
if (OperatingSystem.current().isWindows()) {
executable null
Copy link
Collaborator Author

@reta reta Nov 9, 2022

Choose a reason for hiding this comment

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

@dblock I have not yet figured out what the cause is (why the incorrect executable is being wired in) and working on that, @peterzhuamazon if you need to unblock Windows builds, please go ahead (if it could wait for a proper fix in place, even better).

Copy link
Member

@dblock dblock left a comment

Choose a reason for hiding this comment

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

If this unblocks it, let it be.

@github-actions
Copy link
Contributor

github-actions bot commented Nov 9, 2022

Gradle Check (Jenkins) Run Completed with:

@github-actions
Copy link
Contributor

github-actions bot commented Nov 9, 2022

Gradle Check (Jenkins) Run Completed with:

@codecov-commenter
Copy link

Codecov Report

Merging #5188 (e672769) into main (3423f44) will decrease coverage by 0.12%.
The diff coverage is n/a.

❗ Current head e672769 differs from pull request most recent head 3a1e22b. Consider uploading reports for the commit 3a1e22b to get more accurate results

@@             Coverage Diff              @@
##               main    #5188      +/-   ##
============================================
- Coverage     71.05%   70.93%   -0.13%     
+ Complexity    58248    58154      -94     
============================================
  Files          4708     4708              
  Lines        277559   277559              
  Branches      40189    40189              
============================================
- Hits         197229   196878     -351     
- Misses        64246    64569     +323     
- Partials      16084    16112      +28     
Impacted Files Coverage Δ
...n/indices/forcemerge/ForceMergeRequestBuilder.java 0.00% <0.00%> (-75.00%) ⬇️
...adonly/AddIndexBlockClusterStateUpdateRequest.java 0.00% <0.00%> (-75.00%) ⬇️
...readonly/TransportVerifyShardIndexBlockAction.java 9.75% <0.00%> (-58.54%) ⬇️
.../java/org/opensearch/node/NodeClosedException.java 50.00% <0.00%> (-50.00%) ⬇️
...a/org/opensearch/tasks/TaskCancelledException.java 50.00% <0.00%> (-50.00%) ⬇️
...ch/transport/ReceiveTimeoutTransportException.java 50.00% <0.00%> (-50.00%) ⬇️
...adcast/BroadcastShardOperationFailedException.java 33.33% <0.00%> (-44.45%) ⬇️
...nsearch/rest/action/cat/RestCatRecoveryAction.java 43.61% <0.00%> (-42.56%) ⬇️
.../admin/cluster/reroute/ClusterRerouteResponse.java 60.00% <0.00%> (-40.00%) ⬇️
...indices/readonly/TransportAddIndexBlockAction.java 20.68% <0.00%> (-37.94%) ⬇️
... and 486 more

Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here.

@reta reta force-pushed the issue-5181 branch 2 times, most recently from 57efc04 to 5cd46f6 Compare November 9, 2022 23:33
@reta
Copy link
Collaborator Author

reta commented Nov 9, 2022

@dblock @peterzhuamazon we are good to go with permanent fix, thanks guys

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

github-actions bot commented Nov 9, 2022

Gradle Check (Jenkins) Run Completed with:

@github-actions
Copy link
Contributor

github-actions bot commented Nov 9, 2022

Gradle Check (Jenkins) Run Completed with:

Copy link
Member

@peterzhuamazon peterzhuamazon left a comment

Choose a reason for hiding this comment

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

Thanks @reta for this and I also learned a bit about these plugins.
❤️

@github-actions
Copy link
Contributor

github-actions bot commented Nov 9, 2022

Gradle Check (Jenkins) Run Completed with:

@github-actions
Copy link
Contributor

Gradle Check (Jenkins) Run Completed with:

@reta reta merged commit 650039c into opensearch-project:main Nov 10, 2022
@reta reta added backport 2.x Backport to 2.x branch backport 2.4 Backport to 2.4 branch labels Nov 10, 2022
opensearch-trigger-bot bot pushed a commit that referenced this pull request Nov 10, 2022
…5188)

Signed-off-by: Andriy Redko <andriy.redko@aiven.io>

Signed-off-by: Andriy Redko <andriy.redko@aiven.io>
(cherry picked from commit 650039c)
Signed-off-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
opensearch-trigger-bot bot pushed a commit that referenced this pull request Nov 10, 2022
…5188)

Signed-off-by: Andriy Redko <andriy.redko@aiven.io>

Signed-off-by: Andriy Redko <andriy.redko@aiven.io>
(cherry picked from commit 650039c)
Signed-off-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
dblock pushed a commit that referenced this pull request Nov 10, 2022
…5188) (#5192)

Signed-off-by: Andriy Redko <andriy.redko@aiven.io>

Signed-off-by: Andriy Redko <andriy.redko@aiven.io>
(cherry picked from commit 650039c)
Signed-off-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>

Signed-off-by: Andriy Redko <andriy.redko@aiven.io>
Signed-off-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
reta pushed a commit that referenced this pull request Nov 10, 2022
…5188) (#5191)

Signed-off-by: Andriy Redko <andriy.redko@aiven.io>

Signed-off-by: Andriy Redko <andriy.redko@aiven.io>
(cherry picked from commit 650039c)
Signed-off-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>

Signed-off-by: Andriy Redko <andriy.redko@aiven.io>
Signed-off-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
backport 2.x Backport to 2.x branch backport 2.4 Backport to 2.4 branch bug Something isn't working skip-changelog
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[BUG] Gradle Check Failed on Windows due to JDK19 pulling by gradle
4 participants