Comments (7)
I have a theory for what is happening and will attempt a fix.
from bazel.
@ivan-golub Can you provide a self-contained repro?
I tried building a trivial hello world cc_binary
with --features=compiler_param_file --experimental_execution_log_compact_file=log --disk_cache=disk --remote_download_toplevel
, but I don't see it; it doesn't matter if it's a cache hit or miss. I expect something else is required.
from bazel.
Hi @ivan-golub,
Can you please take a look into the above comment ?
from bazel.
Sure. will try to create a repro when I have a chance.
from bazel.
Also getting this for Go-related targets, but I cant reproduce it locally. We use remote caching in CI, but not locally. Bazel 7.1.0 and compiler_param_file
not explicitly set
WARNING: Exception java.io.FileNotFoundException: /mnt/ephemeral/output/__main__/execroot/__main__/bazel-out/k8-fastbuild/bin/cmd/gitserver/internal/gitserverfs/gitserverfs_test_/gitserverfs_test-0.params (No such file or directory) while logging properties of ActionSpawn for cmd/gitserver/internal/gitserverfs/gitserverfs_test_/gitserverfs_test
from bazel.
It makes sense to me that it would only occur when building against a disk/remote cache and without the bytes (as that's the only situation where some of the inputs might not exist on disk).
@Strum355 Are you able to reduce your Go build into a minimal reproducible example you can share? (even if it's non-deterministic and it takes a few runs to hit it)?
from bazel.
A fix for this issue has been included in Bazel 7.2.0 RC1. Please test out the release candidate and report any issues as soon as possible.
If you're using Bazelisk, you can point to the latest RC by setting USE_BAZEL_VERSION=7.2.0rc1. Thanks!
from bazel.
Related Issues (20)
- Cherry-pick fix to make Protobuf work with sibling repository layout into Bazel 7.3 HOT 2
- Cherry-pick fix to make Protobuf work with sibling repository layout into Bazel 7.3 HOT 1
- Ensure only a minimal set of external dependencies vendored for building a hello-world binary HOT 26
- .blazerc mentioned (wrong filename) on import error at bazel startup
- [7.3.0] Remove objc_library transition HOT 1
- local_path_override doesn't get invalidated for MODULE.bazel file creation
- [7.2.0] Unrecoverable error while evaluating node 'SINGLE_EXTENSION_EVAL:ModuleExtensionId
- [7.3.0] Fix crash on `IOException` in SingleExtensionEvalFunction HOT 1
- Bazel crashes using external aspect + `--noenable_workspace` HOT 5
- Bazel@HEAD cannot seem to keep a server process alive HOT 10
- Release 7.2.1 - June 2024 HOT 1
- [7.2.1] Fix crash on `IOException` in SingleExtensionEvalFunction HOT 1
- [7.2.1] Treat missing repo boundary files as transient errors HOT 1
- [7.3.0] Treat missing repo boundary files as transient errors HOT 1
- [7.3.0] Fix an NPE with the compact execution log and coverage HOT 1
- [7.2.1] Fix an NPE with the compact execution log and coverage HOT 1
- bazel coverage doesn't produce coverage data for cuda config for XLA. HOT 4
- [7.2.1] Windows/bzlmod/rules_rust: Failed to clean up module context directory: C:/tmp/modextwd/rules_rust~~crate (Directory not empty) HOT 9
- [7.3.0] Add a jq version for arm64 HOT 1
- [7.3.0] Clean up build after update to 7.2.0 HOT 2
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 bazel.