Bug 7223 - Toaster doesn't seem to capture Cached tasks
Summary: Toaster doesn't seem to capture Cached tasks
Status: VERIFIED FIXED
Alias: None
Product: Toaster
Classification: Build System, Metadata & Runtime
Component: toaster (show other bugs)
Version: unspecified
Hardware: x86 Multiple
: Medium+ normal
Target Milestone: 1.8 M3
Assignee: Alexandru Damian
QA Contact: Mihail Stanciu
URL:
Whiteboard:
Depends on:
Blocks:
 
Reported: 2015-01-21 13:53 UTC by Belen Barros Pena
Modified: 2015-03-25 14:58 UTC (History)
5 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 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