From e012937a29aab340d9df1f66a0766e96c3287382 Mon Sep 17 00:00:00 2001 From: Ayush Ranjan Date: Tue, 16 May 2023 15:18:23 -0700 Subject: [PATCH] Don't use sudo -E flag in BuildKite. This causes the $HOME env var to be preserved and then root user ends up creating $HOME/.cache/bazel and things cascade downwards from there as the gvisor-bazel container keeps crashing. PiperOrigin-RevId: 532588412 --- .buildkite/pipeline.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.buildkite/pipeline.yaml b/.buildkite/pipeline.yaml index 1696684fa..656c55746 100644 --- a/.buildkite/pipeline.yaml +++ b/.buildkite/pipeline.yaml @@ -402,7 +402,7 @@ steps: label: ":podman: Podman" commands: - sudo ./test/podman/run.sh - - sudo -E RUNTIME_ARGS=--directfs ./test/podman/run.sh + - sudo RUNTIME_ARGS=--directfs ./test/podman/run.sh agents: <<: *ubuntu_agents cgroup: "v2"