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

Add more wait time to assertBusy to fix RemoteFsTimestampAwareTranslo… #15865

Conversation

sachinpkale
Copy link
Member

@sachinpkale sachinpkale commented Sep 9, 2024

Description

  • RemoteFsTimestampAwareTranslogTests.testSimpleOperationsUpload test is flaky at assertion which checks for number of metadata files in remote translog after trimUnreferencedReaders is called.
  • As stale metadata files deletion happen in async manner, if the build server is overloaded, it can take time to actually delete the stale metadata files.
  • Ran the test locally for 1000+ times without any failures.
  • As part of this change, we are increasing assertBusy timeout.

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

github-actions bot commented Sep 9, 2024

✅ Gradle check result for b37ea44: SUCCESS

Copy link

codecov bot commented Sep 9, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 72.47%. Comparing base (503e6f0) to head (e2bbd19).
Report is 8 commits behind head on main.

Additional details and impacted files
@@             Coverage Diff              @@
##               main   #15865      +/-   ##
============================================
+ Coverage     71.94%   72.47%   +0.53%     
- Complexity    64224    64728     +504     
============================================
  Files          5272     5272              
  Lines        300538   300538              
  Branches      43432    43432              
============================================
+ Hits         216212   217806    +1594     
+ Misses        66575    65320    -1255     
+ Partials      17751    17412     -339     

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

…gTests.testSimpleOperationsUpload

Signed-off-by: Sachin Kale <[email protected]>
@sachinpkale sachinpkale force-pushed the testSimpleOperationsUpload-fix branch from b37ea44 to e2bbd19 Compare September 10, 2024 03:05
Copy link
Contributor

❕ Gradle check result for e2bbd19: 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
Contributor

❕ Gradle check result for e2bbd19: 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
Contributor

❕ Gradle check result for e2bbd19: UNSTABLE

  • TEST FAILURES:
      1 org.opensearch.remotestore.RemoteStoreStatsIT.testNonZeroPrimaryStatsOnNewlyCreatedIndexWithZeroDocs

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

@sachinpkale sachinpkale merged commit 92d7fe8 into opensearch-project:main Sep 11, 2024
58 of 60 checks passed
@sachinpkale sachinpkale added the backport 2.x Backport to 2.x branch label Sep 11, 2024
opensearch-trigger-bot bot pushed a commit that referenced this pull request Sep 11, 2024
…gTests.testSimpleOperationsUpload (#15865)

Signed-off-by: Sachin Kale <[email protected]>
(cherry picked from commit 92d7fe8)
Signed-off-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
sachinpkale pushed a commit that referenced this pull request Sep 12, 2024
…gTests.testSimpleOperationsUpload (#15865)

Signed-off-by: Sachin Kale <[email protected]>
(cherry picked from commit 92d7fe8)
Signed-off-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
sachinpkale pushed a commit that referenced this pull request Sep 12, 2024
…gTests.testSimpleOperationsUpload (#15865) (#15894)

(cherry picked from commit 92d7fe8)

Signed-off-by: Sachin Kale <[email protected]>
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>
dk2k pushed a commit to dk2k/OpenSearch that referenced this pull request Oct 16, 2024
dk2k pushed a commit to dk2k/OpenSearch that referenced this pull request Oct 17, 2024
dk2k pushed a commit to dk2k/OpenSearch that referenced this pull request Oct 21, 2024
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 skip-changelog
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants