]
Barak Korren reassigned OVIRT-992:
----------------------------------
Assignee: Barak Korren (was: infra)
Make mock_runner.sh log create safe
-----------------------------------
Key: OVIRT-992
URL:
https://ovirt-jira.atlassian.net/browse/OVIRT-992
Project: oVirt - virtualization made easy
Issue Type: Bug
Components: Jenkins
Reporter: Barak Korren
Assignee: Barak Korren
Priority: Highest
Recently (OVIRT-988) we made mick_runner.sh create logs in exported-artifacts to
make post-build collection scripts consistent. This can fail when the script running
inside mock tries to clean up exported-artifacts on it own. In that case, mock_runner.sh
can fail because the directories and files it created are not longer there.
We need to move log creation to a safe temporary directory, and move the logs to
exported-artifacts only when mock_runner.sh is finished.