commit | f38c5aced00dc316aaba7893a1f7ab7c37ab23b9 | [log] [tgz] |
---|---|---|
author | yanhuanwang <martin.c.yan@est.tech> | Tue Sep 17 18:02:14 2019 +0200 |
committer | yanhuanwang <martin.c.yan@est.tech> | Tue Sep 17 18:02:14 2019 +0200 |
tree | 420c9535bad4f4f6271d9475f261f4c494aaefc8 | |
parent | b8cb5a9d750d2bfeec274d1f955b73997a56bd52 [diff] |
Add application.log to console Change-Id: I460152ca18de3ec1ec7e7035a932aa0f1e1f6be0 Signed-off-by: yanhuanwang <martin.c.yan@est.tech> Issue-ID: DCAEGEN2-1702
diff --git a/plans/dcaegen2-collectors-datafile/Functional-suite/teardown.sh b/plans/dcaegen2-collectors-datafile/Functional-suite/teardown.sh index eaebbc2..81d85fe 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 d8877fb..23581a0 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