Skip to content

Runfiles tree creation fails on Windows #16955

@ozio85

Description

@ozio85

Description of the bug:

The runfiles tree creation currently fails on Windows.

The error is:
ERROR: ../BUILD.bazel:1:10: Creating runfiles tree bazel-out/x64_windows-fastbuild/bin/....exe.runfiles failed: java.io.FileNotFoundException: .../MANIFEST (No such file or directory), However the MANIFEST file is created and exists after the action crashes.

It started in release 6.0.0-pre.20221020.1, and a git bisect shows that #16477 is the culprit.

I will analyze the commit tomorrow, and see what might be the cause

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

Create an actions.run that use a py_binary tool

Which operating system are you running Bazel on?

Windows

What is the output of bazel info release?

6.0.0-pre.20221020.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