[bitbake-devel] [master][zeus][PATCH] uihelper: Track scene tasks again

Peter Kjellerstedt peter.kjellerstedt at axis.com
Mon Feb 10 15:36:12 UTC 2020


> -----Original Message-----
> From: Richard Purdie <richard.purdie at linuxfoundation.org>
> Sent: den 10 februari 2020 16:18
> To: Peter Kjellerstedt <peter.kjellerstedt at axis.com>; bitbake-
> devel at lists.openembedded.org
> Subject: Re: [bitbake-devel] [master][zeus][PATCH] uihelper: Track scene
> tasks again
> 
> On Mon, 2020-02-10 at 15:01 +0000, Peter Kjellerstedt wrote:
> > If a setscene task is rerun, won't that just mean that the counters
> > don't change due to this? So in this case there won't be any
> > progress  to the total progress bar even if a task is running? That
> > should still  be better than the current situation when they are
> > never counted.
> 
> No, that isn't how the code is written. You'd see "task 1000 of 500".
> We got some pretty horrible numbers when testing this originally, I got
> lots of complaints and its why it was removed.
> 
> The code has changed a bit since and we probably don't rerun as much
> but we get complains when we print any invalid info...
> 
> Cheers,
> 
> Richard

Hmm, ok. I get loud complaints that we are printing "(0 of 0)" while 
thousands of setscene tasks are being processed, so that is unfortunately 
not much better... 

Would it be possible to change the accounting so that we do not end 
up with "task 1000 of 500"?

For the record, we are not using the hash equivalence server, so I 
guess we should not have any setscene tasks that are being rerun, but I 
have a feeling you do not want to treat the two cases differently.

//Peter



More information about the bitbake-devel mailing list