GithubHelp home page GithubHelp logo

experimental_execution_log_compact_file prints java.io.FileNotFoundException warning for each .param file during build about bazel HOT 7 CLOSED

ivan-golub avatar ivan-golub commented on June 18, 2024
experimental_execution_log_compact_file prints java.io.FileNotFoundException warning for each .param file during build

from bazel.

Comments (7)

tjgq avatar tjgq commented on June 18, 2024 2

I have a theory for what is happening and will attempt a fix.

from bazel.

tjgq avatar tjgq commented on June 18, 2024

@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.

satyanandak avatar satyanandak commented on June 18, 2024

Hi @ivan-golub,
Can you please take a look into the above comment ?

from bazel.

ivan-golub avatar ivan-golub commented on June 18, 2024

Sure. will try to create a repro when I have a chance.

from bazel.

Strum355 avatar Strum355 commented on June 18, 2024

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.

tjgq avatar tjgq commented on June 18, 2024

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.

iancha1992 avatar iancha1992 commented on June 18, 2024

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)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.