diff options
author | Mariusz Wagner <mariusz.wagner@nokia.com> | 2019-04-05 12:38:56 +0000 |
---|---|---|
committer | Gerrit Code Review <gerrit@onap.org> | 2019-04-05 12:38:56 +0000 |
commit | 5e67a3fcc3bb10723202cd95ab9379b29290f79d (patch) | |
tree | b584d0502855e3d48df9e7b8f2d34abd75edf357 /plans | |
parent | 725c070fc65047300a7f529e65197fdb8ab8f331 (diff) | |
parent | 6e118c3bce27c22617bb28daaead0e9bfe011bbf (diff) |
Merge "Split docker-compose file logs"
Diffstat (limited to 'plans')
-rwxr-xr-x | plans/dcaegen2-collectors-hv-ves/testsuites/teardown.sh | 9 |
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 |