[Toaster] [review-request] Bug 5923 - The "Tasks with cache attempts" filter returns the wrong tasks

Barros Pena, Belen belen.barros.pena at intel.com
Wed Mar 26 04:03:48 PDT 2014


On 26/03/2014 05:57, "Reyna, David" <david.reyna at windriver.com> wrote:

>Hi Belen,
> 
>The simple fix can be found here: dreyna/cache_attempts_5923

This works for me. Thanks!

Belén

> 
>I just changed the filter from ³'sstate_result:%d'%Task.SSTATE_NA² to
>³'sstate_result__gt:%d'%Task.SSTATE_NA². This works because you wanted
>all _but_ the ³SSTATE_NA² (which is 0), and all states that you want to
>include are greater than ³SSTATE_NA².
> 
>    SSTATE_NA = 0
>    SSTATE_MISS = 1
>    SSTATE_FAILED = 2
>    SSTATE_RESTORED = 3
> 
>- David
> 
> 



More information about the toaster mailing list