aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authoryunlong ying <ying.yunlong@zte.com.cn>2019-04-23 03:12:07 +0000
committerGerrit Code Review <gerrit@onap.org>2019-04-23 03:12:07 +0000
commit78ec3e3b0a35bb160f7c1f985832b617156c16c2 (patch)
tree4ea23694e1da0fc14cdef8b67c8acdd6cefa6dce
parentd718c4352fba1217cdcd8f8c5918047a02fcde57 (diff)
parentae9e66d9a27edaa4cd09cd3ebb894d925ff68dad (diff)
Merge "print log for gvnfmadaptor"
-rw-r--r--plans/vfc-nfvo-driver-vnfm-gvnfm/sanity-check/setup.sh3
-rw-r--r--plans/vfc-nfvo-driver-vnfm-gvnfm/sanity-check/teardown.sh4
2 files changed, 7 insertions, 0 deletions
diff --git a/plans/vfc-nfvo-driver-vnfm-gvnfm/sanity-check/setup.sh b/plans/vfc-nfvo-driver-vnfm-gvnfm/sanity-check/setup.sh
index e7ac1f36..8b21b898 100644
--- a/plans/vfc-nfvo-driver-vnfm-gvnfm/sanity-check/setup.sh
+++ b/plans/vfc-nfvo-driver-vnfm-gvnfm/sanity-check/setup.sh
@@ -52,5 +52,8 @@ for i in {1..10}; do
sleep $i
done
+docker cp vfc-gvnfmdriver:/service/vfc/nfvo/driver/vnfm/gvnfm/gvnfmadapter/logs/runtime_gvnfmdriver.log ./
+cat runtime_gvnfmdriver.log
+
# Pass any variables required by Robot test suites in ROBOT_VARIABLES
ROBOT_VARIABLES="-v MSB_IAG_IP:${MSB_IAG_IP} -v GVNFMDRIVER_IP:${GVNFMDRIVER_IP}"
diff --git a/plans/vfc-nfvo-driver-vnfm-gvnfm/sanity-check/teardown.sh b/plans/vfc-nfvo-driver-vnfm-gvnfm/sanity-check/teardown.sh
index d90aad27..4de94e85 100644
--- a/plans/vfc-nfvo-driver-vnfm-gvnfm/sanity-check/teardown.sh
+++ b/plans/vfc-nfvo-driver-vnfm-gvnfm/sanity-check/teardown.sh
@@ -15,6 +15,10 @@
# limitations under the License.
#
+# print log for gvnfmdriver
+docker cp vfc-gvnfmdriver:/service/vfc/nfvo/driver/vnfm/gvnfm/gvnfmadapter/logs/runtime_gvnfmdriver.log ./
+cat runtime_gvnfmdriver.log
+
# This script is sourced by run-csit.sh after Robot test completion.
kill-instance.sh msb_internal_apigateway
kill-instance.sh msb_discovery