-
Notifications
You must be signed in to change notification settings - Fork 4.1k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
rlocation
in a sh_binary
script fails to find requested file when bzlmod is enabled
#17738
Comments
rlocation
in a sh_binary
script fails to find requested filerlocation
in a sh_binary
script fails to find requested file when bzlmod is enabled
Pretty sure you are hitting #17279, which only made it into 6.1.0. @meteorcloudy Could we raise the BCR Bazel version to 6.1.1? |
Now that I think about it, that's probably not the right approach. @cgrindel Could you specify a @meteorcloudy Does Bazel CI honor the Bazel compatibility automatically? |
@fmeum I added
|
BTW, I have run a test locally and verified that this issue can be reproduced on my laptop when I use 6.0.0. I think that the path forward is to upgrade the BCR presubmit CI machines and/or provide a pool with different Bazel versions. |
Given that my issue is fixed in 6.1.0, I am going to close this issue. I will follow up with BCR folks to address the version of Bazel on the presubmit machines. |
Description of the bug:
When running a BCR presubmit test for
cgrindel_bazel_starlib
, the test fails due to a Bash script being unable to locate a dependent shell script.Example BCR PR
Buildkit Output
Shell Script
I am unable to reproduce this locally. I believe that repo mapping on the Buildkite machine is happening slightly differently than on my macOS laptop.
Below is some information on the configuration, the output after enabling
RUNFILES_LIB_DEBUG
, and a dump of the_repo_mapping
file.BUILD.bazel
for thesh_binary
Top of the
sh_binary
script:Error Output with
RUNFILES_LIB_DEBUG
EnabledOutput of
_repo_mapping
FileWhat's the simplest, easiest way to reproduce this bug? Please provide a minimal example if possible.
I do not have a simple repro for this issue. So far, I have only been able to experience the failure when running a BCR presubmit CI test.
Example of failing test
Which operating system are you running Bazel on?
macOS, ubuntu2004
What is the output of
bazel info release
?6.0.0 (on the BCR CI machine); release 6.1.0 (locally)
If
bazel info release
returnsdevelopment 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
The text was updated successfully, but these errors were encountered: