diff options
author | 2019-04-20 10:30:42 +0800 | |
---|---|---|
committer | 2019-04-20 11:04:19 +0800 | |
commit | d75b0dae366322ea8ea7991e7af99215893e7ab5 (patch) | |
tree | 7d713745e0a44766589d9906ae2798175c22588d /plans/vfc-nfvo-lcm/sanity-check/setup.sh | |
parent | 0a594cf5cb96a31bf7e5abb0d00844db25fa7408 (diff) |
Add logs for lcm csit sh
Change-Id: I4c9ae67be67e7e220fbee59214930c0f610991fb
Issue-ID: INT-1015
Signed-off-by: fujinhua <fu.jinhua@zte.com.cn>
Diffstat (limited to 'plans/vfc-nfvo-lcm/sanity-check/setup.sh')
-rwxr-xr-x | plans/vfc-nfvo-lcm/sanity-check/setup.sh | 16 |
1 files changed, 6 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}" |