Skip to content

Fails on Bazel's CI for Bazel >= 7.3 on Windows #93

Description

@avdv

Describe the bug
The test module run for PR bazelbuild/bazel-central-registry#3288 fails on Windows:

C:/b/bk-windows-j20f/bazel-org-repo-root/output/rules_sh-0.5.0/tests/sh_binaries/BUILD.bazel:3:23: Executing genrule //sh_binaries:genrule failed: (Exit 127): bash.exe failed: error executing Genrule command (from target //sh_binaries:genrule)
...
/usr/bin/bash: line 1: c:\\b\\3mrahdhj\\execroot\\_main\\bazel-out\\x64_windows-fastbuild\\bin\\sh_binaries\\hello_world.exe.runfiles/_main/sh_binaries/hello_world: No such file or directory

See https://buildkite.com/bazel/bcr-presubmit/builds/9106

To Reproduce
Run bazel test ... in tests directory on Windows with Bazel >= 7.3.

Expected behavior
All tests should pass.

Environment

  • OS name + version: Windows
  • Bazel version: 7.3.0 - 7.4.1
  • Version of the rules: 0.5.0

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions