]> code.ossystems Code Review - openembedded-core.git/commit
oeqa/concurrencytest: Optimise for autobuilder/clobberdir
authorRichard Purdie <richard.purdie@linuxfoundation.org>
Thu, 5 Dec 2019 10:56:42 +0000 (10:56 +0000)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Thu, 5 Dec 2019 20:35:26 +0000 (20:35 +0000)
commit51a84937d32a85cbdb7d5b1d1ec69a290d0c303b
tree0edd8144300ccee499aad3230e2047d6883f8266
parentafb8d456360d86254ab00f05866c34d947d02749
oeqa/concurrencytest: Optimise for autobuilder/clobberdir

We're seeing huge delays on the autobuilder during oe-selftest builddir
deletion. For example there is a currently running selftest we could do
with the results from and its been going 13 hours, at least 8 of which
was in deletion of the builddirs.

There are a variety of ways we could solve this problem however the
autobuilder has a mechanism for deferred deletion, "clobberdir" which
it already uses for this kind of work.

Whilst in general hardcoding things like this is horrible, I believe
in this case the benefits (and resulting improvements on my sanity
if nothing else) mean this is a case where we should do it.

If/as/when someone can come up with a better solution that is fine
and this can be replaced.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
meta/lib/oeqa/core/utils/concurrencytest.py