Merge pull request #15721 from edsantiago/instrument_metacopy_flake

TEMPORARY: instrumenting for 15488
This commit is contained in:
OpenShift Merge Robot
2022-09-13 15:14:47 +02:00
committed by GitHub

View File

@ -177,6 +177,15 @@ function run_podman() {
# without "quotes", multiple lines are glommed together into one # without "quotes", multiple lines are glommed together into one
if [ -n "$output" ]; then if [ -n "$output" ]; then
echo "$output" 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 fi
if [ "$status" -ne 0 ]; then if [ "$status" -ne 0 ]; then
echo -n "[ rc=$status "; echo -n "[ rc=$status ";