Bug 13914

Summary: Enhance oe-selftest to preserve build directories of failed builds
Product: [QA/Testing] Functional (self) Testing Reporter: Richard Purdie <richard.purdie>
Component: oe-selftestAssignee: Steve Sakoman <steve>
Status: RESOLVED FIXED QA Contact:
Severity: enhancement    
Priority: High CC: akuster, randy.macleod, tim.orling
Version: unspecified   
Target Milestone: 3.2 M1   
Hardware: x86   
OS: Multiple   
Whiteboard: backport
OS type for building Yocto: --- Type of Regression: ---
Verified: Documentation change: No (bug/feature does not impact docs)

Description Richard Purdie 2020-05-21 04:39:12 UTC
Currently the autobuilder saves failed build directories. This doesn't work for oe-selftest since it deletes all build directories when it completes. Add a mode to selftest where it would leave the directories for failed builds behind to allow for later debugging of otherwise hard to understand failures.
Comment 1 Richard Purdie 2020-05-21 08:38:48 UTC
Build directory deletion is this code:

http://git.yoctoproject.org/cgit.cgi/poky/tree/meta/lib/oeqa/core/utils/concurrencytest.py#n294

(see removebuilddir)