X-Git-Url: https://gerrit.o-ran-sc.org/r/gitweb?a=blobdiff_plain;f=test%2Fcommon%2Fformat_endpoint_stats.sh;h=0e2b12abbf26979e0a154b984bae491985521ac1;hb=a27463f3bb2fbe454586a871bba9b08367e9ad77;hp=c80f0831284c126d1b42b7980623cf99239b6c75;hpb=f4a7e420842aa8cde747aa71180f7b47bb1010dc;p=nonrtric.git diff --git a/test/common/format_endpoint_stats.sh b/test/common/format_endpoint_stats.sh index c80f0831..0e2b12ab 100755 --- a/test/common/format_endpoint_stats.sh +++ b/test/common/format_endpoint_stats.sh @@ -80,6 +80,7 @@ shift echo "" echo "===================================================" echo "Functional test cases for $1" +echo "Report date: $(date)" echo "===================================================" echo shift @@ -93,6 +94,11 @@ while [ $# -gt 0 ]; do if [ -f $IMAGE_INFO_FILE ]; then echo "=== Testscript: $1 ===" echo "Image: "$(cat $IMAGE_INFO_FILE) + image_name=$(< $IMAGE_INFO_FILE) + image_sha=$( docker inspect --format='{{.RepoDigests}}' $image_name) 2> /dev/null + echo "Sha: $image_sha" + echo "Test start: $(cat $FTC_DIR/endpoint_tc_start.log)" + echo "Test end: $(cat $FTC_DIR/endpoint_tc_end.log)" echo TC_RES_FILE=$FTC_DIR/.result$1.txt if [ -f "$TC_RES_FILE" ]; then