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

[Agent CI] Improve release pipeline stability #3868

Conversation

alexander-smolyakov
Copy link
Contributor

Issue description:
Recently we faced two issues with the release pipeline:

First issue:

The Sign Agent Assemblies (3rd Party Assemblies Signing) step could take up to 40 minutes this could cause cancel of the pipeline job due to a hit of time limitation. Current value for timeoutInMinutes is set to 60 minutes.

Second issue:

The Delete CodeSignSummary.md step could failed due to the following error:

##[error]Error: Failed rmRF: EPERM: operation not permitted, unlink 'D:\a\1\s\_layout\win-x64\CodeSignSummary-RandomGUID.md'

The issue itself seems to be intermittent since and related to the environment.

Fix description:
To fix the first issue we can increase timeoutInMinutes to make sure that the pipeline job would not be canceled by ADO after 60 minutes. For the second issue, we can set retryCountOnTaskFailure so ADO will retry the Delete CodeSignSummary.md step several times before failing the pipeline job.

Changelog:

  • build-jobs.yml: Increase default value for timeoutInMinutes from 60 to 120 minutes
  • signing.yml: Set retryCountOnTaskFailure to 4 for Delete CodeSignSummary.md pipeline step

- Increase default value for `timeoutInMinutes` from 60 to 120 minutes
- Set `retryCountOnTaskFailure` to 4 for `Delete CodeSignSummary.md` pipeline step
@alexander-smolyakov alexander-smolyakov added the misc Miscellaneous Changes label Jun 14, 2022
@alexander-smolyakov alexander-smolyakov requested review from mmrazik and a team June 14, 2022 08:29
@alexander-smolyakov alexander-smolyakov self-assigned this Jun 14, 2022
@alexander-smolyakov alexander-smolyakov merged commit ab84e30 into master Jun 14, 2022
@alexander-smolyakov alexander-smolyakov deleted the users/alexander-smolyakov/improve_release_pipeline_stability branch June 14, 2022 19:44
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
misc Miscellaneous Changes
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants