print log for catalog csit
Change-Id: I77abce34ea18125d08ee15df5097780dc08984ff
Issue-ID: INT-1015
Signed-off-by: fujinhua <fu.jinhua@zte.com.cn>
diff --git a/plans/vfc-nfvo-catalog/sanity-check/setup.sh b/plans/vfc-nfvo-catalog/sanity-check/setup.sh
index d839fa5..e622173 100644
--- a/plans/vfc-nfvo-catalog/sanity-check/setup.sh
+++ b/plans/vfc-nfvo-catalog/sanity-check/setup.sh
@@ -64,5 +64,8 @@
sleep $i
done
+docker cp vfc-catalog:/service/vfc/nfvo/catalog/logs/runtime_catalog.log ./
+cat runtime_catalog.log
+
# Pass any variables required by Robot test suites in ROBOT_VARIABLES
ROBOT_VARIABLES="-v MSB_IP:${MSB_IP} -v CATALOG_IP:${CATALOG_IP} -v MSB_DISCOVERY_IP:${DISCOVERY_IP}"
diff --git a/plans/vfc-nfvo-catalog/sanity-check/teardown.sh b/plans/vfc-nfvo-catalog/sanity-check/teardown.sh
index d498e34..cfccb3f 100644
--- a/plans/vfc-nfvo-catalog/sanity-check/teardown.sh
+++ b/plans/vfc-nfvo-catalog/sanity-check/teardown.sh
@@ -15,6 +15,10 @@
# limitations under the License.
#
+# print log file for catalog
+docker cp vfc-catalog:/service/vfc/nfvo/catalog/logs/runtime_catalog.log ./
+cat runtime_catalog.log
+
# This script is sourced by run-csit.sh after Robot test completion.
kill-instance.sh msb_internal_apigateway
kill-instance.sh msb_discovery