BuildStream build fails if the CAS is missing blobs
Summary
- Using buildstream with a remote execution server as a remote cache (buildbarn in this case)
- BuildStream will fail outright if it tries to pull an artifact with missing blobs.
Steps to reproduce
- Failure here: https://gitlab.com/freedesktop-sdk/freedesktop-sdk/-/jobs/488420199
- This has been reported here as well: celduin/infrastructure/celduin-infra#37 (closed)
What is the current bug behavior?
- Build fails because a blob is missing
What is the expected correct behavior?
- Build should continue (building locally) even if that cache is not present
- I guess this can be configurable though (is, never use cache, always use cache is present, fallback to build local, etc)
Possible fixes:
- Not sure. If BuildStream is implementing the remote-apis correctly, maybe the problem is actually in the server side (buildbarn) ?
Relevant logs and/or screenshots
Edited by Javier Jardón