From 720f5d7bbe30f0010f89eb05fdd11febfa8f4db2 Mon Sep 17 00:00:00 2001 From: BjornMagnussonXA Date: Fri, 13 Aug 2021 10:37:23 +0200 Subject: [PATCH] Improved error msg for missing images Issue-ID: NONRTRIC-563 Signed-off-by: BjornMagnussonXA Change-Id: Ib6fe81829fd9ca91bbc71baae7fb1d67be7fd272 --- test/common/testcase_common.sh | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/test/common/testcase_common.sh b/test/common/testcase_common.sh index 702fbf8c..7b1201df 100755 --- a/test/common/testcase_common.sh +++ b/test/common/testcase_common.sh @@ -1228,8 +1228,11 @@ setup_testenvironment() { echo -e $RED"One or more images could not be pulled or containers using the images could not be stopped/removed"$ERED echo -e $RED"Or local image, overriding remote image, does not exist"$ERED if [ $IMAGE_CATEGORY == "DEV" ]; then - echo -e $RED"Note that SNAPSHOT images may be purged from nexus after a certain period."$ERED - echo -e $RED"In that case, switch to use a released image instead."$ERED + echo "" + echo -e $RED"Note that SNAPSHOT and staging images may be purged from nexus after a certain period."$ERED + echo -e $RED"In addition, the image may not have been updated in the current release so no SNAPSHOT or staging image exists"$ERED + echo -e $RED"In these cases, switch to use a released image instead, use the flag '--use-release-image '"$ERED + echo -e $RED"Use the 'App-short-name' for the applicable image from the above table: 'Images configured for start arg'."$ERED fi echo "#################################################################################################" echo "" -- 2.16.6