Bug 9594

Summary: Toaster is not showing properly image files for builds
Product: [Build System, Metadata & Runtime] Toaster Reporter: Alexandru Roman <alexandru.costinx.roman>
Component: toasterAssignee: Elliot Smith <elliot.smith>
Status: RESOLVED FIXED QA Contact: Libertad <libertad.gonzalez.de.la.cruz>
Severity: normal    
Priority: Medium+ CC: belen.barros.pena, jessica.zhang, jose.perez.carranza, libertad.gonzalez.de.la.cruz, stanciux.mihail
Version: 2.1   
Target Milestone: 2.2 M2   
Hardware: x86   
OS: Multiple   
Whiteboard:
OS type for building Yocto: --- Type of Regression: Unknown (Hard to categorize)
Verified: Documentation change: No (bug/feature does not impact docs)

Description Alexandru Roman 2016-05-05 14:03:22 UTC
Step to reproduce:

1. On a clean poky, open toaster, make a project
2. Build an image (ex: core-image-minimal)
3. After build finish, stop toaster (. ../bitbake/bin/toaster stop)
4. Delete the build with manage.py (../bitbake/lib/toaster/manage.py builddelete 1)
5. Open again toaster and build another image (same as first core-image-minimal)
6. After build finish click on it.

On build summary page you will see that this build did not create any image files, so you will have on toaster 1 single build with no image files, no artifacts, and 0 tasks executed.

Toaster should show the information about build even if no new image files are generated.

The command 'manage.py builddelete buildid' should delete the image files generated for that image from /tmp directory?