Make mock_runner not run things inside chroot that are not user script

Description

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 such as OVIRT-2386.

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:

  1. Verify that all existing setup commands are indeed no longer needed, or could otherwise be replaced by other means such as mock configuration

  2. Redirect log messages from mock into a file so that the mock output includeds only the user script output

Activity

Show:
Anton Marchukov
January 9, 2019, 1:24 PM

I am removing "in progress" can you check is it done or not?

Barak Korren
January 10, 2019, 2:11 PM

not done, some effort will be needed for this.

Assignee

Barak Korren

Reporter

Barak Korren

Blocked By

None

Epic Link

Components

Priority

High
Configure