summaryrefslogtreecommitdiff
path: root/contrib/cirrus/lib.sh
diff options
context:
space:
mode:
authorChris Evich <cevich@redhat.com>2019-10-08 14:20:44 -0400
committerChris Evich <cevich@redhat.com>2019-10-08 16:47:37 -0400
commitffe726ed6438237be6c108f2ba0da10944617153 (patch)
tree2811d17df1681ebe04c49bec71c5937cec476b7f /contrib/cirrus/lib.sh
parent589261f275b485d78a6ac1bd7b95578257fc020f (diff)
downloadpodman-ffe726ed6438237be6c108f2ba0da10944617153.tar.gz
podman-ffe726ed6438237be6c108f2ba0da10944617153.tar.bz2
podman-ffe726ed6438237be6c108f2ba0da10944617153.zip
Cirrus: Produce and collect varlink output
When executing 'make remotesystem' testing, a varlink process is started up but it's stdio is dumped due to the production of excessive data. However, this also means if the process has a problem, any errors will not be accessible. Instead, grab only the last 100 lines and direct them into a file. Also update automation's log collection to retrieve this file when the `$REMOTE_CLIENT` env. var. is `true`. Signed-off-by: Chris Evich <cevich@redhat.com>
Diffstat (limited to 'contrib/cirrus/lib.sh')
-rw-r--r--contrib/cirrus/lib.sh3
1 files changed, 3 insertions, 0 deletions
diff --git a/contrib/cirrus/lib.sh b/contrib/cirrus/lib.sh
index fe4c25e73..f1ddd65da 100644
--- a/contrib/cirrus/lib.sh
+++ b/contrib/cirrus/lib.sh
@@ -35,6 +35,9 @@ PACKER_BASE=${PACKER_BASE:-./contrib/cirrus/packer}
SETUP_MARKER_FILEPATH="${SETUP_MARKER_FILEPATH:-/var/tmp/.setup_environment_sh_complete}"
AUTHOR_NICKS_FILEPATH="${CIRRUS_WORKING_DIR}/${SCRIPT_BASE}/git_authors_to_irc_nicks.csv"
+# Log remote-client system test varlink output here
+export VARLINK_LOG=/var/tmp/varlink.log
+
cd $GOSRC
if type -P git &> /dev/null && [[ -d "$GOSRC/.git" ]]
then