X-Git-Url: https://gerrit.o-ran-sc.org/r/gitweb?a=blobdiff_plain;f=test%2Fcommon%2Fformat_endpoint_stats.sh;h=0e2b12abbf26979e0a154b984bae491985521ac1;hb=refs%2Fchanges%2F28%2F10128%2F1;hp=c80f0831284c126d1b42b7980623cf99239b6c75;hpb=237a4da4b9419171f774bd6a02f61bef81f1b60f;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