From 8991b10cac252609574b6265dcd80f86f8fe94bb Mon Sep 17 00:00:00 2001 From: Micah Elizabeth Scott Date: Mon, 14 Aug 2023 14:53:52 -0700 Subject: CI: Diagnostic for failure in test_rebind cleanup I saw this test fail intermittently due to what seemed like a filesystem race in docker? The cleanup task was failing with a 'directory not empty' error, despite trying to do a recursive 'rm'. This patch adds an 'ls' to the same directory, hoping the output might be useful to diagnose future intermittent failures. --- src/test/test_rebind.sh | 1 + 1 file changed, 1 insertion(+) diff --git a/src/test/test_rebind.sh b/src/test/test_rebind.sh index aae2a9a6a0..d87e008f9a 100755 --- a/src/test/test_rebind.sh +++ b/src/test/test_rebind.sh @@ -51,6 +51,7 @@ tmpdir= # shellcheck disable=SC2317 clean () { if [ -n "$tmpdir" ] && [ -d "$tmpdir" ]; then + ls -l "$tmpdir" rm -rf "$tmpdir" fi } -- cgit v1.2.3-54-g00ecf