aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorfujinhua <fu.jinhua@zte.com.cn>2019-04-23 11:08:43 +0800
committerfujinhua <fu.jinhua@zte.com.cn>2019-04-23 11:08:43 +0800
commitf8f5f1c9c971e11a34308d947a92a95703ff904f (patch)
tree5d20fee41cf77e7dff19a4319881364bcb39a205
parentae9e66d9a27edaa4cd09cd3ebb894d925ff68dad (diff)
print log for ztevnfmadaptor
Change-Id: I94ba8d4446a932ba371d62fd0d82293218480a37 Issue-ID: INT-1015 Signed-off-by: fujinhua <fu.jinhua@zte.com.cn>
-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