From: BjornMagnussonXA Date: Fri, 13 Aug 2021 08:37:23 +0000 (+0200) Subject: Improved error msg for missing images X-Git-Tag: 1.2.0~117 X-Git-Url: https://gerrit.o-ran-sc.org/r/gitweb?a=commitdiff_plain;h=refs%2Fchanges%2F02%2F6602%2F1;p=nonrtric.git Improved error msg for missing images Issue-ID: NONRTRIC-563 Signed-off-by: BjornMagnussonXA Change-Id: Ib6fe81829fd9ca91bbc71baae7fb1d67be7fd272 --- 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 ""