Skip to content

Bazel is hanging when outputs got evicted from remote execution cache with --remote_download_toplevel enabled #16422

@k1nkreet

Description

@k1nkreet

Description of the bug:

Since 5.3, Bazel is hanging infinitely when something got evicted from remote execution cache with Build without Bytes enabled. Before 5.3 it was raising FileNotFoundException and there is a PR trying to use this behavior to overcome this issue of BwoB

What's the simplest, easiest way to reproduce this bug? Please provide a minimal example if possible.

I've created a repo with workspace and scenario reproducing this issue: https://github.com/k1nkreet/bazel-bwob-hanging-issue

Which operating system are you running Bazel on?

Linux archlinux 5.18.7-arch1-1

What is the output of bazel info release?

release 5.3.1

If bazel info release returns development version or (@non-git), tell us how you built Bazel.

No response

What's the output of git remote get-url origin; git rev-parse master; git rev-parse HEAD ?

No response

Have you found anything relevant by searching the web?

No response

Any other information, logs, or outputs that you want to share?

No response

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions