Verified
Status Update
Comments
sv...@axis.com <sv...@axis.com>
lu...@gmail.com <lu...@gmail.com> #2
We fixed this issue on the CI with: --sandbox_tmpfs_path=/tmp
ap...@google.com <ap...@google.com> #3
Project: gerrit
Branch: stable-3.9
commit d7af9e8d26dd2fdb680348ca0b10e82fad70ad0b
Author: Sven Selberg <svense@axis.com>
Date: Fri Feb 16 13:41:46 2024
Force Bazel to separate /tmp between JVMs when running tests
Set test option "--incompatible_sandbox_hermetic_tmp"
This option is the default for Bazel 7 that is used on master since
change Ie7cb3003d, so this additional config should be removed when
merging to master.
Bug: Issue 325537222
Release-Notes: Force Bazel to separate /tmp between JVMs when running test
Change-Id: I484b66941849c41d3e724e4fd47fb03e99cebbd8
M .bazelrc
https://gerrit-review.googlesource.com/409724
Branch: stable-3.9
commit d7af9e8d26dd2fdb680348ca0b10e82fad70ad0b
Author: Sven Selberg <svense@axis.com>
Date: Fri Feb 16 13:41:46 2024
Force Bazel to separate /tmp between JVMs when running tests
Set test option "--incompatible_sandbox_hermetic_tmp"
This option is the default for Bazel 7 that is used on master since
change Ie7cb3003d, so this additional config should be removed when
merging to master.
Bug:
Release-Notes: Force Bazel to separate /tmp between JVMs when running test
Change-Id: I484b66941849c41d3e724e4fd47fb03e99cebbd8
M .bazelrc
sv...@axis.com <sv...@axis.com> #4
@Luca, did you need to fix it for branches other than stable-3.9?
Description
When running tests in parallel on Ubuntu 20.04 (haven't tested other Linux dists) there's a Bazel bug that causes the JVMs for each test to write to the same temp file.
See attached stacktrace.
Related issues:
Issue affects:
The issue does not seem to affect:
This issue is fixed in Bazel 7 (i.e. Gerrit master ):