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 retry to bootstrap for windows related workflows #2047

Merged
merged 3 commits into from
Jul 24, 2024

Conversation

derek-ho
Copy link
Collaborator

@derek-ho derek-ho commented Jul 19, 2024

Description

CI checks for integration and unit tests often fail on windows due to network issues. I created a new release of the setup opensearch dashboards action that retries network related actions. This consumes it in security dashboards repo.

Category

Enhancement

Why these changes are required?

Fix: #2046

What is the old behavior before changes and new behavior after changes?

Download steps are retried on failures now, before they weren't.

Issues Resolved

Fix: #2046

Testing

Existing tests pass

Check List

  • New functionality includes testing
  • New functionality has been documented
  • Commits are signed per the DCO using --signoff

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.

@derek-ho derek-ho added the backport 2.x backport to 2.x branch label Jul 19, 2024
Copy link

codecov bot commented Jul 24, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 69.46%. Comparing base (cc7623a) to head (39380b4).

Additional details and impacted files
@@           Coverage Diff           @@
##             main    #2047   +/-   ##
=======================================
  Coverage   69.46%   69.46%           
=======================================
  Files          96       96           
  Lines        2597     2597           
  Branches      379      386    +7     
=======================================
  Hits         1804     1804           
  Misses        699      699           
  Partials       94       94           

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

@derek-ho derek-ho marked this pull request as ready for review July 24, 2024 18:25
@derek-ho
Copy link
Collaborator Author

This run: https://github.com/opensearch-project/security-dashboards-plugin/actions/runs/10082047527/job/27875428537?pr=2047 shows that it is actually retrying windows network failures

@derek-ho derek-ho merged commit 3d99901 into opensearch-project:main Jul 24, 2024
19 checks passed
@derek-ho derek-ho deleted the retry-bootstrap branch July 24, 2024 19:04
opensearch-trigger-bot bot pushed a commit that referenced this pull request Jul 24, 2024
* Add the retry in composite action and bump version

Signed-off-by: Derek Ho <[email protected]>

* Bump to v3 with retry support

Signed-off-by: Derek Ho <[email protected]>

---------

Signed-off-by: Derek Ho <[email protected]>
(cherry picked from commit 3d99901)
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
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[FEATURE] Retry Bootstrap Step for OSD
3 participants