From: fujinhua Date: Sat, 20 Apr 2019 07:30:23 +0000 (+0800) Subject: print log for vnfmgr csit X-Git-Tag: 4.0.0-ONAP~32 X-Git-Url: https://gerrit.onap.org/r/gitweb?a=commitdiff_plain;h=refs%2Fchanges%2F80%2F85880%2F1;p=integration%2Fcsit.git print log for vnfmgr csit Change-Id: I02510f0f1fe522ece68f115f3665c4ea4c05d4cc Issue-ID: INT-1015 Signed-off-by: fujinhua --- diff --git a/plans/vfc-gvnfm-vnfmgr/sanity-check/setup.sh b/plans/vfc-gvnfm-vnfmgr/sanity-check/setup.sh index 28be1842..22dd8ae3 100755 --- a/plans/vfc-gvnfm-vnfmgr/sanity-check/setup.sh +++ b/plans/vfc-gvnfm-vnfmgr/sanity-check/setup.sh @@ -75,5 +75,11 @@ for i in {1..10}; do sleep $i done +docker cp vfc-vnfmgr:/service/vfc/gvnfm/vnfmgr/mgr/mgr/pub/config/config.py ./ +cat config.py + +docker cp vfc-vnfmgr:/service/vfc/gvnfm/vnfmgr/mgr/logs/runtime_mgr.log ./ +cat runtime_mgr.log + # Pass any variables required by Robot test suites in ROBOT_VARIABLES ROBOT_VARIABLES="-v MSB_IAG_IP:${MSB_IAG_IP} -v VNFMGR_IP:${VNFMGR_IP} -v SCRIPTS:${SCRIPTS}" diff --git a/plans/vfc-gvnfm-vnfmgr/sanity-check/teardown.sh b/plans/vfc-gvnfm-vnfmgr/sanity-check/teardown.sh index 8ca66766..cce8998b 100755 --- a/plans/vfc-gvnfm-vnfmgr/sanity-check/teardown.sh +++ b/plans/vfc-gvnfm-vnfmgr/sanity-check/teardown.sh @@ -15,6 +15,10 @@ # limitations under the License. # +# print log for vnfmgr +docker cp vfc-vnfmgr:/service/vfc/gvnfm/vnfmgr/mgr/logs/runtime_mgr.log ./ +cat runtime_mgr.log + # This script is sourced by run-csit.sh after Robot test completion. kill-instance.sh msb_internal_apigateway kill-instance.sh msb_discovery