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 install mingw #1636

Merged
merged 1 commit into from
Jan 31, 2023
Merged

Conversation

helsaawy
Copy link
Contributor

Integration test often fails because of mingw installation failure, which in turn appears to be a web-request issues.
Adding rety and backoff/sleep to resolve issue.

Signed-off-by: Hamza El-Saawy hamzaelsaawy@microsoft.com

@helsaawy helsaawy requested a review from a team as a code owner January 30, 2023 23:21
@helsaawy helsaawy force-pushed the integration-test-mingw branch 6 times, most recently from e2ecb06 to 2cd4d6a Compare January 31, 2023 16:54
Integration test often fails because of mingw installation failure,
which in turn appears to be a web-request issues.
Adding rety and backoff/sleep to resolve issue.

Signed-off-by: Hamza El-Saawy <hamzaelsaawy@microsoft.com>

Signed-off-by: Hamza El-Saawy <hamzaelsaawy@microsoft.com>
Write-Output 'Install mingw'
# Install sometimes fails when downloading mingw zip from source-forge with:
# "ERROR: The remote file either doesn't exist, is unauthorized, or is forbidden for url"
# Issue is with accessing from source-forge, which version 10.3+ do not use, but cannot upgrade versions.
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Not sure I understand this sentence. Are you saying that we can't update to 10.3+?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

yeah, the integration tests fail when running the race detector
https://github.com/microsoft/hcsshim/actions/runs/4050036368/jobs/6967108412
it may be fixed in newer go versions, but for now i want to hold the version to avoid mucking around with the tests

@helsaawy helsaawy merged commit d310213 into microsoft:main Jan 31, 2023
@helsaawy helsaawy deleted the integration-test-mingw branch January 31, 2023 19:50
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