mirror of https://github.com/containers/podman.git
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>
This commit is contained in:
parent
04082333a6
commit
6210c6723d
|
@ -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 ";
|
||||||
|
|
Loading…
Reference in New Issue