diff options
author | Daniel Rose <dr695h@att.com> | 2019-09-19 13:01:58 +0000 |
---|---|---|
committer | Gerrit Code Review <gerrit@onap.org> | 2019-09-19 13:01:58 +0000 |
commit | 1d59a654cad940021d69fa916f9d22c43b2a9ab1 (patch) | |
tree | 54a995e3356fe7599e67f8c4cfe99f2bf3432128 | |
parent | b3176dda1ee86e3a0dd5aecd298e5717c5d8ccf9 (diff) | |
parent | f38c5aced00dc316aaba7893a1f7ab7c37ab23b9 (diff) |
Merge "Add application.log to console"
-rw-r--r-- | plans/dcaegen2-collectors-datafile/Functional-suite/teardown.sh | 2 | ||||
-rw-r--r-- | plans/dcaegen2-collectors-datafile/ManagementInterface-suite/teardown.sh | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/plans/dcaegen2-collectors-datafile/Functional-suite/teardown.sh b/plans/dcaegen2-collectors-datafile/Functional-suite/teardown.sh index eaebbc24..81d85fe5 100644 --- a/plans/dcaegen2-collectors-datafile/Functional-suite/teardown.sh +++ b/plans/dcaegen2-collectors-datafile/Functional-suite/teardown.sh @@ -2,7 +2,7 @@ running_containers=$(docker ps --filter name=dfc_ -qa) running_images=$(docker images -q) -docker exec -it dfc_app0 cat /var/log/ONAP/application.log >> $WORKSPACE/archives/dfc_app0_application.log +docker exec dfc_app0 cat /var/log/ONAP/application.log >> $WORKSPACE/archives/dfc_app0_application.log docker logs dfc_mr-sim >> $WORKSPACE/archives/dfc_mr-sim.log if [ -z "$running_containers" ] diff --git a/plans/dcaegen2-collectors-datafile/ManagementInterface-suite/teardown.sh b/plans/dcaegen2-collectors-datafile/ManagementInterface-suite/teardown.sh index d8877fbc..23581a02 100644 --- a/plans/dcaegen2-collectors-datafile/ManagementInterface-suite/teardown.sh +++ b/plans/dcaegen2-collectors-datafile/ManagementInterface-suite/teardown.sh @@ -1,6 +1,6 @@ #!/usr/bin/env bash set +e -docker exec -it dfc_app0 cat /var/log/ONAP/application.log > $WORKSPACE/archives/dfc_app0_application.log +docker exec dfc_app0 cat /var/log/ONAP/application.log > $WORKSPACE/archives/dfc_app0_application.log kill-instance.sh dfc_app0 set -e exit 0 |