#427: Purge unneeded files in autotest results dir
-------------------------+-------------------------
Reporter: kparal | Owner:
Type: task | Status: new
Priority: minor | Milestone: Finger Food
Component: production | Keywords:
Blocked By: | Blocking:
-------------------------+-------------------------
Currently we have a script that periodically traverses through autotest
results dir and compresses too large files. Also we use tmpwatch to remove
too old results. But we still sometimes have problems with disk space and
number of inodes on our servers. Autotest stores large number of files in
each result directory. By cleaning those we don't want we can save
resources, speed up execution of maintenance scripts and potential
debugging (like grepping through results).
Let's create a script that would traverse the results directory
periodically and remove unneeded files. It would also compress large
files, so it would call or merge the existing script.
If we look into an example results dir:
http://autoqa-stg.fedoraproject.org/results/100310-autotest/qa07.qa/
I believe we need to keep:
{{{
/control
/debug/*.DEBUG
/host_keyvals
/keyval
/rpmguard/debug/*.DEBUG ("rpmguard" is a dynamic test name here)
/rpmguard/keyval
/rpmguard/results
/rpmguard/status
/status.log
/sysinfo/installed_packages
/sysinfo/uname
}}}
The rest of it can be deleted.
--
Ticket URL: <
https://fedorahosted.org/autoqa/ticket/427>
AutoQA <
http://autoqa.fedorahosted.org>
Automated QA project