summaryrefslogtreecommitdiff
path: root/test/system
diff options
context:
space:
mode:
authorEd Santiago <santiago@redhat.com>2022-09-09 08:28:34 -0600
committerEd Santiago <santiago@redhat.com>2022-09-09 08:28:34 -0600
commit6210c6723d8812165352fd5616797baf7c8d15f0 (patch)
treec77b00d06813613411e0a1c95b2ce5eeaeb7ae47 /test/system
parent04082333a6bf0acf7859ca9a010203ae05980377 (diff)
downloadpodman-6210c6723d8812165352fd5616797baf7c8d15f0.tar.gz
podman-6210c6723d8812165352fd5616797baf7c8d15f0.tar.bz2
podman-6210c6723d8812165352fd5616797baf7c8d15f0.zip
TEMPORARY: instrumenting for 15488
Trying to catch the wiley metacopy flake: add a debug condition to run_podman, in system tests, to log all instances in which output includes the metacopy warning. The idea is to detect the very first time it happens, and see what is triggering it. Signed-off-by: Ed Santiago <santiago@redhat.com>
Diffstat (limited to 'test/system')
-rw-r--r--test/system/helpers.bash9
1 files changed, 9 insertions, 0 deletions
diff --git a/test/system/helpers.bash b/test/system/helpers.bash
index b0d4b526a..4bc1ba78c 100644
--- a/test/system/helpers.bash
+++ b/test/system/helpers.bash
@@ -177,6 +177,15 @@ function run_podman() {
# without "quotes", multiple lines are glommed together into one
if [ -n "$output" ]; then
echo "$output"
+
+ # FIXME FIXME FIXME: instrumenting to track down #15488. Please
+ # remove once that's fixed. We include the args because, remember,
+ # bats only shows output on error; it's possible that the first
+ # instance of the metacopy warning happens in a test that doesn't
+ # check output, hence doesn't fail.
+ if [[ "$output" =~ Ignoring.global.metacopy.option ]]; then
+ echo "# YO! metacopy warning triggered by: podman $*" >&3
+ fi
fi
if [ "$status" -ne 0 ]; then
echo -n "[ rc=$status ";