Bug 6835

Summary: Save failed builds cooker / task logs
Product: [Build System, Metadata & Runtime] Toaster Reporter: Alexandru Damian <alexandru.damian>
Component: toasterAssignee: Alexandru Damian <alexandru.damian>
Status: VERIFIED FIXED QA Contact: Mihail Stanciu <stanciux.mihail>
Severity: enhancement    
Priority: Medium+ CC: alexandru.c.georgescu, alexandru.damian, belen.barros.pena, bluelightning, cristiana.voicu
Version: 1.8   
Target Milestone: 1.9   
Hardware: x86   
OS: Multiple   
Whiteboard:
OS type for building Yocto: --- Type of Regression: ---
Verified: Documentation change: No (bug/feature does not impact docs)

Description Alexandru Damian 2014-10-14 12:40:17 UTC
On failed builds, the toaster build controller must save log files from the cooker and any/all log paths.

This needs:
- a new build state that moves from "COMPLETED" to "COLLECTED"
- a infrastructure setting of where the log files are saved
- modification to runbuilds command to collect the needed files for any builds where collection is needed.
Comment 1 Alexandru Damian 2014-11-24 12:25:13 UTC
merged in origin/master
Comment 2 Alexandru Damian 2014-11-24 12:25:44 UTC
Re-opened, wrong bug.
Comment 3 Belen Barros Pena 2015-02-13 15:06:05 UTC
For 1.8, we might have to survive without saving the logs. The problem is where to save them. Ideally, this should be something Toaster administrators can configure.
Comment 4 Belen Barros Pena 2015-04-10 15:24:57 UTC
This feature was added to the 1.8 release
Comment 5 Mihail Stanciu 2015-06-17 11:37:55 UTC
Verified on master: 5a013b562e4f593fab54f0fc88ff7a1bb71bf18b