Skip to content

Add retry to install mingw#1636

Merged
helsaawy merged 1 commit intomicrosoft:mainfrom
helsaawy:integration-test-mingw
Jan 31, 2023
Merged

Add retry to install mingw#1636
helsaawy merged 1 commit intomicrosoft:mainfrom
helsaawy:integration-test-mingw

Conversation

@helsaawy
Copy link
Copy Markdown
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 [email protected]

@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 <[email protected]>

Signed-off-by: Hamza El-Saawy <[email protected]>
@helsaawy helsaawy force-pushed the integration-test-mingw branch from 2cd4d6a to 135be44 Compare January 31, 2023 17:43
Comment thread .github/workflows/ci.yml
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
Copy Markdown

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
Copy Markdown
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
kiashok pushed a commit to kiashok/hcsshim that referenced this pull request Oct 23, 2024
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 <[email protected]>
(cherry picked from commit d310213)
Signed-off-by: Kirtana Ashok <[email protected]>
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