-
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
[remote][windows]tries to create temp folder in C:\Windows #23466
Comments
Hi @p00f, Could you please provide complete steps to reproduce this issue? |
@sgowroji done, i pressed enter by mistake without filling it out |
also
|
i'm open to trying other tools - i tried nativelink but it fails to find the params file: |
I do not recommend using Please ask questions about them on their respective support channels. If you're unsure about which one is appropriate for your use case, asking for advice on the Bazel Slack channel might also be worthwhile. |
Description of the bug:
When building using remote execution with a linux "client" and windows "server", bazel tries to create a temporary directory in
C:\Windows
and fails because it doesn't have permissionsWhich category does this issue belong to?
Remote execution
What's the simplest, easiest way to reproduce this bug? Please provide a minimal example if possible.
sorry, i can't share the toolchain because it's work
.bazelrc
:extra
.remote.rc
for remote execution:client command:
bazelisk --bazelrc=.remote.rc build //foo/bar:bar --config=remote --verbose_failures
server command: i built the worker (
src/tools/remote:worker
from this repo) then ran it like this:bazel-bin/src/tools/remote/worker.exe --listen_port=8080 --work_path=C:\Users\username\bazel-remote-work --debug --cas_path=C:\Users\username\bazel-remote-cas --jobs=10 --remote_download_all
Which operating system are you running Bazel on?
linux on the client, windows on the server
What is the output of
bazel info release
?7.1.1 on the client (we use bazelisk), 7.1.2 on the server inside the bazel repository which built the worker
If
bazel info release
returnsdevelopment version
or(@non-git)
, tell us how you built Bazel.N/A
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.
N/A
Have you found anything relevant by searching the web?
there's a similar issue #1243
Any other information, logs, or outputs that you want to share?
N/A
The text was updated successfully, but these errors were encountered: