commit | e747d4f5e5cb203f24d3bce548345758da24d4c5 | [log] [tgz] |
---|---|---|
author | Florian Weikert <fwe@google.com> | Tue May 09 09:43:47 2023 +0200 |
committer | GitHub <noreply@github.com> | Tue May 09 09:43:47 2023 +0200 |
tree | 797023f9b85ee02cc90d389ccf618a9c3de2acbb | |
parent | 5e70d9d45db2bbf14bd29a794a0592b20ed52a95 [diff] [blame] |
Do not fail if diffbase tmpdir cannot be deleted (#1648) This should fix https://buildkite.com/bazel/google-bazel-presubmit/builds/66803#0187fc62-25e9-4997-b1b4-f93da9d1ffef Progress towards https://github.com/bazelbuild/continuous-integration/issues/1643
diff --git a/buildkite/bazelci.py b/buildkite/bazelci.py index 2896736..dec104e 100755 --- a/buildkite/bazelci.py +++ b/buildkite/bazelci.py
@@ -2333,7 +2333,11 @@ finally: return expanded_test_targets finally: - shutil.rmtree(tmpdir) + try: + shutil.rmtree(tmpdir) + except: + pass + os.chdir(workspace_dir) config_target_set = set(expanded_test_targets)