Skip to content
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

dev: in doctor, add --sandbox_add_mount_pair if relevant #128207

Merged
merged 1 commit into from
Aug 2, 2024

Conversation

rickystewart
Copy link
Collaborator

This was apparently broken with the Bazel 7 upgrade and bazelbuild/bazel#22001 specifically. If --test_tmpdir is set to some directory under /tmp, we need to add /tmp as a mount pair as well. This cannot be done in remote mode so doctor needs to be aware of this.

Closes: #128204
Epic: None
Release note: None
Release justification: Build-only code changes

@rickystewart rickystewart added backport-24.1.x Flags PRs that need to be backported to 24.1. backport-24.2.x Flags PRs that need to be backported to 24.2 labels Aug 2, 2024
@rickystewart rickystewart requested a review from a team as a code owner August 2, 2024 19:20
Copy link

blathers-crl bot commented Aug 2, 2024

It looks like your PR touches production code but doesn't add or edit any test code. Did you consider adding tests to your PR?

🦉 Hoot! I am a Blathers, a bot for CockroachDB. My owner is dev-inf.

@cockroach-teamcity
Copy link
Member

This change is Reviewable

@rickystewart rickystewart force-pushed the sandbox-add-mount-pair branch from 1f17c6c to 579899d Compare August 2, 2024 19:29
This was apparently broken with the Bazel 7 upgrade and
bazelbuild/bazel#22001 specifically. If `--test_tmpdir` is set to
some directory under `/tmp`, we need to add `/tmp` as a mount pair as
well. This cannot be done in remote mode so `doctor` needs to be aware
of this.

Closes: cockroachdb#128204
Epic: None
Release note: None
Release justification: Build-only code changes
@rickystewart
Copy link
Collaborator Author

bors r=rail

@craig craig bot merged commit a9b7510 into cockroachdb:master Aug 2, 2024
22 checks passed
Copy link

blathers-crl bot commented Aug 2, 2024

Based on the specified backports for this PR, I applied new labels to the following linked issue(s). Please adjust the labels as needed to match the branches actually affected by the issue(s), including adding any known older branches.


Issue #128204: branch-release-24.1, branch-release-24.2.


🦉 Hoot! I am a Blathers, a bot for CockroachDB. My owner is dev-inf.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
backport-24.1.x Flags PRs that need to be backported to 24.1. backport-24.2.x Flags PRs that need to be backported to 24.2
Projects
None yet
Development

Successfully merging this pull request may close these issues.

bazel: --test_tmpdir's under /tmp are broken on Linux since Bazel 7 upgrade
3 participants