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

power changes for building with and without jdk #5950

Merged
merged 2 commits into from
Feb 7, 2023

Conversation

SonalMahambrey1
Copy link
Contributor

@SonalMahambrey1 SonalMahambrey1 commented Jan 20, 2023

Signed-off-by: Sonal Mahambrey [Sonal Mahambrey1 [email protected])

Description

Added changes to build snapshot for power with and without JDK

Issues Resolved

./gradlew :distribution:archives:linux-ppc64le-tar:assemble
The command used to create the snapshot without JDK and there was no support for creating snapshot with JDK

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.

@github-actions
Copy link
Contributor

Gradle Check (Jenkins) Run Completed with:

  • RESULT: UNSTABLE ❕
  • TEST FAILURES:
      1 org.opensearch.action.admin.indices.create.CreateIndexIT.testCreateAndDeleteIndexConcurrently
      1 org.opensearch.action.admin.indices.create.CreateIndexIT.classMethod

@reta
Copy link
Collaborator

reta commented Jan 20, 2023

@SonalMahambrey1 could you please fix DCO check and update CHANGELOG? Please check https://github.com/opensearch-project/OpenSearch/blob/main/CONTRIBUTING.md#developer-certificate-of-origin

@andrross
Copy link
Member

...and update CHANGELOG?

@reta I'm fine with skipping the CHANGELOG entry for a build-related change like this. What do you think?

@SonalMahambrey1
Copy link
Contributor Author

Added DCO

@dblock
Copy link
Member

dblock commented Jan 25, 2023

Added DCO

Looks like it's incorrect. Make sure you have a valid e-mail in your git config:

$ git config --global user.name "John Doe" 
$ git config --global user.email [email protected]

Then git commit --amend -s, then git push origin sonal-powerchanges -f.

Signed-off-by: Sonal-Mahambrey1 <[email protected]>
@github-actions
Copy link
Contributor

Gradle Check (Jenkins) Run Completed with:

@SonalMahambrey1
Copy link
Contributor Author

Gradle Check (Jenkins) Run Completed with:

Tests with failures:

  • org.opensearch.grok.GrokTests.testExponentialExpressions
  • org.opensearch.grok.GrokTests.classMethod
    Looks like both are failed due to timeout

org.opensearch.grok.GrokTests > testExponentialExpressions FAILED
java.lang.Exception: Test abandoned because suite timeout was reached.
at __randomizedtesting.SeedInfo.seed([64E6DC875A56E2FC]:0)

org.opensearch.grok.GrokTests > classMethod FAILED
java.lang.Exception: Suite timeout exceeded (>= 1200000 msec).
at __randomizedtesting.SeedInfo.seed([64E6DC875A56E2FC]:0)

@SonalMahambrey1
Copy link
Contributor Author

@dblock , @dbwiddis , kindly provide your comments and suggestions

@reta
Copy link
Collaborator

reta commented Feb 6, 2023

@dblock , @dbwiddis , kindly provide your comments and suggestions

LGTM, thanks @SonalMahambrey1 !

@github-actions
Copy link
Contributor

github-actions bot commented Feb 6, 2023

Gradle Check (Jenkins) Run Completed with:

@reta
Copy link
Collaborator

reta commented Feb 6, 2023

@SonalMahambrey1 could you please rebase?

@SonalMahambrey1
Copy link
Contributor Author

Done

@github-actions
Copy link
Contributor

github-actions bot commented Feb 7, 2023

Gradle Check (Jenkins) Run Completed with:

  • RESULT: UNSTABLE ❕
  • TEST FAILURES:
      1 org.opensearch.cluster.routing.allocation.decider.DiskThresholdDeciderIT.testIndexCreateBlockIsRemovedWhenAnyNodesNotExceedHighWatermark

@codecov-commenter
Copy link

Codecov Report

Merging #5950 (e265a1c) into main (ee8105b) will increase coverage by 0.20%.
The diff coverage is 100.00%.

📣 This organization is not using Codecov’s GitHub App Integration. We recommend you install it so Codecov can continue to function properly for your repositories. Learn more

@@             Coverage Diff              @@
##               main    #5950      +/-   ##
============================================
+ Coverage     70.64%   70.84%   +0.20%     
- Complexity    58656    58846     +190     
============================================
  Files          4780     4780              
  Lines        281380   281380              
  Branches      40635    40635              
============================================
+ Hits         198769   199348     +579     
+ Misses        66191    65649     -542     
+ Partials      16420    16383      -37     
Impacted Files Coverage Δ
...a/org/opensearch/extensions/ExtensionsManager.java 47.25% <100.00%> (-3.30%) ⬇️
...rch/test/junit/listeners/ReproduceInfoPrinter.java 9.52% <0.00%> (-68.26%) ⬇️
.../java/org/opensearch/node/NodeClosedException.java 50.00% <0.00%> (-50.00%) ⬇️
...ch/transport/ReceiveTimeoutTransportException.java 50.00% <0.00%> (-50.00%) ⬇️
.../java/org/opensearch/search/dfs/AggregatedDfs.java 51.61% <0.00%> (-45.17%) ⬇️
...pensearch/indices/breaker/CircuitBreakerStats.java 27.77% <0.00%> (-41.67%) ⬇️
...ensearch/discovery/InitializeExtensionRequest.java 0.00% <0.00%> (-40.00%) ⬇️
...ava/org/opensearch/search/dfs/DfsSearchResult.java 47.87% <0.00%> (-39.37%) ⬇️
...h/action/ingest/SimulateDocumentVerboseResult.java 60.71% <0.00%> (-39.29%) ⬇️
...n/admin/indices/readonly/AddIndexBlockRequest.java 35.71% <0.00%> (-35.72%) ⬇️
... and 496 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 merged commit 83dccad into opensearch-project:main Feb 7, 2023
@reta reta added backport 1.x backport 2.x Backport to 2.x branch backport 1.3 Backport to 1.3 branch backport 2.5 labels Feb 7, 2023
@opensearch-trigger-bot
Copy link
Contributor

The backport to 1.3 failed:

The process '/usr/bin/git' failed with exit code 128

To backport manually, run these commands in your terminal:

# Fetch latest updates from GitHub
git fetch
# Create a new working tree
git worktree add ../.worktrees/backport-1.3 1.3
# Navigate to the new working tree
pushd ../.worktrees/backport-1.3
# Create a new branch
git switch --create backport/backport-5950-to-1.3
# Cherry-pick the merged commit of this pull request and resolve the conflicts
git cherry-pick -x --mainline 1 83dccad312faa7d9350ffa6672e51d02d36ad06f
# Push it to GitHub
git push --set-upstream origin backport/backport-5950-to-1.3
# Go back to the original working tree
popd
# Delete the working tree
git worktree remove ../.worktrees/backport-1.3

Then, create a pull request where the base branch is 1.3 and the compare/head branch is backport/backport-5950-to-1.3.

@opensearch-trigger-bot
Copy link
Contributor

The backport to 1.x failed:

The process '/usr/bin/git' failed with exit code 128

To backport manually, run these commands in your terminal:

# Fetch latest updates from GitHub
git fetch
# Create a new working tree
git worktree add ../.worktrees/backport-1.x 1.x
# Navigate to the new working tree
pushd ../.worktrees/backport-1.x
# Create a new branch
git switch --create backport/backport-5950-to-1.x
# Cherry-pick the merged commit of this pull request and resolve the conflicts
git cherry-pick -x --mainline 1 83dccad312faa7d9350ffa6672e51d02d36ad06f
# Push it to GitHub
git push --set-upstream origin backport/backport-5950-to-1.x
# Go back to the original working tree
popd
# Delete the working tree
git worktree remove ../.worktrees/backport-1.x

Then, create a pull request where the base branch is 1.x and the compare/head branch is backport/backport-5950-to-1.x.

@opensearch-trigger-bot
Copy link
Contributor

The backport to 2.5 failed:

The process '/usr/bin/git' failed with exit code 128

To backport manually, run these commands in your terminal:

# Fetch latest updates from GitHub
git fetch
# Create a new working tree
git worktree add ../.worktrees/backport-2.5 2.5
# Navigate to the new working tree
pushd ../.worktrees/backport-2.5
# Create a new branch
git switch --create backport/backport-5950-to-2.5
# Cherry-pick the merged commit of this pull request and resolve the conflicts
git cherry-pick -x --mainline 1 83dccad312faa7d9350ffa6672e51d02d36ad06f
# Push it to GitHub
git push --set-upstream origin backport/backport-5950-to-2.5
# Go back to the original working tree
popd
# Delete the working tree
git worktree remove ../.worktrees/backport-2.5

Then, create a pull request where the base branch is 2.5 and the compare/head branch is backport/backport-5950-to-2.5.

@opensearch-trigger-bot
Copy link
Contributor

The backport to 2.x failed:

The process '/usr/bin/git' failed with exit code 128

To backport manually, run these commands in your terminal:

# Fetch latest updates from GitHub
git fetch
# Create a new working tree
git worktree add ../.worktrees/backport-2.x 2.x
# Navigate to the new working tree
pushd ../.worktrees/backport-2.x
# Create a new branch
git switch --create backport/backport-5950-to-2.x
# Cherry-pick the merged commit of this pull request and resolve the conflicts
git cherry-pick -x --mainline 1 83dccad312faa7d9350ffa6672e51d02d36ad06f
# Push it to GitHub
git push --set-upstream origin backport/backport-5950-to-2.x
# Go back to the original working tree
popd
# Delete the working tree
git worktree remove ../.worktrees/backport-2.x

Then, create a pull request where the base branch is 2.x and the compare/head branch is backport/backport-5950-to-2.x.

@reta
Copy link
Collaborator

reta commented Feb 7, 2023

@SonalMahambrey1 would you take care of backports please?

@andrross
Copy link
Member

andrross commented Feb 7, 2023

@reta Did we miss the backport for #5459?

@reta
Copy link
Collaborator

reta commented Feb 7, 2023

very likely :( I will take care of that, thanks a lot @andrross !

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