Skip to content

Add test retries on Windows CI#475

Merged
dagood merged 3 commits into
microsoft:microsoft/mainfrom
dagood:dev/dagood/win-test-retry
Apr 7, 2022
Merged

Add test retries on Windows CI#475
dagood merged 3 commits into
microsoft:microsoft/mainfrom
dagood:dev/dagood/win-test-retry

Conversation

@dagood
Copy link
Copy Markdown
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
Comment thread eng/_core/cmd/build/build.go
Comment thread eng/_core/cmd/build/build.go Outdated
@dagood
Copy link
Copy Markdown
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