From: Jose Perez Carranza <jose.perez.carra...@linux.intel.com> In some cases and depending on the resources measurement of disk usage for eSDK deploy dir is failing due “measure_disk_usage” was locking for tmp files (bitbake.lock and bitbake.sock) that were not deleted on time, this can be avoided by a sync on the system to allow all process to be finished on time and ensuring esdk deploy dir is clean.
Signed-off-by: Jose Perez Carranza <jose.perez.carra...@linux.intel.com> --- meta/lib/oeqa/buildperf/test_basic.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/meta/lib/oeqa/buildperf/test_basic.py b/meta/lib/oeqa/buildperf/test_basic.py index a9e4a5b731..92197878af 100644 --- a/meta/lib/oeqa/buildperf/test_basic.py +++ b/meta/lib/oeqa/buildperf/test_basic.py @@ -121,5 +121,7 @@ class Test4(BuildPerfTestCase): self.sync() self.measure_cmd_resources([installer, '-y', '-d', deploy_dir], 'deploy', 'eSDK deploy') + #sync before the final disk usage measurement + self.sync() self.measure_disk_usage(deploy_dir, 'deploy_dir', 'deploy dir', apparent_size=True) -- 2.12.3 -- _______________________________________________ Openembedded-core mailing list Openembedded-core@lists.openembedded.org http://lists.openembedded.org/mailman/listinfo/openembedded-core