Bug 13953

Summary: oe-selftest doesn't cleanup in non-parallel builds
Product: [QA/Testing] Functional (self) Testing Reporter: Ross Burton <ross.burton>
Component: oe-selftestAssignee: Richard Purdie <richard.purdie>
Status: RESOLVED FIXED QA Contact:
Severity: normal    
Priority: Medium+ CC: randy.macleod
Version: unspecified   
Target Milestone: 3.2 M2   
Hardware: x86   
OS: Multiple   
Whiteboard:
OS type for building Yocto: --- Type of Regression: ---
Verified: Documentation change: No (bug/feature does not impact docs)

Description Ross Burton 2020-06-23 03:20:27 UTC
If I run oe-selftest without -j then the temporary [build dir]-st directory is not deleted:

$ oe-selftest -r buildoptions.SourceMirroring.test_yocto_source_mirror
2020-06-23 11:18:31,074 - oe-selftest - INFO - Adding layer libraries:
2020-06-23 11:18:31,074 - oe-selftest - INFO - 	/home/ross/Yocto/poky/meta/lib
2020-06-23 11:18:31,075 - oe-selftest - INFO - 	/home/ross/Yocto/poky/meta-selftest/lib
2020-06-23 11:18:31,075 - oe-selftest - INFO - 	/home/ross/Yocto/poky/meta-yocto-bsp/lib
2020-06-23 11:18:31,078 - oe-selftest - INFO - Running bitbake -e to test the configuration is valid/parsable
2020-06-23 11:18:36,888 - oe-selftest - ERROR - Build directory /home/ross/Yocto/build-selftest-st already exists, aborting