From: fujinhua Date: Sat, 20 Apr 2019 06:48:36 +0000 (+0800) Subject: print log for catalog csit X-Git-Tag: 4.0.0-ONAP~33 X-Git-Url: https://gerrit.onap.org/r/gitweb?a=commitdiff_plain;h=5ec0ab0bbe2cb52c62318658c6f91aee059eabcf;p=integration%2Fcsit.git print log for catalog csit Change-Id: I77abce34ea18125d08ee15df5097780dc08984ff Issue-ID: INT-1015 Signed-off-by: fujinhua --- 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