From a7dbc392405022927642bb9e0c676feff58b8be8 Mon Sep 17 00:00:00 2001
From: Eduardo Gonzalez <dabarren@gmail.com>
Date: Tue, 20 Nov 2018 10:12:19 +0100
Subject: [PATCH] Suppress log copy output in gates

Change-Id: I01e58d3548d6adc4a2d6f1088773df7941da3865
---
 tests/get_logs.sh | 2 +-
 tests/post.yml    | 2 ++
 2 files changed, 3 insertions(+), 1 deletion(-)

diff --git a/tests/get_logs.sh b/tests/get_logs.sh
index 5c0a7bc49..094784604 100644
--- a/tests/get_logs.sh
+++ b/tests/get_logs.sh
@@ -57,7 +57,7 @@ copy_logs() {
     fi
 
     for container in $(docker ps -a --format "{{.Names}}"); do
-        docker logs --tail all ${container} > ${LOG_DIR}/docker_logs/${container}.txt
+        docker logs --tail all ${container} &> ${LOG_DIR}/docker_logs/${container}.txt
     done
 
     # Rename files to .txt; this is so that when displayed via
diff --git a/tests/post.yml b/tests/post.yml
index d84eeea3e..ccfefccf1 100644
--- a/tests/post.yml
+++ b/tests/post.yml
@@ -34,6 +34,8 @@
         src: "/tmp/logs"
         dest: "{{ zuul.executor.log_root }}/{{inventory_hostname }}/"
         mode: pull
+        rsync_opts:
+          - "--quiet"
 
 - hosts: primary
   tasks:
-- 
GitLab