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 test retries on Windows CI #475

Merged
merged 3 commits into from
Apr 7, 2022

Conversation

dagood
Copy link
Member

@dagood dagood commented Mar 14, 2022

This PR adds retries to the test portion of the Windows builds in CI, not just build. Test retries are a separate retry context, so the build won't have to also retry--hopefully this makes it so the AzDO job won't completely time out.

Better solutions are possible (skip specific tests in innerloop CI, break apart the test run into "never fail" and "retry" sections, improve Windows' reliability), but those are more difficult, and aren't sure to work. Adding blanket retries takes the pressure off until we can focus on Windows test reliability.

AzDO only allows retrying a failed job once all jobs in the stage have completed, so these retries will improve PR validation wall clock time. This also means a dev won't have to manually monitor their jobs to retry as soon as they can after a Windows flakiness issue shows up.

@dagood dagood requested a review from a team as a code owner March 14, 2022 23:41
eng/_core/cmd/build/build.go Outdated Show resolved Hide resolved
eng/_core/cmd/build/build.go Outdated Show resolved Hide resolved
@dagood
Copy link
Member Author

dagood commented Mar 25, 2022

@jaredpar @chsienki, can one of you take a look?

@dagood dagood merged commit 20d9986 into microsoft:microsoft/main Apr 7, 2022
@dagood dagood deleted the dev/dagood/win-test-retry branch April 7, 2022 17:52
dagood added a commit to dagood/go that referenced this pull request Apr 13, 2022
* Add test retries on Windows CI

* Delete unnecessary funcs, reject empty string, check earlier

* Fix test run: don't reuse cmd, remove redundant runCmd

Also replace '%v' with %q when possible.

(cherry picked from commit 20d9986)
dagood added a commit to dagood/go that referenced this pull request Apr 20, 2022
* Add test retries on Windows CI

* Delete unnecessary funcs, reject empty string, check earlier

* Fix test run: don't reuse cmd, remove redundant runCmd

Also replace '%v' with %q when possible.

(cherry picked from commit 20d9986)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants