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

Force push on a release branch causes race conditions due to concurrent pipelines #511

Open
alalazo opened this issue May 15, 2023 · 0 comments

Comments

@alalazo
Copy link
Member

alalazo commented May 15, 2023

If a release branch in Spack is force-pushed, when a pipeline for it is still running, that currently triggers a second pipeline that is not synchronized with the first one. Example:

This caused a bunch of sha256sum errors due to race conditions among pipelines. Canceling the first pipeline, for some reason, didn't cancel all the jobs.

Additional notes

If two pipelines are running and pushing concurrently to the same buildcache, that gives us no guarantee on the final state of the buildcache1

Footnotes

  1. For instance, the second pipeline might be ✔️ but the buildcache be inconsistent and have some packages pushed ultimately by the first pipeline.

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

1 participant