Bug 14586

Summary: Bitbake task counter stuck when processing setscene tasks
Product: [Build System, Metadata & Runtime] BitBake Reporter: Michael Opdenacker <michael.opdenacker>
Component: bitbakeAssignee: Richard Purdie <richard.purdie>
Status: CLOSED FIXED QA Contact:
Severity: minor    
Priority: Medium+ CC: poky.bs.watcher, poky.watcher, randy.macleod
Version: 4.0   
Target Milestone: 3.4 M4   
Hardware: x86   
OS: Multiple   
Whiteboard:
OS type for building Yocto: --- Type of Regression: ---
Verified: Documentation change: No (bug/feature does not impact docs)
Attachments:
Description Flags
Bitbake screen with the task counter stuck at 4 none

Description Michael Opdenacker 2021-10-04 21:01:45 UTC
Created attachment 4836 [details]
Bitbake screen with the task counter stuck at 4

I´m using Poky from the current master branch (as of Oct. 4, 2021).

I have enable the SSTATE cache (and mirrors), so the output of many tasks is retrieved from the cache.

However, I noticed that the task counter in BitBake is stuck between 1 and 4 while the setscene tasks are being processed.

I find this confusing as this gives the impression that there is no progress for a pretty long time (at least 5 minutes?). However, you can see the task names changing, and eventually of course, the build completes.

See the attached screenshot.

Is this expected behaviour?

Cheers
Michael.
Comment 1 Michael Opdenacker 2021-10-08 12:52:40 UTC
Richard proposed a solution that looks satisfactory. I tested it:
https://lists.openembedded.org/g/bitbake-devel/message/12739

Once it is merge, we should be able to close this bug.
Thanks Richard!
Comment 3 Michael Opdenacker 2021-10-18 15:26:18 UTC
Tested that the issue is fixed now.
Closing the bug.
Thanks!