aboutsummaryrefslogtreecommitdiffstats
path: root/plans/vfc-nfvo-catalog/sanity-check
diff options
context:
space:
mode:
authorfujinhua <fu.jinhua@zte.com.cn>2019-04-20 14:48:36 +0800
committerfujinhua <fu.jinhua@zte.com.cn>2019-04-20 14:48:36 +0800
commit5ec0ab0bbe2cb52c62318658c6f91aee059eabcf (patch)
tree2a852805c50e4a4d6a39dd7864094924cb3059c5 /plans/vfc-nfvo-catalog/sanity-check
parentd75b0dae366322ea8ea7991e7af99215893e7ab5 (diff)
print log for catalog csit
Change-Id: I77abce34ea18125d08ee15df5097780dc08984ff Issue-ID: INT-1015 Signed-off-by: fujinhua <fu.jinhua@zte.com.cn>
Diffstat (limited to 'plans/vfc-nfvo-catalog/sanity-check')
-rw-r--r--plans/vfc-nfvo-catalog/sanity-check/setup.sh3
-rw-r--r--plans/vfc-nfvo-catalog/sanity-check/teardown.sh4
2 files changed, 7 insertions, 0 deletions
diff --git a/plans/vfc-nfvo-catalog/sanity-check/setup.sh b/plans/vfc-nfvo-catalog/sanity-check/setup.sh
index d839fa55..e6221731 100644
--- a/plans/vfc-nfvo-catalog/sanity-check/setup.sh
+++ b/plans/vfc-nfvo-catalog/sanity-check/setup.sh
@@ -64,5 +64,8 @@ for i in {1..10}; do
sleep $i
done
+docker cp vfc-catalog:/service/vfc/nfvo/catalog/logs/runtime_catalog.log ./
+cat runtime_catalog.log
+
# Pass any variables required by Robot test suites in ROBOT_VARIABLES
ROBOT_VARIABLES="-v MSB_IP:${MSB_IP} -v CATALOG_IP:${CATALOG_IP} -v MSB_DISCOVERY_IP:${DISCOVERY_IP}"
diff --git a/plans/vfc-nfvo-catalog/sanity-check/teardown.sh b/plans/vfc-nfvo-catalog/sanity-check/teardown.sh
index d498e34c..cfccb3ff 100644
--- a/plans/vfc-nfvo-catalog/sanity-check/teardown.sh
+++ b/plans/vfc-nfvo-catalog/sanity-check/teardown.sh
@@ -15,6 +15,10 @@
# limitations under the License.
#
+# print log file for catalog
+docker cp vfc-catalog:/service/vfc/nfvo/catalog/logs/runtime_catalog.log ./
+cat runtime_catalog.log
+
# This script is sourced by run-csit.sh after Robot test completion.
kill-instance.sh msb_internal_apigateway
kill-instance.sh msb_discovery