Add timeout for dpkg frontend lock#100653
Conversation
|
Tagging subscribers to this area: @dotnet/runtime-infrastructure |
|
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 |
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.
* 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.
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