summaryrefslogtreecommitdiffstats
path: root/csit/run-project-csit.sh
diff options
context:
space:
mode:
authorLiam Fallon <liam.fallon@est.tech>2022-09-08 21:24:26 +0000
committerGerrit Code Review <gerrit@onap.org>2022-09-08 21:24:26 +0000
commit1810513a0be91035e704967ff5c5dd58ac62bef0 (patch)
treed351b7352f86465ad83957474fff59b5bb672c3e /csit/run-project-csit.sh
parent85c73756d72729c5f4e6131cf7f030bccae3307f (diff)
parentc4bd9e44e4c9a9aac1f54a490bc52d231136500c (diff)
Merge "Improve debugging support for CSITs"
Diffstat (limited to 'csit/run-project-csit.sh')
-rwxr-xr-xcsit/run-project-csit.sh7
1 files changed, 5 insertions, 2 deletions
diff --git a/csit/run-project-csit.sh b/csit/run-project-csit.sh
index b5ddc8ed..fd20c6af 100755
--- a/csit/run-project-csit.sh
+++ b/csit/run-project-csit.sh
@@ -31,10 +31,13 @@ function on_exit(){
rsync -av "${WORKDIR}/" "${WORKSPACE}/csit/archives/${PROJECT}"
fi
# Record list of active docker containers
- docker ps --format "{{.Image}}" > "${WORKSPACE}/csit/archives/${PROJECT}/_docker-images.log"
+ docker ps
+
+ # Show the logs from all containers
+ docker-compose -f "${WORKSPACE}/csit/docker-compose-all.yml" logs
# show memory consumption after all docker instances initialized
- docker_stats | tee "${WORKSPACE}/csit/archives/${PROJECT}/_sysinfo-2-after-robot.txt"
+ docker_stats
fi
# Run teardown script plan if it exists
cd "${TESTPLANDIR}/plans/"