[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Qemu-devel] [PATCH] tests/vm: Clean out old working directories on
Re: [Qemu-devel] [PATCH] tests/vm: Clean out old working directories on build
Mon, 20 Aug 2018 17:41:02 +0100
On 20 August 2018 at 14:31, Fam Zheng <address@hidden> wrote:
> On Mon, 08/20 13:48, Peter Maydell wrote:
>> When we do a build inside one of the BSD VMs, first
>> delete any stale old build directories from the VM's
>> /var/tmp. This prevents the VM from running out of
>> disk space after it has been used for a dozen or
>> so builds.
>> Signed-off-by: Peter Maydell <address@hidden>
>> The Ubuntu test VM has a similar issue, but it doesn't
>> put its test build directories in /var/tmp/ like the
>> BSDs, and I don't use it so I'm not sure what the right
>> rm command would be. Somebody else can fix it if they care...
>> Disclaimer: not actually tested yet, but obviously it will
>> get tested as part of applying it to master, which I'd
>> like to do so my pullrequest tests don't keep getting
>> tripped up by this bug.
> Reviewed-by: Fam Zheng <address@hidden>
> Please merge this yourself if it helps your pull request handling workflow.
Thanks; I've applied it to master. We can probably
come up with a cleaner approach with disk snapshots,
but this will suffice to avoid build failures in