Bug 13914 - Enhance oe-selftest to preserve build directories of failed builds
Summary: Enhance oe-selftest to preserve build directories of failed builds
Status: RESOLVED FIXED
Alias: None
Product: Functional (self) Testing
Classification: QA/Testing
Component: oe-selftest (show other bugs)
Version: unspecified
Hardware: x86 Multiple
: High enhancement
Target Milestone: 3.2 M1
Assignee: Steve Sakoman
QA Contact:
URL:
Whiteboard: backport
Depends on:
Blocks:
 
Reported: 2020-05-21 04:39 UTC by Richard Purdie
Modified: 2020-05-28 07:29 UTC (History)
3 users (show)

See Also:
OS type for building Yocto: ---
Type of Regression: ---
Verified:
Documentation change: No (bug/feature does not impact docs)


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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)