Skip to content

Support the RBE Docker Sandbox on Windows #19101

Closed as not planned
Closed as not planned
@drfloob

Description

@drfloob

Description of the feature request:

The docker sandbox documentation does not mention that it's a posix-only feature, but it is.

if (OS.isPosixCompatible() && path != null && path.exists()) {
return new ProcessWrapper(path, killDelay, gracefulSigterm);
} else {
return null;
}

I would benefit from being able to run a clone of the RBE environment locally on Windows. I have been able to manually run our RBE docker image locally, but it's an onerous process for my project (gRPC), and it likely misses a lot of nuance that reproduces the RBE host and docker configurations.

Full context: yaqs/4469691788281511936

Attempting to run the docker sandbox configuration on Windows results in:

ERROR: Docker sandboxing is disabled because ProcessWrapper is not supported. This should never happen - is your Bazel binary corrupted?

What underlying problem are you trying to solve with this feature?

A rare gRPC flake that reproduces 5x per day in our CI with the rest of the test suite, but not in 100k one-off RBE runs of that individual test, and not in 100k runs locally on multiple machines.

Which operating system are you running Bazel on?

Windows 11 Pro 22H2 (among others)

What is the output of bazel info release?

Multiple

If bazel info release returns development version or (@non-git), tell us how you built Bazel.

Confirmed broken on 5.4.1 and 6.3.0, using bazelisk and USE_BAZEL_VERSION="..."

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?

If it would be helpful to you, I can provide links to complete bazel & RBE configurations, the code that I'm trying to test, build output, etc. But I imagine that's not useful here at the moment.

Metadata

Metadata

Assignees

Labels

P3We're not considering working on this, but happy to review a PR. (No assignee)area-WindowsWindows-specific issues and feature requestsstaleIssues or PRs that are stale (no activity for 30 days)team-Local-ExecIssues and PRs for the Execution (Local) teamtype: feature request

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions