qemu-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: tests/functional is eating disk space


From: Thomas Huth
Subject: Re: tests/functional is eating disk space
Date: Mon, 18 Nov 2024 13:51:43 +0100
User-agent: Mozilla Thunderbird

On 18/11/2024 13.49, Peter Maydell wrote:
On Mon, 18 Nov 2024 at 12:10, Thomas Huth <thuth@redhat.com> wrote:

On 18/11/2024 11.57, Peter Maydell wrote:
I just ran out of disk space on my dev machine, because:

$ du -h build/clang/tests/functional/
[...]
11G     build/clang/tests/functional/

That's indeed a lot. I only got 6.9G in my build tree for all targets ... I
guess there are some stale files lying around, so as a temporary mitigation,
just try to delete that folder (it should get recreated the next time you
run the tests).

The new functional tests seem to be eating disk space.

Even the build tree I have that's just arm targets is 7.1GB.

Could you have a look at what's happening here?

I am aware of the problem and got it on my TODO list already... I think we
best should set the "workdir" to a temporary folder that we can remove once
the test has finished, that will automatically delete all binary assets that
the test created during its runtime.

Can we provide some kind of option for "keep the temporary
data" too? That's sometimes handy when you want to manually
run the QEMU command the test used as part of debugging
a failing test.

Yes, I was also already thinking of e.g. an environment variable that can be used for controller whether the stuff should get removed or not.

 Thomas




reply via email to

[Prev in Thread] Current Thread [Next in Thread]