]> code.ossystems Code Review - openembedded-core.git/commit
oeqa/concurrenttest: Use ionice to delete build directories
authorRichard Purdie <richard.purdie@linuxfoundation.org>
Thu, 19 Sep 2019 12:21:26 +0000 (13:21 +0100)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Thu, 19 Sep 2019 15:50:47 +0000 (16:50 +0100)
commitd41e7018be56902b7a1be4590e468cd15e02a3b5
treebd1caf9a5be1b7074621b3308e5c6b4790537a91
parent1b727dd7295a7a7fe17800f8038242efbf7fe2b7
oeqa/concurrenttest: Use ionice to delete build directories

Autobuilder type infrastructure can benefit from deletion of certain files as
background IO due to the way Linux filesystem priority works.

We have problems where build directories as part of oe-selftest being
delete starves the running tasks of IO to the point builds take much
longer to compelte.

Having this option of running the deletion at "idle" helps a lot with
that. Use the new option added to bb.utils.prunedir().

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