Improved error msg for missing images 02/6602/1
authorBjornMagnussonXA <bjorn.magnusson@est.tech>
Fri, 13 Aug 2021 08:37:23 +0000 (10:37 +0200)
committerBjornMagnussonXA <bjorn.magnusson@est.tech>
Fri, 13 Aug 2021 08:38:13 +0000 (10:38 +0200)
Issue-ID: NONRTRIC-563

Signed-off-by: BjornMagnussonXA <bjorn.magnusson@est.tech>
Change-Id: Ib6fe81829fd9ca91bbc71baae7fb1d67be7fd272

test/common/testcase_common.sh

index 702fbf8..7b1201d 100755 (executable)
@@ -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 <App-short-name>'"$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 ""