From 87fd095d6545774d1bf06c730dd084c4b3355683 Mon Sep 17 00:00:00 2001 From: Jean-Philippe Evrard Date: Mon, 20 Feb 2017 20:59:35 +0000 Subject: [PATCH] Add memory "profiling" in gate logs. To see where we are memory wise. Change-Id: I2ed26b520762232a9f8e55c3f799c50074c4560e --- test-log-collect.sh | 2 ++ 1 file changed, 2 insertions(+) diff --git a/test-log-collect.sh b/test-log-collect.sh index 48200597..5dbb553f 100755 --- a/test-log-collect.sh +++ b/test-log-collect.sh @@ -49,6 +49,8 @@ if [[ -d "/etc/nodepool" ]]; then ${RSYNC_CMD} "${TESTING_HOME}/.ara/ansible.sqlite" "${WORKING_DIR}/logs/" || true # Generate the ARA report ${ARA_CMD} "${WORKING_DIR}/logs/ara" || true + # output ram usage + free -m > "${WORKING_DIR}/logs/memory-available.txt" || true # Compress the files gathered so that they do not take up too much space. # We use 'command' to ensure that we're not executing with some sort of alias. command gzip --best --recursive "${WORKING_DIR}/logs/"