]
Barak Korren updated OVIRT-2430:
--------------------------------
Epic Link: OVIRT-2189
Make mock_runner not run things inside chroot that are not user
script
----------------------------------------------------------------------
Key: OVIRT-2430
URL:
https://ovirt-jira.atlassian.net/browse/OVIRT-2430
Project: oVirt - virtualization made easy
Issue Type: Bug
Components: mock_runner
Reporter: Barak Korren
Assignee: infra
Priority: High
When {{mock_runner.sh}} runs an STDCI script, before starting the script itself, it runs
various commands inside the chroot that are meant to do various things like take care of
logging and work around various historical mock issues.
Those commands hade made the {{mock_runner.sh}} code harder to maintain and have caused
various issues.
The aim of this ticket is to do work required so that running such commands inside mock
will no-longer be needed. Specific things that need to be done include:
# Verify that all existing setup commands are indeed no longer needed, or could otherwise
be replaced by other means such as mock configuration
# Redirect log messages from mock into a file so that the mock output includeds only the
user script output