From e795415993fd0959ccfc7c4cd150899990c38bef Mon Sep 17 00:00:00 2001 From: Major Hayden Date: Fri, 1 Dec 2017 13:59:22 -0600 Subject: [PATCH] Reduce console output in gate jobs This patch brings over the rsync command from the openstack-ansible-tests repository and reduces the console log output. Change-Id: I74ef40ce36256dacbd373fd22372f48b6bf276b4 --- scripts/scripts-library.sh | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/scripts/scripts-library.sh b/scripts/scripts-library.sh index a4d645960c..ff36bf9ffd 100755 --- a/scripts/scripts-library.sh +++ b/scripts/scripts-library.sh @@ -137,8 +137,9 @@ function gate_job_exit_tasks { fi GATE_LOG_DIR="${OSA_CLONE_DIR:-$(dirname $0)/..}/logs" mkdir -p "${GATE_LOG_DIR}/host" "${GATE_LOG_DIR}/openstack" - rsync --archive --verbose --safe-links --ignore-errors /var/log/ "${GATE_LOG_DIR}/host" || true - rsync --archive --verbose --safe-links --ignore-errors /openstack/log/ "${GATE_LOG_DIR}/openstack" || true + RSYNC_CMD="rsync --archive --safe-links --ignore-errors --quiet --no-perms --no-owner --no-group" + ${RSYNC_CMD} /var/log/ "${GATE_LOG_DIR}/host" || true + ${RSYNC_CMD} /openstack/log/ "${GATE_LOG_DIR}/openstack" || true # Rename all files gathered to have a .txt suffix so that the compressed # files are viewable via a web browser in OpenStack-CI. # except tempest results testrepository.subunit and testr_results.html