From e2f49cae7b8b88c36bfb01647d8acf9a92f8b198 Mon Sep 17 00:00:00 2001 From: fujinhua Date: Sat, 20 Apr 2019 15:58:06 +0800 Subject: print log for vnfres csit Change-Id: I62f810e6ae812a1741675f57bcb5496814fbddcf Issue-ID: INT-1015 Signed-off-by: fujinhua --- plans/vfc-gvnfm-vnfres/sanity-check/setup.sh | 6 ++++++ plans/vfc-gvnfm-vnfres/sanity-check/teardown.sh | 4 ++++ 2 files changed, 10 insertions(+) diff --git a/plans/vfc-gvnfm-vnfres/sanity-check/setup.sh b/plans/vfc-gvnfm-vnfres/sanity-check/setup.sh index 34be3c21..11b86c78 100755 --- a/plans/vfc-gvnfm-vnfres/sanity-check/setup.sh +++ b/plans/vfc-gvnfm-vnfres/sanity-check/setup.sh @@ -75,5 +75,11 @@ for i in {1..10}; do sleep $i done +docker cp vfc-vnfres:/service/vfc/gvnfm/vnfres/res/res/pub/config/config.py ./ +cat config.py + +docker cp vfc-vnfres:/service/vfc/gvnfm/vnfres/res/logs/runtime_res.log ./ +cat runtime_res.log + # Pass any variables required by Robot test suites in ROBOT_VARIABLES ROBOT_VARIABLES="-v MSB_IAG_IP:${MSB_IAG_IP} -v VNFRES_IP:${VNFRES_IP} -v SCRIPTS:${SCRIPTS}" diff --git a/plans/vfc-gvnfm-vnfres/sanity-check/teardown.sh b/plans/vfc-gvnfm-vnfres/sanity-check/teardown.sh index 8ca66766..4bc59849 100755 --- a/plans/vfc-gvnfm-vnfres/sanity-check/teardown.sh +++ b/plans/vfc-gvnfm-vnfres/sanity-check/teardown.sh @@ -15,6 +15,10 @@ # limitations under the License. # +# print log for vnfres +docker cp vfc-vnfres:/service/vfc/gvnfm/vnfres/res/logs/runtime_res.log ./ +cat runtime_res.log + # This script is sourced by run-csit.sh after Robot test completion. kill-instance.sh msb_internal_apigateway kill-instance.sh msb_discovery -- cgit 1.2.3-korg