aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorfujinhua <fu.jinhua@zte.com.cn>2019-04-23 10:55:59 +0800
committerfujinhua <fu.jinhua@zte.com.cn>2019-04-23 10:55:59 +0800
commitae9e66d9a27edaa4cd09cd3ebb894d925ff68dad (patch)
treed507c9e0819b38964f525ca047bcf2fda2de4f10
parente2f49cae7b8b88c36bfb01647d8acf9a92f8b198 (diff)
print log for gvnfmadaptor
Change-Id: Ib292e2db40bb3d70f4e3e206753b260741ddd5e5 Issue-ID: INT-1015 Signed-off-by: fujinhua <fu.jinhua@zte.com.cn>
-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