Add timeout for dpkg frontend lock#100653
Merged
LoopedBard3 merged 8 commits intodotnet:mainfrom Apr 9, 2024
Merged
Conversation
Contributor
|
Tagging subscribers to this area: @dotnet/runtime-infrastructure |
Contributor
|
This looks good, do you happen to know what the other dpkg process is that is holding the lock? One thing we could maybe do to give us this information would be to add |
caaavik-msft
approved these changes
Apr 5, 2024
Contributor
caaavik-msft
left a comment
There was a problem hiding this comment.
It's good to merge as it is, but have left comments for other improvements if you think they sound good.
matouskozak
pushed a commit
to matouskozak/runtime
that referenced
this pull request
Apr 30, 2024
* Add wait for the bpkg lock to be unlocked, up to 2 minutes. * Add a printout for the file that is holding the dpkg lock-frontend so we can further investigate in the future. * Adding a printout that prints that we are still waiting to make when we continued more clear.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Add timeout for dpkg frontend lock as our cloud VM tests occasionally fail due to not being able to get a lock on the file when trying to apt install.
Run with failure example: https://dev.azure.com/dnceng/internal/_build/results?buildId=2422504&view=results
Test run: https://dev.azure.com/dnceng/internal/_build/results?buildId=2422036&view=results