[JIRA] (OVIRT-1412) mock_runner root cache only holds for one day

[ https://ovirt-jira.atlassian.net/browse/OVIRT-1412?page=com.atlassian.jira.p... ] Barak Korren updated OVIRT-1412: -------------------------------- Epic Link: OVIRT-400
mock_runner root cache only holds for one day ---------------------------------------------
Key: OVIRT-1412 URL: https://ovirt-jira.atlassian.net/browse/OVIRT-1412 Project: oVirt - virtualization made easy Issue Type: Bug Components: oVirt CI Reporter: Barak Korren Assignee: infra
It turns out that 'mock' check the timestamp on the mock cache and compares it with the timestamp on the mock configuration file. If the cache is older, mock removes it. As a work-around for that, mock_runner includes a '{{touch}}' command that changes the timestamp on the mock configuration file to be a day older then the current time. Once the cache becomes older then a day it should also become older then the configuration file and therefore cleaned. We need to change this so that instead of touching the configuration file we will touch the cache itself to ensure it is newer. That will guarantee the cache will stick around and will be used until it is erased by our cleanup script.
-- This message was sent by Atlassian JIRA (v1000.1010.1#100044)
participants (1)
-
Barak Korren (oVirt JIRA)