Skip to content

Conversation

@kkewwei
Copy link
Contributor

@kkewwei kkewwei commented Mar 20, 2025

Description

When we call the code, the cluster manager is being removed from cluster, it will happen in internalCluster().nonClusterManagerClient() or getClusterManagerNode():
https://github.com/opensearch-project/OpenSearch/blob/main/server/src/internalClusterTest/java/org/opensearch/cluster/SpecificClusterManagerNodesIT.java#L63C9-L79C10

Related Issues

Resolves #15944 #16015

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.

@github-actions
Copy link
Contributor

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

@kkewwei kkewwei force-pushed the fix_testElectOnlyBetweenClusterManagerNodes branch from eb0a6a8 to 91b5b6d Compare March 20, 2025 06:05
@github-actions
Copy link
Contributor

❌ Gradle check result for 91b5b6d: 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?

@kkewwei
Copy link
Contributor Author

kkewwei commented Mar 21, 2025

@gaobinlon, could you review it in your spare time.

@github-actions
Copy link
Contributor

❕ Gradle check result for 91b5b6d: UNSTABLE

  • TEST FAILURES:
      1 org.opensearch.snapshots.DedicatedClusterSnapshotRestoreIT.testSnapshotWithStuckNode

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

codecov bot commented Mar 21, 2025

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 72.45%. Comparing base (af5835f) to head (91b5b6d).
Report is 263 commits behind head on main.

Additional details and impacted files
@@            Coverage Diff            @@
##               main   #17640   +/-   ##
=========================================
  Coverage     72.44%   72.45%           
+ Complexity    65732    65707   -25     
=========================================
  Files          5311     5311           
  Lines        305011   305011           
  Branches      44232    44232           
=========================================
+ Hits         220969   220983   +14     
+ Misses        65967    65905   -62     
- Partials      18075    18123   +48     

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

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

@andrross andrross merged commit c472314 into opensearch-project:main Mar 24, 2025
31 checks passed
bzhangam pushed a commit to bzhangam/OpenSearch that referenced this pull request Mar 25, 2025
opensearch-trigger-bot bot pushed a commit that referenced this pull request May 16, 2025
…terManagerNodes (#17640)

Signed-off-by: kkewwei <[email protected]>
Signed-off-by: kkewwei <[email protected]>
(cherry picked from commit c472314)
Signed-off-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
andrross pushed a commit that referenced this pull request May 16, 2025
…terManagerNodes (#17640) (#18323)

(cherry picked from commit c472314)

Signed-off-by: kkewwei <[email protected]>
Signed-off-by: kkewwei <[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>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

autocut backport 2.19 flaky-test Random test failure that succeeds on second run >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 SpecificClusterManagerNodesIT

3 participants