From 5ec0ab0bbe2cb52c62318658c6f91aee059eabcf Mon Sep 17 00:00:00 2001 From: fujinhua Date: Sat, 20 Apr 2019 14:48:36 +0800 Subject: print log for catalog csit Change-Id: I77abce34ea18125d08ee15df5097780dc08984ff Issue-ID: INT-1015 Signed-off-by: fujinhua --- plans/vfc-nfvo-catalog/sanity-check/setup.sh | 3 +++ plans/vfc-nfvo-catalog/sanity-check/teardown.sh | 4 ++++ 2 files changed, 7 insertions(+) diff --git a/plans/vfc-nfvo-catalog/sanity-check/setup.sh b/plans/vfc-nfvo-catalog/sanity-check/setup.sh index d839fa55..e6221731 100644 --- a/plans/vfc-nfvo-catalog/sanity-check/setup.sh +++ b/plans/vfc-nfvo-catalog/sanity-check/setup.sh @@ -64,5 +64,8 @@ for i in {1..10}; do 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 d498e34c..cfccb3ff 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 -- cgit 1.2.3-korg