Skip to content

Bazel 8 hangs during build event upload #25232

@westrik

Description

@westrik

Description of the bug:

I'm seeing an intermittent issue where a build will fail to exit after uploading build events. Seems like Bazel is waiting for background upload tasks even though they have all completed.

Which category does this issue belong to?

Core

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

This happens intermittently and I haven't found a straightforward repro.

Which operating system are you running Bazel on?

Amazon Linux 2023.6.20250115

What is the output of bazel info release?

release 8.0.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 HEAD ?


If this is a regression, please try to identify the Bazel commit where the bug was introduced with bazelisk --bisect.

No response

Have you found anything relevant by searching the web?

Seems potentially related to #21626 but I'm not using remote execution.

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

jstack dump

Metadata

Metadata

Assignees

No one assigned

    Labels

    P1I'll work on this now. (Assignee required)team-Remote-ExecIssues and PRs for the Execution (Remote) teamtype: bug

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions