-
Notifications
You must be signed in to change notification settings - Fork 369
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
[Flake] vcpkg Failed to take the filesystem lock #4487
Comments
Seems to be related to microsoft/vcpkg#12286 (filed 2 days ago) and may be fixed in microsoft/vcpkg#12286 |
Cross-posted to microsoft/vcpkg#12286:
It looks like the file locking APIs we use are unavailable in a mapped docker volume. This looks like a straightforward case of "we should offer an environment variable to not take the lock". Users in docker could then pass |
This should be fixed by microsoft/vcpkg#12227. |
Fixes googleapis#4487 The flag was implemented by Microsoft in microsoft/vcpkg#12227, thanks to @strega-nil! I believe we were seeing this flake not because of multiple installs happening at once, but rather because the machines that run our docker tests were sometimes overloaded and running very slow and thus it sometimes took more than 1.5 sec to acquire the lock. This is just a hypothesis. But regardless, we're now passing `--x-wait-for-lock` to all of our `vcpkg install` invocations to avoid these flakes.
As pointed about above, this is fixed by microsoft/vcpkg#12227. Thanks to @strega-nil for the fix! |
Fixes #12190 Fixes #12208 Fixes #12234 Fixes #12286 Fixes #12315 Fixes #12186 Fixes #12331 Fixes googleapis/google-cloud-cpp#4487
In the
WindowsDocker quickstart cmake presubmit build:https://source.cloud.google.com/results/invocations/152e696f-0409-447d-bfe7-19c052095160/targets/cloud-cpp%2Fgithub%2Fgoogle-cloud-cpp%2Fmaster%2Fdocker%2Fquickstart-cmake-presubmit/log
The text was updated successfully, but these errors were encountered: