schutzbot: drop collecting AVC logs

This was never in osbuild-composer and fails CI when the log is empty.
This commit is contained in:
Lars Karlitski 2020-10-27 12:18:34 +01:00
parent afafd46393
commit 4c34b2c501

View file

@ -227,9 +227,6 @@ void preserve_logs(test_slug) {
// Save the systemd journal.
sh "sudo journalctl --boot > systemd-journald.log"
// Find any AVCs in the audit log and save those.
sh "sudo grep AVC /var/log/audit/audit.log > selinux-avc.log"
// Make a directory for the log files and move the logs there.
sh "mkdir ${test_slug} && mv *.log *.jpg ${test_slug}/ || true"