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

vcpkg failed to take the filesystem lock #10981

Closed
dbolduc opened this issue Mar 1, 2023 · 6 comments
Closed

vcpkg failed to take the filesystem lock #10981

dbolduc opened this issue Mar 1, 2023 · 6 comments
Labels
cpp: flake A test with false positives (failures that are not interesting) type: cleanup An internal cleanup or hygiene concern.

Comments

@dbolduc
Copy link
Member

dbolduc commented Mar 1, 2023

This is the same error as we saw in #4487, but I am opening a new issue because things have changed since then.

https://source.cloud.google.com/results/invocations/f92f1886-83ac-4375-a703-b64d8c1d1a6a

-------------------------------------------------
|   Configure CMake for bigquery's quickstart   |
-------------------------------------------------
ci/kokoro/macos/builds/quickstart-cmake.sh: line 65: error: Failed to take the filesystem lock on /Volumes/BuildData/tmpfs/src/vcpkg-quickstart/.vcpkg-root
    Resource busy: No such file or directory

Observations:

  • We use vcpkg in manifest mode. (Previous discussion said we were using classic mode.)
  • I could not find --feature-flags= anywhere in the vcpkg documentation. (We use it)
  • There was discussion of --x-wait-for-lock... but I can't find that in the documentation either.
@dbolduc dbolduc added type: cleanup An internal cleanup or hygiene concern. cpp: flake A test with false positives (failures that are not interesting) labels Mar 1, 2023
@devbww
Copy link
Contributor

devbww commented Apr 4, 2023

@dbolduc
Copy link
Member Author

dbolduc commented Jun 14, 2023

@coryan
Copy link
Contributor

coryan commented Jun 15, 2023

https://source.cloud.google.com/results/invocations/edc90747-99e7-4cb2-b761-97c0f9fb7e9e

I find it strange (maybe it will be significant), that this fails at first:

2023-06-15T11:15:47Z (+376s)
---------------------------------------
|   Compiling bigquery's quickstart   |
---------------------------------------
ci/kokoro/macos/builds/quickstart-cmake.sh: line 70: error: Failed to take the filesystem lock on /Volumes/BuildData/tmpfs/src/vcpkg-quickstart/.vcpkg-root
    Resource busy: No such file or directory
2023-06-15T11:15:47Z (+376s): Building bigquery's quickstart failed

and later succeeds:

2023-06-15T11:16:50Z (+439s)
---------------------------------
|   Building iam's quickstart   |
---------------------------------

2023-06-15T11:16:52Z (+441s)
--------------------------------------------
|   Configure CMake for iam's quickstart   |
--------------------------------------------

That indicates some kind of transient failure that we could prevent by a suitable retry.

@coryan
Copy link
Contributor

coryan commented Jun 15, 2023

@dbolduc
Copy link
Member Author

dbolduc commented Jun 16, 2023

@coryan
Copy link
Contributor

coryan commented Aug 30, 2023

We no longer use Kokoro, closing.

@coryan coryan closed this as completed Aug 30, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
cpp: flake A test with false positives (failures that are not interesting) type: cleanup An internal cleanup or hygiene concern.
Projects
None yet
Development

No branches or pull requests

3 participants