-
Notifications
You must be signed in to change notification settings - Fork 4.1k
bazel: --test_tmpdir's under /tmp are broken on Linux since Bazel 7 upgrade #128204
Copy link
Copy link
Closed
Closed
Copy link
Labels
A-build-systemC-bugCode not up to spec/doc, specs & docs deemed correct. Solution expected to change code/behavior.Code not up to spec/doc, specs & docs deemed correct. Solution expected to change code/behavior.T-dev-infbranch-release-24.1Used to mark GA and release blockers, technical advisories, and bugs for 24.1Used to mark GA and release blockers, technical advisories, and bugs for 24.1branch-release-24.2Used to mark GA and release blockers, technical advisories, and bugs for 24.2Used to mark GA and release blockers, technical advisories, and bugs for 24.2v24.1.4
Description
The error message will look like this:
src/main/tools/linux-sandbox-pid1.cc:320: "mount(/tmp/cockroach/_tmp/b287de7194e17a0386ee1775f0d198ba, /tmp/cockroach/_tmp/b287de7194e17a0386ee1775f0d198ba, nullptr, MS_BIND | MS_REC, nullptr)": No such file or directory
This seems to be due to bazelbuild/bazel#22001.
We can fix this with --sandbox_add_mount_pair.
Jira issue: CRDB-40863
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
A-build-systemC-bugCode not up to spec/doc, specs & docs deemed correct. Solution expected to change code/behavior.Code not up to spec/doc, specs & docs deemed correct. Solution expected to change code/behavior.T-dev-infbranch-release-24.1Used to mark GA and release blockers, technical advisories, and bugs for 24.1Used to mark GA and release blockers, technical advisories, and bugs for 24.1branch-release-24.2Used to mark GA and release blockers, technical advisories, and bugs for 24.2Used to mark GA and release blockers, technical advisories, and bugs for 24.2v24.1.4