Bazel internal env variable $TEST_TEMPDIR is used in build_setup.sh #16788
Labels
area/build
question
Questions that are neither investigations, bugs, nor enhancements
stale
stalebot believes this issue/PR has not been touched recently
If you are reporting any crash or any potential security issue, do not
open an issue in this repo. Please report the issue via emailing
envoy-security@googlegroups.com where the issue will be triaged appropriately.
Title: Bazel internal env $TEST_TMPDIR variable is used in build_setup.sh
Description:
According to the link below, $TEST_TMPDIR is for bazel internal use only. "--test_tmpdir" should be use instead. Using $TEST_TMPDIR somehow has a side effect of setting bazel max_idle_secs to 15 instead of the default 3 hours which caused it to wipe the sandbox (I was using --sandbox-debug) every time I run do_ci.sh and wiping the sandbox takes a long time. Switching to use "--test_tmpdir" doesn't override the max_idle_secs. So, is this intentional so do_ci.sh will shutdown bazel basically immediately? If not, I can submit a PR to change build_setup.sh to use "--test_tmpdir" instead.
[optional Relevant Links:]
bazelbuild/bazel#11062
The text was updated successfully, but these errors were encountered: