Comments (1)
Hi @YngveNPettersen,
This is an interesting issue you raise here. This incompatibility/annoyance is due to a small protocol change that has happened over the last year. It used to be the case that the Action Cache was only supposed to hold ActionResult entries for actions that completed successfully (exit_code == 0).
At some point, people started to discuss whether this restriction was smart. There are use cases outside of Bazel/Goma/... in which you do want such failures to be cached. The Remote Execution protocol also doesn't document such a restriction in the first place, meaning that Bazel was simply being too strict. Links:
bazelbuild/bazel#7137
https://gitlab.com/BuildGrid/buildgrid/issues/151
https://groups.google.com/forum/#!msg/bazel-discuss/kuRjYFfhDd0/y-Y5nfN1EAAJ
This eventually got resolved by patching up Bazel to allow and ignore such entries:
It looks like Goma needs to be patched up similarly. Feel free to send a PR to the Goma developers, linking to this issue. I will close this issue for the time being, because I don't think there is anything actionable on the Buildbarn side.
from bb-remote-execution.
Related Issues (20)
- Failed to build bb-remote-execution on Windows HOT 2
- Service resolution via Consul HOT 1
- BuildBarn always resolves symlinks to origin files HOT 9
- Buildbarn allows action to write under user home directory HOT 2
- Support remote persistent workers HOT 1
- Is it possible to allow for the setting of priorities or weights for workers? HOT 3
- Empty input directories are omitted HOT 6
- Queued operations does not seem to be sorted HOT 2
- Clean up queue is not sorted HOT 2
- Autoscaling workers based on queue size HOT 10
- Document whether this is secure against malicious clients HOT 15
- worker/runner does not handle command with `./` in front of the command name HOT 6
- Allow runners to have multiple platform configurations HOT 2
- Instance name lost when ExecuteRequest arrives in scheduler HOT 6
- Scheduler does not reschedule on Internal Errors HOT 5
- Scheduler should report action as Executing when it starts, instead of waiting until ExecutionUpdateInterval
- Scheduller validation breaks after docker image: 20210430T150052Z-ed1e2f4 HOT 2
- Building bb_runner and bb_worker fails on Mac M1/arm64 HOT 16
- RequestMetadata extraction does not work with Bazel HOT 2
- scheduler handles workers above maximum size poorly HOT 6
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from bb-remote-execution.