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

Implement WithFieldName interface in ValuesSourceAggregationBuilder & FieldSortBuilder #15916

Merged
merged 1 commit into from
Sep 17, 2024

Conversation

dzane17
Copy link
Contributor

@dzane17 dzane17 commented Sep 12, 2024

Description

Implement WithFieldName interface in ValuesSourceAggregationBuilder & FieldSortBuilder

This is a continuation of #15705

Related Issues

Check List

  • Functionality includes testing.
  • API changes companion pull request created, if applicable.
  • Public documentation issue/PR created, if applicable.

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.

Copy link
Contributor

❌ Gradle check result for 89f2845: FAILURE

Please examine the workflow log, locate, and copy-paste the failure(s) below, then iterate to green. Is the failure a flaky test unrelated to your change?

Copy link
Contributor

❕ Gradle check result for 95fff6b: UNSTABLE

Please review all flaky tests that succeeded after retry and create an issue if one does not already exist to track the flaky failure.

Copy link

codecov bot commented Sep 12, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 71.87%. Comparing base (c709400) to head (ca04f8c).
Report is 6 commits behind head on main.

Additional details and impacted files
@@             Coverage Diff              @@
##               main   #15916      +/-   ##
============================================
- Coverage     71.93%   71.87%   -0.06%     
+ Complexity    64374    64305      -69     
============================================
  Files          5277     5277              
  Lines        300828   300830       +2     
  Branches      43474    43474              
============================================
- Hits         216411   216233     -178     
- Misses        66725    66834     +109     
- Partials      17692    17763      +71     

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

@dzane17 dzane17 changed the title Implement WithFieldName interface in ValuesSourceAggregationBuilder Implement WithFieldName interface in ValuesSourceAggregationBuilder & FieldSortBuilder Sep 12, 2024
@dzane17 dzane17 added the backport 2.x Backport to 2.x branch label Sep 12, 2024
Copy link
Contributor

❕ Gradle check result for 57dbbd0: UNSTABLE

  • TEST FAILURES:
      1 org.opensearch.snapshots.DedicatedClusterSnapshotRestoreIT.testSnapshotWithStuckNode
      1 org.opensearch.gateway.RecoveryFromGatewayIT.testReuseInFileBasedPeerRecovery
      1 org.opensearch.cluster.MinimumClusterManagerNodesIT.testThreeNodesNoClusterManagerBlock

Please review all flaky tests that succeeded after retry and create an issue if one does not already exist to track the flaky failure.

Copy link
Contributor

❌ Gradle check result for 090247f: FAILURE

Please examine the workflow log, locate, and copy-paste the failure(s) below, then iterate to green. Is the failure a flaky test unrelated to your change?

Copy link
Contributor

❌ Gradle check result for ca04f8c: FAILURE

Please examine the workflow log, locate, and copy-paste the failure(s) below, then iterate to green. Is the failure a flaky test unrelated to your change?

@jainankitk
Copy link
Collaborator

❌ Gradle check result for ca04f8c: FAILURE

Please examine the workflow log, locate, and copy-paste the failure(s) below, then iterate to green. Is the failure a flaky test unrelated to your change?

Unrelated flaky test:

[Test Result](https://build.ci.opensearch.org/job/gradle-check/47888/testReport/) (1 failure / -1)

    [org.opensearch.telemetry.metrics.TelemetryMetricsEnabledSanityIT.testGauge](https://build.ci.opensearch.org/job/gradle-check/47888/testReport/junit/org.opensearch.telemetry.metrics/TelemetryMetricsEnabledSanityIT/testGauge/)

@jainankitk
Copy link
Collaborator

Related to #15953

Copy link
Contributor

❌ Gradle check result for ca04f8c: null

Please examine the workflow log, locate, and copy-paste the failure(s) below, then iterate to green. Is the failure a flaky test unrelated to your change?

@jainankitk
Copy link
Collaborator

❌ Gradle check result for ca04f8c: null

Please examine the workflow log, locate, and copy-paste the failure(s) below, then iterate to green. Is the failure a flaky test unrelated to your change?

More flaky tests:

[Test Result](https://build.ci.opensearch.org/job/gradle-check/47890/testReport/) (2 failures / +1)

    [org.opensearch.remotestore.RemoteStoreStatsIT.testDownloadStatsCorrectnessSinglePrimaryMultipleReplicaShards](https://build.ci.opensearch.org/job/gradle-check/47890/testReport/junit/org.opensearch.remotestore/RemoteStoreStatsIT/testDownloadStatsCorrectnessSinglePrimaryMultipleReplicaShards/)
    [org.opensearch.index.IndexServiceTests.testAsyncTranslogTrimTaskOnClosedIndex](https://build.ci.opensearch.org/job/gradle-check/47890/testReport/junit/org.opensearch.index/IndexServiceTests/testAsyncTranslogTrimTaskOnClosedIndex/)

@jainankitk
Copy link
Collaborator

Related to #14310

@jainankitk
Copy link
Collaborator

Related to #14407

Copy link
Contributor

❌ Gradle check result for ca04f8c: FAILURE

Please examine the workflow log, locate, and copy-paste the failure(s) below, then iterate to green. Is the failure a flaky test unrelated to your change?

@jainankitk
Copy link
Collaborator

❌ Gradle check result for ca04f8c: FAILURE

Please examine the workflow log, locate, and copy-paste the failure(s) below, then iterate to green. Is the failure a flaky test unrelated to your change?

Seems the failing tests were fixed as part of #15859:

[Test Result](https://build.ci.opensearch.org/job/gradle-check/47894/testReport/) (2 failures / +1)

    [org.opensearch.rest.ReactorNetty4StreamingStressIT.testCloseClientStreamingRequest](https://build.ci.opensearch.org/job/gradle-check/47894/testReport/junit/org.opensearch.rest/ReactorNetty4StreamingStressIT/testCloseClientStreamingRequest/)
    [org.opensearch.rest.ReactorNetty4StreamingStressIT.classMethod](https://build.ci.opensearch.org/job/gradle-check/47894/testReport/junit/org.opensearch.rest/ReactorNetty4StreamingStressIT/classMethod/)

@dzane17 - Can you merge from latest main branch?

Copy link
Contributor

❌ Gradle check result for ca04f8c: FAILURE

Please examine the workflow log, locate, and copy-paste the failure(s) below, then iterate to green. Is the failure a flaky test unrelated to your change?

@dzane17
Copy link
Contributor Author

dzane17 commented Sep 17, 2024

@jainankitk The branch is up to date including that flaky test PR 15859

Copy link
Contributor

❕ Gradle check result for ca04f8c: UNSTABLE

Please review all flaky tests that succeeded after retry and create an issue if one does not already exist to track the flaky failure.

@jainankitk jainankitk merged commit 7c427d9 into opensearch-project:main Sep 17, 2024
34 checks passed
@dzane17 dzane17 deleted the with-field-name branch September 17, 2024 22:29
@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:

# Navigate to the root of your repository
cd $(git rev-parse --show-toplevel)
# Fetch latest updates from GitHub
git fetch
# Create a new working tree
git worktree add ../.worktrees/OpenSearch/backport-2.x 2.x
# Navigate to the new working tree
pushd ../.worktrees/OpenSearch/backport-2.x
# Create a new branch
git switch --create backport/backport-15916-to-2.x
# Cherry-pick the merged commit of this pull request and resolve the conflicts
git cherry-pick -x --mainline 1 7c427d9fd588597343654d2f534952f7116d1df4
# Push it to GitHub
git push --set-upstream origin backport/backport-15916-to-2.x
# Go back to the original working tree
popd
# Delete the working tree
git worktree remove ../.worktrees/OpenSearch/backport-2.x

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

dzane17 added a commit to dzane17/OpenSearch that referenced this pull request Sep 18, 2024
… FieldSortBuilder (opensearch-project#15916)

Signed-off-by: David Zane <davizane@amazon.com>
(cherry picked from commit 7c427d9)
dzane17 added a commit to dzane17/OpenSearch that referenced this pull request Sep 18, 2024
… FieldSortBuilder (opensearch-project#15916)

Signed-off-by: David Zane <davizane@amazon.com>
(cherry picked from commit 7c427d9)
sachinpkale pushed a commit to sachinpkale/OpenSearch that referenced this pull request Sep 19, 2024
… FieldSortBuilder (opensearch-project#15916)

Signed-off-by: David Zane <davizane@amazon.com>
dzane17 added a commit to dzane17/OpenSearch that referenced this pull request Sep 19, 2024
… FieldSortBuilder (opensearch-project#15916)

Signed-off-by: David Zane <davizane@amazon.com>
(cherry picked from commit 7c427d9)
jainankitk pushed a commit that referenced this pull request Sep 19, 2024
… FieldSortBuilder (#15916) (#15970)

Signed-off-by: David Zane <davizane@amazon.com>
(cherry picked from commit 7c427d9)
dk2k pushed a commit to dk2k/OpenSearch that referenced this pull request Oct 16, 2024
… FieldSortBuilder (opensearch-project#15916)

Signed-off-by: David Zane <davizane@amazon.com>
dk2k pushed a commit to dk2k/OpenSearch that referenced this pull request Oct 17, 2024
… FieldSortBuilder (opensearch-project#15916)

Signed-off-by: David Zane <davizane@amazon.com>
dk2k pushed a commit to dk2k/OpenSearch that referenced this pull request Oct 21, 2024
… FieldSortBuilder (opensearch-project#15916)

Signed-off-by: David Zane <davizane@amazon.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-failed
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants