aboutsummaryrefslogtreecommitdiffstats
path: root/plans/vfc-gvnfm-vnfres/sanity-check
diff options
context:
space:
mode:
Diffstat (limited to 'plans/vfc-gvnfm-vnfres/sanity-check')
-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