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

Failed to remove directory lock /home/runner/.proto/bin/.lock #17

Open
jfinch-pp opened this issue Dec 5, 2024 · 1 comment
Open

Failed to remove directory lock /home/runner/.proto/bin/.lock #17

jfinch-pp opened this issue Dec 5, 2024 · 1 comment
Assignees

Comments

@jfinch-pp
Copy link

We're using this action in a number of our workflows, and we're frequently hitting lock-related panics when restoring from the tooling cache. Our flows are usually multi-stage and use parallel running for things like test suites, so we've broken the initial action run out into it's own dependent job, this has reduced the frequency of the issue, but when we've got a block of parallel jobs we hit the issue.

Retrying the job will often fix the issue.

 Error: 
  × Main thread panicked.
  ├─▶ at /home/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/
  │   starbase_utils-0.8.13/src/fs_lock.rs:53:13
  ╰─▶ Failed to remove directory lock /home/runner/.proto/bin/.lock: Failed to
      remove path ~/.proto/bin/.lock.
  help: set the `RUST_BACKTRACE=1` environment variable to display a
        backtrace.

For reference, here's our workflow graph:

image

I'll have a look at this myself when I get a minute, but if there's an immediate fix please let me know.

@milesj milesj self-assigned this Dec 5, 2024
@milesj
Copy link
Contributor

milesj commented Dec 5, 2024

@jfinch-pp This is weird. Can you set PROTO_LOG=trace in the pipeline and see if the logs uncover anything else.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

No branches or pull requests

2 participants