From ceeae50fe29e3af8cbc0a885890b0ac05c05174c Mon Sep 17 00:00:00 2001 From: fujinhua Date: Thu, 30 May 2019 18:22:24 +0800 Subject: [PATCH] Add docker logs for csit Change-Id: I5291600cc9f2738014f151db493440b8e756649c Issue-ID: INT-1015 Signed-off-by: fujinhua --- plans/vfc-nfvo-catalog/sanity-check/setup.sh | 2 ++ plans/vfc-nfvo-catalog/sanity-check/teardown.sh | 1 + 2 files changed, 3 insertions(+) diff --git a/plans/vfc-nfvo-catalog/sanity-check/setup.sh b/plans/vfc-nfvo-catalog/sanity-check/setup.sh index 344214ff..94f21e14 100644 --- a/plans/vfc-nfvo-catalog/sanity-check/setup.sh +++ b/plans/vfc-nfvo-catalog/sanity-check/setup.sh @@ -72,5 +72,7 @@ cat config.py docker cp vfc-catalog:/service/vfc/nfvo/catalog/logs/runtime_catalog.log ./ cat runtime_catalog.log +docker logs vfc-catalog + # 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} -v SCRIPTS:${SCRIPTS}" diff --git a/plans/vfc-nfvo-catalog/sanity-check/teardown.sh b/plans/vfc-nfvo-catalog/sanity-check/teardown.sh index cfccb3ff..c328f5ea 100644 --- a/plans/vfc-nfvo-catalog/sanity-check/teardown.sh +++ b/plans/vfc-nfvo-catalog/sanity-check/teardown.sh @@ -16,6 +16,7 @@ # # print log file for catalog +docker logs vfc-catalog docker cp vfc-catalog:/service/vfc/nfvo/catalog/logs/runtime_catalog.log ./ cat runtime_catalog.log -- 2.16.6