-
Notifications
You must be signed in to change notification settings - Fork 2k
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
[Segment Replication] Fix flaky test org.opensearch.indices.replication.SegmentReplicationSuiteIT #10721
Conversation
Signed-off-by: Rishikesh1159 <rishireddy1159@gmail.com>
Gradle Check (Jenkins) Run Completed with:
|
Signed-off-by: Rishikesh1159 <rishireddy1159@gmail.com>
Compatibility status:Checks if related components are compatible with change 7850dc8 Incompatible componentsSkipped componentsCompatible componentsCompatible components: [https://github.com/opensearch-project/asynchronous-search.git, https://github.com/opensearch-project/security-analytics.git, https://github.com/opensearch-project/observability.git, https://github.com/opensearch-project/notifications.git, https://github.com/opensearch-project/reporting.git, https://github.com/opensearch-project/job-scheduler.git, https://github.com/opensearch-project/opensearch-oci-object-storage.git, https://github.com/opensearch-project/sql.git, https://github.com/opensearch-project/common-utils.git, https://github.com/opensearch-project/custom-codecs.git, https://github.com/opensearch-project/neural-search.git, https://github.com/opensearch-project/security.git, https://github.com/opensearch-project/geospatial.git, https://github.com/opensearch-project/anomaly-detection.git, https://github.com/opensearch-project/ml-commons.git, https://github.com/opensearch-project/cross-cluster-replication.git, https://github.com/opensearch-project/index-management.git, https://github.com/opensearch-project/k-nn.git, https://github.com/opensearch-project/alerting.git, https://github.com/opensearch-project/performance-analyzer-rca.git, https://github.com/opensearch-project/performance-analyzer.git] |
Gradle Check (Jenkins) Run Completed with:
|
|
@Rishikesh1159 How was createIndex in setup causing failures? |
@mch2 I was not able to repro this but from the logs I see errors might be happening because of index not being closed, few errors from logs seems like they are affect of previous test's operation. I don't have conclusive evidence that this would resolve as it is not reproducible so added test logging to catch this if it happens next time. |
This doesn't make much sense to me, |
Gradle Check (Jenkins) Run Completed with:
|
Codecov ReportAttention:
Additional details and impacted files@@ Coverage Diff @@
## main #10721 +/- ##
============================================
+ Coverage 71.27% 71.44% +0.17%
- Complexity 59176 59316 +140
============================================
Files 4909 4911 +2
Lines 278429 278666 +237
Branches 40460 40528 +68
============================================
+ Hits 198443 199095 +652
+ Misses 63528 63018 -510
- Partials 16458 16553 +95 ☔ View full report in Codecov by Sentry. |
Gradle Check (Jenkins) Run Completed with:
|
Gradle Check (Jenkins) Run Completed with:
|
Gradle Check (Jenkins) Run Completed with:
|
import org.junit.Before; | ||
|
||
@OpenSearchIntegTestCase.ClusterScope(scope = OpenSearchIntegTestCase.Scope.SUITE, minNumDataNodes = 2) | ||
@TestLogging(reason = "Getting trace logs from replication package", value = "org.opensearch.indices.replication:TRACE") |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I am happy to merge a change that adds more logging so we can better root cause a source of failure; however, I don't think the others changes should be merged.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
+1 - @Rishikesh1159 mind making this update and we can add the test logging?
This PR is stalled because it has been open for 30 days with no activity. |
closing this in favor of #11977 |
Description
This PR fixes flaky test org.opensearch.indices.replication.SegmentReplicationSuiteIT by moving index creation out of setup.
Related Issues
Resolves #9499
Check List
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.