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

Fixing flaky test testRemoteIndexPathFileExistsAfterMigration #15977

Merged
merged 2 commits into from
Sep 23, 2024

Conversation

astute-decipher
Copy link
Contributor

@astute-decipher astute-decipher commented Sep 18, 2024

Description

Fixing flaky testRemoteIndexPathFileExistsAfterMigration IT. We currently have a hard check on remote-index-path file, and this is resulting into flakiness when indexMetadata changes across runs. We can have a bit lighter check and we can check if indexUUID exists in path file name instead of indexUUID#indexMetadataVersion#RemoteIndexPathVersion. Sample file name : remote_path_0kxx2-Y3RqGi9KfxXzqd9A#6#1#zB8i07rPTIWMbYZCgHp0Kg

Related Issues

Resolves #14295

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.

@astute-decipher astute-decipher self-assigned this Sep 18, 2024
Copy link
Contributor

❌ Gradle check result for 6e0d4f2: 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 090c296: 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 090c296: 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?

Shubh Sahu added 2 commits September 23, 2024 11:04
Copy link
Contributor

✅ Gradle check result for a61bf9e: SUCCESS

Copy link

codecov bot commented Sep 23, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 71.96%. Comparing base (036f6bc) to head (a61bf9e).
Report is 1 commits behind head on main.

Additional details and impacted files
@@             Coverage Diff              @@
##               main   #15977      +/-   ##
============================================
+ Coverage     71.92%   71.96%   +0.04%     
+ Complexity    64400    64353      -47     
============================================
  Files          5281     5281              
  Lines        300995   300995              
  Branches      43479    43479              
============================================
+ Hits         216491   216617     +126     
+ Misses        66793    66614     -179     
- Partials      17711    17764      +53     

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

@gbbafna gbbafna merged commit 1343367 into opensearch-project:main Sep 23, 2024
34 checks passed
opensearch-trigger-bot bot pushed a commit that referenced this pull request Sep 23, 2024
Signed-off-by: Shubh Sahu <[email protected]>
(cherry picked from commit 1343367)
Signed-off-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
@github-actions github-actions bot added >test-failure Test failure from CI, local build, etc. autocut flaky-test Random test failure that succeeds on second run Storage:Remote labels Sep 23, 2024
gbbafna pushed a commit that referenced this pull request Sep 24, 2024
#16033)

(cherry picked from commit 1343367)

Signed-off-by: Shubh Sahu <[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>
ruai0511 pushed a commit to ruai0511/OpenSearch that referenced this pull request Oct 4, 2024
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
autocut backport 2.x Backport to 2.x branch flaky-test Random test failure that succeeds on second run skip-changelog Storage:Remote >test-failure Test failure from CI, local build, etc.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[AUTOCUT] Gradle Check Flaky Test Report for RemoteMigrationIndexMetadataUpdateIT
2 participants