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

Barak Korren (oVirt JIRA) jira at ovirt-jira.atlassian.net
Sun May 28 08:22:28 UTC 2017


     [ https://ovirt-jira.atlassian.net/browse/OVIRT-1412?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

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)


More information about the Infra mailing list