azure: Ignore tar errors #6007
Open
azure: Ignore tar errors #6007
+2
−1
Conversation
Sometimes tar fails on changed in process files: ``` [2021-09-07 11:03:33] + tar --ignore-failed-read -czf ipaserver_install_logs.tar.gz --warning=no-failed-read /var/log/dirsrv /var/log/httpd2 /var/log/ipa /var/log/ipaclient-install.log /var/log/ipa-custodia.audit.log /var/log/ipaserver-install.log /var/log/krb5kdc.log /var/log/pki /var/log/samba /var/lib/bind/data systemd_journal.log [2021-09-07 11:03:33] tar: Removing leading `/' from member names [2021-09-07 11:03:33] tar: Removing leading `/' from hard link targets [2021-09-07 11:03:33] tar: /var/log/dirsrv/slapd-IPA-TEST/access: file changed as we read it [2021-09-07 11:03:33] + tests_result=1 ``` This is expected failure since processes are not stopped during logs collection and can flush their logs. Fixes: https://pagure.io/freeipa/issue/8983 Signed-off-by: Stanislav Levin <slev@altlinux.org>
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
stanislavlevin commentedSep 7, 2021
Sometimes tar fails on changed in process files:
This is expected failure since processes are not stopped during logs
collection and can flush their logs.
Fixes: https://pagure.io/freeipa/issue/8983
The text was updated successfully, but these errors were encountered: