Bug 5923 - The "Tasks with cache attempts" filter returns the wrong tasks
Summary: The "Tasks with cache attempts" filter returns the wrong tasks
Status: VERIFIED FIXED
Alias: None
Product: Toaster
Classification: Build System, Metadata & Runtime
Component: toaster (show other bugs)
Version: unspecified
Hardware: All Multiple
: Medium normal
Target Milestone: 1.6 M5
Assignee: David Reyna
QA Contact:
URL:
Whiteboard:
Depends on:
Blocks:
 
Reported: 2014-03-06 18:23 UTC by Belen Barros Pena
Modified: 2014-04-02 10:23 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 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