Bug 7223

Summary: Toaster doesn't seem to capture Cached tasks
Product: [Build System, Metadata & Runtime] Toaster Reporter: Belen Barros Pena <belen.barros.pena>
Component: toasterAssignee: Alexandru Damian <alexandru.damian>
Status: VERIFIED FIXED QA Contact: Mihail Stanciu <stanciux.mihail>
Severity: normal    
Priority: Medium+ CC: alexandru.damian, belen.barros.pena, bluelightning, cristiana.voicu, stanciux.mihail
Version: unspecified   
Target Milestone: 1.8 M3   
Hardware: x86   
OS: Multiple   
Whiteboard:
OS type for building Yocto: --- Type of Regression: ---
Verified: Documentation change: No (bug/feature does not impact docs)

Description Belen Barros Pena 2015-01-21 13:53:06 UTC
Cached tasks are the ones reusing shared state objects. 

To reproduce:

1. In managed mode, run a clean build of core-image-minimal 
2. Once the build is finished, delete the /tmp directory 
3. Build again core-image-minimal. This build uses shared state objects for a whole bunch of tasks.
4. When the build finishes, visit the tasks table and click the filter button next to the outcome column heading. 

Outcome: the number of 'Cached tasks' is 0

Expected outcome: the cooker log for the build shows 720 successful setscene tasks, so I would expect to see 720 Cached tasks in Toaster. The cached tasks seem to be counted as 'Covered' tasks

By the way, this happens in both managed and interactive modes.
Comment 1 Alexandru Damian 2015-02-25 14:14:00 UTC
Pushed fore review on 

adamian/20150225_reviewset
Comment 2 Alexandru Damian 2015-02-27 11:56:17 UTC
Merged into master.
Comment 3 Mihail Stanciu 2015-03-25 14:58:57 UTC
Verified on master: 369932178fe9e7aa4a6d0e2ef1e2e539be701d02