Skip to content

Revert "[Remote Store] Fix sleep time bug during remote store sync (#…#14274

Merged
reta merged 1 commit intoopensearch-project:mainfrom
gbbafna:flaky-it-revert
Jun 13, 2024
Merged

Revert "[Remote Store] Fix sleep time bug during remote store sync (#…#14274
reta merged 1 commit intoopensearch-project:mainfrom
gbbafna:flaky-it-revert

Conversation

@gbbafna
Copy link
Copy Markdown
Contributor

@gbbafna gbbafna commented Jun 13, 2024

…14037)"

This reverts commit afeddc2.

Issue : #14270

Description

The PR introduced flaky test #14270

Related Issues

Resolves #14270

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.

…pensearch-project#14037)"

This reverts commit afeddc2.

Signed-off-by: Gaurav Bafna <gbbafna@amazon.com>
@gbbafna gbbafna marked this pull request as ready for review June 13, 2024 15:58
@github-actions github-actions bot added bug Something isn't working flaky-test Random test failure that succeeds on second run Storage:Remote labels Jun 13, 2024
@github-actions
Copy link
Copy Markdown
Contributor

❌ Gradle check result for 2699ce4: 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?

@github-actions
Copy link
Copy Markdown
Contributor

❕ Gradle check result for 30aac19: 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.

@codecov
Copy link
Copy Markdown

codecov bot commented Jun 13, 2024

Codecov Report

Attention: Patch coverage is 0% with 1 line in your changes missing coverage. Please review.

Project coverage is 71.68%. Comparing base (b15cb0c) to head (30aac19).
Report is 421 commits behind head on main.

Files Patch % Lines
...in/java/org/opensearch/index/shard/IndexShard.java 0.00% 1 Missing ⚠️
Additional details and impacted files
@@             Coverage Diff              @@
##               main   #14274      +/-   ##
============================================
+ Coverage     71.42%   71.68%   +0.26%     
- Complexity    59978    62045    +2067     
============================================
  Files          4985     5117     +132     
  Lines        282275   291688    +9413     
  Branches      40946    42167    +1221     
============================================
+ Hits         201603   209096    +7493     
- Misses        63999    65351    +1352     
- Partials      16673    17241     +568     

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

@reta reta merged commit 71dbc22 into opensearch-project:main Jun 13, 2024
@reta reta added the backport 2.x Backport to 2.x branch label Jun 13, 2024
@opensearch-trigger-bot
Copy link
Copy Markdown
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-14274-to-2.x
# Cherry-pick the merged commit of this pull request and resolve the conflicts
git cherry-pick -x --mainline 1 71dbc22da2bde2af9786eb47943400e98bad7cbe
# Push it to GitHub
git push --set-upstream origin backport/backport-14274-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-14274-to-2.x.

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 bug Something isn't working flaky-test Random test failure that succeeds on second run skip-changelog Storage:Remote

Projects

Status: ✅ Done

Development

Successfully merging this pull request may close these issues.

[BUG] org.opensearch.remotemigration.RemoteStoreMigrationTestCase.testEndToEndRemoteMigration is flaky

2 participants