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

Upgrade gradle to 8.5 #2470

Closed
wants to merge 7 commits into from

Conversation

derek-ho
Copy link
Collaborator

@derek-ho derek-ho commented Jan 11, 2024

Description

Autocuts seem to be failing with the following error: Could not open settings generic class cache for settings file '/tmp/tmpe5afgno0/sql/settings.gradle' (/home/ci-runner/.gradle/caches/7.6.1/scripts/9ay5uc1kgv3krvoxgzbw9z61y).

BUG! exception in phase 'semantic analysis' in source unit 'BuildScript' Unsupported class file major version 65.

Indicating incompatibility between gradle and jdk 21 - which is now being used to build opensearch 3. https://github.com/opensearch-project/opensearch-build/blob/main/manifests/3.0.0/opensearch-3.0.0.yml#L9. Confirmed this to be the case by checking compatibility page: https://docs.gradle.org/current/userguide/compatibility.html stating that Java 21 is compatible with 8.4 and 8.5. Bumping to 8.5 to be consistent with core/security plugin.

Issues Resolved

[List any issues this PR will resolve]

Check List

  • New functionality includes testing.
    • All tests pass, including unit test, integration test and doctest
  • New functionality has been documented.
    • New functionality has javadoc added
    • New functionality has user manual doc added
  • Commits are signed per the DCO using --signoff

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.

Signed-off-by: Derek Ho <[email protected]>
Signed-off-by: Derek Ho <[email protected]>
Signed-off-by: Derek Ho <[email protected]>
@derek-ho
Copy link
Collaborator Author

Potentially fix: #1392, #2326

Copy link

codecov bot commented Jan 11, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Comparison is base (efb159a) 95.41% compared to head (4f7ace6) 95.41%.

Additional details and impacted files
@@            Coverage Diff            @@
##               main    #2470   +/-   ##
=========================================
  Coverage     95.41%   95.41%           
  Complexity     5000     5000           
=========================================
  Files           479      479           
  Lines         13950    13950           
  Branches        937      937           
=========================================
  Hits          13310    13310           
  Misses          618      618           
  Partials         22       22           
Flag Coverage Δ
sql-engine 95.41% <ø> (ø)

Flags with carried forward coverage won't be shown. Click here to find out more.

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@derek-ho
Copy link
Collaborator Author

Might also be related to query workbench/dashboards observability autocuts

@vamsimanohar
Copy link
Member

Merged PR with upgrade to 8.4. So closing this PR.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants