Bug 5923

Summary: The "Tasks with cache attempts" filter returns the wrong tasks
Product: [Build System, Metadata & Runtime] Toaster Reporter: Belen Barros Pena <belen.barros.pena>
Component: toasterAssignee: David Reyna <david.reyna>
Status: VERIFIED FIXED QA Contact:
Severity: normal    
Priority: Medium CC: alexandru.damian, belen.barros.pena, cristiana.voicu, david.reyna, jessica.zhang
Version: unspecified   
Target Milestone: 1.6 M5   
Hardware: All   
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 2014-03-06 18:23:44 UTC
It is set to return the tasks with sstate_result 'not applicable' (SSTATE_NA), but this is not what this filter is supposed to do. This filter is supposed to return all the tasks that attempted to reuse sstate objects, independently of the attempt outcome, so it should return tasks with sstate_result "File not in cache" (SSTATE_MISS) + tasks with sstate result "Succeeded" (SSTATE_RESTORED) + tasks with sstate result "Failed" (SSTATE_FAILED).

toaster/master:213fef6e87cbf60d773e28d31653e3c626d4058e
Comment 1 David Reyna 2014-04-02 06:58:14 UTC
commit 95cd5688c67fa179204a7704b1287980672894fd
Comment 2 Belen Barros Pena 2014-04-02 10:23:17 UTC
We meant resolved - fixed
Comment 3 Belen Barros Pena 2014-04-02 10:23:47 UTC
verified in master:3e528d3e4bc542ca2f654c54363c56af0fb9f61b