diff options
Diffstat (limited to 'plans')
-rwxr-xr-x | plans/vfc-nfvo-lcm/sanity-check/setup.sh | 16 | ||||
-rwxr-xr-x | plans/vfc-nfvo-lcm/sanity-check/teardown.sh | 4 |
2 files changed, 10 insertions, 10 deletions
diff --git a/plans/vfc-nfvo-lcm/sanity-check/setup.sh b/plans/vfc-nfvo-lcm/sanity-check/setup.sh index 7a739bad..c206c0b0 100755 --- a/plans/vfc-nfvo-lcm/sanity-check/setup.sh +++ b/plans/vfc-nfvo-lcm/sanity-check/setup.sh @@ -50,11 +50,11 @@ for i in {1..3}; do sleep $i done -docker ps > 1.txt -cat 1.txt +docker ps > ps.txt +cat ps.txt echo "****************************" -docker logs -f vfc-db > 2.txt & -cat 2.txt +docker logs -f vfc-db > db.txt & +cat db.txt # Need some time so service info can be synced from discovery to api gateway echo sleep 60 @@ -71,15 +71,11 @@ for i in {1..10}; do sleep $i done -curl http://${NSLCM_IP}:8403/api/nslcm/v1/swagger.json - -docker logs -f vfc-nslcm > 3.txt & -cat 3.txt +docker logs -f vfc-nslcm > dockerlogs.txt & +cat dockerlogs.txt docker cp vfc-nslcm:/service/vfc/nfvo/lcm/logs/runtime_lcm.log ./ cat runtime_lcm.log - - # Pass any variables required by Robot test suites in ROBOT_VARIABLES ROBOT_VARIABLES="-v MSB_IAG_IP:${MSB_IAG_IP} -v NSLCM_IP:${NSLCM_IP} -v SCRIPTS:${SCRIPTS}" diff --git a/plans/vfc-nfvo-lcm/sanity-check/teardown.sh b/plans/vfc-nfvo-lcm/sanity-check/teardown.sh index 6ddf7557..5fa01069 100755 --- a/plans/vfc-nfvo-lcm/sanity-check/teardown.sh +++ b/plans/vfc-nfvo-lcm/sanity-check/teardown.sh @@ -15,6 +15,10 @@ # limitations under the License. # +# print logs of lcm +docker cp vfc-nslcm:/service/vfc/nfvo/lcm/logs/runtime_lcm.log ./ +cat runtime_lcm.log + # This script is sourced by run-csit.sh after Robot test completion. kill-instance.sh msb_internal_apigateway kill-instance.sh msb_discovery |