• Omid Azizi's avatar
    Bazel: Use sandbox_tmpfs_path to address java_test flakiness · 035a2c80
    Omid Azizi authored
    Summary:
    hsperfdata of java binaries can conflict because they run in bazel sandboxes which operate with pid namespaces. This means PIDs are often the same.
    The /tmp files that those binaries use, however, are shared. This results in clobbering of files.
    
    Address this with sandbox_tmpfs_path, which mounts a /tmp inside each sandbox, making each sandbox operate independently.
    
    Test Plan: Jenkins and --runs_per_test=100
    
    Reviewers: yzhao, zasgar, #engineering, vihang
    
    Reviewed By: #engineering, vihang
    
    Differential Revision: https://phab.corp.pixielabs.ai/D6834
    
    GitOrigin-RevId: ea7cce87cb2df92c9728abb53c7a2950cb5628fe
    035a2c80