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

Flaky Windows error when running multiple rattler-build runs in parallel #1318

Open
traversaro opened this issue Jan 9, 2025 · 1 comment

Comments

@traversaro
Copy link

I am running multiple rattler-build invocation at the same time, and some time the build fails with:

Error:
  × Failed to resolve dependencies: failed to persist temporary repodata.json file
  ├─▶ failed to persist temporary repodata.json file
  ├─▶ failed to persist temporary file: Access is denied. (os error 5)
  ╰─▶ Access is denied. (os error 5)

restarting both rattler-build invocations at different times tipically solves this.

@wolfv
Copy link
Member

wolfv commented Jan 9, 2025

Yes, I think the problem is the indexing in rattler-build. We should use the same file-locking mechanisms that we use e.g. in the repodata cache to make sure only one of the two processes writes a new repodata.json file.

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

No branches or pull requests

2 participants