From f8f5f1c9c971e11a34308d947a92a95703ff904f Mon Sep 17 00:00:00 2001 From: fujinhua Date: Tue, 23 Apr 2019 11:08:43 +0800 Subject: print log for ztevnfmadaptor Change-Id: I94ba8d4446a932ba371d62fd0d82293218480a37 Issue-ID: INT-1015 Signed-off-by: fujinhua --- plans/vfc-nfvo-driver-vnfm-svnfm/sanity-check/setup.sh | 3 +++ plans/vfc-nfvo-driver-vnfm-svnfm/sanity-check/teardown.sh | 4 ++++ 2 files changed, 7 insertions(+) diff --git a/plans/vfc-nfvo-driver-vnfm-svnfm/sanity-check/setup.sh b/plans/vfc-nfvo-driver-vnfm-svnfm/sanity-check/setup.sh index 047c067e..efc5f3e9 100644 --- a/plans/vfc-nfvo-driver-vnfm-svnfm/sanity-check/setup.sh +++ b/plans/vfc-nfvo-driver-vnfm-svnfm/sanity-check/setup.sh @@ -63,5 +63,8 @@ for i in {1..20}; do sleep $i done +docker cp vfc-ztevnfmdriver:/service/vfc/nfvo/driver/vnfm/svnfm/zte/vmanager/logs/runtime_ztevnfmdriver.log ./ +cat runtime_ztevnfmdriver.log + # Pass any variables required by Robot test suites in ROBOT_VARIABLES ROBOT_VARIABLES="-v MSB_IAG_IP:${MSB_IAG_IP} -v ZTEVNFMDRIVER_IP:${ZTEVNFMDRIVER_IP} -v MSB_IP:${MSB_IAG_IP} -v SERVICE_IP:${SERVICE_IP} -v SCRIPTS:${SCRIPTS}" diff --git a/plans/vfc-nfvo-driver-vnfm-svnfm/sanity-check/teardown.sh b/plans/vfc-nfvo-driver-vnfm-svnfm/sanity-check/teardown.sh index a7909581..85457566 100644 --- a/plans/vfc-nfvo-driver-vnfm-svnfm/sanity-check/teardown.sh +++ b/plans/vfc-nfvo-driver-vnfm-svnfm/sanity-check/teardown.sh @@ -15,6 +15,10 @@ # limitations under the License. # +# print log for ztevnfmdriver +docker cp vfc-ztevnfmdriver:/service/vfc/nfvo/driver/vnfm/svnfm/zte/vmanager/logs/runtime_ztevnfmdriver.log ./ +cat runtime_ztevnfmdriver.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