Commit 19cf120
committed
build: allow the cleanup step to be non-fatal
3e8962c (Clean up dep-info files from OUT_DIR, 2024-10-22)
made the cleanup step a fatal operation when cleanup fails.
Some filesystems (e.g. NFS v3) can run into timing issues under load
where .nfs* dummy files can still exist for a short window of time after
the probe command completes. One way this can happen is when other
processes, such as a malware scanner, holds the files open in the
background for a short period of time. This window of time is just long
enough for a failure to occur in remove_all().
Ignore DirectoryNotEmpty errors to account for this scenario.1 parent 21f89e7 commit 19cf120
1 file changed
+1
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
203 | 203 | | |
204 | 204 | | |
205 | 205 | | |
206 | | - | |
| 206 | + | |
207 | 207 | | |
208 | 208 | | |
209 | 209 | | |
| |||
0 commit comments