summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorfujinhua <fu.jinhua@zte.com.cn>2019-04-20 15:58:06 +0800
committerfujinhua <fu.jinhua@zte.com.cn>2019-04-20 15:58:06 +0800
commite2f49cae7b8b88c36bfb01647d8acf9a92f8b198 (patch)
treef512236f4a1af8523c7d20df5ea07b59f4c0b2b7
parent62ba7ade1f350e6fb4ec9687f5c0bfdbc658497e (diff)
print log for vnfres csit
Change-Id: I62f810e6ae812a1741675f57bcb5496814fbddcf Issue-ID: INT-1015 Signed-off-by: fujinhua <fu.jinhua@zte.com.cn>
-rwxr-xr-xplans/vfc-gvnfm-vnfres/sanity-check/setup.sh6
-rwxr-xr-xplans/vfc-gvnfm-vnfres/sanity-check/teardown.sh4
2 files changed, 10 insertions, 0 deletions
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