URL: https://github.com/freeipa/freeipa/pull/1043
Author: stlaz
 Title: #1043: Travis: archive logs of py3 jobs
Action: opened

PR body:
"""
If something fails, only the logs of python2 jobs are currently
collected. Collect python3 logs as well.
"""

To pull the PR as Git branch:
git remote add ghfreeipa https://github.com/freeipa/freeipa
git fetch ghfreeipa pull/1043/head:pr1043
git checkout pr1043
From d7750da9ab521bd40cd0774c7b392978188420c4 Mon Sep 17 00:00:00 2001
From: Stanislav Laznicka <slazn...@redhat.com>
Date: Wed, 6 Sep 2017 12:09:41 +0200
Subject: [PATCH] Travis: archive logs of py3 jobs

If something fails, only the logs of python2 jobs are currently
collected. Collect python3 logs as well.
---
 .test_runner_config_py3_temp.yaml | 9 +++++++++
 1 file changed, 9 insertions(+)

diff --git a/.test_runner_config_py3_temp.yaml b/.test_runner_config_py3_temp.yaml
index 9497115c15..da98dbd749 100644
--- a/.test_runner_config_py3_temp.yaml
+++ b/.test_runner_config_py3_temp.yaml
@@ -33,6 +33,15 @@ steps:
   - dnf builddep -y ${builddep_opts} --spec freeipa.spec.in --best --allowerasing
   cleanup:
   - chown -R ${uid}:${gid} ${container_working_dir}
+  - >
+      tar --ignore-failed-read -cvf ${container_working_dir}/var_log.tar
+      /var/log/dirsrv
+      /var/log/httpd
+      /var/log/ipa*
+      /var/log/krb5kdc.log
+      /var/log/pki
+      systemd_journal.log
+  - chown ${uid}:${gid} ${container_working_dir}/var_log.tar
   configure:
   - ./autogen.sh
   install_packages:
_______________________________________________
FreeIPA-devel mailing list -- freeipa-devel@lists.fedorahosted.org
To unsubscribe send an email to freeipa-devel-le...@lists.fedorahosted.org

Reply via email to