From d3f1b9b43d55aafb59945ff9635abb4786e0b51a Mon Sep 17 00:00:00 2001 From: Stanislav Levin Date: Fri, 27 Dec 2019 17:02:47 +0300 Subject: [PATCH] Azure: Don't collect twice systemd_journal.log This log file is collected by azure-run-tests.sh script and then by Azure 'PublishPipelineArtifact' task. So, the same file gets into logs artifact. Fixes: https://pagure.io/freeipa/issue/8202 Signed-off-by: Stanislav Levin Reviewed-By: Alexander Bokovoy --- ipatests/azure/azure-run-tests.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ipatests/azure/azure-run-tests.sh b/ipatests/azure/azure-run-tests.sh index 734166b6d..aefc5c970 100755 --- a/ipatests/azure/azure-run-tests.sh +++ b/ipatests/azure/azure-run-tests.sh @@ -75,7 +75,7 @@ fi echo "Collect the logs" journalctl -b --no-pager > systemd_journal.log -tar --ignore-failed-read -czf var_log.tar.gz \ +tar --ignore-failed-read --remove-files -czf var_log.tar.gz \ /var/log/dirsrv \ /var/log/httpd \ /var/log/ipa* \