aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authoryunlong ying <ying.yunlong@zte.com.cn>2019-04-23 04:12:22 +0000
committerGerrit Code Review <gerrit@onap.org>2019-04-23 04:12:22 +0000
commit39c0dadfc85c06a0d5a3ea517ff9d06c39bd4e8a (patch)
tree58583748eb6c7f3b81a7b1b10886d7fb08e2b365
parent78ec3e3b0a35bb160f7c1f985832b617156c16c2 (diff)
parentf8f5f1c9c971e11a34308d947a92a95703ff904f (diff)
Merge "print log for ztevnfmadaptor"
-rw-r--r--plans/vfc-nfvo-driver-vnfm-svnfm/sanity-check/setup.sh3
-rw-r--r--plans/vfc-nfvo-driver-vnfm-svnfm/sanity-check/teardown.sh4
2 files changed, 7 insertions, 0 deletions
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