aboutsummaryrefslogtreecommitdiffstats
path: root/plans
diff options
context:
space:
mode:
authorFilip Krzywka <filip.krzywka@nokia.com>2019-04-04 14:22:30 +0200
committerFilip Krzywka <filip.krzywka@nokia.com>2019-04-05 14:21:09 +0200
commit6e118c3bce27c22617bb28daaead0e9bfe011bbf (patch)
tree066f5ec571f242bb01ad842bea80813336204d42 /plans
parent7aa8cd32c8458cd9a148ca8dad4c26635cab6d8b (diff)
Split docker-compose file logs
Change-Id: I5f9d91f871d898cb776e940e054c14f26872852d Issue-ID: DCAEGEN2-1359 Signed-off-by: Filip Krzywka <filip.krzywka@nokia.com>
Diffstat (limited to 'plans')
-rwxr-xr-xplans/dcaegen2-collectors-hv-ves/testsuites/teardown.sh9
1 files changed, 7 insertions, 2 deletions
diff --git a/plans/dcaegen2-collectors-hv-ves/testsuites/teardown.sh b/plans/dcaegen2-collectors-hv-ves/testsuites/teardown.sh
index 50b8a918..bed9742c 100755
--- a/plans/dcaegen2-collectors-hv-ves/testsuites/teardown.sh
+++ b/plans/dcaegen2-collectors-hv-ves/testsuites/teardown.sh
@@ -33,10 +33,15 @@ fi
set +e
-METRICS_FILE=${WORKSPACE}/archives/containers_logs/hv-ves-metrics.dump
+METRICS_FILE=${WORKSPACE}/archives/containers_logs/collector-metrics.dump
docker-compose exec hv-ves-collector curl -qs localhost:6060/monitoring/prometheus > ${METRICS_FILE}
-COMPOSE_LOGS_FILE=${WORKSPACE}/archives/containers_logs/docker-compose.log
+CONTAINER_LOGS=${WORKSPACE}/archives/containers_logs/
+COMPOSE_LOGS_FILE=${CONTAINER_LOGS}/docker-compose.log
+
+docker-compose logs hv-ves-collector > ${CONTAINER_LOGS}/hv-ves-collector.log
+docker-compose logs unencrypted-hv-ves-collector > ${CONTAINER_LOGS}/unencrypted-hv-ves-collector.log
+docker-compose logs dcae-app-simulator > ${CONTAINER_LOGS}/dcae-app-simulator.log
docker-compose logs > ${COMPOSE_LOGS_FILE}
docker-compose down
docker-compose rm -f